2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Moonshot-ui 0.1.
5 # Report bugs to <moonshot-community@jiscmail.ac.uk>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 PATH=/empty FPATH=/empty; export PATH FPATH
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
184 test \$(( 1 + 1 )) = 2 || exit 1"
185 if (eval "$as_required") 2>/dev/null; then :
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198 test -z "$as_dir" && as_dir=.
202 for as_base in sh bash ksh sh5; do
203 # Try only shells that exist, to save several forks.
204 as_shell=$as_dir/$as_base
205 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 CONFIG_SHELL=$as_shell as_have_required=yes
208 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
216 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
217 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
218 CONFIG_SHELL=$SHELL as_have_required=yes
223 if test "x$CONFIG_SHELL" != x; then :
224 # We cannot yet assume a decent shell, so we have to provide a
225 # neutralization value for shells without unset; and this also
226 # works around shells that cannot unset nonexistent variables.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
231 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: moonshot-community@jiscmail.ac.uk about your system,
243 $0: including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 SHELL=${CONFIG_SHELL-/bin/sh}
542 # Use only awk features that work with 7th edition Unix awk (1978).
543 # My, what an old awk you have, Mr. Solaris!
545 while (length(v1) && length(v2)) {
546 # Set d1 to be the next thing to compare from v1, and likewise for d2.
547 # Normally this is a single character, but if v1 and v2 contain digits,
548 # compare them as integers and fractions as strverscmp does.
549 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
550 # Split v1 and v2 into their leading digit string components d1 and d2,
551 # and advance v1 and v2 past the leading digit strings.
552 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
553 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
554 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
555 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
558 # Compare two fractions.
559 while (d1 ~ /^0/ && d2 ~ /^0/) {
560 d1 = substr(d1, 2); len1--
561 d2 = substr(d2, 2); len2--
563 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
564 # The two components differ in length, and the common prefix
565 # contains only leading zeros. Consider the longer to be less.
569 # Otherwise, compare as strings.
574 # A fraction is less than an integer.
579 # An integer is greater than a fraction.
582 # Compare two integers.
588 # The normal case, without worrying about digits.
589 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
590 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
595 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
596 # which mishandles some comparisons of empty strings to integers.
597 if (length(v2)) exit 1
598 if (length(v1)) exit 2
602 test -n "$DJDIR" || exec 7<&0 </dev/null
606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
607 # so uname gets run too.
608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
613 ac_default_prefix=/usr/local
615 ac_config_libobj_dir=.
622 # Identity of this package.
623 PACKAGE_NAME='Moonshot-ui'
624 PACKAGE_TARNAME='moonshot-ui'
625 PACKAGE_VERSION='0.1'
626 PACKAGE_STRING='Moonshot-ui 0.1'
627 PACKAGE_BUGREPORT='moonshot-community@jiscmail.ac.uk'
628 PACKAGE_URL='http://www.project-moonshot.org/'
630 ac_unique_file="configure.ac"
631 # Factoring default headers for most tests.
632 ac_includes_default="\
634 #ifdef HAVE_SYS_TYPES_H
635 # include <sys/types.h>
637 #ifdef HAVE_SYS_STAT_H
638 # include <sys/stat.h>
644 # ifdef HAVE_STDLIB_H
649 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
654 #ifdef HAVE_STRINGS_H
655 # include <strings.h>
657 #ifdef HAVE_INTTYPES_H
658 # include <inttypes.h>
668 ac_subst_vars='am__EXEEXT_FALSE
680 XGETTEXT_EXTRA_OPTIONS
688 GETTEXT_MACRO_VERSION
696 UPDATE_DESKTOP_DATABASE
778 MAINTAINER_MODE_FALSE
790 INSTALL_STRIP_PROGRAM
832 program_transform_name
845 enable_option_checking
847 enable_maintainer_mode
852 enable_dependency_tracking
861 ac_precious_vars='build_alias
885 # Initialize some variables set by options.
887 ac_init_version=false
888 ac_unrecognized_opts=
890 # The variables have the same names as the options, with
891 # dashes changed to underlines.
899 program_transform_name=s,x,x,
907 # Installation directory options.
908 # These are left unexpanded so users can "make install exec_prefix=/foo"
909 # and all the variables that are supposed to be based on exec_prefix
910 # by default will actually change.
911 # Use braces instead of parens because sh, perl, etc. also accept them.
912 # (The list follows the same order as the GNU Coding Standards.)
913 bindir='${exec_prefix}/bin'
914 sbindir='${exec_prefix}/sbin'
915 libexecdir='${exec_prefix}/libexec'
916 datarootdir='${prefix}/share'
917 datadir='${datarootdir}'
918 sysconfdir='${prefix}/etc'
919 sharedstatedir='${prefix}/com'
920 localstatedir='${prefix}/var'
921 includedir='${prefix}/include'
922 oldincludedir='/usr/include'
923 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
924 infodir='${datarootdir}/info'
929 libdir='${exec_prefix}/lib'
930 localedir='${datarootdir}/locale'
931 mandir='${datarootdir}/man'
937 # If the previous option needs an argument, assign it.
938 if test -n "$ac_prev"; then
939 eval $ac_prev=\$ac_option
945 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
950 # Accept the important Cygnus configure options, so we can diagnose typos.
952 case $ac_dashdash$ac_option in
956 -bindir | --bindir | --bindi | --bind | --bin | --bi)
958 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 -build | --build | --buil | --bui | --bu)
962 ac_prev=build_alias ;;
963 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
964 build_alias=$ac_optarg ;;
966 -cache-file | --cache-file | --cache-fil | --cache-fi \
967 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
968 ac_prev=cache_file ;;
969 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
970 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
971 cache_file=$ac_optarg ;;
974 cache_file=config.cache ;;
976 -datadir | --datadir | --datadi | --datad)
978 -datadir=* | --datadir=* | --datadi=* | --datad=*)
979 datadir=$ac_optarg ;;
981 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
982 | --dataroo | --dataro | --datar)
983 ac_prev=datarootdir ;;
984 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
985 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
986 datarootdir=$ac_optarg ;;
988 -disable-* | --disable-*)
989 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992 as_fn_error $? "invalid feature name: $ac_useropt"
993 ac_useropt_orig=$ac_useropt
994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1000 ac_unrecognized_sep=', ';;
1002 eval enable_$ac_useropt=no ;;
1004 -docdir | --docdir | --docdi | --doc | --do)
1006 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1007 docdir=$ac_optarg ;;
1009 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1012 dvidir=$ac_optarg ;;
1014 -enable-* | --enable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error $? "invalid feature name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_$ac_useropt"
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1028 eval enable_$ac_useropt=\$ac_optarg ;;
1030 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1031 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1032 | --exec | --exe | --ex)
1033 ac_prev=exec_prefix ;;
1034 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1035 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1036 | --exec=* | --exe=* | --ex=*)
1037 exec_prefix=$ac_optarg ;;
1039 -gas | --gas | --ga | --g)
1040 # Obsolete; use --with-gas.
1043 -help | --help | --hel | --he | -h)
1044 ac_init_help=long ;;
1045 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1046 ac_init_help=recursive ;;
1047 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1048 ac_init_help=short ;;
1050 -host | --host | --hos | --ho)
1051 ac_prev=host_alias ;;
1052 -host=* | --host=* | --hos=* | --ho=*)
1053 host_alias=$ac_optarg ;;
1055 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1057 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1059 htmldir=$ac_optarg ;;
1061 -includedir | --includedir | --includedi | --included | --include \
1062 | --includ | --inclu | --incl | --inc)
1063 ac_prev=includedir ;;
1064 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1065 | --includ=* | --inclu=* | --incl=* | --inc=*)
1066 includedir=$ac_optarg ;;
1068 -infodir | --infodir | --infodi | --infod | --info | --inf)
1070 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1071 infodir=$ac_optarg ;;
1073 -libdir | --libdir | --libdi | --libd)
1075 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1076 libdir=$ac_optarg ;;
1078 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1079 | --libexe | --libex | --libe)
1080 ac_prev=libexecdir ;;
1081 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1082 | --libexe=* | --libex=* | --libe=*)
1083 libexecdir=$ac_optarg ;;
1085 -localedir | --localedir | --localedi | --localed | --locale)
1086 ac_prev=localedir ;;
1087 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1088 localedir=$ac_optarg ;;
1090 -localstatedir | --localstatedir | --localstatedi | --localstated \
1091 | --localstate | --localstat | --localsta | --localst | --locals)
1092 ac_prev=localstatedir ;;
1093 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1094 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1095 localstatedir=$ac_optarg ;;
1097 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1099 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1100 mandir=$ac_optarg ;;
1102 -nfp | --nfp | --nf)
1103 # Obsolete; use --without-fp.
1106 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1107 | --no-cr | --no-c | -n)
1110 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1111 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1115 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1116 | --oldin | --oldi | --old | --ol | --o)
1117 ac_prev=oldincludedir ;;
1118 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1119 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1120 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1121 oldincludedir=$ac_optarg ;;
1123 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1125 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1126 prefix=$ac_optarg ;;
1128 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1129 | --program-pre | --program-pr | --program-p)
1130 ac_prev=program_prefix ;;
1131 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1132 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1133 program_prefix=$ac_optarg ;;
1135 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1136 | --program-suf | --program-su | --program-s)
1137 ac_prev=program_suffix ;;
1138 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1139 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1140 program_suffix=$ac_optarg ;;
1142 -program-transform-name | --program-transform-name \
1143 | --program-transform-nam | --program-transform-na \
1144 | --program-transform-n | --program-transform- \
1145 | --program-transform | --program-transfor \
1146 | --program-transfo | --program-transf \
1147 | --program-trans | --program-tran \
1148 | --progr-tra | --program-tr | --program-t)
1149 ac_prev=program_transform_name ;;
1150 -program-transform-name=* | --program-transform-name=* \
1151 | --program-transform-nam=* | --program-transform-na=* \
1152 | --program-transform-n=* | --program-transform-=* \
1153 | --program-transform=* | --program-transfor=* \
1154 | --program-transfo=* | --program-transf=* \
1155 | --program-trans=* | --program-tran=* \
1156 | --progr-tra=* | --program-tr=* | --program-t=*)
1157 program_transform_name=$ac_optarg ;;
1159 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1161 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1162 pdfdir=$ac_optarg ;;
1164 -psdir | --psdir | --psdi | --psd | --ps)
1166 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1170 | -silent | --silent | --silen | --sile | --sil)
1173 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1175 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1177 sbindir=$ac_optarg ;;
1179 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1180 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1181 | --sharedst | --shareds | --shared | --share | --shar \
1183 ac_prev=sharedstatedir ;;
1184 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1185 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1186 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1188 sharedstatedir=$ac_optarg ;;
1190 -site | --site | --sit)
1192 -site=* | --site=* | --sit=*)
1195 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1197 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1198 srcdir=$ac_optarg ;;
1200 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1201 | --syscon | --sysco | --sysc | --sys | --sy)
1202 ac_prev=sysconfdir ;;
1203 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1204 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1205 sysconfdir=$ac_optarg ;;
1207 -target | --target | --targe | --targ | --tar | --ta | --t)
1208 ac_prev=target_alias ;;
1209 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1210 target_alias=$ac_optarg ;;
1212 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 -version | --version | --versio | --versi | --vers | -V)
1216 ac_init_version=: ;;
1219 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222 as_fn_error $? "invalid package name: $ac_useropt"
1223 ac_useropt_orig=$ac_useropt
1224 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 case $ac_user_opts in
1229 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1230 ac_unrecognized_sep=', ';;
1232 eval with_$ac_useropt=\$ac_optarg ;;
1234 -without-* | --without-*)
1235 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238 as_fn_error $? "invalid package name: $ac_useropt"
1239 ac_useropt_orig=$ac_useropt
1240 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1245 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1246 ac_unrecognized_sep=', ';;
1248 eval with_$ac_useropt=no ;;
1251 # Obsolete; use --with-x.
1254 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1255 | --x-incl | --x-inc | --x-in | --x-i)
1256 ac_prev=x_includes ;;
1257 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1258 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1259 x_includes=$ac_optarg ;;
1261 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1262 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1263 ac_prev=x_libraries ;;
1264 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1265 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1266 x_libraries=$ac_optarg ;;
1268 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1269 Try \`$0 --help' for more information"
1273 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1274 # Reject names that are not valid shell variable names.
1275 case $ac_envvar in #(
1276 '' | [0-9]* | *[!_$as_cr_alnum]* )
1277 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1279 eval $ac_envvar=\$ac_optarg
1280 export $ac_envvar ;;
1283 # FIXME: should be removed in autoconf 3.0.
1284 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1285 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1286 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1287 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1293 if test -n "$ac_prev"; then
1294 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1295 as_fn_error $? "missing argument to $ac_option"
1298 if test -n "$ac_unrecognized_opts"; then
1299 case $enable_option_checking in
1301 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1302 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1306 # Check all directory arguments for consistency.
1307 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1308 datadir sysconfdir sharedstatedir localstatedir includedir \
1309 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1310 libdir localedir mandir
1312 eval ac_val=\$$ac_var
1313 # Remove trailing slashes.
1316 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1317 eval $ac_var=\$ac_val;;
1319 # Be sure to have absolute directory names.
1321 [\\/$]* | ?:[\\/]* ) continue;;
1322 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1324 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1327 # There might be people who depend on the old broken behavior: `$host'
1328 # used to hold the argument of --host etc.
1329 # FIXME: To remove some day.
1332 target=$target_alias
1334 # FIXME: To remove some day.
1335 if test "x$host_alias" != x; then
1336 if test "x$build_alias" = x; then
1337 cross_compiling=maybe
1338 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1339 If a cross compiler is detected then cross compile mode will be used" >&2
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1348 test "$silent" = yes && exec 6>/dev/null
1351 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di=`ls -di .` &&
1353 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error $? "working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error $? "pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1395 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 for ac_var in $ac_precious_vars; do
1412 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_${ac_var}_value=\$${ac_var}
1414 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures Moonshot-ui 0.1 to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking ...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot-ui]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1488 --build=BUILD configure for building on BUILD [guessed]
1489 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1493 if test -n "$ac_init_help"; then
1494 case $ac_init_help in
1495 short | recursive ) echo "Configuration of Moonshot-ui 0.1:";;
1500 --disable-option-checking ignore unrecognized --enable/--with options
1501 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1502 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1503 --enable-silent-rules less verbose build output (undo: `make V=1')
1504 --disable-silent-rules verbose build output (undo: `make V=0')
1505 --disable-maintainer-mode disable make rules and dependencies not useful
1506 (and sometimes confusing) to the casual installer
1507 --enable-shared[=PKGS] build shared libraries [default=yes]
1508 --enable-static[=PKGS] build static libraries [default=yes]
1509 --enable-fast-install[=PKGS]
1510 optimize for fast installation [default=yes]
1511 --disable-dependency-tracking speeds up one-time build
1512 --enable-dependency-tracking do not reject slow dependency extractors
1513 --disable-libtool-lock avoid locking (might break parallel builds)
1514 --disable-nls do not use Native Language Support
1515 --disable-rpath do not hardcode runtime library paths
1518 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1519 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1520 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1522 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1523 --with-sysroot=DIR Search for dependent libraries within DIR
1524 (or the compiler's sysroot if not specified).
1525 --with-gnu-ld assume the C compiler uses GNU ld default=no
1526 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1527 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1528 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1529 --without-libintl-prefix don't search for libintl in includedir and libdir
1531 Some influential environment variables:
1532 CC C compiler command
1533 CFLAGS C compiler flags
1534 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1535 nonstandard directory <lib dir>
1536 LIBS libraries to pass to the linker, e.g. -l<library>
1537 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1538 you have headers in a nonstandard directory <include dir>
1540 PKG_CONFIG path to pkg-config utility
1542 directories to add to pkg-config's search path
1544 path overriding pkg-config's built-in search path
1545 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1546 GTK_LIBS linker flags for GTK, overriding pkg-config
1547 MAC_CFLAGS C compiler flags for MAC, overriding pkg-config
1548 MAC_LIBS linker flags for MAC, overriding pkg-config
1550 C compiler flags for GDBUS, overriding pkg-config
1551 GDBUS_LIBS linker flags for GDBUS, overriding pkg-config
1553 C compiler flags for moonshot, overriding pkg-config
1555 linker flags for moonshot, overriding pkg-config
1557 C compiler flags for libmoonshot, overriding pkg-config
1559 linker flags for libmoonshot, overriding pkg-config
1561 Use these variables to override the choices made by `configure' or to help
1562 it to find libraries and programs with nonstandard names/locations.
1564 Report bugs to <moonshot-community@jiscmail.ac.uk>.
1565 Moonshot-ui home page: <http://www.project-moonshot.org/>.
1570 if test "$ac_init_help" = "recursive"; then
1571 # If there are subdirs, report their specific --help.
1572 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1573 test -d "$ac_dir" ||
1574 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1579 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1582 # A ".." for each directory in $ac_dir_suffix.
1583 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1584 case $ac_top_builddir_sub in
1585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1589 ac_abs_top_builddir=$ac_pwd
1590 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1591 # for backward compatibility:
1592 ac_top_builddir=$ac_top_build_prefix
1595 .) # We are building in place.
1597 ac_top_srcdir=$ac_top_builddir_sub
1598 ac_abs_top_srcdir=$ac_pwd ;;
1599 [\\/]* | ?:[\\/]* ) # Absolute name.
1600 ac_srcdir=$srcdir$ac_dir_suffix;
1601 ac_top_srcdir=$srcdir
1602 ac_abs_top_srcdir=$srcdir ;;
1604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1605 ac_top_srcdir=$ac_top_build_prefix$srcdir
1606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1608 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1610 cd "$ac_dir" || { ac_status=$?; continue; }
1611 # Check for guested configure.
1612 if test -f "$ac_srcdir/configure.gnu"; then
1614 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1615 elif test -f "$ac_srcdir/configure"; then
1617 $SHELL "$ac_srcdir/configure" --help=recursive
1619 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1621 cd "$ac_pwd" || { ac_status=$?; break; }
1625 test -n "$ac_init_help" && exit $ac_status
1626 if $ac_init_version; then
1628 Moonshot-ui configure 0.1
1629 generated by GNU Autoconf 2.67
1631 Copyright (C) 2010 Free Software Foundation, Inc.
1632 This configure script is free software; the Free Software Foundation
1633 gives unlimited permission to copy, distribute and modify it.
1638 ## ------------------------ ##
1639 ## Autoconf initialization. ##
1640 ## ------------------------ ##
1642 # ac_fn_c_try_compile LINENO
1643 # --------------------------
1644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1645 ac_fn_c_try_compile ()
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 rm -f conftest.$ac_objext
1649 if { { ac_try="$ac_compile"
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_compile") 2>conftest.err
1658 if test -s conftest.err; then
1659 grep -v '^ *+' conftest.err >conftest.er1
1660 cat conftest.er1 >&5
1661 mv -f conftest.er1 conftest.err
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && {
1665 test -z "$ac_c_werror_flag" ||
1666 test ! -s conftest.err
1667 } && test -s conftest.$ac_objext; then :
1670 $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.$ac_ext >&5
1675 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1676 as_fn_set_status $ac_retval
1678 } # ac_fn_c_try_compile
1680 # ac_fn_c_try_link LINENO
1681 # -----------------------
1682 # Try to link conftest.$ac_ext, and return whether this succeeded.
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 rm -f conftest.$ac_objext conftest$ac_exeext
1687 if { { ac_try="$ac_link"
1689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_link") 2>conftest.err
1696 if test -s conftest.err; then
1697 grep -v '^ *+' conftest.err >conftest.er1
1698 cat conftest.er1 >&5
1699 mv -f conftest.er1 conftest.err
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; } && {
1703 test -z "$ac_c_werror_flag" ||
1704 test ! -s conftest.err
1705 } && test -s conftest$ac_exeext && {
1706 test "$cross_compiling" = yes ||
1707 $as_test_x conftest$ac_exeext
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1716 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1717 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1718 # interfere with the next link command; also delete a directory that is
1719 # left behind by Apple's compiler. We do this before executing the actions.
1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 as_fn_set_status $ac_retval
1724 } # ac_fn_c_try_link
1726 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1727 # -------------------------------------------------------
1728 # Tests whether HEADER exists and can be compiled using the include files in
1729 # INCLUDES, setting the cache variable VAR accordingly.
1730 ac_fn_c_check_header_compile ()
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1734 $as_echo_n "checking for $2... " >&6; }
1735 if eval "test \"\${$3+set}\"" = set; then :
1736 $as_echo_n "(cached) " >&6
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1739 /* end confdefs.h. */
1743 if ac_fn_c_try_compile "$LINENO"; then :
1748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752 $as_echo "$ac_res" >&6; }
1753 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1755 } # ac_fn_c_check_header_compile
1757 # ac_fn_c_try_cpp LINENO
1758 # ----------------------
1759 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 if { { ac_try="$ac_cpp conftest.$ac_ext"
1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1772 if test -s conftest.err; then
1773 grep -v '^ *+' conftest.err >conftest.er1
1774 cat conftest.er1 >&5
1775 mv -f conftest.er1 conftest.err
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } > conftest.i && {
1779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1780 test ! -s conftest.err
1784 $as_echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.$ac_ext >&5
1789 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1790 as_fn_set_status $ac_retval
1794 # ac_fn_c_try_run LINENO
1795 # ----------------------
1796 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1797 # that executables *can* be run.
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 if { { ac_try="$ac_link"
1803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1804 *) ac_try_echo=$ac_try;;
1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_link") 2>&5
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1812 { { case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_try") 2>&5
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; }; }; then :
1824 $as_echo "$as_me: program exited with status $ac_status" >&5
1825 $as_echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1828 ac_retval=$ac_status
1830 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832 as_fn_set_status $ac_retval
1836 # ac_fn_c_check_func LINENO FUNC VAR
1837 # ----------------------------------
1838 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1839 ac_fn_c_check_func ()
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. */
1849 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1851 #define $2 innocuous_$2
1853 /* System header to define __stub macros and hopefully few prototypes,
1854 which can conflict with char $2 (); below.
1855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1856 <limits.h> exists even on freestanding compilers. */
1859 # include <limits.h>
1861 # include <assert.h>
1866 /* Override any GCC internal prototype to avoid an error.
1867 Use char because int might match the return type of a GCC
1868 builtin and then its argument prototype would still apply. */
1873 /* The GNU C library defines this for functions which it implements
1874 to always fail with ENOSYS. Some functions are actually named
1875 something starting with __ and the normal name is an alias. */
1876 #if defined __stub_$2 || defined __stub___$2
1888 if ac_fn_c_try_link "$LINENO"; then :
1893 rm -f core conftest.err conftest.$ac_objext \
1894 conftest$ac_exeext conftest.$ac_ext
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 $as_echo "$ac_res" >&6; }
1899 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901 } # ac_fn_c_check_func
1902 cat >config.log <<_ACEOF
1903 This file contains any messages produced by compilers while
1904 running configure, to aid debugging if configure makes a mistake.
1906 It was created by Moonshot-ui $as_me 0.1, which was
1907 generated by GNU Autoconf 2.67. Invocation command line was
1919 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1920 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1921 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1922 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1923 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1925 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1926 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1928 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1929 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1930 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1931 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1932 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1933 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1934 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942 test -z "$as_dir" && as_dir=.
1943 $as_echo "PATH: $as_dir"
1959 # Keep a trace of the command line.
1960 # Strip out --no-create and --no-recursion so they do not pile up.
1961 # Strip out --silent because we don't want to record it for future runs.
1962 # Also quote any args containing shell meta-characters.
1963 # Make two passes to allow for proper duplicate-argument suppression.
1967 ac_must_keep_next=false
1973 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1975 | -silent | --silent | --silen | --sile | --sil)
1978 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1981 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1983 as_fn_append ac_configure_args1 " '$ac_arg'"
1984 if test $ac_must_keep_next = true; then
1985 ac_must_keep_next=false # Got value, back to normal.
1988 *=* | --config-cache | -C | -disable-* | --disable-* \
1989 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1990 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1991 | -with-* | --with-* | -without-* | --without-* | --x)
1992 case "$ac_configure_args0 " in
1993 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1996 -* ) ac_must_keep_next=true ;;
1999 as_fn_append ac_configure_args " '$ac_arg'"
2004 { ac_configure_args0=; unset ac_configure_args0;}
2005 { ac_configure_args1=; unset ac_configure_args1;}
2007 # When interrupted or exit'd, cleanup temporary files, and complete
2008 # config.log. We remove comments because anyway the quotes in there
2009 # would cause problems or look ugly.
2010 # WARNING: Use '\'' to represent an apostrophe within the trap.
2011 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2012 trap 'exit_status=$?
2013 # Save into config.log some information that might help in debugging.
2017 $as_echo "## ---------------- ##
2018 ## Cache variables. ##
2019 ## ---------------- ##"
2021 # The following way of writing the cache mishandles newlines in values,
2023 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2024 eval ac_val=\$$ac_var
2028 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2029 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2032 _ | IFS | as_nl) ;; #(
2033 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2034 *) { eval $ac_var=; unset $ac_var;} ;;
2039 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2040 *${as_nl}ac_space=\ *)
2042 "s/'\''/'\''\\\\'\'''\''/g;
2043 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2046 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2053 $as_echo "## ----------------- ##
2054 ## Output variables. ##
2055 ## ----------------- ##"
2057 for ac_var in $ac_subst_vars
2059 eval ac_val=\$$ac_var
2061 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2063 $as_echo "$ac_var='\''$ac_val'\''"
2067 if test -n "$ac_subst_files"; then
2068 $as_echo "## ------------------- ##
2069 ## File substitutions. ##
2070 ## ------------------- ##"
2072 for ac_var in $ac_subst_files
2074 eval ac_val=\$$ac_var
2076 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2078 $as_echo "$ac_var='\''$ac_val'\''"
2083 if test -s confdefs.h; then
2084 $as_echo "## ----------- ##
2091 test "$ac_signal" != 0 &&
2092 $as_echo "$as_me: caught signal $ac_signal"
2093 $as_echo "$as_me: exit $exit_status"
2095 rm -f core *.core core.conftest.* &&
2096 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2099 for ac_signal in 1 2 13 15; do
2100 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2104 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2105 rm -f -r conftest* confdefs.h
2107 $as_echo "/* confdefs.h */" > confdefs.h
2109 # Predefined preprocessor variables.
2111 cat >>confdefs.h <<_ACEOF
2112 #define PACKAGE_NAME "$PACKAGE_NAME"
2115 cat >>confdefs.h <<_ACEOF
2116 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2119 cat >>confdefs.h <<_ACEOF
2120 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2123 cat >>confdefs.h <<_ACEOF
2124 #define PACKAGE_STRING "$PACKAGE_STRING"
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_URL "$PACKAGE_URL"
2136 # Let the site file select an alternate cache file if it wants to.
2137 # Prefer an explicitly selected file to automatically selected ones.
2140 if test -n "$CONFIG_SITE"; then
2141 # We do not want a PATH search for config.site.
2142 case $CONFIG_SITE in #((
2143 -*) ac_site_file1=./$CONFIG_SITE;;
2144 */*) ac_site_file1=$CONFIG_SITE;;
2145 *) ac_site_file1=./$CONFIG_SITE;;
2147 elif test "x$prefix" != xNONE; then
2148 ac_site_file1=$prefix/share/config.site
2149 ac_site_file2=$prefix/etc/config.site
2151 ac_site_file1=$ac_default_prefix/share/config.site
2152 ac_site_file2=$ac_default_prefix/etc/config.site
2154 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2156 test "x$ac_site_file" = xNONE && continue
2157 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2159 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2160 sed 's/^/| /' "$ac_site_file" >&5
2162 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2164 as_fn_error $? "failed to load site script $ac_site_file
2165 See \`config.log' for more details" "$LINENO" 5 ; }
2169 if test -r "$cache_file"; then
2170 # Some versions of bash will fail to source /dev/null (special files
2171 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2172 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2174 $as_echo "$as_me: loading cache $cache_file" >&6;}
2176 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2177 *) . "./$cache_file";;
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2182 $as_echo "$as_me: creating cache $cache_file" >&6;}
2186 gt_needs="$gt_needs "
2187 # Check that the precious variables saved in the cache have kept the same
2189 ac_cache_corrupted=false
2190 for ac_var in $ac_precious_vars; do
2191 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2192 eval ac_new_set=\$ac_env_${ac_var}_set
2193 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2194 eval ac_new_val=\$ac_env_${ac_var}_value
2195 case $ac_old_set,$ac_new_set in
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2198 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2199 ac_cache_corrupted=: ;;
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2202 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2203 ac_cache_corrupted=: ;;
2206 if test "x$ac_old_val" != "x$ac_new_val"; then
2207 # differences in whitespace do not lead to failure.
2208 ac_old_val_w=`echo x $ac_old_val`
2209 ac_new_val_w=`echo x $ac_new_val`
2210 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2212 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2213 ac_cache_corrupted=:
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2216 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2217 eval $ac_var=\$ac_old_val
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2220 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2222 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2225 # Pass precious variables to config.status.
2226 if test "$ac_new_set" = set; then
2228 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2229 *) ac_arg=$ac_var=$ac_new_val ;;
2231 case " $ac_configure_args " in
2232 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2233 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2237 if $ac_cache_corrupted; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2241 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2242 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2244 ## -------------------- ##
2245 ## Main body of script. ##
2246 ## -------------------- ##
2249 ac_cpp='$CPP $CPPFLAGS'
2250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2256 # Remove this when we can depend on autoconf >= 2.64
2257 PACKAGE_URL=http://www.project-moonshot.org/
2260 $as_echo "#define PACKAGE_URL \"http://www.project-moonshot.org\"" >>confdefs.h
2262 ac_config_headers="$ac_config_headers config.h"
2267 for ac_dir in build-aux "$srcdir"/build-aux; do
2268 if test -f "$ac_dir/install-sh"; then
2270 ac_install_sh="$ac_aux_dir/install-sh -c"
2272 elif test -f "$ac_dir/install.sh"; then
2274 ac_install_sh="$ac_aux_dir/install.sh -c"
2276 elif test -f "$ac_dir/shtool"; then
2278 ac_install_sh="$ac_aux_dir/shtool install -c"
2282 if test -z "$ac_aux_dir"; then
2283 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2286 # These three variables are undocumented and unsupported,
2287 # and are intended to be withdrawn in a future Autoconf release.
2288 # They can cause serious problems if a builder's source tree is in a directory
2289 # whose full name contains unusual characters.
2290 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2291 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2292 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2296 am__api_version='1.11'
2298 # Find a good install program. We prefer a C program (faster),
2299 # so one script is as good as another. But avoid the broken or
2300 # incompatible versions:
2301 # SysV /etc/install, /usr/sbin/install
2302 # SunOS /usr/etc/install
2303 # IRIX /sbin/install
2305 # AmigaOS /C/install, which installs bootblocks on floppy discs
2306 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2307 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2308 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2309 # OS/2's system install, which has a completely different semantic
2310 # ./install, which can be erroneously created by make from ./install.sh.
2311 # Reject install programs that cannot install multiple files.
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2313 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2314 if test -z "$INSTALL"; then
2315 if test "${ac_cv_path_install+set}" = set; then :
2316 $as_echo_n "(cached) " >&6
2318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322 test -z "$as_dir" && as_dir=.
2323 # Account for people who put trailing slashes in PATH elements.
2324 case $as_dir/ in #((
2325 ./ | .// | /[cC]/* | \
2326 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2327 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2330 # OSF1 and SCO ODT 3.0 have their own names for install.
2331 # Don't use installbsd from OSF since it installs stuff as root
2333 for ac_prog in ginstall scoinst install; do
2334 for ac_exec_ext in '' $ac_executable_extensions; do
2335 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2336 if test $ac_prog = install &&
2337 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2338 # AIX install. It has an incompatible calling convention.
2340 elif test $ac_prog = install &&
2341 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2342 # program-specific install script used by HP pwplus--don't use.
2345 rm -rf conftest.one conftest.two conftest.dir
2346 echo one > conftest.one
2347 echo two > conftest.two
2349 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2350 test -s conftest.one && test -s conftest.two &&
2351 test -s conftest.dir/conftest.one &&
2352 test -s conftest.dir/conftest.two
2354 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2367 rm -rf conftest.one conftest.two conftest.dir
2370 if test "${ac_cv_path_install+set}" = set; then
2371 INSTALL=$ac_cv_path_install
2373 # As a last resort, use the slow shell script. Don't cache a
2374 # value for INSTALL within a source directory, because that will
2375 # break other packages using the cache if that directory is
2376 # removed, or if the value is a relative name.
2377 INSTALL=$ac_install_sh
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2381 $as_echo "$INSTALL" >&6; }
2383 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2384 # It thinks the first close brace ends the variable substitution.
2385 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2387 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2389 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2392 $as_echo_n "checking whether build environment is sane... " >&6; }
2395 echo timestamp > conftest.file
2396 # Reject unsafe characters in $srcdir or the absolute working directory
2397 # name. Accept space and tab only in the latter.
2401 *[\\\"\#\$\&\'\`$am_lf]*)
2402 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2405 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2406 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2409 # Do `set' in a subshell so we don't clobber the current shell's
2410 # arguments. Must try -L first in case configure is actually a
2411 # symlink; some systems play weird games with the mod time of symlinks
2412 # (eg FreeBSD returns the mod time of the symlink's containing
2415 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2416 if test "$*" = "X"; then
2418 set X `ls -t "$srcdir/configure" conftest.file`
2421 if test "$*" != "X $srcdir/configure conftest.file" \
2422 && test "$*" != "X conftest.file $srcdir/configure"; then
2424 # If neither matched, then we have a broken ls. This can happen
2425 # if, for instance, CONFIG_SHELL is bash and it inherits a
2426 # broken ls alias from the environment. This has actually
2427 # happened. Such a system could not be considered "sane".
2428 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2429 alias in your environment" "$LINENO" 5
2432 test "$2" = conftest.file
2438 as_fn_error $? "newly created file is older than distributed files!
2439 Check your system clock" "$LINENO" 5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2442 $as_echo "yes" >&6; }
2443 test "$program_prefix" != NONE &&
2444 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2445 # Use a double $ so make ignores it.
2446 test "$program_suffix" != NONE &&
2447 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2448 # Double any \ or $.
2449 # By default was `s,x,x', remove it if useless.
2450 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2451 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2453 # expand $ac_aux_dir to an absolute path
2454 am_aux_dir=`cd $ac_aux_dir && pwd`
2456 if test x"${MISSING+set}" != xset; then
2459 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2461 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2464 # Use eval to expand $SHELL
2465 if eval "$MISSING --run true"; then
2466 am_missing_run="$MISSING --run "
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2470 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2473 if test x"${install_sh}" != xset; then
2476 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2478 install_sh="\${SHELL} $am_aux_dir/install-sh"
2482 # Installed binaries are usually stripped using `strip' when the user
2483 # run `make install-strip'. However `strip' might not be the right
2484 # tool to use in cross-compilation environments, therefore Automake
2485 # will honor the `STRIP' environment variable to overrule this program.
2486 if test "$cross_compiling" != no; then
2487 if test -n "$ac_tool_prefix"; then
2488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2489 set dummy ${ac_tool_prefix}strip; ac_word=$2
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if test "${ac_cv_prog_STRIP+set}" = set; then :
2493 $as_echo_n "(cached) " >&6
2495 if test -n "$STRIP"; then
2496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 STRIP=$ac_cv_prog_STRIP
2516 if test -n "$STRIP"; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2518 $as_echo "$STRIP" >&6; }
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521 $as_echo "no" >&6; }
2526 if test -z "$ac_cv_prog_STRIP"; then
2528 # Extract the first word of "strip", so it can be a program name with args.
2529 set dummy strip; ac_word=$2
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2531 $as_echo_n "checking for $ac_word... " >&6; }
2532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2533 $as_echo_n "(cached) " >&6
2535 if test -n "$ac_ct_STRIP"; then
2536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir=.
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2545 ac_cv_prog_ac_ct_STRIP="strip"
2546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2556 if test -n "$ac_ct_STRIP"; then
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2558 $as_echo "$ac_ct_STRIP" >&6; }
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2561 $as_echo "no" >&6; }
2564 if test "x$ac_ct_STRIP" = x; then
2567 case $cross_compiling:$ac_tool_warned in
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2571 ac_tool_warned=yes ;;
2576 STRIP="$ac_cv_prog_STRIP"
2580 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2583 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2584 if test -z "$MKDIR_P"; then
2585 if test "${ac_cv_path_mkdir+set}" = set; then :
2586 $as_echo_n "(cached) " >&6
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2592 test -z "$as_dir" && as_dir=.
2593 for ac_prog in mkdir gmkdir; do
2594 for ac_exec_ext in '' $ac_executable_extensions; do
2595 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2596 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2597 'mkdir (GNU coreutils) '* | \
2598 'mkdir (coreutils) '* | \
2599 'mkdir (fileutils) '4.1*)
2600 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2610 test -d ./--version && rmdir ./--version
2611 if test "${ac_cv_path_mkdir+set}" = set; then
2612 MKDIR_P="$ac_cv_path_mkdir -p"
2614 # As a last resort, use the slow shell script. Don't cache a
2615 # value for MKDIR_P within a source directory, because that will
2616 # break other packages using the cache if that directory is
2617 # removed, or if the value is a relative name.
2618 MKDIR_P="$ac_install_sh -d"
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2622 $as_echo "$MKDIR_P" >&6; }
2626 [\\/$]* | ?:[\\/]*) ;;
2627 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2630 for ac_prog in gawk mawk nawk awk
2632 # Extract the first word of "$ac_prog", so it can be a program name with args.
2633 set dummy $ac_prog; ac_word=$2
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if test "${ac_cv_prog_AWK+set}" = set; then :
2637 $as_echo_n "(cached) " >&6
2639 if test -n "$AWK"; then
2640 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir=.
2647 for ac_exec_ext in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 ac_cv_prog_AWK="$ac_prog"
2650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 if test -n "$AWK"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2662 $as_echo "$AWK" >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2669 test -n "$AWK" && break
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2673 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2675 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2676 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2677 $as_echo_n "(cached) " >&6
2679 cat >conftest.make <<\_ACEOF
2682 @echo '@@@%%%=$(MAKE)=@@@%%%'
2684 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2685 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2687 eval ac_cv_prog_make_${ac_make}_set=yes;;
2689 eval ac_cv_prog_make_${ac_make}_set=no;;
2693 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2695 $as_echo "yes" >&6; }
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2699 $as_echo "no" >&6; }
2700 SET_MAKE="MAKE=${MAKE-make}"
2703 rm -rf .tst 2>/dev/null
2704 mkdir .tst 2>/dev/null
2705 if test -d .tst; then
2710 rmdir .tst 2>/dev/null
2712 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2713 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2714 # is not polluted with repeated "-I."
2715 am__isrc=' -I$(srcdir)'
2716 # test to see if srcdir already configured
2717 if test -f $srcdir/config.status; then
2718 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2722 # test whether we have cygpath
2723 if test -z "$CYGPATH_W"; then
2724 if (cygpath --version) >/dev/null 2>/dev/null; then
2725 CYGPATH_W='cygpath -w'
2732 # Define the identity of the package.
2733 PACKAGE='moonshot-ui'
2737 cat >>confdefs.h <<_ACEOF
2738 #define PACKAGE "$PACKAGE"
2742 cat >>confdefs.h <<_ACEOF
2743 #define VERSION "$VERSION"
2746 # Some tools Automake needs.
2748 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2751 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2754 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2757 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2760 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2762 # We need awk for the "check" target. The system "awk" is bad on
2764 # Always define AMTAR for backward compatibility.
2766 AMTAR=${AMTAR-"${am_missing_run}tar"}
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2770 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2771 # Loop over all known methods to create a tar archive until one works.
2772 _am_tools='gnutar pax cpio none'
2773 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2774 # Do not fold the above two line into one, because Tru64 sh and
2775 # Solaris sh will not grok spaces in the rhs of `-'.
2776 for _am_tool in $_am_tools
2780 for _am_tar in tar gnutar gtar;
2782 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2783 ($_am_tar --version) >&5 2>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } && break
2788 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2789 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2790 am__untar="$_am_tar -xf -"
2793 # Must skip GNU tar: if it does not support --format= it doesn't create
2794 # ustar tarball either.
2795 (tar --version) >/dev/null 2>&1 && continue
2796 am__tar='tar chf - "$$tardir"'
2797 am__tar_='tar chf - "$tardir"'
2798 am__untar='tar xf -'
2801 am__tar='pax -L -x pax -w "$$tardir"'
2802 am__tar_='pax -L -x pax -w "$tardir"'
2806 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2807 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2808 am__untar='cpio -i -H pax -d'
2817 # If the value was cached, stop now. We just wanted to have am__tar
2818 # and am__untar set.
2819 test -n "${am_cv_prog_tar_pax}" && break
2821 # tar/untar a dummy directory, and stop if the command works
2824 echo GrepMe > conftest.dir/file
2825 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2826 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }
2831 if test -s conftest.tar; then
2832 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2833 ($am__untar <conftest.tar) >&5 2>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }
2837 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2842 if test "${am_cv_prog_tar_pax+set}" = set; then :
2843 $as_echo_n "(cached) " >&6
2845 am_cv_prog_tar_pax=$_am_tool
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2849 $as_echo "$am_cv_prog_tar_pax" >&6; }
2855 # Check whether --enable-silent-rules was given.
2856 if test "${enable_silent_rules+set}" = set; then :
2857 enableval=$enable_silent_rules;
2860 case $enable_silent_rules in
2861 yes) AM_DEFAULT_VERBOSITY=0;;
2862 no) AM_DEFAULT_VERBOSITY=1;;
2863 *) AM_DEFAULT_VERBOSITY=0;;
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
2869 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2870 # Check whether --enable-maintainer-mode was given.
2871 if test "${enable_maintainer_mode+set}" = set; then :
2872 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2874 USE_MAINTAINER_MODE=yes
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2878 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2879 if test $USE_MAINTAINER_MODE = yes; then
2880 MAINTAINER_MODE_TRUE=
2881 MAINTAINER_MODE_FALSE='#'
2883 MAINTAINER_MODE_TRUE='#'
2884 MAINTAINER_MODE_FALSE=
2887 MAINT=$MAINTAINER_MODE_TRUE
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2895 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2900 macro_version='2.4.2'
2901 macro_revision='1.3337'
2915 ltmain="$ac_aux_dir/ltmain.sh"
2917 # Make sure we can run config.sub.
2918 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2919 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2922 $as_echo_n "checking build system type... " >&6; }
2923 if test "${ac_cv_build+set}" = set; then :
2924 $as_echo_n "(cached) " >&6
2926 ac_build_alias=$build_alias
2927 test "x$ac_build_alias" = x &&
2928 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2929 test "x$ac_build_alias" = x &&
2930 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2931 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2932 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2936 $as_echo "$ac_cv_build" >&6; }
2937 case $ac_cv_build in
2939 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2942 ac_save_IFS=$IFS; IFS='-'
2948 # Remember, the first character of IFS is used to create $*,
2949 # except with old shells:
2952 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2956 $as_echo_n "checking host system type... " >&6; }
2957 if test "${ac_cv_host+set}" = set; then :
2958 $as_echo_n "(cached) " >&6
2960 if test "x$host_alias" = x; then
2961 ac_cv_host=$ac_cv_build
2963 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2964 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2969 $as_echo "$ac_cv_host" >&6; }
2972 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2975 ac_save_IFS=$IFS; IFS='-'
2981 # Remember, the first character of IFS is used to create $*,
2982 # except with old shells:
2985 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2988 # Backslashify metacharacters that are still active within
2989 # double-quoted strings.
2990 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2992 # Same as above, but do not quote variable references.
2993 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2995 # Sed substitution to delay expansion of an escaped shell variable in a
2996 # double_quote_subst'ed string.
2997 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2999 # Sed substitution to delay expansion of an escaped single quote.
3000 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3002 # Sed substitution to avoid accidental globbing in evaled expressions
3003 no_glob_subst='s/\*/\\\*/g'
3005 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3006 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3007 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3010 $as_echo_n "checking how to print strings... " >&6; }
3011 # Test print first, because it will be a builtin if present.
3012 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3013 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3015 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3018 # Use this function as a fallback that always works.
3019 func_fallback_echo ()
3021 eval 'cat <<_LTECHO_EOF
3025 ECHO='func_fallback_echo'
3028 # func_echo_all arg...
3029 # Invoke $ECHO with all args, space-separated.
3036 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3037 $as_echo "printf" >&6; } ;;
3038 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3039 $as_echo "print -r" >&6; } ;;
3040 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3041 $as_echo "cat" >&6; } ;;
3057 DEPDIR="${am__leading_dot}deps"
3059 ac_config_commands="$ac_config_commands depfiles"
3062 am_make=${MAKE-make}
3063 cat > confinc << 'END'
3065 @echo this is the am__doit target
3068 # If we don't find an include directive, just comment out the code.
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3070 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3074 # First try GNU make style include.
3075 echo "include confinc" > confmf
3076 # Ignore all kinds of additional output from `make'.
3077 case `$am_make -s -f confmf 2> /dev/null` in #(
3078 *the\ am__doit\ target*)
3084 # Now try BSD make style include.
3085 if test "$am__include" = "#"; then
3086 echo '.include "confinc"' > confmf
3087 case `$am_make -s -f confmf 2> /dev/null` in #(
3088 *the\ am__doit\ target*)
3089 am__include=.include
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3098 $as_echo "$_am_result" >&6; }
3099 rm -f confinc confmf
3101 # Check whether --enable-dependency-tracking was given.
3102 if test "${enable_dependency_tracking+set}" = set; then :
3103 enableval=$enable_dependency_tracking;
3106 if test "x$enable_dependency_tracking" != xno; then
3107 am_depcomp="$ac_aux_dir/depcomp"
3110 if test "x$enable_dependency_tracking" != xno; then
3120 ac_cpp='$CPP $CPPFLAGS'
3121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3124 if test -n "$ac_tool_prefix"; then
3125 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3126 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if test "${ac_cv_prog_CC+set}" = set; then :
3130 $as_echo_n "(cached) " >&6
3132 if test -n "$CC"; then
3133 ac_cv_prog_CC="$CC" # Let the user override the test.
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3142 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 if test -n "$CC"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3155 $as_echo "$CC" >&6; }
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3163 if test -z "$ac_cv_prog_CC"; then
3165 # Extract the first word of "gcc", so it can be a program name with args.
3166 set dummy gcc; ac_word=$2
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168 $as_echo_n "checking for $ac_word... " >&6; }
3169 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3170 $as_echo_n "(cached) " >&6
3172 if test -n "$ac_ct_CC"; then
3173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 test -z "$as_dir" && as_dir=.
3180 for ac_exec_ext in '' $ac_executable_extensions; do
3181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3182 ac_cv_prog_ac_ct_CC="gcc"
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3193 if test -n "$ac_ct_CC"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3195 $as_echo "$ac_ct_CC" >&6; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3201 if test "x$ac_ct_CC" = x; then
3204 case $cross_compiling:$ac_tool_warned in
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3208 ac_tool_warned=yes ;;
3216 if test -z "$CC"; then
3217 if test -n "$ac_tool_prefix"; then
3218 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3219 set dummy ${ac_tool_prefix}cc; ac_word=$2
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if test "${ac_cv_prog_CC+set}" = set; then :
3223 $as_echo_n "(cached) " >&6
3225 if test -n "$CC"; then
3226 ac_cv_prog_CC="$CC" # Let the user override the test.
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 test -z "$as_dir" && as_dir=.
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235 ac_cv_prog_CC="${ac_tool_prefix}cc"
3236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 if test -n "$CC"; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3248 $as_echo "$CC" >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3257 if test -z "$CC"; then
3258 # Extract the first word of "cc", so it can be a program name with args.
3259 set dummy cc; ac_word=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if test "${ac_cv_prog_CC+set}" = set; then :
3263 $as_echo_n "(cached) " >&6
3265 if test -n "$CC"; then
3266 ac_cv_prog_CC="$CC" # Let the user override the test.
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3277 ac_prog_rejected=yes
3281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 if test $ac_prog_rejected = yes; then
3289 # We found a bogon in the path, so make sure we never use it.
3290 set dummy $ac_cv_prog_CC
3292 if test $# != 0; then
3293 # We chose a different compiler from the bogus one.
3294 # However, it has the same basename, so the bogon will be chosen
3295 # first if we set CC to just the basename; use the full file name.
3297 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3303 if test -n "$CC"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3305 $as_echo "$CC" >&6; }
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3313 if test -z "$CC"; then
3314 if test -n "$ac_tool_prefix"; then
3315 for ac_prog in cl.exe
3317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320 $as_echo_n "checking for $ac_word... " >&6; }
3321 if test "${ac_cv_prog_CC+set}" = set; then :
3322 $as_echo_n "(cached) " >&6
3324 if test -n "$CC"; then
3325 ac_cv_prog_CC="$CC" # Let the user override the test.
3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3331 test -z "$as_dir" && as_dir=.
3332 for ac_exec_ext in '' $ac_executable_extensions; do
3333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3334 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 if test -n "$CC"; then
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3347 $as_echo "$CC" >&6; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3350 $as_echo "no" >&6; }
3354 test -n "$CC" && break
3357 if test -z "$CC"; then
3359 for ac_prog in cl.exe
3361 # Extract the first word of "$ac_prog", so it can be a program name with args.
3362 set dummy $ac_prog; ac_word=$2
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364 $as_echo_n "checking for $ac_word... " >&6; }
3365 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3366 $as_echo_n "(cached) " >&6
3368 if test -n "$ac_ct_CC"; then
3369 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 test -z "$as_dir" && as_dir=.
3376 for ac_exec_ext in '' $ac_executable_extensions; do
3377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3378 ac_cv_prog_ac_ct_CC="$ac_prog"
3379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3389 if test -n "$ac_ct_CC"; then
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3391 $as_echo "$ac_ct_CC" >&6; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3398 test -n "$ac_ct_CC" && break
3401 if test "x$ac_ct_CC" = x; then
3404 case $cross_compiling:$ac_tool_warned in
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3408 ac_tool_warned=yes ;;
3417 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3419 as_fn_error $? "no acceptable C compiler found in \$PATH
3420 See \`config.log' for more details" "$LINENO" 5 ; }
3422 # Provide some information about the compiler.
3423 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3426 for ac_option in --version -v -V -qversion; do
3427 { { ac_try="$ac_compiler $ac_option >&5"
3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430 *) ac_try_echo=$ac_try;;
3432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3433 $as_echo "$ac_try_echo"; } >&5
3434 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3436 if test -s conftest.err; then
3438 ... rest of stderr output deleted ...
3439 10q' conftest.err >conftest.er1
3440 cat conftest.er1 >&5
3442 rm -f conftest.er1 conftest.err
3443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3444 test $ac_status = 0; }
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3458 ac_clean_files_save=$ac_clean_files
3459 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3460 # Try to create an executable without -o first, disregard a.out.
3461 # It will help us diagnose broken compilers, and finding out an intuition
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3464 $as_echo_n "checking whether the C compiler works... " >&6; }
3465 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3467 # The possible output files:
3468 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3471 for ac_file in $ac_files
3474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3475 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3480 if { { ac_try="$ac_link_default"
3482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483 *) ac_try_echo=$ac_try;;
3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487 (eval "$ac_link_default") 2>&5
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }; then :
3491 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3492 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3493 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3494 # so that the user can short-circuit this test for compilers unknown to
3496 for ac_file in $ac_files ''
3498 test -f "$ac_file" || continue
3500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3503 # We found the default executable, but exeext='' is most
3507 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3509 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3511 # We set ac_cv_exeext here because the later test for it is not
3512 # safe: cross compilers may not add the suffix if given an `-o'
3513 # argument, so we may need to know it at that point already.
3514 # Even if this section looks crufty: it has the advantage of
3521 test "$ac_cv_exeext" = no && ac_cv_exeext=
3526 if test -z "$ac_file"; then :
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3529 $as_echo "$as_me: failed program was:" >&5
3530 sed 's/^/| /' conftest.$ac_ext >&5
3532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534 as_fn_error 77 "C compiler cannot create executables
3535 See \`config.log' for more details" "$LINENO" 5 ; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3538 $as_echo "yes" >&6; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3541 $as_echo_n "checking for C compiler default output file name... " >&6; }
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3543 $as_echo "$ac_file" >&6; }
3544 ac_exeext=$ac_cv_exeext
3546 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3547 ac_clean_files=$ac_clean_files_save
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3549 $as_echo_n "checking for suffix of executables... " >&6; }
3550 if { { ac_try="$ac_link"
3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3553 *) ac_try_echo=$ac_try;;
3555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3556 $as_echo "$ac_try_echo"; } >&5
3557 (eval "$ac_link") 2>&5
3559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3560 test $ac_status = 0; }; then :
3561 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3562 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3563 # work properly (i.e., refer to `conftest.exe'), while it won't with
3565 for ac_file in conftest.exe conftest conftest.*; do
3566 test -f "$ac_file" || continue
3568 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3569 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3577 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3578 See \`config.log' for more details" "$LINENO" 5 ; }
3580 rm -f conftest conftest$ac_cv_exeext
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3582 $as_echo "$ac_cv_exeext" >&6; }
3584 rm -f conftest.$ac_ext
3585 EXEEXT=$ac_cv_exeext
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3593 FILE *f = fopen ("conftest.out", "w");
3594 return ferror (f) || fclose (f) != 0;
3600 ac_clean_files="$ac_clean_files conftest.out"
3601 # Check that the compiler produces executables we can run. If not, either
3602 # the compiler is broken, or we cross compile.
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3604 $as_echo_n "checking whether we are cross compiling... " >&6; }
3605 if test "$cross_compiling" != yes; then
3606 { { ac_try="$ac_link"
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_link") 2>&5
3615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616 test $ac_status = 0; }
3617 if { ac_try='./conftest$ac_cv_exeext'
3618 { { case "(($ac_try" in
3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3623 $as_echo "$ac_try_echo"; } >&5
3624 (eval "$ac_try") 2>&5
3626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3627 test $ac_status = 0; }; }; then
3630 if test "$cross_compiling" = maybe; then
3633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 as_fn_error $? "cannot run C compiled programs.
3636 If you meant to cross compile, use \`--host'.
3637 See \`config.log' for more details" "$LINENO" 5 ; }
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3642 $as_echo "$cross_compiling" >&6; }
3644 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3645 ac_clean_files=$ac_clean_files_save
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3647 $as_echo_n "checking for suffix of object files... " >&6; }
3648 if test "${ac_cv_objext+set}" = set; then :
3649 $as_echo_n "(cached) " >&6
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3662 rm -f conftest.o conftest.obj
3663 if { { ac_try="$ac_compile"
3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669 $as_echo "$ac_try_echo"; } >&5
3670 (eval "$ac_compile") 2>&5
3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673 test $ac_status = 0; }; then :
3674 for ac_file in conftest.o conftest.obj conftest.*; do
3675 test -f "$ac_file" || continue;
3677 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3678 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3683 $as_echo "$as_me: failed program was:" >&5
3684 sed 's/^/| /' conftest.$ac_ext >&5
3686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3688 as_fn_error $? "cannot compute suffix of object files: cannot compile
3689 See \`config.log' for more details" "$LINENO" 5 ; }
3691 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3694 $as_echo "$ac_cv_objext" >&6; }
3695 OBJEXT=$ac_cv_objext
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3698 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3699 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3700 $as_echo_n "(cached) " >&6
3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3716 if ac_fn_c_try_compile "$LINENO"; then :
3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3722 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3726 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3727 if test $ac_compiler_gnu = yes; then
3732 ac_test_CFLAGS=${CFLAGS+set}
3733 ac_save_CFLAGS=$CFLAGS
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3735 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3736 if test "${ac_cv_prog_cc_g+set}" = set; then :
3737 $as_echo_n "(cached) " >&6
3739 ac_save_c_werror_flag=$ac_c_werror_flag
3740 ac_c_werror_flag=yes
3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3754 if ac_fn_c_try_compile "$LINENO"; then :
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3769 if ac_fn_c_try_compile "$LINENO"; then :
3772 ac_c_werror_flag=$ac_save_c_werror_flag
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3785 if ac_fn_c_try_compile "$LINENO"; then :
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 ac_c_werror_flag=$ac_save_c_werror_flag
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3796 $as_echo "$ac_cv_prog_cc_g" >&6; }
3797 if test "$ac_test_CFLAGS" = set; then
3798 CFLAGS=$ac_save_CFLAGS
3799 elif test $ac_cv_prog_cc_g = yes; then
3800 if test "$GCC" = yes; then
3806 if test "$GCC" = yes; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3813 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3814 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3815 $as_echo_n "(cached) " >&6
3817 ac_cv_prog_cc_c89=no
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3823 #include <sys/types.h>
3824 #include <sys/stat.h>
3825 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3826 struct buf { int x; };
3827 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3828 static char *e (p, i)
3834 static char *f (char * (*g) (char **, int), char **p, ...)
3839 s = g (p, va_arg (v,int));
3844 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3845 function prototypes and stuff, but not '\xHH' hex character constants.
3846 These don't provoke an error unfortunately, instead are silently treated
3847 as 'x'. The following induces an error, until -std is added to get
3848 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3849 array size at least. It's necessary to write '\x00'==0 to get something
3850 that's true only with -std. */
3851 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3853 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3854 inside strings and character constants. */
3856 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3858 int test (int i, double x);
3859 struct s1 {int (*f) (int a);};
3860 struct s2 {int (*f) (double a);};
3861 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3867 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3872 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3873 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3875 CC="$ac_save_CC $ac_arg"
3876 if ac_fn_c_try_compile "$LINENO"; then :
3877 ac_cv_prog_cc_c89=$ac_arg
3879 rm -f core conftest.err conftest.$ac_objext
3880 test "x$ac_cv_prog_cc_c89" != "xno" && break
3882 rm -f conftest.$ac_ext
3887 case "x$ac_cv_prog_cc_c89" in
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3890 $as_echo "none needed" >&6; } ;;
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3893 $as_echo "unsupported" >&6; } ;;
3895 CC="$CC $ac_cv_prog_cc_c89"
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3897 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3899 if test "x$ac_cv_prog_cc_c89" != xno; then :
3904 ac_cpp='$CPP $CPPFLAGS'
3905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3909 depcc="$CC" am_compiler_list=
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3912 $as_echo_n "checking dependency style of $depcc... " >&6; }
3913 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3914 $as_echo_n "(cached) " >&6
3916 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3917 # We make a subdir and do the tests there. Otherwise we can end up
3918 # making bogus files that we don't know about and never remove. For
3919 # instance it was reported that on HP-UX the gcc test will end up
3920 # making a dummy file named `D' -- because `-MD' means `put the output
3923 # Copy depcomp to subdir because otherwise we won't find it if we're
3924 # using a relative directory.
3925 cp "$am_depcomp" conftest.dir
3927 # We will build objects and dependencies in a subdirectory because
3928 # it helps to detect inapplicable dependency modes. For instance
3929 # both Tru64's cc and ICC support -MD to output dependencies as a
3930 # side effect of compilation, but ICC will put the dependencies in
3931 # the current directory while Tru64 will put them in the object
3935 am_cv_CC_dependencies_compiler_type=none
3936 if test "$am_compiler_list" = ""; then
3937 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3940 case " $depcc " in #(
3941 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3944 for depmode in $am_compiler_list; do
3945 # Setup a source with many dependencies, because some compilers
3946 # like to wrap large dependency lists on column 80 (with \), and
3947 # we should not choose a depcomp mode which is confused by this.
3949 # We need to recreate these files for each test, as the compiler may
3950 # overwrite some of them when testing with obscure command lines.
3951 # This happens at least with the AIX C compiler.
3953 for i in 1 2 3 4 5 6; do
3954 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3955 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3956 # Solaris 8's {/usr,}/bin/sh.
3957 touch sub/conftst$i.h
3959 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3961 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3962 # mode. It turns out that the SunPro C++ compiler does not properly
3963 # handle `-M -o', and we need to detect this. Also, some Intel
3964 # versions had trouble with output in subdirs
3965 am__obj=sub/conftest.${OBJEXT-o}
3966 am__minus_obj="-o $am__obj"
3969 # This depmode causes a compiler race in universal mode.
3970 test "$am__universal" = false || continue
3973 # after this tag, mechanisms are not by side-effect, so they'll
3974 # only be used when explicitly requested
3975 if test "x$enable_dependency_tracking" = xyes; then
3981 msvisualcpp | msvcmsys)
3982 # This compiler won't grok `-c -o', but also, the minuso test has
3983 # not run yet. These depmodes are late enough in the game, and
3984 # so weak that their functioning should not be impacted.
3985 am__obj=conftest.${OBJEXT-o}
3990 if depmode=$depmode \
3991 source=sub/conftest.c object=$am__obj \
3992 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3993 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3994 >/dev/null 2>conftest.err &&
3995 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3996 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3997 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3998 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3999 # icc doesn't choke on unknown options, it will just issue warnings
4000 # or remarks (even with -Werror). So we grep stderr for any message
4001 # that says an option was ignored or not supported.
4002 # When given -MP, icc 7.0 and 7.1 complain thusly:
4003 # icc: Command line warning: ignoring option '-M'; no argument required
4004 # The diagnosis changed in icc 8.0:
4005 # icc: Command line remark: option '-MP' not supported
4006 if (grep 'ignoring option' conftest.err ||
4007 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4008 am_cv_CC_dependencies_compiler_type=$depmode
4017 am_cv_CC_dependencies_compiler_type=none
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4022 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4023 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4026 test "x$enable_dependency_tracking" != xno \
4027 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4029 am__fastdepCC_FALSE='#'
4031 am__fastdepCC_TRUE='#'
4032 am__fastdepCC_FALSE=
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4037 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4038 if test "${ac_cv_path_SED+set}" = set; then :
4039 $as_echo_n "(cached) " >&6
4041 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4042 for ac_i in 1 2 3 4 5 6 7; do
4043 ac_script="$ac_script$as_nl$ac_script"
4045 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4046 { ac_script=; unset ac_script;}
4047 if test -z "$SED"; then
4048 ac_path_SED_found=false
4049 # Loop through the user's path and test for each of PROGNAME-LIST
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4054 test -z "$as_dir" && as_dir=.
4055 for ac_prog in sed gsed; do
4056 for ac_exec_ext in '' $ac_executable_extensions; do
4057 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4058 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4059 # Check for GNU ac_path_SED and select it if it is found.
4060 # Check for GNU $ac_path_SED
4061 case `"$ac_path_SED" --version 2>&1` in
4063 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4066 $as_echo_n 0123456789 >"conftest.in"
4069 cat "conftest.in" "conftest.in" >"conftest.tmp"
4070 mv "conftest.tmp" "conftest.in"
4071 cp "conftest.in" "conftest.nl"
4072 $as_echo '' >> "conftest.nl"
4073 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4074 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4075 as_fn_arith $ac_count + 1 && ac_count=$as_val
4076 if test $ac_count -gt ${ac_path_SED_max-0}; then
4077 # Best one so far, save it but keep looking for a better one
4078 ac_cv_path_SED="$ac_path_SED"
4079 ac_path_SED_max=$ac_count
4081 # 10*(2^10) chars as input seems more than enough
4082 test $ac_count -gt 10 && break
4084 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4087 $ac_path_SED_found && break 3
4092 if test -z "$ac_cv_path_SED"; then
4093 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4101 $as_echo "$ac_cv_path_SED" >&6; }
4102 SED="$ac_cv_path_SED"
4105 test -z "$SED" && SED=sed
4106 Xsed="$SED -e 1s/^X//"
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4119 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4120 if test "${ac_cv_path_GREP+set}" = set; then :
4121 $as_echo_n "(cached) " >&6
4123 if test -z "$GREP"; then
4124 ac_path_GREP_found=false
4125 # Loop through the user's path and test for each of PROGNAME-LIST
4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4130 test -z "$as_dir" && as_dir=.
4131 for ac_prog in grep ggrep; do
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4134 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4135 # Check for GNU ac_path_GREP and select it if it is found.
4136 # Check for GNU $ac_path_GREP
4137 case `"$ac_path_GREP" --version 2>&1` in
4139 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4142 $as_echo_n 0123456789 >"conftest.in"
4145 cat "conftest.in" "conftest.in" >"conftest.tmp"
4146 mv "conftest.tmp" "conftest.in"
4147 cp "conftest.in" "conftest.nl"
4148 $as_echo 'GREP' >> "conftest.nl"
4149 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4150 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4151 as_fn_arith $ac_count + 1 && ac_count=$as_val
4152 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4153 # Best one so far, save it but keep looking for a better one
4154 ac_cv_path_GREP="$ac_path_GREP"
4155 ac_path_GREP_max=$ac_count
4157 # 10*(2^10) chars as input seems more than enough
4158 test $ac_count -gt 10 && break
4160 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4163 $ac_path_GREP_found && break 3
4168 if test -z "$ac_cv_path_GREP"; then
4169 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4172 ac_cv_path_GREP=$GREP
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4177 $as_echo "$ac_cv_path_GREP" >&6; }
4178 GREP="$ac_cv_path_GREP"
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4182 $as_echo_n "checking for egrep... " >&6; }
4183 if test "${ac_cv_path_EGREP+set}" = set; then :
4184 $as_echo_n "(cached) " >&6
4186 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4187 then ac_cv_path_EGREP="$GREP -E"
4189 if test -z "$EGREP"; then
4190 ac_path_EGREP_found=false
4191 # Loop through the user's path and test for each of PROGNAME-LIST
4192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4196 test -z "$as_dir" && as_dir=.
4197 for ac_prog in egrep; do
4198 for ac_exec_ext in '' $ac_executable_extensions; do
4199 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4200 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4201 # Check for GNU ac_path_EGREP and select it if it is found.
4202 # Check for GNU $ac_path_EGREP
4203 case `"$ac_path_EGREP" --version 2>&1` in
4205 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4208 $as_echo_n 0123456789 >"conftest.in"
4211 cat "conftest.in" "conftest.in" >"conftest.tmp"
4212 mv "conftest.tmp" "conftest.in"
4213 cp "conftest.in" "conftest.nl"
4214 $as_echo 'EGREP' >> "conftest.nl"
4215 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4216 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4217 as_fn_arith $ac_count + 1 && ac_count=$as_val
4218 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4219 # Best one so far, save it but keep looking for a better one
4220 ac_cv_path_EGREP="$ac_path_EGREP"
4221 ac_path_EGREP_max=$ac_count
4223 # 10*(2^10) chars as input seems more than enough
4224 test $ac_count -gt 10 && break
4226 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4229 $ac_path_EGREP_found && break 3
4234 if test -z "$ac_cv_path_EGREP"; then
4235 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4238 ac_cv_path_EGREP=$EGREP
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4244 $as_echo "$ac_cv_path_EGREP" >&6; }
4245 EGREP="$ac_cv_path_EGREP"
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4249 $as_echo_n "checking for fgrep... " >&6; }
4250 if test "${ac_cv_path_FGREP+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4253 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4254 then ac_cv_path_FGREP="$GREP -F"
4256 if test -z "$FGREP"; then
4257 ac_path_FGREP_found=false
4258 # Loop through the user's path and test for each of PROGNAME-LIST
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4263 test -z "$as_dir" && as_dir=.
4264 for ac_prog in fgrep; do
4265 for ac_exec_ext in '' $ac_executable_extensions; do
4266 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4267 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4268 # Check for GNU ac_path_FGREP and select it if it is found.
4269 # Check for GNU $ac_path_FGREP
4270 case `"$ac_path_FGREP" --version 2>&1` in
4272 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4275 $as_echo_n 0123456789 >"conftest.in"
4278 cat "conftest.in" "conftest.in" >"conftest.tmp"
4279 mv "conftest.tmp" "conftest.in"
4280 cp "conftest.in" "conftest.nl"
4281 $as_echo 'FGREP' >> "conftest.nl"
4282 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4283 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4284 as_fn_arith $ac_count + 1 && ac_count=$as_val
4285 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4286 # Best one so far, save it but keep looking for a better one
4287 ac_cv_path_FGREP="$ac_path_FGREP"
4288 ac_path_FGREP_max=$ac_count
4290 # 10*(2^10) chars as input seems more than enough
4291 test $ac_count -gt 10 && break
4293 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4296 $ac_path_FGREP_found && break 3
4301 if test -z "$ac_cv_path_FGREP"; then
4302 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4305 ac_cv_path_FGREP=$FGREP
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4311 $as_echo "$ac_cv_path_FGREP" >&6; }
4312 FGREP="$ac_cv_path_FGREP"
4315 test -z "$GREP" && GREP=grep
4335 # Check whether --with-gnu-ld was given.
4336 if test "${with_gnu_ld+set}" = set; then :
4337 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4343 if test "$GCC" = yes; then
4344 # Check if gcc -print-prog-name=ld gives a path.
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4346 $as_echo_n "checking for ld used by $CC... " >&6; }
4349 # gcc leaves a trailing carriage return which upsets mingw
4350 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4352 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4355 # Accept absolute paths.
4357 re_direlt='/[^/][^/]*/\.\./'
4358 # Canonicalize the pathname of ld
4359 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4360 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4361 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4363 test -z "$LD" && LD="$ac_prog"
4366 # If it fails, then pretend we aren't using GCC.
4370 # If it is relative, then search for the first ld in PATH.
4374 elif test "$with_gnu_ld" = yes; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4376 $as_echo_n "checking for GNU ld... " >&6; }
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4379 $as_echo_n "checking for non-GNU ld... " >&6; }
4381 if test "${lt_cv_path_LD+set}" = set; then :
4382 $as_echo_n "(cached) " >&6
4384 if test -z "$LD"; then
4385 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4386 for ac_dir in $PATH; do
4388 test -z "$ac_dir" && ac_dir=.
4389 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4390 lt_cv_path_LD="$ac_dir/$ac_prog"
4391 # Check to see if the program is GNU ld. I'd rather use --version,
4392 # but apparently some variants of GNU ld only accept -v.
4393 # Break only if it was the GNU/non-GNU ld that we prefer.
4394 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4395 *GNU* | *'with BFD'*)
4396 test "$with_gnu_ld" != no && break
4399 test "$with_gnu_ld" != yes && break
4406 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4411 if test -n "$LD"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4413 $as_echo "$LD" >&6; }
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4418 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4420 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4421 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4422 $as_echo_n "(cached) " >&6
4424 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4425 case `$LD -v 2>&1 </dev/null` in
4426 *GNU* | *'with BFD'*)
4427 lt_cv_prog_gnu_ld=yes
4430 lt_cv_prog_gnu_ld=no
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4435 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4436 with_gnu_ld=$lt_cv_prog_gnu_ld
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4447 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4448 if test "${lt_cv_path_NM+set}" = set; then :
4449 $as_echo_n "(cached) " >&6
4451 if test -n "$NM"; then
4452 # Let the user override the test.
4455 lt_nm_to_check="${ac_tool_prefix}nm"
4456 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4457 lt_nm_to_check="$lt_nm_to_check nm"
4459 for lt_tmp_nm in $lt_nm_to_check; do
4460 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4461 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4463 test -z "$ac_dir" && ac_dir=.
4464 tmp_nm="$ac_dir/$lt_tmp_nm"
4465 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4466 # Check to see if the nm accepts a BSD-compat flag.
4467 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4468 # nm: unknown option "B" ignored
4469 # Tru64's nm complains that /dev/null is an invalid object file
4470 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4471 */dev/null* | *'Invalid file or object type'*)
4472 lt_cv_path_NM="$tmp_nm -B"
4476 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4478 lt_cv_path_NM="$tmp_nm -p"
4482 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4483 continue # so that we can try to find one that supports BSD flags
4492 : ${lt_cv_path_NM=no}
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4496 $as_echo "$lt_cv_path_NM" >&6; }
4497 if test "$lt_cv_path_NM" != "no"; then
4500 # Didn't find any BSD compatible name lister, look for dumpbin.
4501 if test -n "$DUMPBIN"; then :
4502 # Let the user override the test.
4504 if test -n "$ac_tool_prefix"; then
4505 for ac_prog in dumpbin "link -dump"
4507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4508 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4512 $as_echo_n "(cached) " >&6
4514 if test -n "$DUMPBIN"; then
4515 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4524 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 DUMPBIN=$ac_cv_prog_DUMPBIN
4535 if test -n "$DUMPBIN"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4537 $as_echo "$DUMPBIN" >&6; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4544 test -n "$DUMPBIN" && break
4547 if test -z "$DUMPBIN"; then
4548 ac_ct_DUMPBIN=$DUMPBIN
4549 for ac_prog in dumpbin "link -dump"
4551 # Extract the first word of "$ac_prog", so it can be a program name with args.
4552 set dummy $ac_prog; ac_word=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4556 $as_echo_n "(cached) " >&6
4558 if test -n "$ac_ct_DUMPBIN"; then
4559 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir=.
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4568 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4579 if test -n "$ac_ct_DUMPBIN"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4581 $as_echo "$ac_ct_DUMPBIN" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4588 test -n "$ac_ct_DUMPBIN" && break
4591 if test "x$ac_ct_DUMPBIN" = x; then
4594 case $cross_compiling:$ac_tool_warned in
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4598 ac_tool_warned=yes ;;
4600 DUMPBIN=$ac_ct_DUMPBIN
4604 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4606 DUMPBIN="$DUMPBIN -symbols"
4614 if test "$DUMPBIN" != ":"; then
4618 test -z "$NM" && NM=nm
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4626 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4627 if test "${lt_cv_nm_interface+set}" = set; then :
4628 $as_echo_n "(cached) " >&6
4630 lt_cv_nm_interface="BSD nm"
4631 echo "int some_variable = 0;" > conftest.$ac_ext
4632 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4633 (eval "$ac_compile" 2>conftest.err)
4634 cat conftest.err >&5
4635 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4636 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4637 cat conftest.err >&5
4638 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4639 cat conftest.out >&5
4640 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4641 lt_cv_nm_interface="MS dumpbin"
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4646 $as_echo "$lt_cv_nm_interface" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4649 $as_echo_n "checking whether ln -s works... " >&6; }
4651 if test "$LN_S" = "ln -s"; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4653 $as_echo "yes" >&6; }
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4656 $as_echo "no, using $LN_S" >&6; }
4659 # find the maximum length of command line arguments
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4661 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4662 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4663 $as_echo_n "(cached) " >&6
4670 # On DJGPP, this test can blow up pretty badly due to problems in libc
4671 # (any single argument exceeding 2000 bytes causes a buffer overrun
4672 # during glob expansion). Even if it were fixed, the result of this
4673 # check would be larger than it should be.
4674 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4678 # Under GNU Hurd, this test is not required because there is
4679 # no limit to the length of command line arguments.
4680 # Libtool will interpret -1 as no limit whatsoever
4681 lt_cv_sys_max_cmd_len=-1;
4684 cygwin* | mingw* | cegcc*)
4685 # On Win9x/ME, this test blows up -- it succeeds, but takes
4686 # about 5 minutes as the teststring grows exponentially.
4687 # Worse, since 9x/ME are not pre-emptively multitasking,
4688 # you end up with a "frozen" computer, even though with patience
4689 # the test eventually succeeds (with a max line length of 256k).
4690 # Instead, let's just punt: use the minimum linelength reported by
4691 # all of the supported platforms: 8192 (on NT/2K/XP).
4692 lt_cv_sys_max_cmd_len=8192;
4696 # On MiNT this can take a long time and run out of memory.
4697 lt_cv_sys_max_cmd_len=8192;
4701 # On AmigaOS with pdksh, this test takes hours, literally.
4702 # So we just punt and use a minimum line length of 8192.
4703 lt_cv_sys_max_cmd_len=8192;
4706 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4707 # This has been around since 386BSD, at least. Likely further.
4708 if test -x /sbin/sysctl; then
4709 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4710 elif test -x /usr/sbin/sysctl; then
4711 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4713 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4715 # And add a safety zone
4716 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4717 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4721 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4722 lt_cv_sys_max_cmd_len=196608
4726 # The test takes a long time on OS/2.
4727 lt_cv_sys_max_cmd_len=8192
4731 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4732 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4733 # nice to cause kernel panics so lets avoid the loop below.
4734 # First set a reasonable default.
4735 lt_cv_sys_max_cmd_len=16384
4737 if test -x /sbin/sysconfig; then
4738 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4739 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4744 lt_cv_sys_max_cmd_len=102400
4746 sysv5* | sco5v6* | sysv4.2uw2*)
4747 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4748 if test -n "$kargmax"; then
4749 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4751 lt_cv_sys_max_cmd_len=32768
4755 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4756 if test -n "$lt_cv_sys_max_cmd_len"; then
4757 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4760 # Make teststring a little bigger before we do anything with it.
4761 # a 1K string should be a reasonable start.
4762 for i in 1 2 3 4 5 6 7 8 ; do
4763 teststring=$teststring$teststring
4765 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4766 # If test is not a shell built-in, we'll probably end up computing a
4767 # maximum length that is only half of the actual maximum length, but
4769 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4770 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4771 test $i != 17 # 1/2 MB should be enough
4774 teststring=$teststring$teststring
4776 # Only check the string length outside the loop.
4777 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4779 # Add a significant safety factor because C++ compilers can tack on
4780 # massive amounts of additional arguments before passing them to the
4781 # linker. It appears as though 1/2 is a usable value.
4782 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4789 if test -n $lt_cv_sys_max_cmd_len ; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4791 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4794 $as_echo "none" >&6; }
4796 max_cmd_len=$lt_cv_sys_max_cmd_len
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4808 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4809 # Try some XSI features
4812 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4814 && eval 'test $(( 1 + 1 )) -eq 2 \
4815 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4818 $as_echo "$xsi_shell" >&6; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4822 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4824 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4826 && lt_shell_append=yes
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4828 $as_echo "$lt_shell_append" >&6; }
4831 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4841 # test EBCDIC or ASCII
4842 case `echo X|tr X '\101'` in
4843 A) # ASCII based system
4844 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4845 lt_SP2NL='tr \040 \012'
4846 lt_NL2SP='tr \015\012 \040\040'
4848 *) # EBCDIC based system
4849 lt_SP2NL='tr \100 \n'
4850 lt_NL2SP='tr \r\n \100\100'
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4863 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4864 if test "${lt_cv_to_host_file_cmd+set}" = set; then :
4865 $as_echo_n "(cached) " >&6
4870 *-*-mingw* ) # actually msys
4871 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4874 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4876 * ) # otherwise, assume *nix
4877 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4883 *-*-mingw* ) # actually msys
4884 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4887 lt_cv_to_host_file_cmd=func_convert_file_noop
4889 * ) # otherwise, assume *nix
4890 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4894 * ) # unhandled hosts (and "normal" native builds)
4895 lt_cv_to_host_file_cmd=func_convert_file_noop
4901 to_host_file_cmd=$lt_cv_to_host_file_cmd
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4903 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4910 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4911 if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
4912 $as_echo_n "(cached) " >&6
4914 #assume ordinary cross tools, or native build.
4915 lt_cv_to_tool_file_cmd=func_convert_file_noop
4919 *-*-mingw* ) # actually msys
4920 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4928 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4930 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4937 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4938 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4939 $as_echo_n "(cached) " >&6
4941 lt_cv_ld_reload_flag='-r'
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4944 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4945 reload_flag=$lt_cv_ld_reload_flag
4946 case $reload_flag in
4948 *) reload_flag=" $reload_flag" ;;
4950 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4952 cygwin* | mingw* | pw32* | cegcc*)
4953 if test "$GCC" != yes; then
4958 if test "$GCC" = yes; then
4959 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4961 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4974 if test -n "$ac_tool_prefix"; then
4975 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4976 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$OBJDUMP"; then
4983 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 OBJDUMP=$ac_cv_prog_OBJDUMP
5003 if test -n "$OBJDUMP"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5005 $as_echo "$OBJDUMP" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5013 if test -z "$ac_cv_prog_OBJDUMP"; then
5014 ac_ct_OBJDUMP=$OBJDUMP
5015 # Extract the first word of "objdump", so it can be a program name with args.
5016 set dummy objdump; ac_word=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5020 $as_echo_n "(cached) " >&6
5022 if test -n "$ac_ct_OBJDUMP"; then
5023 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 test -z "$as_dir" && as_dir=.
5030 for ac_exec_ext in '' $ac_executable_extensions; do
5031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5032 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5043 if test -n "$ac_ct_OBJDUMP"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5045 $as_echo "$ac_ct_OBJDUMP" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5051 if test "x$ac_ct_OBJDUMP" = x; then
5054 case $cross_compiling:$ac_tool_warned in
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5058 ac_tool_warned=yes ;;
5060 OBJDUMP=$ac_ct_OBJDUMP
5063 OBJDUMP="$ac_cv_prog_OBJDUMP"
5066 test -z "$OBJDUMP" && OBJDUMP=objdump
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5074 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5075 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5076 $as_echo_n "(cached) " >&6
5078 lt_cv_file_magic_cmd='$MAGIC_CMD'
5079 lt_cv_file_magic_test_file=
5080 lt_cv_deplibs_check_method='unknown'
5081 # Need to set the preceding variable on all platforms that support
5082 # interlibrary dependencies.
5083 # 'none' -- dependencies not supported.
5084 # `unknown' -- same as none, but documents that we really don't know.
5085 # 'pass_all' -- all dependencies passed with no checks.
5086 # 'test_compile' -- check by making test program.
5087 # 'file_magic [[regex]]' -- check by looking for files in library path
5088 # which responds to the $file_magic_cmd with a given extended regex.
5089 # If you have `file' or equivalent on your system and you're not sure
5090 # whether `pass_all' will *always* work, you probably want this one.
5094 lt_cv_deplibs_check_method=pass_all
5098 lt_cv_deplibs_check_method=pass_all
5102 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5103 lt_cv_file_magic_cmd='/usr/bin/file -L'
5104 lt_cv_file_magic_test_file=/shlib/libc.so
5108 # func_win32_libid is a shell function defined in ltmain.sh
5109 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5110 lt_cv_file_magic_cmd='func_win32_libid'
5114 # Base MSYS/MinGW do not provide the 'file' command needed by
5115 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5116 # unless we find 'file', for example because we are cross-compiling.
5117 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5118 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5119 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5120 lt_cv_file_magic_cmd='func_win32_libid'
5122 # Keep this pattern in sync with the one in func_win32_libid.
5123 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5124 lt_cv_file_magic_cmd='$OBJDUMP -f'
5129 # use the weaker test based on 'objdump'. See mingw*.
5130 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5131 lt_cv_file_magic_cmd='$OBJDUMP -f'
5134 darwin* | rhapsody*)
5135 lt_cv_deplibs_check_method=pass_all
5138 freebsd* | dragonfly*)
5139 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5142 # Not sure whether the presence of OpenBSD here was a mistake.
5143 # Let's accept both of them until this is cleared up.
5144 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5145 lt_cv_file_magic_cmd=/usr/bin/file
5146 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5150 lt_cv_deplibs_check_method=pass_all
5155 lt_cv_deplibs_check_method=pass_all
5159 lt_cv_deplibs_check_method=pass_all
5162 hpux10.20* | hpux11*)
5163 lt_cv_file_magic_cmd=/usr/bin/file
5166 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5167 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5170 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5171 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5174 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5175 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5181 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5182 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5185 irix5* | irix6* | nonstopux*)
5187 *-32|*"-32 ") libmagic=32-bit;;
5188 *-n32|*"-n32 ") libmagic=N32;;
5189 *-64|*"-64 ") libmagic=64-bit;;
5190 *) libmagic=never-match;;
5192 lt_cv_deplibs_check_method=pass_all
5195 # This must be glibc/ELF.
5196 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5197 lt_cv_deplibs_check_method=pass_all
5200 netbsd* | netbsdelf*-gnu)
5201 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5202 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5204 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5209 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5210 lt_cv_file_magic_cmd=/usr/bin/file
5211 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5215 lt_cv_deplibs_check_method=pass_all
5219 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5220 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5222 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5226 osf3* | osf4* | osf5*)
5227 lt_cv_deplibs_check_method=pass_all
5231 lt_cv_deplibs_check_method=pass_all
5235 lt_cv_deplibs_check_method=pass_all
5238 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5239 lt_cv_deplibs_check_method=pass_all
5243 case $host_vendor in
5245 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]'
5246 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5249 lt_cv_deplibs_check_method=pass_all
5252 lt_cv_file_magic_cmd='/bin/file'
5253 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5256 lt_cv_file_magic_cmd='/bin/file'
5257 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5258 lt_cv_file_magic_test_file=/lib/libc.so
5261 lt_cv_deplibs_check_method=pass_all
5264 lt_cv_deplibs_check_method=pass_all
5270 lt_cv_deplibs_check_method=pass_all
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5276 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5280 if test "$build" = "$host"; then
5283 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5286 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5292 file_magic_cmd=$lt_cv_file_magic_cmd
5293 deplibs_check_method=$lt_cv_deplibs_check_method
5294 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5317 if test -n "$ac_tool_prefix"; then
5318 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5319 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5321 $as_echo_n "checking for $ac_word... " >&6; }
5322 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5323 $as_echo_n "(cached) " >&6
5325 if test -n "$DLLTOOL"; then
5326 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 test -z "$as_dir" && as_dir=.
5333 for ac_exec_ext in '' $ac_executable_extensions; do
5334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5335 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 DLLTOOL=$ac_cv_prog_DLLTOOL
5346 if test -n "$DLLTOOL"; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5348 $as_echo "$DLLTOOL" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5356 if test -z "$ac_cv_prog_DLLTOOL"; then
5357 ac_ct_DLLTOOL=$DLLTOOL
5358 # Extract the first word of "dlltool", so it can be a program name with args.
5359 set dummy dlltool; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; }
5362 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5363 $as_echo_n "(cached) " >&6
5365 if test -n "$ac_ct_DLLTOOL"; then
5366 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 test -z "$as_dir" && as_dir=.
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5375 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5386 if test -n "$ac_ct_DLLTOOL"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5388 $as_echo "$ac_ct_DLLTOOL" >&6; }
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5394 if test "x$ac_ct_DLLTOOL" = x; then
5397 case $cross_compiling:$ac_tool_warned in
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5401 ac_tool_warned=yes ;;
5403 DLLTOOL=$ac_ct_DLLTOOL
5406 DLLTOOL="$ac_cv_prog_DLLTOOL"
5409 test -z "$DLLTOOL" && DLLTOOL=dlltool
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5418 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5419 if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
5420 $as_echo_n "(cached) " >&6
5422 lt_cv_sharedlib_from_linklib_cmd='unknown'
5425 cygwin* | mingw* | pw32* | cegcc*)
5426 # two different shell functions defined in ltmain.sh
5427 # decide which to use based on capabilities of $DLLTOOL
5428 case `$DLLTOOL --help 2>&1` in
5429 *--identify-strict*)
5430 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5433 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5438 # fallback: assume linklib IS sharedlib
5439 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5445 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5446 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5447 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5456 if test -n "$ac_tool_prefix"; then
5459 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5460 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if test "${ac_cv_prog_AR+set}" = set; then :
5464 $as_echo_n "(cached) " >&6
5466 if test -n "$AR"; then
5467 ac_cv_prog_AR="$AR" # Let the user override the test.
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5476 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 if test -n "$AR"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5489 $as_echo "$AR" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5496 test -n "$AR" && break
5499 if test -z "$AR"; then
5503 # Extract the first word of "$ac_prog", so it can be a program name with args.
5504 set dummy $ac_prog; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -n "$ac_ct_AR"; then
5511 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5520 ac_cv_prog_ac_ct_AR="$ac_prog"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5531 if test -n "$ac_ct_AR"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5533 $as_echo "$ac_ct_AR" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5540 test -n "$ac_ct_AR" && break
5543 if test "x$ac_ct_AR" = x; then
5546 case $cross_compiling:$ac_tool_warned in
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5550 ac_tool_warned=yes ;;
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5570 $as_echo_n "checking for archiver @FILE support... " >&6; }
5571 if test "${lt_cv_ar_at_file+set}" = set; then :
5572 $as_echo_n "(cached) " >&6
5575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5576 /* end confdefs.h. */
5586 if ac_fn_c_try_compile "$LINENO"; then :
5587 echo conftest.$ac_objext > conftest.lst
5588 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5589 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5590 (eval $lt_ar_try) 2>&5
5592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5593 test $ac_status = 0; }
5594 if test "$ac_status" -eq 0; then
5595 # Ensure the archiver fails upon bogus file names.
5596 rm -f conftest.$ac_objext libconftest.a
5597 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5598 (eval $lt_ar_try) 2>&5
5600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5601 test $ac_status = 0; }
5602 if test "$ac_status" -ne 0; then
5606 rm -f conftest.* libconftest.a
5609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5613 $as_echo "$lt_cv_ar_at_file" >&6; }
5615 if test "x$lt_cv_ar_at_file" = xno; then
5618 archiver_list_spec=$lt_cv_ar_at_file
5627 if test -n "$ac_tool_prefix"; then
5628 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5629 set dummy ${ac_tool_prefix}strip; ac_word=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if test "${ac_cv_prog_STRIP+set}" = set; then :
5633 $as_echo_n "(cached) " >&6
5635 if test -n "$STRIP"; then
5636 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir=.
5643 for ac_exec_ext in '' $ac_executable_extensions; do
5644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 STRIP=$ac_cv_prog_STRIP
5656 if test -n "$STRIP"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5658 $as_echo "$STRIP" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5666 if test -z "$ac_cv_prog_STRIP"; then
5668 # Extract the first word of "strip", so it can be a program name with args.
5669 set dummy strip; ac_word=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5673 $as_echo_n "(cached) " >&6
5675 if test -n "$ac_ct_STRIP"; then
5676 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 test -z "$as_dir" && as_dir=.
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 ac_cv_prog_ac_ct_STRIP="strip"
5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5696 if test -n "$ac_ct_STRIP"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5698 $as_echo "$ac_ct_STRIP" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }
5704 if test "x$ac_ct_STRIP" = x; then
5707 case $cross_compiling:$ac_tool_warned in
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5711 ac_tool_warned=yes ;;
5716 STRIP="$ac_cv_prog_STRIP"
5719 test -z "$STRIP" && STRIP=:
5726 if test -n "$ac_tool_prefix"; then
5727 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5728 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -n "$RANLIB"; then
5735 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5744 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 RANLIB=$ac_cv_prog_RANLIB
5755 if test -n "$RANLIB"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5757 $as_echo "$RANLIB" >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5765 if test -z "$ac_cv_prog_RANLIB"; then
5766 ac_ct_RANLIB=$RANLIB
5767 # Extract the first word of "ranlib", so it can be a program name with args.
5768 set dummy ranlib; ac_word=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5772 $as_echo_n "(cached) " >&6
5774 if test -n "$ac_ct_RANLIB"; then
5775 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 test -z "$as_dir" && as_dir=.
5782 for ac_exec_ext in '' $ac_executable_extensions; do
5783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5784 ac_cv_prog_ac_ct_RANLIB="ranlib"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5795 if test -n "$ac_ct_RANLIB"; then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5797 $as_echo "$ac_ct_RANLIB" >&6; }
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5803 if test "x$ac_ct_RANLIB" = x; then
5806 case $cross_compiling:$ac_tool_warned in
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5810 ac_tool_warned=yes ;;
5812 RANLIB=$ac_ct_RANLIB
5815 RANLIB="$ac_cv_prog_RANLIB"
5818 test -z "$RANLIB" && RANLIB=:
5825 # Determine commands to create old-style static archives.
5826 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5827 old_postinstall_cmds='chmod 644 $oldlib'
5828 old_postuninstall_cmds=
5830 if test -n "$RANLIB"; then
5833 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5836 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5839 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5844 lock_old_archive_extraction=yes ;;
5846 lock_old_archive_extraction=no ;;
5887 # If no C compiler was specified, use CC.
5890 # If no C compiler flags were specified, use CFLAGS.
5891 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5893 # Allow CC to be a program name with arguments.
5897 # Check for command to grab the raw symbol name followed by C symbol from nm.
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5899 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5900 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5901 $as_echo_n "(cached) " >&6
5904 # These are sane defaults that work on at least a few old systems.
5905 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5907 # Character class describing NM global symbol codes.
5908 symcode='[BCDEGRST]'
5910 # Regexp to match symbols that can be accessed directly from C.
5911 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5913 # Define system-specific variables.
5918 cygwin* | mingw* | pw32* | cegcc*)
5919 symcode='[ABCDGISTW]'
5922 if test "$host_cpu" = ia64; then
5923 symcode='[ABCDEGRST]'
5927 symcode='[BCDEGRST]'
5930 symcode='[BCDEGQRST]'
5941 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5949 # If we're using GNU nm, then use its standard symbol codes.
5950 case `$NM -V 2>&1` in
5951 *GNU* | *'with BFD'*)
5952 symcode='[ABCDGIRSTW]' ;;
5955 # Transform an extracted symbol line into a proper C declaration.
5956 # Some systems (esp. on ia64) link data and code symbols differently,
5957 # so use this general approach.
5958 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5960 # Transform an extracted symbol line into symbol name and symbol address
5961 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5962 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'"
5964 # Handle CRLF in mingw tool chain
5968 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5972 # Try without a prefix underscore, then with it.
5973 for ac_symprfx in "" "_"; do
5975 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5976 symxfrm="\\1 $ac_symprfx\\2 \\2"
5978 # Write the raw and C identifiers.
5979 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5980 # Fake it for dumpbin and say T for any non-static function
5981 # and D for any global variable.
5982 # Also find C++ and __fastcall symbols from MSVC++,
5983 # which start with @ or ?.
5984 lt_cv_sys_global_symbol_pipe="$AWK '"\
5985 " {last_section=section; section=\$ 3};"\
5986 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5987 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5988 " \$ 0!~/External *\|/{next};"\
5989 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5990 " {if(hide[section]) next};"\
5991 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5992 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5993 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5994 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5995 " ' prfx=^$ac_symprfx"
5997 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5999 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6001 # Check to see that the pipe works correctly.
6005 cat > conftest.$ac_ext <<_LT_EOF
6010 void nm_test_func(void);
6011 void nm_test_func(void){}
6015 int main(){nm_test_var='a';nm_test_func();return(0);}
6018 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6019 (eval $ac_compile) 2>&5
6021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6022 test $ac_status = 0; }; then
6023 # Now try to grab the symbols.
6025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6026 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6029 test $ac_status = 0; } && test -s "$nlist"; then
6030 # Try sorting and uniquifying the output.
6031 if sort "$nlist" | uniq > "$nlist"T; then
6032 mv -f "$nlist"T "$nlist"
6037 # Make sure that we snagged all the symbols we need.
6038 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6039 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6040 cat <<_LT_EOF > conftest.$ac_ext
6041 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6042 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6043 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6044 relocations are performed -- see ld's documentation on pseudo-relocs. */
6045 # define LT_DLSYM_CONST
6046 #elif defined(__osf__)
6047 /* This system does not cope well with relocations in const data. */
6048 # define LT_DLSYM_CONST
6050 # define LT_DLSYM_CONST const
6058 # Now generate the symbol file.
6059 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6061 cat <<_LT_EOF >> conftest.$ac_ext
6063 /* The mapping between symbol names and symbols. */
6064 LT_DLSYM_CONST struct {
6068 lt__PROGRAM__LTX_preloaded_symbols[] =
6070 { "@PROGRAM@", (void *) 0 },
6072 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6073 cat <<\_LT_EOF >> conftest.$ac_ext
6077 /* This works around a problem in FreeBSD linker */
6078 #ifdef FREEBSD_WORKAROUND
6079 static const void *lt_preloaded_setup() {
6080 return lt__PROGRAM__LTX_preloaded_symbols;
6088 # Now try linking the two files.
6089 mv conftest.$ac_objext conftstm.$ac_objext
6090 lt_globsym_save_LIBS=$LIBS
6091 lt_globsym_save_CFLAGS=$CFLAGS
6092 LIBS="conftstm.$ac_objext"
6093 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6095 (eval $ac_link) 2>&5
6097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6098 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6101 LIBS=$lt_globsym_save_LIBS
6102 CFLAGS=$lt_globsym_save_CFLAGS
6104 echo "cannot find nm_test_func in $nlist" >&5
6107 echo "cannot find nm_test_var in $nlist" >&5
6110 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6113 echo "$progname: failed program was:" >&5
6114 cat conftest.$ac_ext >&5
6116 rm -rf conftest* conftst*
6118 # Do not use the global_symbol_pipe unless it works.
6119 if test "$pipe_works" = yes; then
6122 lt_cv_sys_global_symbol_pipe=
6128 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6129 lt_cv_sys_global_symbol_to_cdecl=
6131 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6133 $as_echo "failed" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6136 $as_echo "ok" >&6; }
6139 # Response file support.
6140 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6141 nm_file_list_spec='@'
6142 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6143 nm_file_list_spec='@'
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6173 $as_echo_n "checking for sysroot... " >&6; }
6175 # Check whether --with-sysroot was given.
6176 if test "${with_sysroot+set}" = set; then :
6177 withval=$with_sysroot;
6184 case ${with_sysroot} in #(
6186 if test "$GCC" = yes; then
6187 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6191 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6197 $as_echo "${with_sysroot}" >&6; }
6198 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6203 $as_echo "${lt_sysroot:-no}" >&6; }
6209 # Check whether --enable-libtool-lock was given.
6210 if test "${enable_libtool_lock+set}" = set; then :
6211 enableval=$enable_libtool_lock;
6214 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6216 # Some flags need to be propagated to the compiler or linker for good
6220 # Find out which ABI we are using.
6221 echo 'int i;' > conftest.$ac_ext
6222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6223 (eval $ac_compile) 2>&5
6225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6226 test $ac_status = 0; }; then
6227 case `/usr/bin/file conftest.$ac_objext` in
6239 # Find out which ABI we are using.
6240 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6241 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6242 (eval $ac_compile) 2>&5
6244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6245 test $ac_status = 0; }; then
6246 if test "$lt_cv_prog_gnu_ld" = yes; then
6247 case `/usr/bin/file conftest.$ac_objext` in
6249 LD="${LD-ld} -melf32bsmip"
6252 LD="${LD-ld} -melf32bmipn32"
6255 LD="${LD-ld} -melf64bmip"
6259 case `/usr/bin/file conftest.$ac_objext` in
6275 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6276 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6277 # Find out which ABI we are using.
6278 echo 'int i;' > conftest.$ac_ext
6279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6280 (eval $ac_compile) 2>&5
6282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6283 test $ac_status = 0; }; then
6284 case `/usr/bin/file conftest.o` in
6287 x86_64-*kfreebsd*-gnu)
6288 LD="${LD-ld} -m elf_i386_fbsd"
6291 LD="${LD-ld} -m elf_i386"
6293 ppc64-*linux*|powerpc64-*linux*)
6294 LD="${LD-ld} -m elf32ppclinux"
6297 LD="${LD-ld} -m elf_s390"
6300 LD="${LD-ld} -m elf32_sparc"
6306 x86_64-*kfreebsd*-gnu)
6307 LD="${LD-ld} -m elf_x86_64_fbsd"
6310 LD="${LD-ld} -m elf_x86_64"
6312 ppc*-*linux*|powerpc*-*linux*)
6313 LD="${LD-ld} -m elf64ppc"
6315 s390*-*linux*|s390*-*tpf*)
6316 LD="${LD-ld} -m elf64_s390"
6319 LD="${LD-ld} -m elf64_sparc"
6329 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6330 SAVE_CFLAGS="$CFLAGS"
6331 CFLAGS="$CFLAGS -belf"
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6333 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6334 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6335 $as_echo_n "(cached) " >&6
6338 ac_cpp='$CPP $CPPFLAGS'
6339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6354 if ac_fn_c_try_link "$LINENO"; then :
6355 lt_cv_cc_needs_belf=yes
6357 lt_cv_cc_needs_belf=no
6359 rm -f core conftest.err conftest.$ac_objext \
6360 conftest$ac_exeext conftest.$ac_ext
6362 ac_cpp='$CPP $CPPFLAGS'
6363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6369 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6370 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6371 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6372 CFLAGS="$SAVE_CFLAGS"
6376 # Find out which ABI we are using.
6377 echo 'int i;' > conftest.$ac_ext
6378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6379 (eval $ac_compile) 2>&5
6381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6382 test $ac_status = 0; }; then
6383 case `/usr/bin/file conftest.o` in
6385 case $lt_cv_prog_gnu_ld in
6389 LD="${LD-ld} -m elf_x86_64"
6392 LD="${LD-ld} -m elf64_sparc"
6395 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6396 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6401 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6413 need_locks="$enable_libtool_lock"
6415 if test -n "$ac_tool_prefix"; then
6416 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6417 set dummy ${ac_tool_prefix}mt; ac_word=$2
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6419 $as_echo_n "checking for $ac_word... " >&6; }
6420 if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
6421 $as_echo_n "(cached) " >&6
6423 if test -n "$MANIFEST_TOOL"; then
6424 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6444 if test -n "$MANIFEST_TOOL"; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6446 $as_echo "$MANIFEST_TOOL" >&6; }
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449 $as_echo "no" >&6; }
6454 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6455 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6456 # Extract the first word of "mt", so it can be a program name with args.
6457 set dummy mt; ac_word=$2
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6459 $as_echo_n "checking for $ac_word... " >&6; }
6460 if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
6461 $as_echo_n "(cached) " >&6
6463 if test -n "$ac_ct_MANIFEST_TOOL"; then
6464 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 test -z "$as_dir" && as_dir=.
6471 for ac_exec_ext in '' $ac_executable_extensions; do
6472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6473 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6484 if test -n "$ac_ct_MANIFEST_TOOL"; then
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6486 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489 $as_echo "no" >&6; }
6492 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6495 case $cross_compiling:$ac_tool_warned in
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6499 ac_tool_warned=yes ;;
6501 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6504 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6507 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6509 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6510 if test "${lt_cv_path_mainfest_tool+set}" = set; then :
6511 $as_echo_n "(cached) " >&6
6513 lt_cv_path_mainfest_tool=no
6514 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6515 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6516 cat conftest.err >&5
6517 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6518 lt_cv_path_mainfest_tool=yes
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6523 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6524 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6534 rhapsody* | darwin*)
6535 if test -n "$ac_tool_prefix"; then
6536 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6537 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6539 $as_echo_n "checking for $ac_word... " >&6; }
6540 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6541 $as_echo_n "(cached) " >&6
6543 if test -n "$DSYMUTIL"; then
6544 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 test -z "$as_dir" && as_dir=.
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6553 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6563 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6564 if test -n "$DSYMUTIL"; then
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6566 $as_echo "$DSYMUTIL" >&6; }
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6569 $as_echo "no" >&6; }
6574 if test -z "$ac_cv_prog_DSYMUTIL"; then
6575 ac_ct_DSYMUTIL=$DSYMUTIL
6576 # Extract the first word of "dsymutil", so it can be a program name with args.
6577 set dummy dsymutil; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6581 $as_echo_n "(cached) " >&6
6583 if test -n "$ac_ct_DSYMUTIL"; then
6584 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6593 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6603 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6604 if test -n "$ac_ct_DSYMUTIL"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6606 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6612 if test "x$ac_ct_DSYMUTIL" = x; then
6615 case $cross_compiling:$ac_tool_warned in
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6619 ac_tool_warned=yes ;;
6621 DSYMUTIL=$ac_ct_DSYMUTIL
6624 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6627 if test -n "$ac_tool_prefix"; then
6628 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6629 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631 $as_echo_n "checking for $ac_word... " >&6; }
6632 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6633 $as_echo_n "(cached) " >&6
6635 if test -n "$NMEDIT"; then
6636 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6642 test -z "$as_dir" && as_dir=.
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6645 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 NMEDIT=$ac_cv_prog_NMEDIT
6656 if test -n "$NMEDIT"; then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6658 $as_echo "$NMEDIT" >&6; }
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 $as_echo "no" >&6; }
6666 if test -z "$ac_cv_prog_NMEDIT"; then
6667 ac_ct_NMEDIT=$NMEDIT
6668 # Extract the first word of "nmedit", so it can be a program name with args.
6669 set dummy nmedit; ac_word=$2
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6671 $as_echo_n "checking for $ac_word... " >&6; }
6672 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6673 $as_echo_n "(cached) " >&6
6675 if test -n "$ac_ct_NMEDIT"; then
6676 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir=.
6683 for ac_exec_ext in '' $ac_executable_extensions; do
6684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6696 if test -n "$ac_ct_NMEDIT"; then
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6698 $as_echo "$ac_ct_NMEDIT" >&6; }
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 $as_echo "no" >&6; }
6704 if test "x$ac_ct_NMEDIT" = x; then
6707 case $cross_compiling:$ac_tool_warned in
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6711 ac_tool_warned=yes ;;
6713 NMEDIT=$ac_ct_NMEDIT
6716 NMEDIT="$ac_cv_prog_NMEDIT"
6719 if test -n "$ac_tool_prefix"; then
6720 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6721 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723 $as_echo_n "checking for $ac_word... " >&6; }
6724 if test "${ac_cv_prog_LIPO+set}" = set; then :
6725 $as_echo_n "(cached) " >&6
6727 if test -n "$LIPO"; then
6728 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734 test -z "$as_dir" && as_dir=.
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6737 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747 LIPO=$ac_cv_prog_LIPO
6748 if test -n "$LIPO"; then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6750 $as_echo "$LIPO" >&6; }
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 $as_echo "no" >&6; }
6758 if test -z "$ac_cv_prog_LIPO"; then
6760 # Extract the first word of "lipo", so it can be a program name with args.
6761 set dummy lipo; ac_word=$2
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763 $as_echo_n "checking for $ac_word... " >&6; }
6764 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6765 $as_echo_n "(cached) " >&6
6767 if test -n "$ac_ct_LIPO"; then
6768 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774 test -z "$as_dir" && as_dir=.
6775 for ac_exec_ext in '' $ac_executable_extensions; do
6776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6777 ac_cv_prog_ac_ct_LIPO="lipo"
6778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6787 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6788 if test -n "$ac_ct_LIPO"; then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6790 $as_echo "$ac_ct_LIPO" >&6; }
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793 $as_echo "no" >&6; }
6796 if test "x$ac_ct_LIPO" = x; then
6799 case $cross_compiling:$ac_tool_warned in
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6803 ac_tool_warned=yes ;;
6808 LIPO="$ac_cv_prog_LIPO"
6811 if test -n "$ac_tool_prefix"; then
6812 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6813 set dummy ${ac_tool_prefix}otool; ac_word=$2
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815 $as_echo_n "checking for $ac_word... " >&6; }
6816 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6817 $as_echo_n "(cached) " >&6
6819 if test -n "$OTOOL"; then
6820 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6826 test -z "$as_dir" && as_dir=.
6827 for ac_exec_ext in '' $ac_executable_extensions; do
6828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6829 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6839 OTOOL=$ac_cv_prog_OTOOL
6840 if test -n "$OTOOL"; then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6842 $as_echo "$OTOOL" >&6; }
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6845 $as_echo "no" >&6; }
6850 if test -z "$ac_cv_prog_OTOOL"; then
6852 # Extract the first word of "otool", so it can be a program name with args.
6853 set dummy otool; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6857 $as_echo_n "(cached) " >&6
6859 if test -n "$ac_ct_OTOOL"; then
6860 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869 ac_cv_prog_ac_ct_OTOOL="otool"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6879 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6880 if test -n "$ac_ct_OTOOL"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6882 $as_echo "$ac_ct_OTOOL" >&6; }
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6888 if test "x$ac_ct_OTOOL" = x; then
6891 case $cross_compiling:$ac_tool_warned in
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6895 ac_tool_warned=yes ;;
6900 OTOOL="$ac_cv_prog_OTOOL"
6903 if test -n "$ac_tool_prefix"; then
6904 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6905 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6907 $as_echo_n "checking for $ac_word... " >&6; }
6908 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6909 $as_echo_n "(cached) " >&6
6911 if test -n "$OTOOL64"; then
6912 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6918 test -z "$as_dir" && as_dir=.
6919 for ac_exec_ext in '' $ac_executable_extensions; do
6920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6921 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 OTOOL64=$ac_cv_prog_OTOOL64
6932 if test -n "$OTOOL64"; then
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6934 $as_echo "$OTOOL64" >&6; }
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6937 $as_echo "no" >&6; }
6942 if test -z "$ac_cv_prog_OTOOL64"; then
6943 ac_ct_OTOOL64=$OTOOL64
6944 # Extract the first word of "otool64", so it can be a program name with args.
6945 set dummy otool64; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6949 $as_echo_n "(cached) " >&6
6951 if test -n "$ac_ct_OTOOL64"; then
6952 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961 ac_cv_prog_ac_ct_OTOOL64="otool64"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6972 if test -n "$ac_ct_OTOOL64"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6974 $as_echo "$ac_ct_OTOOL64" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6980 if test "x$ac_ct_OTOOL64" = x; then
6983 case $cross_compiling:$ac_tool_warned in
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6987 ac_tool_warned=yes ;;
6989 OTOOL64=$ac_ct_OTOOL64
6992 OTOOL64="$ac_cv_prog_OTOOL64"
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7022 $as_echo_n "checking for -single_module linker flag... " >&6; }
7023 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7024 $as_echo_n "(cached) " >&6
7026 lt_cv_apple_cc_single_mod=no
7027 if test -z "${LT_MULTI_MODULE}"; then
7028 # By default we will add the -single_module flag. You can override
7029 # by either setting the environment variable LT_MULTI_MODULE
7030 # non-empty at configure time, or by adding -multi_module to the
7032 rm -rf libconftest.dylib*
7033 echo "int foo(void){return 1;}" > conftest.c
7034 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7035 -dynamiclib -Wl,-single_module conftest.c" >&5
7036 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7037 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7039 # If there is a non-empty error log, and "single_module"
7040 # appears in it, assume the flag caused a linker warning
7041 if test -s conftest.err && $GREP single_module conftest.err; then
7042 cat conftest.err >&5
7043 # Otherwise, if the output was created with a 0 exit code from
7044 # the compiler, it worked.
7045 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7046 lt_cv_apple_cc_single_mod=yes
7048 cat conftest.err >&5
7050 rm -rf libconftest.dylib*
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7055 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7058 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7059 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7060 $as_echo_n "(cached) " >&6
7062 lt_cv_ld_exported_symbols_list=no
7063 save_LDFLAGS=$LDFLAGS
7064 echo "_main" > conftest.sym
7065 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7067 /* end confdefs.h. */
7077 if ac_fn_c_try_link "$LINENO"; then :
7078 lt_cv_ld_exported_symbols_list=yes
7080 lt_cv_ld_exported_symbols_list=no
7082 rm -f core conftest.err conftest.$ac_objext \
7083 conftest$ac_exeext conftest.$ac_ext
7084 LDFLAGS="$save_LDFLAGS"
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7088 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7091 $as_echo_n "checking for -force_load linker flag... " >&6; }
7092 if test "${lt_cv_ld_force_load+set}" = set; then :
7093 $as_echo_n "(cached) " >&6
7095 lt_cv_ld_force_load=no
7096 cat > conftest.c << _LT_EOF
7097 int forced_loaded() { return 2;}
7099 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7100 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7101 echo "$AR cru libconftest.a conftest.o" >&5
7102 $AR cru libconftest.a conftest.o 2>&5
7103 echo "$RANLIB libconftest.a" >&5
7104 $RANLIB libconftest.a 2>&5
7105 cat > conftest.c << _LT_EOF
7106 int main() { return 0;}
7108 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7109 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7111 if test -s conftest.err && $GREP force_load conftest.err; then
7112 cat conftest.err >&5
7113 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7114 lt_cv_ld_force_load=yes
7116 cat conftest.err >&5
7118 rm -f conftest.err libconftest.a conftest conftest.c
7119 rm -rf conftest.dSYM
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7123 $as_echo "$lt_cv_ld_force_load" >&6; }
7125 rhapsody* | darwin1.[012])
7126 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7128 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7129 darwin*) # darwin 5.x on
7130 # if running on 10.5 or later, the deployment target defaults
7131 # to the OS version, if on x86, and 10.4, the deployment
7132 # target defaults to 10.4. Don't you love it?
7133 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7134 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7135 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7137 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7139 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7143 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7144 _lt_dar_single_mod='$single_module'
7146 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7147 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7149 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7151 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7152 _lt_dsymutil='~$DSYMUTIL $lib || :'
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7165 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7166 # On Suns, sometimes $CPP names a directory.
7167 if test -n "$CPP" && test -d "$CPP"; then
7170 if test -z "$CPP"; then
7171 if test "${ac_cv_prog_CPP+set}" = set; then :
7172 $as_echo_n "(cached) " >&6
7174 # Double quotes because CPP needs to be expanded
7175 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7178 for ac_c_preproc_warn_flag in '' yes
7180 # Use a header file that comes with gcc, so configuring glibc
7181 # with a fresh cross-compiler works.
7182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7183 # <limits.h> exists even on freestanding compilers.
7184 # On the NeXT, cc -E runs the code through the compiler's parser,
7185 # not just through cpp. "Syntax error" is here to catch this case.
7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7189 # include <limits.h>
7191 # include <assert.h>
7195 if ac_fn_c_try_cpp "$LINENO"; then :
7198 # Broken: fails on valid input.
7201 rm -f conftest.err conftest.i conftest.$ac_ext
7203 # OK, works on sane cases. Now check whether nonexistent headers
7204 # can be detected and how.
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7207 #include <ac_nonexistent.h>
7209 if ac_fn_c_try_cpp "$LINENO"; then :
7210 # Broken: success on invalid input.
7213 # Passes both tests.
7217 rm -f conftest.err conftest.i conftest.$ac_ext
7220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7221 rm -f conftest.i conftest.err conftest.$ac_ext
7222 if $ac_preproc_ok; then :
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7235 $as_echo "$CPP" >&6; }
7237 for ac_c_preproc_warn_flag in '' yes
7239 # Use a header file that comes with gcc, so configuring glibc
7240 # with a fresh cross-compiler works.
7241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7242 # <limits.h> exists even on freestanding compilers.
7243 # On the NeXT, cc -E runs the code through the compiler's parser,
7244 # not just through cpp. "Syntax error" is here to catch this case.
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7248 # include <limits.h>
7250 # include <assert.h>
7254 if ac_fn_c_try_cpp "$LINENO"; then :
7257 # Broken: fails on valid input.
7260 rm -f conftest.err conftest.i conftest.$ac_ext
7262 # OK, works on sane cases. Now check whether nonexistent headers
7263 # can be detected and how.
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7266 #include <ac_nonexistent.h>
7268 if ac_fn_c_try_cpp "$LINENO"; then :
7269 # Broken: success on invalid input.
7272 # Passes both tests.
7276 rm -f conftest.err conftest.i conftest.$ac_ext
7279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7280 rm -f conftest.i conftest.err conftest.$ac_ext
7281 if $ac_preproc_ok; then :
7284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7286 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7287 See \`config.log' for more details" "$LINENO" 5 ; }
7291 ac_cpp='$CPP $CPPFLAGS'
7292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7298 $as_echo_n "checking for ANSI C header files... " >&6; }
7299 if test "${ac_cv_header_stdc+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7303 /* end confdefs.h. */
7317 if ac_fn_c_try_compile "$LINENO"; then :
7318 ac_cv_header_stdc=yes
7320 ac_cv_header_stdc=no
7322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7324 if test $ac_cv_header_stdc = yes; then
7325 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7327 /* end confdefs.h. */
7331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7332 $EGREP "memchr" >/dev/null 2>&1; then :
7335 ac_cv_header_stdc=no
7341 if test $ac_cv_header_stdc = yes; then
7342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h. */
7348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7349 $EGREP "free" >/dev/null 2>&1; then :
7352 ac_cv_header_stdc=no
7358 if test $ac_cv_header_stdc = yes; then
7359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7360 if test "$cross_compiling" = yes; then :
7363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364 /* end confdefs.h. */
7367 #if ((' ' & 0x0FF) == 0x020)
7368 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7369 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7371 # define ISLOWER(c) \
7372 (('a' <= (c) && (c) <= 'i') \
7373 || ('j' <= (c) && (c) <= 'r') \
7374 || ('s' <= (c) && (c) <= 'z'))
7375 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7378 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7383 for (i = 0; i < 256; i++)
7384 if (XOR (islower (i), ISLOWER (i))
7385 || toupper (i) != TOUPPER (i))
7390 if ac_fn_c_try_run "$LINENO"; then :
7393 ac_cv_header_stdc=no
7395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7396 conftest.$ac_objext conftest.beam conftest.$ac_ext
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7402 $as_echo "$ac_cv_header_stdc" >&6; }
7403 if test $ac_cv_header_stdc = yes; then
7405 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7409 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7410 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7411 inttypes.h stdint.h unistd.h
7413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7414 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7417 cat >>confdefs.h <<_ACEOF
7418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7426 for ac_header in dlfcn.h
7428 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7430 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7431 cat >>confdefs.h <<_ACEOF
7432 #define HAVE_DLFCN_H 1
7444 enable_win32_dll=yes
7447 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7448 if test -n "$ac_tool_prefix"; then
7449 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7450 set dummy ${ac_tool_prefix}as; ac_word=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452 $as_echo_n "checking for $ac_word... " >&6; }
7453 if test "${ac_cv_prog_AS+set}" = set; then :
7454 $as_echo_n "(cached) " >&6
7456 if test -n "$AS"; then
7457 ac_cv_prog_AS="$AS" # Let the user override the test.
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 test -z "$as_dir" && as_dir=.
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7466 ac_cv_prog_AS="${ac_tool_prefix}as"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7477 if test -n "$AS"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7479 $as_echo "$AS" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7487 if test -z "$ac_cv_prog_AS"; then
7489 # Extract the first word of "as", so it can be a program name with args.
7490 set dummy as; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 $as_echo_n "checking for $ac_word... " >&6; }
7493 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
7494 $as_echo_n "(cached) " >&6
7496 if test -n "$ac_ct_AS"; then
7497 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7506 ac_cv_prog_ac_ct_AS="as"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7517 if test -n "$ac_ct_AS"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7519 $as_echo "$ac_ct_AS" >&6; }
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7525 if test "x$ac_ct_AS" = x; then
7528 case $cross_compiling:$ac_tool_warned in
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7532 ac_tool_warned=yes ;;
7540 if test -n "$ac_tool_prefix"; then
7541 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7542 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7544 $as_echo_n "checking for $ac_word... " >&6; }
7545 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7546 $as_echo_n "(cached) " >&6
7548 if test -n "$DLLTOOL"; then
7549 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 test -z "$as_dir" && as_dir=.
7556 for ac_exec_ext in '' $ac_executable_extensions; do
7557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7558 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 DLLTOOL=$ac_cv_prog_DLLTOOL
7569 if test -n "$DLLTOOL"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7571 $as_echo "$DLLTOOL" >&6; }
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7579 if test -z "$ac_cv_prog_DLLTOOL"; then
7580 ac_ct_DLLTOOL=$DLLTOOL
7581 # Extract the first word of "dlltool", so it can be a program name with args.
7582 set dummy dlltool; ac_word=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
7586 $as_echo_n "(cached) " >&6
7588 if test -n "$ac_ct_DLLTOOL"; then
7589 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 test -z "$as_dir" && as_dir=.
7596 for ac_exec_ext in '' $ac_executable_extensions; do
7597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7598 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7609 if test -n "$ac_ct_DLLTOOL"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7611 $as_echo "$ac_ct_DLLTOOL" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7617 if test "x$ac_ct_DLLTOOL" = x; then
7620 case $cross_compiling:$ac_tool_warned in
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7624 ac_tool_warned=yes ;;
7626 DLLTOOL=$ac_ct_DLLTOOL
7629 DLLTOOL="$ac_cv_prog_DLLTOOL"
7632 if test -n "$ac_tool_prefix"; then
7633 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7634 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7636 $as_echo_n "checking for $ac_word... " >&6; }
7637 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7638 $as_echo_n "(cached) " >&6
7640 if test -n "$OBJDUMP"; then
7641 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 test -z "$as_dir" && as_dir=.
7648 for ac_exec_ext in '' $ac_executable_extensions; do
7649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7650 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 OBJDUMP=$ac_cv_prog_OBJDUMP
7661 if test -n "$OBJDUMP"; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7663 $as_echo "$OBJDUMP" >&6; }
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7666 $as_echo "no" >&6; }
7671 if test -z "$ac_cv_prog_OBJDUMP"; then
7672 ac_ct_OBJDUMP=$OBJDUMP
7673 # Extract the first word of "objdump", so it can be a program name with args.
7674 set dummy objdump; ac_word=$2
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7676 $as_echo_n "checking for $ac_word... " >&6; }
7677 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7678 $as_echo_n "(cached) " >&6
7680 if test -n "$ac_ct_OBJDUMP"; then
7681 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 test -z "$as_dir" && as_dir=.
7688 for ac_exec_ext in '' $ac_executable_extensions; do
7689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7690 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7700 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7701 if test -n "$ac_ct_OBJDUMP"; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7703 $as_echo "$ac_ct_OBJDUMP" >&6; }
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7706 $as_echo "no" >&6; }
7709 if test "x$ac_ct_OBJDUMP" = x; then
7712 case $cross_compiling:$ac_tool_warned in
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7716 ac_tool_warned=yes ;;
7718 OBJDUMP=$ac_ct_OBJDUMP
7721 OBJDUMP="$ac_cv_prog_OBJDUMP"
7727 test -z "$AS" && AS=as
7733 test -z "$DLLTOOL" && DLLTOOL=dlltool
7739 test -z "$OBJDUMP" && OBJDUMP=objdump
7751 # Check whether --enable-shared was given.
7752 if test "${enable_shared+set}" = set; then :
7753 enableval=$enable_shared; p=${PACKAGE-default}
7755 yes) enable_shared=yes ;;
7756 no) enable_shared=no ;;
7759 # Look at the argument we got. We use all the common list separators.
7760 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7761 for pkg in $enableval; do
7763 if test "X$pkg" = "X$p"; then
7782 # Check whether --enable-static was given.
7783 if test "${enable_static+set}" = set; then :
7784 enableval=$enable_static; p=${PACKAGE-default}
7786 yes) enable_static=yes ;;
7787 no) enable_static=no ;;
7790 # Look at the argument we got. We use all the common list separators.
7791 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7792 for pkg in $enableval; do
7794 if test "X$pkg" = "X$p"; then
7814 # Check whether --with-pic was given.
7815 if test "${with_pic+set}" = set; then :
7816 withval=$with_pic; lt_p=${PACKAGE-default}
7818 yes|no) pic_mode=$withval ;;
7821 # Look at the argument we got. We use all the common list separators.
7822 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7823 for lt_pkg in $withval; do
7825 if test "X$lt_pkg" = "X$lt_p"; then
7837 test -z "$pic_mode" && pic_mode=default
7845 # Check whether --enable-fast-install was given.
7846 if test "${enable_fast_install+set}" = set; then :
7847 enableval=$enable_fast_install; p=${PACKAGE-default}
7849 yes) enable_fast_install=yes ;;
7850 no) enable_fast_install=no ;;
7852 enable_fast_install=no
7853 # Look at the argument we got. We use all the common list separators.
7854 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7855 for pkg in $enableval; do
7857 if test "X$pkg" = "X$p"; then
7858 enable_fast_install=yes
7865 enable_fast_install=yes
7878 # This can be used to rebuild libtool when needed
7879 LIBTOOL_DEPS="$ltmain"
7881 # Always use our own libtool.
7882 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7913 test -z "$LN_S" && LN_S="ln -s"
7928 if test -n "${ZSH_VERSION+set}" ; then
7929 setopt NO_GLOB_SUBST
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7933 $as_echo_n "checking for objdir... " >&6; }
7934 if test "${lt_cv_objdir+set}" = set; then :
7935 $as_echo_n "(cached) " >&6
7937 rm -f .libs 2>/dev/null
7938 mkdir .libs 2>/dev/null
7939 if test -d .libs; then
7942 # MS-DOS does not allow filenames that begin with a dot.
7945 rmdir .libs 2>/dev/null
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7948 $as_echo "$lt_cv_objdir" >&6; }
7949 objdir=$lt_cv_objdir
7955 cat >>confdefs.h <<_ACEOF
7956 #define LT_OBJDIR "$lt_cv_objdir/"
7964 # AIX sometimes has problems with the GCC collect2 program. For some
7965 # reason, if we set the COLLECT_NAMES environment variable, the problems
7966 # vanish in a puff of smoke.
7967 if test "X${COLLECT_NAMES+set}" != Xset; then
7969 export COLLECT_NAMES
7976 can_build_shared=yes
7978 # All known linkers require a `.a' archive for static linking (except MSVC,
7979 # which needs '.lib').
7982 with_gnu_ld="$lt_cv_prog_gnu_ld"
7985 old_CFLAGS="$CFLAGS"
7987 # Set sane defaults for various variables
7988 test -z "$CC" && CC=cc
7989 test -z "$LTCC" && LTCC=$CC
7990 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7991 test -z "$LD" && LD=ld
7992 test -z "$ac_objext" && ac_objext=o
7994 for cc_temp in $compiler""; do
7996 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7997 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8002 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8005 # Only perform the check for file, if the check method requires it
8006 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8007 case $deplibs_check_method in
8009 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8011 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8012 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8013 $as_echo_n "(cached) " >&6
8017 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8020 lt_save_MAGIC_CMD="$MAGIC_CMD"
8021 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8022 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8023 for ac_dir in $ac_dummy; do
8025 test -z "$ac_dir" && ac_dir=.
8026 if test -f $ac_dir/${ac_tool_prefix}file; then
8027 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8028 if test -n "$file_magic_test_file"; then
8029 case $deplibs_check_method in
8031 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8032 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8033 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8034 $EGREP "$file_magic_regex" > /dev/null; then
8039 *** Warning: the command libtool uses to detect shared libraries,
8040 *** $file_magic_cmd, produces output that libtool cannot recognize.
8041 *** The result is that libtool may fail to recognize shared libraries
8042 *** as such. This will affect the creation of libtool libraries that
8043 *** depend on shared libraries, but programs linked with such libtool
8044 *** libraries will work regardless of this problem. Nevertheless, you
8045 *** may want to report the problem to your system manager and/or to
8046 *** bug-libtool@gnu.org
8056 MAGIC_CMD="$lt_save_MAGIC_CMD"
8061 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8062 if test -n "$MAGIC_CMD"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8064 $as_echo "$MAGIC_CMD" >&6; }
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8067 $as_echo "no" >&6; }
8074 if test -z "$lt_cv_path_MAGIC_CMD"; then
8075 if test -n "$ac_tool_prefix"; then
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8077 $as_echo_n "checking for file... " >&6; }
8078 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8079 $as_echo_n "(cached) " >&6
8083 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8086 lt_save_MAGIC_CMD="$MAGIC_CMD"
8087 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8088 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8089 for ac_dir in $ac_dummy; do
8091 test -z "$ac_dir" && ac_dir=.
8092 if test -f $ac_dir/file; then
8093 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8094 if test -n "$file_magic_test_file"; then
8095 case $deplibs_check_method in
8097 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8098 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8099 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8100 $EGREP "$file_magic_regex" > /dev/null; then
8105 *** Warning: the command libtool uses to detect shared libraries,
8106 *** $file_magic_cmd, produces output that libtool cannot recognize.
8107 *** The result is that libtool may fail to recognize shared libraries
8108 *** as such. This will affect the creation of libtool libraries that
8109 *** depend on shared libraries, but programs linked with such libtool
8110 *** libraries will work regardless of this problem. Nevertheless, you
8111 *** may want to report the problem to your system manager and/or to
8112 *** bug-libtool@gnu.org
8122 MAGIC_CMD="$lt_save_MAGIC_CMD"
8127 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8128 if test -n "$MAGIC_CMD"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8130 $as_echo "$MAGIC_CMD" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8146 # Use C for the default configuration in the libtool script
8150 ac_cpp='$CPP $CPPFLAGS'
8151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8156 # Source file extension for C test sources.
8159 # Object file extension for compiled C test sources.
8163 # Code to be used in simple compile tests
8164 lt_simple_compile_test_code="int some_variable = 0;"
8166 # Code to be used in simple link tests
8167 lt_simple_link_test_code='int main(){return(0);}'
8175 # If no C compiler was specified, use CC.
8178 # If no C compiler flags were specified, use CFLAGS.
8179 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8181 # Allow CC to be a program name with arguments.
8184 # Save the default compiler, since it gets overwritten when the other
8185 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8186 compiler_DEFAULT=$CC
8188 # save warnings/boilerplate of simple test code
8189 ac_outfile=conftest.$ac_objext
8190 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8191 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8192 _lt_compiler_boilerplate=`cat conftest.err`
8195 ac_outfile=conftest.$ac_objext
8196 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8197 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8198 _lt_linker_boilerplate=`cat conftest.err`
8203 ## There is no encapsulation within the following macros, do not change
8204 ## the running order or otherwise move them around unless you know exactly
8205 ## what you are doing...
8206 if test -n "$compiler"; then
8208 lt_prog_compiler_no_builtin_flag=
8210 if test "$GCC" = yes; then
8211 case $cc_basename in
8213 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8215 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8219 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8220 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8221 $as_echo_n "(cached) " >&6
8223 lt_cv_prog_compiler_rtti_exceptions=no
8224 ac_outfile=conftest.$ac_objext
8225 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8226 lt_compiler_flag="-fno-rtti -fno-exceptions"
8227 # Insert the option either (1) after the last *FLAGS variable, or
8228 # (2) before a word containing "conftest.", or (3) at the end.
8229 # Note that $ac_compile itself does not contain backslashes and begins
8230 # with a dollar sign (not a hyphen), so the echo should work correctly.
8231 # The option is referenced via a variable to avoid confusing sed.
8232 lt_compile=`echo "$ac_compile" | $SED \
8233 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8234 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8235 -e 's:$: $lt_compiler_flag:'`
8236 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8237 (eval "$lt_compile" 2>conftest.err)
8239 cat conftest.err >&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 if (exit $ac_status) && test -s "$ac_outfile"; then
8242 # The compiler can only warn and ignore the option if not recognized
8243 # So say no if there are warnings other than the usual output.
8244 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8245 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8246 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8247 lt_cv_prog_compiler_rtti_exceptions=yes
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8254 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8256 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8257 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8269 lt_prog_compiler_wl=
8270 lt_prog_compiler_pic=
8271 lt_prog_compiler_static=
8274 if test "$GCC" = yes; then
8275 lt_prog_compiler_wl='-Wl,'
8276 lt_prog_compiler_static='-static'
8280 # All AIX code is PIC.
8281 if test "$host_cpu" = ia64; then
8282 # AIX 5 now supports IA64 processor
8283 lt_prog_compiler_static='-Bstatic'
8290 # see comment about AmigaOS4 .so support
8291 lt_prog_compiler_pic='-fPIC'
8294 # FIXME: we need at least 68020 code to build shared libraries, but
8295 # adding the `-m68020' flag to GCC prevents building anything better,
8297 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8302 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8303 # PIC is the default for these OSes.
8306 mingw* | cygwin* | pw32* | os2* | cegcc*)
8307 # This hack is so that the source file can tell whether it is being
8308 # built for inclusion in a dll (and should export symbols for example).
8309 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8310 # (--disable-auto-import) libraries
8311 lt_prog_compiler_pic='-DDLL_EXPORT'
8314 darwin* | rhapsody*)
8315 # PIC is the default on this platform
8316 # Common symbols not allowed in MH_DYLIB files
8317 lt_prog_compiler_pic='-fno-common'
8321 # PIC is the default for Haiku.
8322 # The "-static" flag exists, but is broken.
8323 lt_prog_compiler_static=
8327 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8328 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8329 # sets the default TLS model and affects inlining.
8335 lt_prog_compiler_pic='-fPIC'
8341 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8342 # Instead, we relocate shared libraries at runtime.
8346 # Just because we use GCC doesn't mean we suddenly get shared libraries
8347 # on systems that don't support them.
8348 lt_prog_compiler_can_build_shared=no
8353 # QNX uses GNU C++, but need to define -shared option too, otherwise
8355 lt_prog_compiler_pic='-fPIC -shared'
8359 if test -d /usr/nec; then
8360 lt_prog_compiler_pic=-Kconform_pic
8365 lt_prog_compiler_pic='-fPIC'
8369 case $cc_basename in
8370 nvcc*) # Cuda Compiler Driver 2.2
8371 lt_prog_compiler_wl='-Xlinker '
8372 if test -n "$lt_prog_compiler_pic"; then
8373 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8378 # PORTME Check for flag to pass linker flags through the system compiler.
8381 lt_prog_compiler_wl='-Wl,'
8382 if test "$host_cpu" = ia64; then
8383 # AIX 5 now supports IA64 processor
8384 lt_prog_compiler_static='-Bstatic'
8386 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8390 mingw* | cygwin* | pw32* | os2* | cegcc*)
8391 # This hack is so that the source file can tell whether it is being
8392 # built for inclusion in a dll (and should export symbols for example).
8393 lt_prog_compiler_pic='-DDLL_EXPORT'
8396 hpux9* | hpux10* | hpux11*)
8397 lt_prog_compiler_wl='-Wl,'
8398 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8405 lt_prog_compiler_pic='+Z'
8408 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8409 lt_prog_compiler_static='${wl}-a ${wl}archive'
8412 irix5* | irix6* | nonstopux*)
8413 lt_prog_compiler_wl='-Wl,'
8414 # PIC (with -KPIC) is the default.
8415 lt_prog_compiler_static='-non_shared'
8418 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8419 case $cc_basename in
8420 # old Intel for x86_64 which still supported -KPIC.
8422 lt_prog_compiler_wl='-Wl,'
8423 lt_prog_compiler_pic='-KPIC'
8424 lt_prog_compiler_static='-static'
8426 # icc used to be incompatible with GCC.
8427 # ICC 10 doesn't accept -KPIC any more.
8429 lt_prog_compiler_wl='-Wl,'
8430 lt_prog_compiler_pic='-fPIC'
8431 lt_prog_compiler_static='-static'
8433 # Lahey Fortran 8.1.
8435 lt_prog_compiler_wl='-Wl,'
8436 lt_prog_compiler_pic='--shared'
8437 lt_prog_compiler_static='--static'
8440 # NAG Fortran compiler
8441 lt_prog_compiler_wl='-Wl,-Wl,,'
8442 lt_prog_compiler_pic='-PIC'
8443 lt_prog_compiler_static='-Bstatic'
8445 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8446 # Portland Group compilers (*not* the Pentium gcc compiler,
8447 # which looks to be a dead project)
8448 lt_prog_compiler_wl='-Wl,'
8449 lt_prog_compiler_pic='-fpic'
8450 lt_prog_compiler_static='-Bstatic'
8453 lt_prog_compiler_wl='-Wl,'
8454 # All Alpha code is PIC.
8455 lt_prog_compiler_static='-non_shared'
8457 xl* | bgxl* | bgf* | mpixl*)
8458 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8459 lt_prog_compiler_wl='-Wl,'
8460 lt_prog_compiler_pic='-qpic'
8461 lt_prog_compiler_static='-qstaticlink'
8464 case `$CC -V 2>&1 | sed 5q` in
8465 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8466 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8467 lt_prog_compiler_pic='-KPIC'
8468 lt_prog_compiler_static='-Bstatic'
8469 lt_prog_compiler_wl=''
8471 *Sun\ F* | *Sun*Fortran*)
8472 lt_prog_compiler_pic='-KPIC'
8473 lt_prog_compiler_static='-Bstatic'
8474 lt_prog_compiler_wl='-Qoption ld '
8478 lt_prog_compiler_pic='-KPIC'
8479 lt_prog_compiler_static='-Bstatic'
8480 lt_prog_compiler_wl='-Wl,'
8482 *Intel*\ [CF]*Compiler*)
8483 lt_prog_compiler_wl='-Wl,'
8484 lt_prog_compiler_pic='-fPIC'
8485 lt_prog_compiler_static='-static'
8488 lt_prog_compiler_wl='-Wl,'
8489 lt_prog_compiler_pic='-fpic'
8490 lt_prog_compiler_static='-Bstatic'
8498 lt_prog_compiler_pic='-KPIC'
8499 lt_prog_compiler_static='-Bstatic'
8503 # QNX uses GNU C++, but need to define -shared option too, otherwise
8505 lt_prog_compiler_pic='-fPIC -shared'
8508 osf3* | osf4* | osf5*)
8509 lt_prog_compiler_wl='-Wl,'
8510 # All OSF/1 code is PIC.
8511 lt_prog_compiler_static='-non_shared'
8515 lt_prog_compiler_static='-non_shared'
8519 lt_prog_compiler_pic='-KPIC'
8520 lt_prog_compiler_static='-Bstatic'
8521 case $cc_basename in
8522 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8523 lt_prog_compiler_wl='-Qoption ld ';;
8525 lt_prog_compiler_wl='-Wl,';;
8530 lt_prog_compiler_wl='-Qoption ld '
8531 lt_prog_compiler_pic='-PIC'
8532 lt_prog_compiler_static='-Bstatic'
8535 sysv4 | sysv4.2uw2* | sysv4.3*)
8536 lt_prog_compiler_wl='-Wl,'
8537 lt_prog_compiler_pic='-KPIC'
8538 lt_prog_compiler_static='-Bstatic'
8542 if test -d /usr/nec ;then
8543 lt_prog_compiler_pic='-Kconform_pic'
8544 lt_prog_compiler_static='-Bstatic'
8548 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8549 lt_prog_compiler_wl='-Wl,'
8550 lt_prog_compiler_pic='-KPIC'
8551 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_wl='-Wl,'
8556 lt_prog_compiler_can_build_shared=no
8560 lt_prog_compiler_pic='-pic'
8561 lt_prog_compiler_static='-Bstatic'
8565 lt_prog_compiler_can_build_shared=no
8571 # For platforms which do not support PIC, -DPIC is meaningless:
8573 lt_prog_compiler_pic=
8576 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8581 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8582 if test "${lt_cv_prog_compiler_pic+set}" = set; then :
8583 $as_echo_n "(cached) " >&6
8585 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8588 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8589 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8592 # Check to make sure the PIC flag actually works.
8594 if test -n "$lt_prog_compiler_pic"; then
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8596 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8597 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8598 $as_echo_n "(cached) " >&6
8600 lt_cv_prog_compiler_pic_works=no
8601 ac_outfile=conftest.$ac_objext
8602 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8603 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8604 # Insert the option either (1) after the last *FLAGS variable, or
8605 # (2) before a word containing "conftest.", or (3) at the end.
8606 # Note that $ac_compile itself does not contain backslashes and begins
8607 # with a dollar sign (not a hyphen), so the echo should work correctly.
8608 # The option is referenced via a variable to avoid confusing sed.
8609 lt_compile=`echo "$ac_compile" | $SED \
8610 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8611 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8612 -e 's:$: $lt_compiler_flag:'`
8613 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8614 (eval "$lt_compile" 2>conftest.err)
8616 cat conftest.err >&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 if (exit $ac_status) && test -s "$ac_outfile"; then
8619 # The compiler can only warn and ignore the option if not recognized
8620 # So say no if there are warnings other than the usual output.
8621 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8622 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8623 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8624 lt_cv_prog_compiler_pic_works=yes
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8631 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8633 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8634 case $lt_prog_compiler_pic in
8636 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8639 lt_prog_compiler_pic=
8640 lt_prog_compiler_can_build_shared=no
8656 # Check to make sure the static flag actually works.
8658 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8660 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8661 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8662 $as_echo_n "(cached) " >&6
8664 lt_cv_prog_compiler_static_works=no
8665 save_LDFLAGS="$LDFLAGS"
8666 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8667 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8668 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8669 # The linker can only warn and ignore the option if not recognized
8670 # So say no if there are warnings
8671 if test -s conftest.err; then
8672 # Append any errors to the config.log.
8673 cat conftest.err 1>&5
8674 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8675 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8676 if diff conftest.exp conftest.er2 >/dev/null; then
8677 lt_cv_prog_compiler_static_works=yes
8680 lt_cv_prog_compiler_static_works=yes
8684 LDFLAGS="$save_LDFLAGS"
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8688 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8690 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8693 lt_prog_compiler_static=
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8703 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8704 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8705 $as_echo_n "(cached) " >&6
8707 lt_cv_prog_compiler_c_o=no
8708 $RM -r conftest 2>/dev/null
8712 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8714 lt_compiler_flag="-o out/conftest2.$ac_objext"
8715 # Insert the option either (1) after the last *FLAGS variable, or
8716 # (2) before a word containing "conftest.", or (3) at the end.
8717 # Note that $ac_compile itself does not contain backslashes and begins
8718 # with a dollar sign (not a hyphen), so the echo should work correctly.
8719 lt_compile=`echo "$ac_compile" | $SED \
8720 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8721 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8722 -e 's:$: $lt_compiler_flag:'`
8723 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8724 (eval "$lt_compile" 2>out/conftest.err)
8726 cat out/conftest.err >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8730 # The compiler can only warn and ignore the option if not recognized
8731 # So say no if there are warnings
8732 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8733 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8734 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8735 lt_cv_prog_compiler_c_o=yes
8740 # SGI C++ compiler will create directory out/ii_files/ for
8741 # template instantiation
8742 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8743 $RM out/* && rmdir out
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8750 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8758 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8759 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8760 $as_echo_n "(cached) " >&6
8762 lt_cv_prog_compiler_c_o=no
8763 $RM -r conftest 2>/dev/null
8767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8769 lt_compiler_flag="-o out/conftest2.$ac_objext"
8770 # Insert the option either (1) after the last *FLAGS variable, or
8771 # (2) before a word containing "conftest.", or (3) at the end.
8772 # Note that $ac_compile itself does not contain backslashes and begins
8773 # with a dollar sign (not a hyphen), so the echo should work correctly.
8774 lt_compile=`echo "$ac_compile" | $SED \
8775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8777 -e 's:$: $lt_compiler_flag:'`
8778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8779 (eval "$lt_compile" 2>out/conftest.err)
8781 cat out/conftest.err >&5
8782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8783 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8785 # The compiler can only warn and ignore the option if not recognized
8786 # So say no if there are warnings
8787 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8788 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8789 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8790 lt_cv_prog_compiler_c_o=yes
8795 # SGI C++ compiler will create directory out/ii_files/ for
8796 # template instantiation
8797 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8798 $RM out/* && rmdir out
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8805 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8810 hard_links="nottested"
8811 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8812 # do not overwrite the value of need_locks provided by the user
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8814 $as_echo_n "checking if we can lock with hard links... " >&6; }
8817 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8819 ln conftest.a conftest.b 2>&5 || hard_links=no
8820 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8822 $as_echo "$hard_links" >&6; }
8823 if test "$hard_links" = no; then
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8825 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8838 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8841 allow_undefined_flag=
8842 always_export_symbols=no
8844 archive_expsym_cmds=
8845 compiler_needs_object=no
8846 enable_shared_with_static_runtimes=no
8847 export_dynamic_flag_spec=
8848 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8849 hardcode_automatic=no
8851 hardcode_direct_absolute=no
8852 hardcode_libdir_flag_spec=
8853 hardcode_libdir_separator=
8855 hardcode_shlibpath_var=unsupported
8857 link_all_deplibs=unknown
8860 old_archive_from_new_cmds=
8861 old_archive_from_expsyms_cmds=
8862 thread_safe_flag_spec=
8863 whole_archive_flag_spec=
8864 # include_expsyms should be a list of space-separated symbols to be *always*
8865 # included in the symbol list
8867 # exclude_expsyms can be an extended regexp of symbols to exclude
8868 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8869 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8870 # as well as any symbol that contains `d'.
8871 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8872 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8873 # platforms (ab)use it in PIC code, but their linkers get confused if
8874 # the symbol is explicitly referenced. Since portable code cannot
8875 # rely on this symbol name, it's probably fine to never include it in
8876 # preloaded symbol tables.
8877 # Exclude shared library initialization/finalization symbols.
8878 extract_expsyms_cmds=
8881 cygwin* | mingw* | pw32* | cegcc*)
8882 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8883 # When not using gcc, we currently assume that we are using
8884 # Microsoft Visual C++.
8885 if test "$GCC" != yes; then
8890 # we just hope/assume this is gcc and not c89 (= MSVC++)
8896 linux* | k*bsd*-gnu | gnu*)
8903 # On some targets, GNU ld is compatible enough with the native linker
8904 # that we're better off using the native interface for both.
8905 lt_use_gnu_ld_interface=no
8906 if test "$with_gnu_ld" = yes; then
8909 # The AIX port of GNU ld has always aspired to compatibility
8910 # with the native linker. However, as the warning in the GNU ld
8911 # block says, versions before 2.19.5* couldn't really create working
8912 # shared libraries, regardless of the interface used.
8913 case `$LD -v 2>&1` in
8914 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8915 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8916 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8918 lt_use_gnu_ld_interface=yes
8923 lt_use_gnu_ld_interface=yes
8928 if test "$lt_use_gnu_ld_interface" = yes; then
8929 # If archive_cmds runs LD, not CC, wlarc should be empty
8932 # Set some defaults for GNU ld with shared library support. These
8933 # are reset later if shared libraries are not supported. Putting them
8934 # here allows them to be overridden if necessary.
8935 runpath_var=LD_RUN_PATH
8936 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8937 export_dynamic_flag_spec='${wl}--export-dynamic'
8938 # ancient GNU ld didn't support --whole-archive et. al.
8939 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8940 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8942 whole_archive_flag_spec=
8944 supports_anon_versioning=no
8945 case `$LD -v 2>&1` in
8946 *GNU\ gold*) supports_anon_versioning=yes ;;
8947 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8948 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8949 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8950 *\ 2.11.*) ;; # other 2.11 versions
8951 *) supports_anon_versioning=yes ;;
8954 # See if GNU ld supports shared libraries.
8957 # On AIX/PPC, the GNU linker is very broken
8958 if test "$host_cpu" != ia64; then
8962 *** Warning: the GNU linker, at least up to release 2.19, is reported
8963 *** to be unable to reliably create shared libraries on AIX.
8964 *** Therefore, libtool is disabling shared libraries support. If you
8965 *** really care for shared libraries, you may want to install binutils
8966 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8967 *** You will then need to restart the configuration process.
8976 # see comment about AmigaOS4 .so support
8977 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8978 archive_expsym_cmds=''
8981 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)'
8982 hardcode_libdir_flag_spec='-L$libdir'
8983 hardcode_minus_L=yes
8989 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8990 allow_undefined_flag=unsupported
8991 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8992 # support --undefined. This deserves some investigation. FIXME
8993 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8999 cygwin* | mingw* | pw32* | cegcc*)
9000 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9001 # as there is no search path for DLLs.
9002 hardcode_libdir_flag_spec='-L$libdir'
9003 export_dynamic_flag_spec='${wl}--export-all-symbols'
9004 allow_undefined_flag=unsupported
9005 always_export_symbols=no
9006 enable_shared_with_static_runtimes=yes
9007 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9008 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9010 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9011 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9012 # If the export-symbols file already is a .def file (1st line
9013 # is EXPORTS), use it as is; otherwise, prepend...
9014 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9015 cp $export_symbols $output_objdir/$soname.def;
9017 echo EXPORTS > $output_objdir/$soname.def;
9018 cat $export_symbols >> $output_objdir/$soname.def;
9020 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9028 link_all_deplibs=yes
9033 hardcode_shlibpath_var=no
9034 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9035 export_dynamic_flag_spec='${wl}-E'
9036 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9037 # Instead, shared libraries are loaded at an image base (0x10000000 by
9038 # default) and relocated if they conflict, which is a slow very memory
9039 # consuming and fragmenting process. To avoid this, we pick a random,
9040 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9041 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9042 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9043 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'
9046 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9048 if test "$host_os" = linux-dietlibc; then
9049 case $cc_basename in
9050 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9053 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9054 && test "$tmp_diet" = no
9056 tmp_addflag=' $pic_flag'
9057 tmp_sharedflag='-shared'
9058 case $cc_basename,$host_cpu in
9059 pgcc*) # Portland Group C compiler
9060 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9061 tmp_addflag=' $pic_flag'
9063 pgf77* | pgf90* | pgf95* | pgfortran*)
9064 # Portland Group f77 and f90 compilers
9065 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9066 tmp_addflag=' $pic_flag -Mnomain' ;;
9067 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9068 tmp_addflag=' -i_dynamic' ;;
9069 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9070 tmp_addflag=' -i_dynamic -nofor_main' ;;
9071 ifc* | ifort*) # Intel Fortran compiler
9072 tmp_addflag=' -nofor_main' ;;
9073 lf95*) # Lahey Fortran 8.1
9074 whole_archive_flag_spec=
9075 tmp_sharedflag='--shared' ;;
9076 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9077 tmp_sharedflag='-qmkshrobj'
9079 nvcc*) # Cuda Compiler Driver 2.2
9080 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9081 compiler_needs_object=yes
9084 case `$CC -V 2>&1 | sed 5q` in
9085 *Sun\ C*) # Sun C 5.9
9086 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9087 compiler_needs_object=yes
9088 tmp_sharedflag='-G' ;;
9089 *Sun\ F*) # Sun Fortran 8.3
9090 tmp_sharedflag='-G' ;;
9092 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9094 if test "x$supports_anon_versioning" = xyes; then
9095 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9096 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9097 echo "local: *; };" >> $output_objdir/$libname.ver~
9098 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9101 case $cc_basename in
9102 xlf* | bgf* | bgxlf* | mpixlf*)
9103 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9104 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9105 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9106 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9107 if test "x$supports_anon_versioning" = xyes; then
9108 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9109 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9110 echo "local: *; };" >> $output_objdir/$libname.ver~
9111 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9120 netbsd* | netbsdelf*-gnu)
9121 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9122 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9125 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9126 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9131 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9135 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9136 *** create shared libraries on Solaris systems. Therefore, libtool
9137 *** is disabling shared libraries support. We urge you to upgrade GNU
9138 *** binutils to release 2.9.1 or newer. Another option is to modify
9139 *** your PATH or compiler configuration so that the native linker is
9140 *** used, and then restart.
9143 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9144 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9145 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9151 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9152 case `$LD -v 2>&1` in
9153 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9157 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9158 *** reliably create shared libraries on SCO systems. Therefore, libtool
9159 *** is disabling shared libraries support. We urge you to upgrade GNU
9160 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9161 *** your PATH or compiler configuration so that the native linker is
9162 *** used, and then restart.
9167 # For security reasons, it is highly recommended that you always
9168 # use absolute paths for naming shared libraries, and exclude the
9169 # DT_RUNPATH tag from executables and libraries. But doing so
9170 # requires that you compile everything twice, which is a pain.
9171 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9172 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9174 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9183 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9186 hardcode_shlibpath_var=no
9190 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9191 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9199 if test "$ld_shlibs" = no; then
9201 hardcode_libdir_flag_spec=
9202 export_dynamic_flag_spec=
9203 whole_archive_flag_spec=
9206 # PORTME fill in a description of your system's linker (not GNU ld)
9209 allow_undefined_flag=unsupported
9210 always_export_symbols=yes
9211 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'
9212 # Note: this linker hardcodes the directories in LIBPATH if there
9213 # are no directories specified by -L.
9214 hardcode_minus_L=yes
9215 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9216 # Neither direct hardcoding nor static linking is supported with a
9218 hardcode_direct=unsupported
9223 if test "$host_cpu" = ia64; then
9224 # On IA64, the linker does run time linking by default, so we don't
9225 # have to do anything special.
9226 aix_use_runtimelinking=no
9227 exp_sym_flag='-Bexport'
9230 # If we're using GNU nm, then we don't want the "-C" option.
9231 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9232 # Also, AIX nm treats weak defined symbols like other global
9233 # defined symbols, whereas GNU nm marks them as "W".
9234 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9235 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9237 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'
9239 aix_use_runtimelinking=no
9241 # Test if we are trying to use run time linking or normal
9242 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9243 # need to do runtime linking.
9244 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9245 for ld_flag in $LDFLAGS; do
9246 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9247 aix_use_runtimelinking=yes
9254 exp_sym_flag='-bexport'
9255 no_entry_flag='-bnoentry'
9258 # When large executables or shared objects are built, AIX ld can
9259 # have problems creating the table of contents. If linking a library
9260 # or program results in "error TOC overflow" add -mminimal-toc to
9261 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9262 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9266 hardcode_direct_absolute=yes
9267 hardcode_libdir_separator=':'
9268 link_all_deplibs=yes
9269 file_list_spec='${wl}-f,'
9271 if test "$GCC" = yes; then
9272 case $host_os in aix4.[012]|aix4.[012].*)
9273 # We only want to do this on AIX 4.2 and lower, the check
9274 # below for broken collect2 doesn't work under 4.3+
9275 collect2name=`${CC} -print-prog-name=collect2`
9276 if test -f "$collect2name" &&
9277 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9279 # We have reworked collect2
9282 # We have old collect2
9283 hardcode_direct=unsupported
9284 # It fails to find uninstalled libraries when the uninstalled
9285 # path is not listed in the libpath. Setting hardcode_minus_L
9286 # to unsupported forces relinking
9287 hardcode_minus_L=yes
9288 hardcode_libdir_flag_spec='-L$libdir'
9289 hardcode_libdir_separator=
9293 shared_flag='-shared'
9294 if test "$aix_use_runtimelinking" = yes; then
9295 shared_flag="$shared_flag "'${wl}-G'
9300 if test "$host_cpu" = ia64; then
9301 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9302 # chokes on -Wl,-G. The following line is correct:
9305 if test "$aix_use_runtimelinking" = yes; then
9306 shared_flag='${wl}-G'
9308 shared_flag='${wl}-bM:SRE'
9313 export_dynamic_flag_spec='${wl}-bexpall'
9314 # It seems that -bexpall does not export symbols beginning with
9315 # underscore (_), so it is better to generate a list of symbols to export.
9316 always_export_symbols=yes
9317 if test "$aix_use_runtimelinking" = yes; then
9318 # Warning - without using the other runtime loading flags (-brtl),
9319 # -berok will link without error, but may produce a broken library.
9320 allow_undefined_flag='-berok'
9321 # Determine the default libpath from the value encoded in an
9323 if test "${lt_cv_aix_libpath+set}" = set; then
9324 aix_libpath=$lt_cv_aix_libpath
9326 if test "${lt_cv_aix_libpath_+set}" = set; then :
9327 $as_echo_n "(cached) " >&6
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9340 if ac_fn_c_try_link "$LINENO"; then :
9342 lt_aix_libpath_sed='
9343 /Import File Strings/,/^$/ {
9345 s/^0 *\([^ ]*\) *$/\1/
9349 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9350 # Check for a 64-bit object if we didn't find anything.
9351 if test -z "$lt_cv_aix_libpath_"; then
9352 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9355 rm -f core conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 if test -z "$lt_cv_aix_libpath_"; then
9358 lt_cv_aix_libpath_="/usr/lib:/lib"
9363 aix_libpath=$lt_cv_aix_libpath_
9366 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9367 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9369 if test "$host_cpu" = ia64; then
9370 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9371 allow_undefined_flag="-z nodefs"
9372 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"
9374 # Determine the default libpath from the value encoded in an
9376 if test "${lt_cv_aix_libpath+set}" = set; then
9377 aix_libpath=$lt_cv_aix_libpath
9379 if test "${lt_cv_aix_libpath_+set}" = set; then :
9380 $as_echo_n "(cached) " >&6
9382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9393 if ac_fn_c_try_link "$LINENO"; then :
9395 lt_aix_libpath_sed='
9396 /Import File Strings/,/^$/ {
9398 s/^0 *\([^ ]*\) *$/\1/
9402 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9403 # Check for a 64-bit object if we didn't find anything.
9404 if test -z "$lt_cv_aix_libpath_"; then
9405 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9408 rm -f core conftest.err conftest.$ac_objext \
9409 conftest$ac_exeext conftest.$ac_ext
9410 if test -z "$lt_cv_aix_libpath_"; then
9411 lt_cv_aix_libpath_="/usr/lib:/lib"
9416 aix_libpath=$lt_cv_aix_libpath_
9419 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9420 # Warning - without using the other run time loading flags,
9421 # -berok will link without error, but may produce a broken library.
9422 no_undefined_flag=' ${wl}-bernotok'
9423 allow_undefined_flag=' ${wl}-berok'
9424 if test "$with_gnu_ld" = yes; then
9425 # We only use this code for GNU lds that support --whole-archive.
9426 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9428 # Exported symbols can be pulled into shared objects from archives
9429 whole_archive_flag_spec='$convenience'
9431 archive_cmds_need_lc=yes
9432 # This is similar to how AIX traditionally builds its shared libraries.
9433 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'
9441 # see comment about AmigaOS4 .so support
9442 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9443 archive_expsym_cmds=''
9446 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)'
9447 hardcode_libdir_flag_spec='-L$libdir'
9448 hardcode_minus_L=yes
9454 export_dynamic_flag_spec=-rdynamic
9457 cygwin* | mingw* | pw32* | cegcc*)
9458 # When not using gcc, we currently assume that we are using
9459 # Microsoft Visual C++.
9460 # hardcode_libdir_flag_spec is actually meaningless, as there is
9461 # no search path for DLLs.
9462 case $cc_basename in
9465 hardcode_libdir_flag_spec=' '
9466 allow_undefined_flag=unsupported
9467 always_export_symbols=yes
9469 # Tell ltmain to make .lib files, not .a files.
9471 # Tell ltmain to make .dll files, not .so files.
9473 # FIXME: Setting linknames here is a bad hack.
9474 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9475 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9476 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9478 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9480 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9482 # The linker will not automatically build a static lib if we build a DLL.
9483 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9484 enable_shared_with_static_runtimes=yes
9485 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9486 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9488 old_postinstall_cmds='chmod 644 $oldlib'
9489 postlink_cmds='lt_outputfile="@OUTPUT@"~
9490 lt_tool_outputfile="@TOOL_OUTPUT@"~
9491 case $lt_outputfile in
9494 lt_outputfile="$lt_outputfile.exe"
9495 lt_tool_outputfile="$lt_tool_outputfile.exe"
9498 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9499 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9500 $RM "$lt_outputfile.manifest";
9504 # Assume MSVC wrapper
9505 hardcode_libdir_flag_spec=' '
9506 allow_undefined_flag=unsupported
9507 # Tell ltmain to make .lib files, not .a files.
9509 # Tell ltmain to make .dll files, not .so files.
9511 # FIXME: Setting linknames here is a bad hack.
9512 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9513 # The linker will automatically build a .lib file if we build a DLL.
9514 old_archive_from_new_cmds='true'
9515 # FIXME: Should let the user specify the lib program.
9516 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9517 enable_shared_with_static_runtimes=yes
9522 darwin* | rhapsody*)
9525 archive_cmds_need_lc=no
9527 hardcode_automatic=yes
9528 hardcode_shlibpath_var=unsupported
9529 if test "$lt_cv_ld_force_load" = "yes"; then
9530 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9533 whole_archive_flag_spec=''
9535 link_all_deplibs=yes
9536 allow_undefined_flag="$_lt_dar_allow_undefined"
9537 case $cc_basename in
9538 ifort*) _lt_dar_can_shared=yes ;;
9539 *) _lt_dar_can_shared=$GCC ;;
9541 if test "$_lt_dar_can_shared" = "yes"; then
9542 output_verbose_link_cmd=func_echo_all
9543 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9544 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9545 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}"
9546 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}"
9555 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9556 hardcode_libdir_flag_spec='-L$libdir'
9557 hardcode_shlibpath_var=no
9560 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9561 # support. Future versions do this automatically, but an explicit c++rt0.o
9562 # does not break anything, and helps significantly (at the cost of a little
9565 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9566 hardcode_libdir_flag_spec='-R$libdir'
9568 hardcode_shlibpath_var=no
9571 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9573 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9575 hardcode_minus_L=yes
9576 hardcode_shlibpath_var=no
9579 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9580 freebsd* | dragonfly*)
9581 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9582 hardcode_libdir_flag_spec='-R$libdir'
9584 hardcode_shlibpath_var=no
9588 if test "$GCC" = yes; then
9589 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9591 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'
9593 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9594 hardcode_libdir_separator=:
9597 # hardcode_minus_L: Not really in the search PATH,
9598 # but as the default location of the library.
9599 hardcode_minus_L=yes
9600 export_dynamic_flag_spec='${wl}-E'
9604 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9605 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9607 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9609 if test "$with_gnu_ld" = no; then
9610 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9611 hardcode_libdir_separator=:
9613 hardcode_direct_absolute=yes
9614 export_dynamic_flag_spec='${wl}-E'
9615 # hardcode_minus_L: Not really in the search PATH,
9616 # but as the default location of the library.
9617 hardcode_minus_L=yes
9622 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9625 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9631 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9637 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9640 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9644 # Older versions of the 11.00 compiler do not understand -b yet
9645 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9647 $as_echo_n "checking if $CC understands -b... " >&6; }
9648 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9649 $as_echo_n "(cached) " >&6
9651 lt_cv_prog_compiler__b=no
9652 save_LDFLAGS="$LDFLAGS"
9653 LDFLAGS="$LDFLAGS -b"
9654 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9655 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9656 # The linker can only warn and ignore the option if not recognized
9657 # So say no if there are warnings
9658 if test -s conftest.err; then
9659 # Append any errors to the config.log.
9660 cat conftest.err 1>&5
9661 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9662 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9663 if diff conftest.exp conftest.er2 >/dev/null; then
9664 lt_cv_prog_compiler__b=yes
9667 lt_cv_prog_compiler__b=yes
9671 LDFLAGS="$save_LDFLAGS"
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9675 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9677 if test x"$lt_cv_prog_compiler__b" = xyes; then
9678 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9680 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9686 if test "$with_gnu_ld" = no; then
9687 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9688 hardcode_libdir_separator=:
9693 hardcode_shlibpath_var=no
9697 hardcode_direct_absolute=yes
9698 export_dynamic_flag_spec='${wl}-E'
9700 # hardcode_minus_L: Not really in the search PATH,
9701 # but as the default location of the library.
9702 hardcode_minus_L=yes
9708 irix5* | irix6* | nonstopux*)
9709 if test "$GCC" = yes; then
9710 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9711 # Try to use the -exported_symbol ld option, if it does not
9712 # work, assume that -exports_file does not work either and
9713 # implicitly export all symbols.
9714 # This should be the same for all languages, so no per-tag cache variable.
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9716 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9717 if test "${lt_cv_irix_exported_symbol+set}" = set; then :
9718 $as_echo_n "(cached) " >&6
9720 save_LDFLAGS="$LDFLAGS"
9721 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9724 int foo (void) { return 0; }
9726 if ac_fn_c_try_link "$LINENO"; then :
9727 lt_cv_irix_exported_symbol=yes
9729 lt_cv_irix_exported_symbol=no
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 LDFLAGS="$save_LDFLAGS"
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9736 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9737 if test "$lt_cv_irix_exported_symbol" = yes; then
9738 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9741 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9742 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9744 archive_cmds_need_lc='no'
9745 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9746 hardcode_libdir_separator=:
9748 link_all_deplibs=yes
9751 netbsd* | netbsdelf*-gnu)
9752 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9753 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9755 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9757 hardcode_libdir_flag_spec='-R$libdir'
9759 hardcode_shlibpath_var=no
9763 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9765 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9766 hardcode_libdir_separator=:
9767 hardcode_shlibpath_var=no
9774 if test -f /usr/libexec/ld.so; then
9776 hardcode_shlibpath_var=no
9777 hardcode_direct_absolute=yes
9778 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9779 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9780 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9781 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9782 export_dynamic_flag_spec='${wl}-E'
9785 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9786 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9787 hardcode_libdir_flag_spec='-R$libdir'
9790 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9791 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9801 hardcode_libdir_flag_spec='-L$libdir'
9802 hardcode_minus_L=yes
9803 allow_undefined_flag=unsupported
9804 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'
9805 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9809 if test "$GCC" = yes; then
9810 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9811 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9813 allow_undefined_flag=' -expect_unresolved \*'
9814 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9816 archive_cmds_need_lc='no'
9817 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9818 hardcode_libdir_separator=:
9821 osf4* | osf5*) # as osf3* with the addition of -msym flag
9822 if test "$GCC" = yes; then
9823 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9824 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9825 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9827 allow_undefined_flag=' -expect_unresolved \*'
9828 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9829 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~
9830 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9832 # Both c and cxx compiler support -rpath directly
9833 hardcode_libdir_flag_spec='-rpath $libdir'
9835 archive_cmds_need_lc='no'
9836 hardcode_libdir_separator=:
9840 no_undefined_flag=' -z defs'
9841 if test "$GCC" = yes; then
9843 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9844 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9845 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9847 case `$CC -V 2>&1` in
9850 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9851 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9852 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9856 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9857 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9858 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9862 hardcode_libdir_flag_spec='-R$libdir'
9863 hardcode_shlibpath_var=no
9865 solaris2.[0-5] | solaris2.[0-5].*) ;;
9867 # The compiler driver will combine and reorder linker options,
9868 # but understands `-z linker_flag'. GCC discards it without `$wl',
9869 # but is careful enough not to reorder.
9870 # Supported since Solaris 2.6 (maybe 2.5.1?)
9871 if test "$GCC" = yes; then
9872 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9874 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9878 link_all_deplibs=yes
9882 if test "x$host_vendor" = xsequent; then
9883 # Use $CC to link under sequent, because it throws in some extra .o
9884 # files that make .init and .fini sections work.
9885 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9887 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_libdir_flag_spec='-L$libdir'
9891 hardcode_minus_L=yes
9892 hardcode_shlibpath_var=no
9896 case $host_vendor in
9898 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9899 hardcode_direct=yes # is this really true???
9902 ## LD is ld it makes a PLAMLIB
9903 ## CC just makes a GrossModule.
9904 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9905 reload_cmds='$CC -r -o $output$reload_objs'
9909 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9910 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9913 runpath_var='LD_RUN_PATH'
9914 hardcode_shlibpath_var=no
9918 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919 hardcode_shlibpath_var=no
9920 export_dynamic_flag_spec='-Bexport'
9924 if test -d /usr/nec; then
9925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_shlibpath_var=no
9927 runpath_var=LD_RUN_PATH
9928 hardcode_runpath_var=yes
9933 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9934 no_undefined_flag='${wl}-z,text'
9935 archive_cmds_need_lc=no
9936 hardcode_shlibpath_var=no
9937 runpath_var='LD_RUN_PATH'
9939 if test "$GCC" = yes; then
9940 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9941 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9944 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9948 sysv5* | sco3.2v5* | sco5v6*)
9949 # Note: We can NOT use -z defs as we might desire, because we do not
9950 # link with -lc, and that would cause any symbols used from libc to
9951 # always be unresolved, which means just about no library would
9952 # ever link correctly. If we're not using GNU ld we use -z text
9953 # though, which does catch some bad symbols but isn't as heavy-handed
9955 no_undefined_flag='${wl}-z,text'
9956 allow_undefined_flag='${wl}-z,nodefs'
9957 archive_cmds_need_lc=no
9958 hardcode_shlibpath_var=no
9959 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9960 hardcode_libdir_separator=':'
9961 link_all_deplibs=yes
9962 export_dynamic_flag_spec='${wl}-Bexport'
9963 runpath_var='LD_RUN_PATH'
9965 if test "$GCC" = yes; then
9966 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9967 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9969 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9970 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9975 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9976 hardcode_libdir_flag_spec='-L$libdir'
9977 hardcode_shlibpath_var=no
9985 if test x$host_vendor = xsni; then
9987 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9988 export_dynamic_flag_spec='${wl}-Blargedynsym'
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9995 $as_echo "$ld_shlibs" >&6; }
9996 test "$ld_shlibs" = no && can_build_shared=no
9998 with_gnu_ld=$with_gnu_ld
10015 # Do we need to explicitly link libc?
10017 case "x$archive_cmds_need_lc" in
10019 # Assume -lc should be added
10020 archive_cmds_need_lc=yes
10022 if test "$enable_shared" = yes && test "$GCC" = yes; then
10023 case $archive_cmds in
10025 # FIXME: we may have to deal with multi-command sequences.
10028 # Test whether the compiler implicitly links with -lc since on some
10029 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10030 # to ld, don't add -lc before -lgcc.
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10032 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10033 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10034 $as_echo_n "(cached) " >&6
10037 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10040 (eval $ac_compile) 2>&5
10042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10043 test $ac_status = 0; } 2>conftest.err; then
10046 libobjs=conftest.$ac_objext
10048 wl=$lt_prog_compiler_wl
10049 pic_flag=$lt_prog_compiler_pic
10055 lt_save_allow_undefined_flag=$allow_undefined_flag
10056 allow_undefined_flag=
10057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10058 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10061 test $ac_status = 0; }
10063 lt_cv_archive_cmds_need_lc=no
10065 lt_cv_archive_cmds_need_lc=yes
10067 allow_undefined_flag=$lt_save_allow_undefined_flag
10069 cat conftest.err 1>&5
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10075 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10076 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10235 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10237 if test "$GCC" = yes; then
10239 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10240 *) lt_awk_arg="/^libraries:/" ;;
10243 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10244 *) lt_sed_strip_eq="s,=/,/,g" ;;
10246 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10247 case $lt_search_path_spec in
10249 # if the path contains ";" then we assume it to be the separator
10250 # otherwise default to the standard path separator (i.e. ":") - it is
10251 # assumed that no part of a normal pathname contains ";" but that should
10252 # okay in the real world where ";" in dirpaths is itself problematic.
10253 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10256 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10259 # Ok, now we have the path, separated by spaces, we can step through it
10260 # and add multilib dir if necessary.
10261 lt_tmp_lt_search_path_spec=
10262 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10263 for lt_sys_path in $lt_search_path_spec; do
10264 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10265 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10267 test -d "$lt_sys_path" && \
10268 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10271 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10272 BEGIN {RS=" "; FS="/|\n";} {
10275 for (lt_i = NF; lt_i > 0; lt_i--) {
10276 if ($lt_i != "" && $lt_i != ".") {
10277 if ($lt_i == "..") {
10280 if (lt_count == 0) {
10281 lt_foo="/" $lt_i lt_foo;
10288 if (lt_foo != "") { lt_freq[lt_foo]++; }
10289 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10291 # AWK program above erroneously prepends '/' to C:/dos/paths
10294 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10295 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10297 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10299 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10301 library_names_spec=
10302 libname_spec='lib$name'
10306 postuninstall_cmds=
10310 shlibpath_overrides_runpath=unknown
10312 dynamic_linker="$host_os ld.so"
10313 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10314 need_lib_prefix=unknown
10315 hardcode_into_libs=no
10317 # when you set need_version to no, make sure it does not cause -set_version
10318 # flags to be left without arguments
10319 need_version=unknown
10323 version_type=linux # correct to gnu/linux during the next big refactor
10324 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10325 shlibpath_var=LIBPATH
10327 # AIX 3 has no versioning support, so we append a major version to the name.
10328 soname_spec='${libname}${release}${shared_ext}$major'
10332 version_type=linux # correct to gnu/linux during the next big refactor
10335 hardcode_into_libs=yes
10336 if test "$host_cpu" = ia64; then
10337 # AIX 5 supports IA64
10338 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10339 shlibpath_var=LD_LIBRARY_PATH
10341 # With GCC up to 2.95.x, collect2 would create an import file
10342 # for dependence libraries. The import file would start with
10343 # the line `#! .'. This would cause the generated library to
10344 # depend on `.', always an invalid library. This was fixed in
10345 # development snapshots of GCC prior to 3.0.
10347 aix4 | aix4.[01] | aix4.[01].*)
10348 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10350 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10353 can_build_shared=no
10357 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10358 # soname into executable. Probably we can add versioning support to
10359 # collect2, so additional links can be useful in future.
10360 if test "$aix_use_runtimelinking" = yes; then
10361 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10362 # instead of lib<name>.a to let people know that these are not
10363 # typical AIX shared libraries.
10364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10366 # We preserve .a as extension for shared libraries through AIX4.2
10367 # and later when we are not doing run time linking.
10368 library_names_spec='${libname}${release}.a $libname.a'
10369 soname_spec='${libname}${release}${shared_ext}$major'
10371 shlibpath_var=LIBPATH
10378 # Since July 2007 AmigaOS4 officially supports .so libraries.
10379 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10383 library_names_spec='$libname.ixlibrary $libname.a'
10384 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10385 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10391 library_names_spec='${libname}${shared_ext}'
10392 dynamic_linker="$host_os ld.so"
10393 shlibpath_var=LIBRARY_PATH
10397 version_type=linux # correct to gnu/linux during the next big refactor
10399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10400 soname_spec='${libname}${release}${shared_ext}$major'
10401 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10402 shlibpath_var=LD_LIBRARY_PATH
10403 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10404 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10405 # the default ld.so.conf also contains /usr/contrib/lib and
10406 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10407 # libtool to hard-code these into programs
10410 cygwin* | mingw* | pw32* | cegcc*)
10411 version_type=windows
10416 case $GCC,$cc_basename in
10419 library_names_spec='$libname.dll.a'
10420 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10421 postinstall_cmds='base_file=`basename \${file}`~
10422 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10423 dldir=$destdir/`dirname \$dlpath`~
10424 test -d \$dldir || mkdir -p \$dldir~
10425 $install_prog $dir/$dlname \$dldir/$dlname~
10426 chmod a+x \$dldir/$dlname~
10427 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10428 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10430 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10431 dlpath=$dir/\$dldll~
10433 shlibpath_overrides_runpath=yes
10437 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10438 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10440 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10443 # MinGW DLLs use traditional 'lib' prefix
10444 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10447 # pw32 DLLs use 'pw' prefix rather than 'lib'
10448 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10451 dynamic_linker='Win32 ld.exe'
10456 libname_spec='$name'
10457 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10458 library_names_spec='${libname}.dll.lib'
10462 sys_lib_search_path_spec=
10465 for lt_path in $LIB
10468 # Let DOS variable expansion print the short 8.3 style file name.
10469 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10470 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10473 # Convert to MSYS style.
10474 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10477 # Convert to unix form, then to dos form, then back to unix form
10478 # but this time dos style (no spaces!) so that the unix form looks
10479 # like /cygdrive/c/PROGRA~1:/cygdr...
10480 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10481 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10482 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10485 sys_lib_search_path_spec="$LIB"
10486 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10487 # It is most probably a Windows format PATH.
10488 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10490 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10492 # FIXME: find the short name or the path components, as spaces are
10493 # common. (e.g. "Program Files" -> "PROGRA~1")
10497 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10498 postinstall_cmds='base_file=`basename \${file}`~
10499 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10500 dldir=$destdir/`dirname \$dlpath`~
10501 test -d \$dldir || mkdir -p \$dldir~
10502 $install_prog $dir/$dlname \$dldir/$dlname'
10503 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10504 dlpath=$dir/\$dldll~
10506 shlibpath_overrides_runpath=yes
10507 dynamic_linker='Win32 link.exe'
10511 # Assume MSVC wrapper
10512 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10513 dynamic_linker='Win32 ld.exe'
10516 # FIXME: first we should search . and the directory the executable is in
10520 darwin* | rhapsody*)
10521 dynamic_linker="$host_os dyld"
10522 version_type=darwin
10525 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10526 soname_spec='${libname}${release}${major}$shared_ext'
10527 shlibpath_overrides_runpath=yes
10528 shlibpath_var=DYLD_LIBRARY_PATH
10529 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10531 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10532 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10536 version_type=linux # correct to gnu/linux during the next big refactor
10539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10540 soname_spec='${libname}${release}${shared_ext}$major'
10541 shlibpath_var=LD_LIBRARY_PATH
10544 freebsd* | dragonfly*)
10545 # DragonFly does not have aout. When/if they implement a new
10546 # versioning mechanism, adjust this.
10547 if test -x /usr/bin/objformat; then
10548 objformat=`/usr/bin/objformat`
10551 freebsd[23].*) objformat=aout ;;
10552 *) objformat=elf ;;
10555 version_type=freebsd-$objformat
10556 case $version_type in
10558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10563 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10567 shlibpath_var=LD_LIBRARY_PATH
10570 shlibpath_overrides_runpath=yes
10572 freebsd3.[01]* | freebsdelf3.[01]*)
10573 shlibpath_overrides_runpath=yes
10574 hardcode_into_libs=yes
10576 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10577 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10578 shlibpath_overrides_runpath=no
10579 hardcode_into_libs=yes
10581 *) # from 4.6 on, and DragonFly
10582 shlibpath_overrides_runpath=yes
10583 hardcode_into_libs=yes
10589 version_type=linux # correct to gnu/linux during the next big refactor
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10593 soname_spec='${libname}${release}${shared_ext}$major'
10594 shlibpath_var=LD_LIBRARY_PATH
10595 shlibpath_overrides_runpath=no
10596 hardcode_into_libs=yes
10600 version_type=linux # correct to gnu/linux during the next big refactor
10603 dynamic_linker="$host_os runtime_loader"
10604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10605 soname_spec='${libname}${release}${shared_ext}$major'
10606 shlibpath_var=LIBRARY_PATH
10607 shlibpath_overrides_runpath=yes
10608 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10609 hardcode_into_libs=yes
10612 hpux9* | hpux10* | hpux11*)
10613 # Give a soname corresponding to the major version so that dld.sl refuses to
10614 # link against other versions.
10621 hardcode_into_libs=yes
10622 dynamic_linker="$host_os dld.so"
10623 shlibpath_var=LD_LIBRARY_PATH
10624 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10626 soname_spec='${libname}${release}${shared_ext}$major'
10627 if test "X$HPUX_IA64_MODE" = X32; then
10628 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10630 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10632 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10636 hardcode_into_libs=yes
10637 dynamic_linker="$host_os dld.sl"
10638 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10639 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10641 soname_spec='${libname}${release}${shared_ext}$major'
10642 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10643 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10647 dynamic_linker="$host_os dld.sl"
10648 shlibpath_var=SHLIB_PATH
10649 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10651 soname_spec='${libname}${release}${shared_ext}$major'
10654 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10655 postinstall_cmds='chmod 555 $lib'
10656 # or fails outright, so override atomically:
10657 install_override_mode=555
10661 version_type=linux # correct to gnu/linux during the next big refactor
10664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10665 soname_spec='${libname}${release}${shared_ext}$major'
10666 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10667 shlibpath_var=LD_LIBRARY_PATH
10668 shlibpath_overrides_runpath=no
10669 hardcode_into_libs=yes
10672 irix5* | irix6* | nonstopux*)
10674 nonstopux*) version_type=nonstopux ;;
10676 if test "$lt_cv_prog_gnu_ld" = yes; then
10677 version_type=linux # correct to gnu/linux during the next big refactor
10684 soname_spec='${libname}${release}${shared_ext}$major'
10685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10687 irix5* | nonstopux*)
10688 libsuff= shlibsuff=
10691 case $LD in # libtool.m4 will add one of these switches to LD
10692 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10693 libsuff= shlibsuff= libmagic=32-bit;;
10694 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10695 libsuff=32 shlibsuff=N32 libmagic=N32;;
10696 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10697 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10698 *) libsuff= shlibsuff= libmagic=never-match;;
10702 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10703 shlibpath_overrides_runpath=no
10704 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10705 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10706 hardcode_into_libs=yes
10709 # No shared lib support for Linux oldld, aout, or coff.
10710 linux*oldld* | linux*aout* | linux*coff*)
10714 # This must be glibc/ELF.
10715 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10716 version_type=linux # correct to gnu/linux during the next big refactor
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10722 shlibpath_var=LD_LIBRARY_PATH
10723 shlibpath_overrides_runpath=no
10725 # Some binutils ld are patched to set DT_RUNPATH
10726 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10727 $as_echo_n "(cached) " >&6
10729 lt_cv_shlibpath_overrides_runpath=no
10730 save_LDFLAGS=$LDFLAGS
10731 save_libdir=$libdir
10732 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10733 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10745 if ac_fn_c_try_link "$LINENO"; then :
10746 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10747 lt_cv_shlibpath_overrides_runpath=yes
10750 rm -f core conftest.err conftest.$ac_objext \
10751 conftest$ac_exeext conftest.$ac_ext
10752 LDFLAGS=$save_LDFLAGS
10753 libdir=$save_libdir
10757 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10759 # This implies no fast_install, which is unacceptable.
10760 # Some rework will be needed to allow for fast_install
10761 # before this can be enabled.
10762 hardcode_into_libs=yes
10764 # Append ld.so.conf contents to the search path
10765 if test -f /etc/ld.so.conf; then
10766 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;s/"//g;/^$/d' | tr '\n' ' '`
10767 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10770 # We used to test for /lib/ld.so.1 and disable shared libraries on
10771 # powerpc, because MkLinux only supported shared libraries with the
10772 # GNU dynamic linker. Since this was broken with cross compilers,
10773 # most powerpc-linux boxes support dynamic linking these days and
10774 # people can always --disable-shared, the test was removed, and we
10775 # assume the GNU/Linux dynamic linker is in use.
10776 dynamic_linker='GNU/Linux ld.so'
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10784 soname_spec='${libname}${release}${shared_ext}$major'
10785 shlibpath_var=LD_LIBRARY_PATH
10786 shlibpath_overrides_runpath=no
10787 hardcode_into_libs=yes
10788 dynamic_linker='NetBSD ld.elf_so'
10795 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10797 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10798 dynamic_linker='NetBSD (a.out) ld.so'
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10801 soname_spec='${libname}${release}${shared_ext}$major'
10802 dynamic_linker='NetBSD ld.elf_so'
10804 shlibpath_var=LD_LIBRARY_PATH
10805 shlibpath_overrides_runpath=yes
10806 hardcode_into_libs=yes
10810 version_type=linux # correct to gnu/linux during the next big refactor
10811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10812 shlibpath_var=LD_LIBRARY_PATH
10813 shlibpath_overrides_runpath=yes
10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10821 soname_spec='${libname}${release}${shared_ext}$major'
10822 shlibpath_var=LD_LIBRARY_PATH
10823 shlibpath_overrides_runpath=no
10824 hardcode_into_libs=yes
10825 dynamic_linker='ldqnx.so'
10830 sys_lib_dlsearch_path_spec="/usr/lib"
10832 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10834 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10835 *) need_version=no ;;
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10838 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10839 shlibpath_var=LD_LIBRARY_PATH
10840 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10842 openbsd2.[89] | openbsd2.[89].*)
10843 shlibpath_overrides_runpath=no
10846 shlibpath_overrides_runpath=yes
10850 shlibpath_overrides_runpath=yes
10855 libname_spec='$name'
10858 library_names_spec='$libname${shared_ext} $libname.a'
10859 dynamic_linker='OS/2 ld.exe'
10860 shlibpath_var=LIBPATH
10863 osf3* | osf4* | osf5*)
10867 soname_spec='${libname}${release}${shared_ext}$major'
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 shlibpath_var=LD_LIBRARY_PATH
10870 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10871 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10879 version_type=linux # correct to gnu/linux during the next big refactor
10882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10883 soname_spec='${libname}${release}${shared_ext}$major'
10884 shlibpath_var=LD_LIBRARY_PATH
10885 shlibpath_overrides_runpath=yes
10886 hardcode_into_libs=yes
10887 # ldd complains unless libraries are executable
10888 postinstall_cmds='chmod +x $lib'
10893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10894 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10895 shlibpath_var=LD_LIBRARY_PATH
10896 shlibpath_overrides_runpath=yes
10897 if test "$with_gnu_ld" = yes; then
10904 version_type=linux # correct to gnu/linux during the next big refactor
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 case $host_vendor in
10910 shlibpath_overrides_runpath=no
10912 runpath_var=LD_RUN_PATH
10920 shlibpath_overrides_runpath=no
10921 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10927 if test -d /usr/nec ;then
10928 version_type=linux # correct to gnu/linux during the next big refactor
10929 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10930 soname_spec='$libname${shared_ext}.$major'
10931 shlibpath_var=LD_LIBRARY_PATH
10935 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10936 version_type=freebsd-elf
10939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10940 soname_spec='${libname}${release}${shared_ext}$major'
10941 shlibpath_var=LD_LIBRARY_PATH
10942 shlibpath_overrides_runpath=yes
10943 hardcode_into_libs=yes
10944 if test "$with_gnu_ld" = yes; then
10945 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10947 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10950 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10954 sys_lib_dlsearch_path_spec='/usr/lib'
10958 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10959 version_type=linux # correct to gnu/linux during the next big refactor
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10963 shlibpath_var=LD_LIBRARY_PATH
10964 shlibpath_overrides_runpath=no
10965 hardcode_into_libs=yes
10969 version_type=linux # correct to gnu/linux during the next big refactor
10970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10971 soname_spec='${libname}${release}${shared_ext}$major'
10972 shlibpath_var=LD_LIBRARY_PATH
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10980 $as_echo "$dynamic_linker" >&6; }
10981 test "$dynamic_linker" = no && can_build_shared=no
10983 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10984 if test "$GCC" = yes; then
10985 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10988 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10989 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10991 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10992 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11087 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11089 if test -n "$hardcode_libdir_flag_spec" ||
11090 test -n "$runpath_var" ||
11091 test "X$hardcode_automatic" = "Xyes" ; then
11093 # We can hardcode non-existent directories.
11094 if test "$hardcode_direct" != no &&
11095 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11096 # have to relink, otherwise we might link with an installed library
11097 # when we should be linking with a yet-to-be-installed one
11098 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11099 test "$hardcode_minus_L" != no; then
11100 # Linking always hardcodes the temporary library directory.
11101 hardcode_action=relink
11103 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11104 hardcode_action=immediate
11107 # We cannot hardcode anything, or else we can only hardcode existing
11109 hardcode_action=unsupported
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11112 $as_echo "$hardcode_action" >&6; }
11114 if test "$hardcode_action" = relink ||
11115 test "$inherit_rpath" = yes; then
11116 # Fast installation is not supported
11117 enable_fast_install=no
11118 elif test "$shlibpath_overrides_runpath" = yes ||
11119 test "$enable_shared" = no; then
11120 # Fast installation is not necessary
11121 enable_fast_install=needless
11129 if test "x$enable_dlopen" != xyes; then
11130 enable_dlopen=unknown
11131 enable_dlopen_self=unknown
11132 enable_dlopen_self_static=unknown
11139 lt_cv_dlopen="load_add_on"
11141 lt_cv_dlopen_self=yes
11144 mingw* | pw32* | cegcc*)
11145 lt_cv_dlopen="LoadLibrary"
11150 lt_cv_dlopen="dlopen"
11155 # if libdl is installed we need to link against it
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11157 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11158 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11159 $as_echo_n "(cached) " >&6
11161 ac_check_lib_save_LIBS=$LIBS
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11181 if ac_fn_c_try_link "$LINENO"; then :
11182 ac_cv_lib_dl_dlopen=yes
11184 ac_cv_lib_dl_dlopen=no
11186 rm -f core conftest.err conftest.$ac_objext \
11187 conftest$ac_exeext conftest.$ac_ext
11188 LIBS=$ac_check_lib_save_LIBS
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11191 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11192 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11193 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11196 lt_cv_dlopen="dyld"
11198 lt_cv_dlopen_self=yes
11205 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11206 if test "x$ac_cv_func_shl_load" = x""yes; then :
11207 lt_cv_dlopen="shl_load"
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11210 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11211 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11212 $as_echo_n "(cached) " >&6
11214 ac_check_lib_save_LIBS=$LIBS
11216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11219 /* Override any GCC internal prototype to avoid an error.
11220 Use char because int might match the return type of a GCC
11221 builtin and then its argument prototype would still apply. */
11229 return shl_load ();
11234 if ac_fn_c_try_link "$LINENO"; then :
11235 ac_cv_lib_dld_shl_load=yes
11237 ac_cv_lib_dld_shl_load=no
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_lib_save_LIBS
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11244 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11245 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11246 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11248 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11249 if test "x$ac_cv_func_dlopen" = x""yes; then :
11250 lt_cv_dlopen="dlopen"
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11253 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11254 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11255 $as_echo_n "(cached) " >&6
11257 ac_check_lib_save_LIBS=$LIBS
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11262 /* Override any GCC internal prototype to avoid an error.
11263 Use char because int might match the return type of a GCC
11264 builtin and then its argument prototype would still apply. */
11277 if ac_fn_c_try_link "$LINENO"; then :
11278 ac_cv_lib_dl_dlopen=yes
11280 ac_cv_lib_dl_dlopen=no
11282 rm -f core conftest.err conftest.$ac_objext \
11283 conftest$ac_exeext conftest.$ac_ext
11284 LIBS=$ac_check_lib_save_LIBS
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11287 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11288 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11289 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11292 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11293 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11294 $as_echo_n "(cached) " >&6
11296 ac_check_lib_save_LIBS=$LIBS
11297 LIBS="-lsvld $LIBS"
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11316 if ac_fn_c_try_link "$LINENO"; then :
11317 ac_cv_lib_svld_dlopen=yes
11319 ac_cv_lib_svld_dlopen=no
11321 rm -f core conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 LIBS=$ac_check_lib_save_LIBS
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11326 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11327 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11328 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11331 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11332 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11333 $as_echo_n "(cached) " >&6
11335 ac_check_lib_save_LIBS=$LIBS
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11350 return dld_link ();
11355 if ac_fn_c_try_link "$LINENO"; then :
11356 ac_cv_lib_dld_dld_link=yes
11358 ac_cv_lib_dld_dld_link=no
11360 rm -f core conftest.err conftest.$ac_objext \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_lib_save_LIBS
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11365 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11366 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11367 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11388 if test "x$lt_cv_dlopen" != xno; then
11394 case $lt_cv_dlopen in
11396 save_CPPFLAGS="$CPPFLAGS"
11397 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11399 save_LDFLAGS="$LDFLAGS"
11400 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11403 LIBS="$lt_cv_dlopen_libs $LIBS"
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11406 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11407 if test "${lt_cv_dlopen_self+set}" = set; then :
11408 $as_echo_n "(cached) " >&6
11410 if test "$cross_compiling" = yes; then :
11411 lt_cv_dlopen_self=cross
11413 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11414 lt_status=$lt_dlunknown
11415 cat > conftest.$ac_ext <<_LT_EOF
11416 #line $LINENO "configure"
11417 #include "confdefs.h"
11426 # define LT_DLGLOBAL RTLD_GLOBAL
11429 # define LT_DLGLOBAL DL_GLOBAL
11431 # define LT_DLGLOBAL 0
11435 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11436 find out it does not work in some platform. */
11437 #ifndef LT_DLLAZY_OR_NOW
11439 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11442 # define LT_DLLAZY_OR_NOW DL_LAZY
11445 # define LT_DLLAZY_OR_NOW RTLD_NOW
11448 # define LT_DLLAZY_OR_NOW DL_NOW
11450 # define LT_DLLAZY_OR_NOW 0
11457 /* When -fvisbility=hidden is used, assume the code has been annotated
11458 correspondingly for the symbols needed. */
11459 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11460 int fnord () __attribute__((visibility("default")));
11463 int fnord () { return 42; }
11466 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11467 int status = $lt_dlunknown;
11471 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11474 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11475 else puts (dlerror ());
11477 /* dlclose (self); */
11485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11486 (eval $ac_link) 2>&5
11488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11489 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11490 (./conftest; exit; ) >&5 2>/dev/null
11492 case x$lt_status in
11493 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11494 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11495 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11498 # compilation failed
11499 lt_cv_dlopen_self=no
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11507 $as_echo "$lt_cv_dlopen_self" >&6; }
11509 if test "x$lt_cv_dlopen_self" = xyes; then
11510 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11512 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11513 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11514 $as_echo_n "(cached) " >&6
11516 if test "$cross_compiling" = yes; then :
11517 lt_cv_dlopen_self_static=cross
11519 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11520 lt_status=$lt_dlunknown
11521 cat > conftest.$ac_ext <<_LT_EOF
11522 #line $LINENO "configure"
11523 #include "confdefs.h"
11532 # define LT_DLGLOBAL RTLD_GLOBAL
11535 # define LT_DLGLOBAL DL_GLOBAL
11537 # define LT_DLGLOBAL 0
11541 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11542 find out it does not work in some platform. */
11543 #ifndef LT_DLLAZY_OR_NOW
11545 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11548 # define LT_DLLAZY_OR_NOW DL_LAZY
11551 # define LT_DLLAZY_OR_NOW RTLD_NOW
11554 # define LT_DLLAZY_OR_NOW DL_NOW
11556 # define LT_DLLAZY_OR_NOW 0
11563 /* When -fvisbility=hidden is used, assume the code has been annotated
11564 correspondingly for the symbols needed. */
11565 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11566 int fnord () __attribute__((visibility("default")));
11569 int fnord () { return 42; }
11572 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11573 int status = $lt_dlunknown;
11577 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11580 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11581 else puts (dlerror ());
11583 /* dlclose (self); */
11591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11592 (eval $ac_link) 2>&5
11594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11595 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11596 (./conftest; exit; ) >&5 2>/dev/null
11598 case x$lt_status in
11599 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11600 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11601 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11604 # compilation failed
11605 lt_cv_dlopen_self_static=no
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11613 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11616 CPPFLAGS="$save_CPPFLAGS"
11617 LDFLAGS="$save_LDFLAGS"
11622 case $lt_cv_dlopen_self in
11623 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11624 *) enable_dlopen_self=unknown ;;
11627 case $lt_cv_dlopen_self_static in
11628 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11629 *) enable_dlopen_self_static=unknown ;;
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11652 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11653 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11654 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11655 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11657 $as_echo "yes" >&6; }
11659 # FIXME - insert some real tests, host_os isn't really good enough
11662 if test -n "$STRIP" ; then
11663 striplib="$STRIP -x"
11664 old_striplib="$STRIP -S"
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11666 $as_echo "yes" >&6; }
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11669 $as_echo "no" >&6; }
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11674 $as_echo "no" >&6; }
11690 # Report which library types will actually be built
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11692 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11694 $as_echo "$can_build_shared" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11697 $as_echo_n "checking whether to build shared libraries... " >&6; }
11698 test "$can_build_shared" = "no" && enable_shared=no
11700 # On AIX, shared libraries and static libraries use the same namespace, and
11701 # are all built from PIC.
11704 test "$enable_shared" = yes && enable_static=no
11705 if test -n "$RANLIB"; then
11706 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11707 postinstall_cmds='$RANLIB $lib'
11712 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11713 test "$enable_shared" = yes && enable_static=no
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11718 $as_echo "$enable_shared" >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11721 $as_echo_n "checking whether to build static libraries... " >&6; }
11722 # Make sure either enable_shared or enable_static is yes.
11723 test "$enable_shared" = yes || enable_static=yes
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11725 $as_echo "$enable_static" >&6; }
11732 ac_cpp='$CPP $CPPFLAGS'
11733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11753 ac_config_commands="$ac_config_commands libtool"
11758 # Only expand once:
11762 # Checks for programs.
11770 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11771 if test -n "$ac_tool_prefix"; then
11772 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11773 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11775 $as_echo_n "checking for $ac_word... " >&6; }
11776 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11777 $as_echo_n "(cached) " >&6
11779 case $PKG_CONFIG in
11781 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11785 for as_dir in $PATH
11788 test -z "$as_dir" && as_dir=.
11789 for ac_exec_ext in '' $ac_executable_extensions; do
11790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11791 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11802 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11803 if test -n "$PKG_CONFIG"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11805 $as_echo "$PKG_CONFIG" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11813 if test -z "$ac_cv_path_PKG_CONFIG"; then
11814 ac_pt_PKG_CONFIG=$PKG_CONFIG
11815 # Extract the first word of "pkg-config", so it can be a program name with args.
11816 set dummy pkg-config; ac_word=$2
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11818 $as_echo_n "checking for $ac_word... " >&6; }
11819 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11820 $as_echo_n "(cached) " >&6
11822 case $ac_pt_PKG_CONFIG in
11824 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11828 for as_dir in $PATH
11831 test -z "$as_dir" && as_dir=.
11832 for ac_exec_ext in '' $ac_executable_extensions; do
11833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11834 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11845 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11846 if test -n "$ac_pt_PKG_CONFIG"; then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11848 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11851 $as_echo "no" >&6; }
11854 if test "x$ac_pt_PKG_CONFIG" = x; then
11857 case $cross_compiling:$ac_tool_warned in
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11861 ac_tool_warned=yes ;;
11863 PKG_CONFIG=$ac_pt_PKG_CONFIG
11866 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11870 if test -n "$PKG_CONFIG"; then
11871 _pkg_min_version=0.23
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11873 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11874 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11876 $as_echo "yes" >&6; }
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11879 $as_echo "no" >&6; }
11884 ac_cpp='$CPP $CPPFLAGS'
11885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11888 if test -n "$ac_tool_prefix"; then
11889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11892 $as_echo_n "checking for $ac_word... " >&6; }
11893 if test "${ac_cv_prog_CC+set}" = set; then :
11894 $as_echo_n "(cached) " >&6
11896 if test -n "$CC"; then
11897 ac_cv_prog_CC="$CC" # Let the user override the test.
11899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11900 for as_dir in $PATH
11903 test -z "$as_dir" && as_dir=.
11904 for ac_exec_ext in '' $ac_executable_extensions; do
11905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11906 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11917 if test -n "$CC"; then
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11919 $as_echo "$CC" >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11922 $as_echo "no" >&6; }
11927 if test -z "$ac_cv_prog_CC"; then
11929 # Extract the first word of "gcc", so it can be a program name with args.
11930 set dummy gcc; ac_word=$2
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11932 $as_echo_n "checking for $ac_word... " >&6; }
11933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11934 $as_echo_n "(cached) " >&6
11936 if test -n "$ac_ct_CC"; then
11937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11940 for as_dir in $PATH
11943 test -z "$as_dir" && as_dir=.
11944 for ac_exec_ext in '' $ac_executable_extensions; do
11945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11946 ac_cv_prog_ac_ct_CC="gcc"
11947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11957 if test -n "$ac_ct_CC"; then
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11959 $as_echo "$ac_ct_CC" >&6; }
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11962 $as_echo "no" >&6; }
11965 if test "x$ac_ct_CC" = x; then
11968 case $cross_compiling:$ac_tool_warned in
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11972 ac_tool_warned=yes ;;
11977 CC="$ac_cv_prog_CC"
11980 if test -z "$CC"; then
11981 if test -n "$ac_tool_prefix"; then
11982 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11983 set dummy ${ac_tool_prefix}cc; ac_word=$2
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11985 $as_echo_n "checking for $ac_word... " >&6; }
11986 if test "${ac_cv_prog_CC+set}" = set; then :
11987 $as_echo_n "(cached) " >&6
11989 if test -n "$CC"; then
11990 ac_cv_prog_CC="$CC" # Let the user override the test.
11992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11993 for as_dir in $PATH
11996 test -z "$as_dir" && as_dir=.
11997 for ac_exec_ext in '' $ac_executable_extensions; do
11998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11999 ac_cv_prog_CC="${ac_tool_prefix}cc"
12000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12010 if test -n "$CC"; then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12012 $as_echo "$CC" >&6; }
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12015 $as_echo "no" >&6; }
12021 if test -z "$CC"; then
12022 # Extract the first word of "cc", so it can be a program name with args.
12023 set dummy cc; ac_word=$2
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12025 $as_echo_n "checking for $ac_word... " >&6; }
12026 if test "${ac_cv_prog_CC+set}" = set; then :
12027 $as_echo_n "(cached) " >&6
12029 if test -n "$CC"; then
12030 ac_cv_prog_CC="$CC" # Let the user override the test.
12032 ac_prog_rejected=no
12033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12034 for as_dir in $PATH
12037 test -z "$as_dir" && as_dir=.
12038 for ac_exec_ext in '' $ac_executable_extensions; do
12039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12040 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12041 ac_prog_rejected=yes
12045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12052 if test $ac_prog_rejected = yes; then
12053 # We found a bogon in the path, so make sure we never use it.
12054 set dummy $ac_cv_prog_CC
12056 if test $# != 0; then
12057 # We chose a different compiler from the bogus one.
12058 # However, it has the same basename, so the bogon will be chosen
12059 # first if we set CC to just the basename; use the full file name.
12061 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12067 if test -n "$CC"; then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12069 $as_echo "$CC" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12072 $as_echo "no" >&6; }
12077 if test -z "$CC"; then
12078 if test -n "$ac_tool_prefix"; then
12079 for ac_prog in cl.exe
12081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12084 $as_echo_n "checking for $ac_word... " >&6; }
12085 if test "${ac_cv_prog_CC+set}" = set; then :
12086 $as_echo_n "(cached) " >&6
12088 if test -n "$CC"; then
12089 ac_cv_prog_CC="$CC" # Let the user override the test.
12091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12092 for as_dir in $PATH
12095 test -z "$as_dir" && as_dir=.
12096 for ac_exec_ext in '' $ac_executable_extensions; do
12097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12098 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12109 if test -n "$CC"; then
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12111 $as_echo "$CC" >&6; }
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12114 $as_echo "no" >&6; }
12118 test -n "$CC" && break
12121 if test -z "$CC"; then
12123 for ac_prog in cl.exe
12125 # Extract the first word of "$ac_prog", so it can be a program name with args.
12126 set dummy $ac_prog; ac_word=$2
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12128 $as_echo_n "checking for $ac_word... " >&6; }
12129 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12130 $as_echo_n "(cached) " >&6
12132 if test -n "$ac_ct_CC"; then
12133 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12136 for as_dir in $PATH
12139 test -z "$as_dir" && as_dir=.
12140 for ac_exec_ext in '' $ac_executable_extensions; do
12141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12142 ac_cv_prog_ac_ct_CC="$ac_prog"
12143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12153 if test -n "$ac_ct_CC"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12155 $as_echo "$ac_ct_CC" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12162 test -n "$ac_ct_CC" && break
12165 if test "x$ac_ct_CC" = x; then
12168 case $cross_compiling:$ac_tool_warned in
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12172 ac_tool_warned=yes ;;
12181 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12183 as_fn_error $? "no acceptable C compiler found in \$PATH
12184 See \`config.log' for more details" "$LINENO" 5 ; }
12186 # Provide some information about the compiler.
12187 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12190 for ac_option in --version -v -V -qversion; do
12191 { { ac_try="$ac_compiler $ac_option >&5"
12192 case "(($ac_try" in
12193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12194 *) ac_try_echo=$ac_try;;
12196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12197 $as_echo "$ac_try_echo"; } >&5
12198 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12200 if test -s conftest.err; then
12202 ... rest of stderr output deleted ...
12203 10q' conftest.err >conftest.er1
12204 cat conftest.er1 >&5
12206 rm -f conftest.er1 conftest.err
12207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12208 test $ac_status = 0; }
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12212 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12213 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12214 $as_echo_n "(cached) " >&6
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12230 if ac_fn_c_try_compile "$LINENO"; then :
12231 ac_compiler_gnu=yes
12235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12241 if test $ac_compiler_gnu = yes; then
12246 ac_test_CFLAGS=${CFLAGS+set}
12247 ac_save_CFLAGS=$CFLAGS
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12250 if test "${ac_cv_prog_cc_g+set}" = set; then :
12251 $as_echo_n "(cached) " >&6
12253 ac_save_c_werror_flag=$ac_c_werror_flag
12254 ac_c_werror_flag=yes
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12268 if ac_fn_c_try_compile "$LINENO"; then :
12269 ac_cv_prog_cc_g=yes
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12283 if ac_fn_c_try_compile "$LINENO"; then :
12286 ac_c_werror_flag=$ac_save_c_werror_flag
12288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12289 /* end confdefs.h. */
12299 if ac_fn_c_try_compile "$LINENO"; then :
12300 ac_cv_prog_cc_g=yes
12302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12307 ac_c_werror_flag=$ac_save_c_werror_flag
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12310 $as_echo "$ac_cv_prog_cc_g" >&6; }
12311 if test "$ac_test_CFLAGS" = set; then
12312 CFLAGS=$ac_save_CFLAGS
12313 elif test $ac_cv_prog_cc_g = yes; then
12314 if test "$GCC" = yes; then
12320 if test "$GCC" = yes; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12328 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12329 $as_echo_n "(cached) " >&6
12331 ac_cv_prog_cc_c89=no
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12335 #include <stdarg.h>
12337 #include <sys/types.h>
12338 #include <sys/stat.h>
12339 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12340 struct buf { int x; };
12341 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12342 static char *e (p, i)
12348 static char *f (char * (*g) (char **, int), char **p, ...)
12353 s = g (p, va_arg (v,int));
12358 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12359 function prototypes and stuff, but not '\xHH' hex character constants.
12360 These don't provoke an error unfortunately, instead are silently treated
12361 as 'x'. The following induces an error, until -std is added to get
12362 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12363 array size at least. It's necessary to write '\x00'==0 to get something
12364 that's true only with -std. */
12365 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12367 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12368 inside strings and character constants. */
12370 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12372 int test (int i, double x);
12373 struct s1 {int (*f) (int a);};
12374 struct s2 {int (*f) (double a);};
12375 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12381 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12386 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12387 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12389 CC="$ac_save_CC $ac_arg"
12390 if ac_fn_c_try_compile "$LINENO"; then :
12391 ac_cv_prog_cc_c89=$ac_arg
12393 rm -f core conftest.err conftest.$ac_objext
12394 test "x$ac_cv_prog_cc_c89" != "xno" && break
12396 rm -f conftest.$ac_ext
12401 case "x$ac_cv_prog_cc_c89" in
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12404 $as_echo "none needed" >&6; } ;;
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12407 $as_echo "unsupported" >&6; } ;;
12409 CC="$CC $ac_cv_prog_cc_c89"
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12411 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12413 if test "x$ac_cv_prog_cc_c89" != xno; then :
12418 ac_cpp='$CPP $CPPFLAGS'
12419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12423 depcc="$CC" am_compiler_list=
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12426 $as_echo_n "checking dependency style of $depcc... " >&6; }
12427 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12428 $as_echo_n "(cached) " >&6
12430 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12431 # We make a subdir and do the tests there. Otherwise we can end up
12432 # making bogus files that we don't know about and never remove. For
12433 # instance it was reported that on HP-UX the gcc test will end up
12434 # making a dummy file named `D' -- because `-MD' means `put the output
12437 # Copy depcomp to subdir because otherwise we won't find it if we're
12438 # using a relative directory.
12439 cp "$am_depcomp" conftest.dir
12441 # We will build objects and dependencies in a subdirectory because
12442 # it helps to detect inapplicable dependency modes. For instance
12443 # both Tru64's cc and ICC support -MD to output dependencies as a
12444 # side effect of compilation, but ICC will put the dependencies in
12445 # the current directory while Tru64 will put them in the object
12449 am_cv_CC_dependencies_compiler_type=none
12450 if test "$am_compiler_list" = ""; then
12451 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12453 am__universal=false
12454 case " $depcc " in #(
12455 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12458 for depmode in $am_compiler_list; do
12459 # Setup a source with many dependencies, because some compilers
12460 # like to wrap large dependency lists on column 80 (with \), and
12461 # we should not choose a depcomp mode which is confused by this.
12463 # We need to recreate these files for each test, as the compiler may
12464 # overwrite some of them when testing with obscure command lines.
12465 # This happens at least with the AIX C compiler.
12467 for i in 1 2 3 4 5 6; do
12468 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12469 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12470 # Solaris 8's {/usr,}/bin/sh.
12471 touch sub/conftst$i.h
12473 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12475 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12476 # mode. It turns out that the SunPro C++ compiler does not properly
12477 # handle `-M -o', and we need to detect this. Also, some Intel
12478 # versions had trouble with output in subdirs
12479 am__obj=sub/conftest.${OBJEXT-o}
12480 am__minus_obj="-o $am__obj"
12483 # This depmode causes a compiler race in universal mode.
12484 test "$am__universal" = false || continue
12487 # after this tag, mechanisms are not by side-effect, so they'll
12488 # only be used when explicitly requested
12489 if test "x$enable_dependency_tracking" = xyes; then
12495 msvisualcpp | msvcmsys)
12496 # This compiler won't grok `-c -o', but also, the minuso test has
12497 # not run yet. These depmodes are late enough in the game, and
12498 # so weak that their functioning should not be impacted.
12499 am__obj=conftest.${OBJEXT-o}
12504 if depmode=$depmode \
12505 source=sub/conftest.c object=$am__obj \
12506 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12507 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12508 >/dev/null 2>conftest.err &&
12509 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12510 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12511 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12512 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12513 # icc doesn't choke on unknown options, it will just issue warnings
12514 # or remarks (even with -Werror). So we grep stderr for any message
12515 # that says an option was ignored or not supported.
12516 # When given -MP, icc 7.0 and 7.1 complain thusly:
12517 # icc: Command line warning: ignoring option '-M'; no argument required
12518 # The diagnosis changed in icc 8.0:
12519 # icc: Command line remark: option '-MP' not supported
12520 if (grep 'ignoring option' conftest.err ||
12521 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12522 am_cv_CC_dependencies_compiler_type=$depmode
12529 rm -rf conftest.dir
12531 am_cv_CC_dependencies_compiler_type=none
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12536 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12537 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12540 test "x$enable_dependency_tracking" != xno \
12541 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12542 am__fastdepCC_TRUE=
12543 am__fastdepCC_FALSE='#'
12545 am__fastdepCC_TRUE='#'
12546 am__fastdepCC_FALSE=
12550 if test "x$CC" != xcc; then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12552 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12555 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12557 set dummy $CC; ac_cc=`$as_echo "$2" |
12558 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12559 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
12560 $as_echo_n "(cached) " >&6
12562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12573 # Make sure it works both with $CC and with simple cc.
12574 # We do the test twice because some compilers refuse to overwrite an
12575 # existing .o file with -o, though they will create one.
12576 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12578 if { { case "(($ac_try" in
12579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12580 *) ac_try_echo=$ac_try;;
12582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12583 $as_echo "$ac_try_echo"; } >&5
12584 (eval "$ac_try") 2>&5
12586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12587 test $ac_status = 0; } &&
12588 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12590 *) ac_try_echo=$ac_try;;
12592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12593 $as_echo "$ac_try_echo"; } >&5
12594 (eval "$ac_try") 2>&5
12596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12597 test $ac_status = 0; };
12599 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12600 if test "x$CC" != xcc; then
12601 # Test first that cc exists at all.
12602 if { ac_try='cc -c conftest.$ac_ext >&5'
12603 { { case "(($ac_try" in
12604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12605 *) ac_try_echo=$ac_try;;
12607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12608 $as_echo "$ac_try_echo"; } >&5
12609 (eval "$ac_try") 2>&5
12611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12612 test $ac_status = 0; }; }; then
12613 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12615 if { { case "(($ac_try" in
12616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12617 *) ac_try_echo=$ac_try;;
12619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12620 $as_echo "$ac_try_echo"; } >&5
12621 (eval "$ac_try") 2>&5
12623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12624 test $ac_status = 0; } &&
12625 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12627 *) ac_try_echo=$ac_try;;
12629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12630 $as_echo "$ac_try_echo"; } >&5
12631 (eval "$ac_try") 2>&5
12633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12634 test $ac_status = 0; };
12639 # cc exists but doesn't like -o.
12640 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12645 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12647 rm -f core conftest*
12650 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12652 $as_echo "yes" >&6; }
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12655 $as_echo "no" >&6; }
12657 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12661 # FIXME: we rely on the cache variable name because
12662 # there is no other way.
12664 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12665 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12666 if test "$am_t" != yes; then
12667 # Losing compiler, so override with the script.
12668 # FIXME: It is wrong to rewrite CC.
12669 # But if we don't then we get into trouble of one sort or another.
12670 # A longer-term fix would be to have automake use am__CC in this case,
12671 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12672 CC="$am_aux_dir/compile $CC"
12676 # Extract the first word of "valac", so it can be a program name with args.
12677 set dummy valac; ac_word=$2
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12679 $as_echo_n "checking for $ac_word... " >&6; }
12680 if test "${ac_cv_path_VALAC+set}" = set; then :
12681 $as_echo_n "(cached) " >&6
12685 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
12688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12689 for as_dir in $PATH
12692 test -z "$as_dir" && as_dir=.
12693 for ac_exec_ext in '' $ac_executable_extensions; do
12694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12695 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
12696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12706 VALAC=$ac_cv_path_VALAC
12707 if test -n "$VALAC"; then
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
12709 $as_echo "$VALAC" >&6; }
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12712 $as_echo "no" >&6; }
12716 if test -z "$VALAC"; then :
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
12718 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
12720 if test -n "0.9"; then :
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.9" >&5
12722 $as_echo_n "checking $VALAC is at least version 0.9... " >&6; }
12723 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
12725 as_arg_v2="$am__vala_version"
12726 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12730 $as_echo "yes" >&6; } ;; #(
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12733 $as_echo "yes" >&6; } ;; #(
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12736 $as_echo "no" >&6; }
12737 as_fn_error $? "Vala 0.9 not found." "$LINENO" 5 ;; #(
12753 SERVER_IPC_MODULE="msrpc-glib2-1.0"
12754 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12758 $as_echo_n "checking for GTK... " >&6; }
12760 if test -n "$GTK_CFLAGS"; then
12761 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12762 elif test -n "$PKG_CONFIG"; then
12763 if test -n "$PKG_CONFIG" && \
12764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12765 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12768 test $ac_status = 0; }; then
12769 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12770 test "x$?" != "x0" && pkg_failed=yes
12777 if test -n "$GTK_LIBS"; then
12778 pkg_cv_GTK_LIBS="$GTK_LIBS"
12779 elif test -n "$PKG_CONFIG"; then
12780 if test -n "$PKG_CONFIG" && \
12781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12782 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12785 test $ac_status = 0; }; then
12786 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12787 test "x$?" != "x0" && pkg_failed=yes
12797 if test $pkg_failed = yes; then
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12799 $as_echo "no" >&6; }
12801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12802 _pkg_short_errors_supported=yes
12804 _pkg_short_errors_supported=no
12806 if test $_pkg_short_errors_supported = yes; then
12807 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12809 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12811 # Put the nasty error message in config.log where it belongs
12812 echo "$GTK_PKG_ERRORS" >&5
12814 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
12818 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12819 installed software in a non-standard prefix.
12821 Alternatively, you may set the environment variables GTK_CFLAGS
12822 and GTK_LIBS to avoid the need to call pkg-config.
12823 See the pkg-config man page for more details." "$LINENO" 5
12824 elif test $pkg_failed = untried; then
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12826 $as_echo "no" >&6; }
12827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12829 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12830 is in your PATH or set the PKG_CONFIG environment variable to the full
12831 path to pkg-config.
12833 Alternatively, you may set the environment variables GTK_CFLAGS
12834 and GTK_LIBS to avoid the need to call pkg-config.
12835 See the pkg-config man page for more details.
12837 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12838 See \`config.log' for more details" "$LINENO" 5 ; }
12840 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12841 GTK_LIBS=$pkg_cv_GTK_LIBS
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12843 $as_echo "yes" >&6; }
12844 GTK_VERSION="gtk+-2.0"
12854 # We require dbus-glib for the client library even if we are using GDBus
12855 # in the server. The reason we can't always use dbus-glib in the server is
12856 # because Vala drops support for it, but as it ships with DBus there is very
12857 # little danger of it being dropped by distros any time soon.
12858 CLIENT_IPC_MODULE="dbus-glib-1"
12859 SERVER_IPC_MODULE="dbus-glib-1"
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
12864 $as_echo_n "checking for MAC... " >&6; }
12866 if test -n "$MAC_CFLAGS"; then
12867 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
12868 elif test -n "$PKG_CONFIG"; then
12869 if test -n "$PKG_CONFIG" && \
12870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12872 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12876 test $ac_status = 0; }; then
12877 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
12879 test "x$?" != "x0" && pkg_failed=yes
12886 if test -n "$MAC_LIBS"; then
12887 pkg_cv_MAC_LIBS="$MAC_LIBS"
12888 elif test -n "$PKG_CONFIG"; then
12889 if test -n "$PKG_CONFIG" && \
12890 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12892 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12896 test $ac_status = 0; }; then
12897 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
12899 test "x$?" != "x0" && pkg_failed=yes
12909 if test $pkg_failed = yes; then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12914 _pkg_short_errors_supported=yes
12916 _pkg_short_errors_supported=no
12918 if test $_pkg_short_errors_supported = yes; then
12919 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12922 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12925 # Put the nasty error message in config.log where it belongs
12926 echo "$MAC_PKG_ERRORS" >&5
12928 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
12933 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12934 installed software in a non-standard prefix.
12936 Alternatively, you may set the environment variables MAC_CFLAGS
12937 and MAC_LIBS to avoid the need to call pkg-config.
12938 See the pkg-config man page for more details." "$LINENO" 5
12939 elif test $pkg_failed = untried; then
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12944 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12945 is in your PATH or set the PKG_CONFIG environment variable to the full
12946 path to pkg-config.
12948 Alternatively, you may set the environment variables MAC_CFLAGS
12949 and MAC_LIBS to avoid the need to call pkg-config.
12950 See the pkg-config man page for more details.
12952 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12953 See \`config.log' for more details" "$LINENO" 5 ; }
12955 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
12956 MAC_LIBS=$pkg_cv_MAC_LIBS
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12958 $as_echo "yes" >&6; }
12962 # TODO: Move to GTK+-3
12963 # [gtk+-3.0 >= 2.0],
12964 # [GTK_VERSION="gtk+-3.0"]
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12968 $as_echo_n "checking for GTK... " >&6; }
12970 if test -n "$GTK_CFLAGS"; then
12971 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12972 elif test -n "$PKG_CONFIG"; then
12973 if test -n "$PKG_CONFIG" && \
12974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12975 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12978 test $ac_status = 0; }; then
12979 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12980 test "x$?" != "x0" && pkg_failed=yes
12987 if test -n "$GTK_LIBS"; then
12988 pkg_cv_GTK_LIBS="$GTK_LIBS"
12989 elif test -n "$PKG_CONFIG"; then
12990 if test -n "$PKG_CONFIG" && \
12991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12992 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12995 test $ac_status = 0; }; then
12996 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12997 test "x$?" != "x0" && pkg_failed=yes
13007 if test $pkg_failed = yes; then
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13009 $as_echo "no" >&6; }
13011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13012 _pkg_short_errors_supported=yes
13014 _pkg_short_errors_supported=no
13016 if test $_pkg_short_errors_supported = yes; then
13017 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13019 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13021 # Put the nasty error message in config.log where it belongs
13022 echo "$GTK_PKG_ERRORS" >&5
13024 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13028 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13029 installed software in a non-standard prefix.
13031 Alternatively, you may set the environment variables GTK_CFLAGS
13032 and GTK_LIBS to avoid the need to call pkg-config.
13033 See the pkg-config man page for more details." "$LINENO" 5
13034 elif test $pkg_failed = untried; then
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13036 $as_echo "no" >&6; }
13037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13039 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13040 is in your PATH or set the PKG_CONFIG environment variable to the full
13041 path to pkg-config.
13043 Alternatively, you may set the environment variables GTK_CFLAGS
13044 and GTK_LIBS to avoid the need to call pkg-config.
13045 See the pkg-config man page for more details.
13047 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13048 See \`config.log' for more details" "$LINENO" 5 ; }
13050 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13051 GTK_LIBS=$pkg_cv_GTK_LIBS
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13053 $as_echo "yes" >&6; }
13054 GTK_VERSION="gtk+-2.0"
13064 # We require dbus-glib for the client library even if we are using GDBus
13065 # in the server. The reason we can't always use dbus-glib in the server is
13066 # because Vala drops support for it, but as it ships with DBus there is very
13067 # little danger of it being dropped by distros any time soon.
13068 CLIENT_IPC_MODULE="dbus-glib-1"
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
13072 $as_echo_n "checking for GDBUS... " >&6; }
13074 if test -n "$GDBUS_CFLAGS"; then
13075 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
13076 elif test -n "$PKG_CONFIG"; then
13077 if test -n "$PKG_CONFIG" && \
13078 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13079 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13082 test $ac_status = 0; }; then
13083 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
13084 test "x$?" != "x0" && pkg_failed=yes
13091 if test -n "$GDBUS_LIBS"; then
13092 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
13093 elif test -n "$PKG_CONFIG"; then
13094 if test -n "$PKG_CONFIG" && \
13095 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13096 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13099 test $ac_status = 0; }; then
13100 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
13101 test "x$?" != "x0" && pkg_failed=yes
13111 if test $pkg_failed = yes; then
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13116 _pkg_short_errors_supported=yes
13118 _pkg_short_errors_supported=no
13120 if test $_pkg_short_errors_supported = yes; then
13121 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13123 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13125 # Put the nasty error message in config.log where it belongs
13126 echo "$GDBUS_PKG_ERRORS" >&5
13128 SERVER_IPC_MODULE="dbus-glib-1"
13130 elif test $pkg_failed = untried; then
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13132 $as_echo "no" >&6; }
13133 SERVER_IPC_MODULE="dbus-glib-1"
13136 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
13137 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13139 $as_echo "yes" >&6; }
13140 SERVER_IPC_MODULE="gio-2.0"
13142 # TODO: Move to GTK+-3
13143 # [gtk+-3.0 >= 2.0],
13144 # [GTK_VERSION="gtk+-3.0"]
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13148 $as_echo_n "checking for GTK... " >&6; }
13150 if test -n "$GTK_CFLAGS"; then
13151 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13152 elif test -n "$PKG_CONFIG"; then
13153 if test -n "$PKG_CONFIG" && \
13154 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13155 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13158 test $ac_status = 0; }; then
13159 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13160 test "x$?" != "x0" && pkg_failed=yes
13167 if test -n "$GTK_LIBS"; then
13168 pkg_cv_GTK_LIBS="$GTK_LIBS"
13169 elif test -n "$PKG_CONFIG"; then
13170 if test -n "$PKG_CONFIG" && \
13171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13172 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13175 test $ac_status = 0; }; then
13176 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13177 test "x$?" != "x0" && pkg_failed=yes
13187 if test $pkg_failed = yes; then
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13189 $as_echo "no" >&6; }
13191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13192 _pkg_short_errors_supported=yes
13194 _pkg_short_errors_supported=no
13196 if test $_pkg_short_errors_supported = yes; then
13197 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13199 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13201 # Put the nasty error message in config.log where it belongs
13202 echo "$GTK_PKG_ERRORS" >&5
13204 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13208 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13209 installed software in a non-standard prefix.
13211 Alternatively, you may set the environment variables GTK_CFLAGS
13212 and GTK_LIBS to avoid the need to call pkg-config.
13213 See the pkg-config man page for more details." "$LINENO" 5
13214 elif test $pkg_failed = untried; then
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13216 $as_echo "no" >&6; }
13217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13219 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13220 is in your PATH or set the PKG_CONFIG environment variable to the full
13221 path to pkg-config.
13223 Alternatively, you may set the environment variables GTK_CFLAGS
13224 and GTK_LIBS to avoid the need to call pkg-config.
13225 See the pkg-config man page for more details.
13227 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13228 See \`config.log' for more details" "$LINENO" 5 ; }
13230 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13231 GTK_LIBS=$pkg_cv_GTK_LIBS
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13233 $as_echo "yes" >&6; }
13234 GTK_VERSION="gtk+-2.0"
13241 if test "$linux" = "yes"; then
13249 if test "$win32" = "yes"; then
13257 if test "$macos" = "yes"; then
13266 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13268 IPC_MSRPC_FALSE='#'
13274 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
13282 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13283 IPC_DBUS_GLIB_TRUE=
13284 IPC_DBUS_GLIB_FALSE='#'
13286 IPC_DBUS_GLIB_TRUE='#'
13287 IPC_DBUS_GLIB_FALSE=
13290 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
13292 IPC_GDBUS_FALSE='#'
13299 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
13301 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
13302 vala_version=`$VALAC --version | sed 's/Vala *//'`
13304 as_arg_v2="$vala_version"
13305 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13308 vala_supports_dbus_glib="no" ;; #(
13310 vala_supports_dbus_glib="no" ;; #(
13312 vala_supports_dbus_glib="yes" ;; #(
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
13318 $as_echo "$vala_supports_dbus_glib" >&6; }
13319 if test "$vala_supports_dbus_glib" = "no"; then
13321 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
13322 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
13326 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13329 pkg_config_args="msrpc-mingw-1.0"
13338 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13339 if test -n "$ac_tool_prefix"; then
13340 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13341 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13343 $as_echo_n "checking for $ac_word... " >&6; }
13344 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13345 $as_echo_n "(cached) " >&6
13347 case $PKG_CONFIG in
13349 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13353 for as_dir in $PATH
13356 test -z "$as_dir" && as_dir=.
13357 for ac_exec_ext in '' $ac_executable_extensions; do
13358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13359 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13370 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13371 if test -n "$PKG_CONFIG"; then
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13373 $as_echo "$PKG_CONFIG" >&6; }
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13376 $as_echo "no" >&6; }
13381 if test -z "$ac_cv_path_PKG_CONFIG"; then
13382 ac_pt_PKG_CONFIG=$PKG_CONFIG
13383 # Extract the first word of "pkg-config", so it can be a program name with args.
13384 set dummy pkg-config; ac_word=$2
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13386 $as_echo_n "checking for $ac_word... " >&6; }
13387 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13388 $as_echo_n "(cached) " >&6
13390 case $ac_pt_PKG_CONFIG in
13392 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13396 for as_dir in $PATH
13399 test -z "$as_dir" && as_dir=.
13400 for ac_exec_ext in '' $ac_executable_extensions; do
13401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13402 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13413 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13414 if test -n "$ac_pt_PKG_CONFIG"; then
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13416 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13419 $as_echo "no" >&6; }
13422 if test "x$ac_pt_PKG_CONFIG" = x; then
13425 case $cross_compiling:$ac_tool_warned in
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13429 ac_tool_warned=yes ;;
13431 PKG_CONFIG=$ac_pt_PKG_CONFIG
13434 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13438 if test -n "$PKG_CONFIG"; then
13439 _pkg_min_version=0.16
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13441 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13442 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13444 $as_echo "yes" >&6; }
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13447 $as_echo "no" >&6; }
13454 if test "x$PKG_CONFIG" = x ; then
13459 min_msrpc_mingw_version=0.1.0
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
13461 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
13463 if test x$PKG_CONFIG != xno ; then
13464 if $PKG_CONFIG --uninstalled $pkg_config_args; then
13465 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
13468 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
13475 if test x"$no_msrpc" = x ; then
13476 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
13477 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13478 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13481 if test "x$no_msrpc" = x ; then
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13483 $as_echo "yes" >&6; }
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13487 $as_echo "no" >&6; }
13488 if test "$PKG_CONFIG" = "no" ; then
13489 echo "*** A new enough version of pkg-config was not found."
13490 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13498 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
13505 # Extract the first word of "midl", so it can be a program name with args.
13506 set dummy midl; ac_word=$2
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13508 $as_echo_n "checking for $ac_word... " >&6; }
13509 if test "${ac_cv_path_MIDL+set}" = set; then :
13510 $as_echo_n "(cached) " >&6
13514 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
13517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13518 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
13521 test -z "$as_dir" && as_dir=.
13522 for ac_exec_ext in '' $ac_executable_extensions; do
13523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13524 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
13525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13532 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
13536 MIDL=$ac_cv_path_MIDL
13537 if test -n "$MIDL"; then
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
13539 $as_echo "$MIDL" >&6; }
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13542 $as_echo "no" >&6; }
13546 if test "$MIDL" = "no"; then
13548 *** Could not find the Microsoft interface compiler MIDL.EXE.
13549 *** This program is available as part of the MS Windows SDK, in
13550 *** the Win32 Development Tools package. If it is not in the PATH
13551 *** or its default location you may set the 'MIDL' environment
13552 *** variable to point to its location and rerun configure." "$LINENO" 5
13556 if test "$win32" = "yes"; then
13557 # Other Windows-specific tools
13559 # LIB.EXE from MSVC to build an MSVC-compatible import library.
13560 # Extract the first word of "lib", so it can be a program name with args.
13561 set dummy lib; ac_word=$2
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13563 $as_echo_n "checking for $ac_word... " >&6; }
13564 if test "${ac_cv_path_MSVC_LIB+set}" = set; then :
13565 $as_echo_n "(cached) " >&6
13569 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
13572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13573 for as_dir in /c/Program\ Files/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR$PATH
13576 test -z "$as_dir" && as_dir=.
13577 for ac_exec_ext in '' $ac_executable_extensions; do
13578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13579 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
13580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13587 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
13591 MSVC_LIB=$ac_cv_path_MSVC_LIB
13592 if test -n "$MSVC_LIB"; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
13594 $as_echo "$MSVC_LIB" >&6; }
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13597 $as_echo "no" >&6; }
13602 if test "$MSVC_LIB" = "no"; then
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13604 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13605 *** to build the Visual C import library for libmoonshot. Use the
13606 *** MSVC_LIB environment variable to pass its location if this is
13607 *** outside the PATH." >&5
13608 $as_echo "$as_me: WARNING:
13609 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13610 *** to build the Visual C import library for libmoonshot. Use the
13611 *** MSVC_LIB environment variable to pass its location if this is
13612 *** outside the PATH." >&2;}
13616 # ImageMagick for the 'make icons' target. Note that
13617 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
13618 # Extract the first word of "convert", so it can be a program name with args.
13619 set dummy convert; ac_word=$2
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13621 $as_echo_n "checking for $ac_word... " >&6; }
13622 if test "${ac_cv_path_IMAGEMAGICK_CONVERT+set}" = set; then :
13623 $as_echo_n "(cached) " >&6
13625 case $IMAGEMAGICK_CONVERT in
13627 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
13630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13631 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
13634 test -z "$as_dir" && as_dir=.
13635 for ac_exec_ext in '' $ac_executable_extensions; do
13636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13637 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
13638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13645 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
13649 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
13650 if test -n "$IMAGEMAGICK_CONVERT"; then
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
13652 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13655 $as_echo "no" >&6; }
13660 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13662 *** Could not find ImageMagick convert.exe. This is required for the
13663 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13664 *** variable to pass its location if this is outside the PATH." >&5
13665 $as_echo "$as_me: WARNING:
13666 *** Could not find ImageMagick convert.exe. This is required for the
13667 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13668 *** variable to pass its location if this is outside the PATH." >&2;}
13672 # Windows Installer XML tools
13673 # Extract the first word of "candle", so it can be a program name with args.
13674 set dummy candle; ac_word=$2
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13676 $as_echo_n "checking for $ac_word... " >&6; }
13677 if test "${ac_cv_path_WIX_CANDLE+set}" = set; then :
13678 $as_echo_n "(cached) " >&6
13680 case $WIX_CANDLE in
13682 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
13685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13686 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
13689 test -z "$as_dir" && as_dir=.
13690 for ac_exec_ext in '' $ac_executable_extensions; do
13691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13692 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
13693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13700 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
13704 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
13705 if test -n "$WIX_CANDLE"; then
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
13707 $as_echo "$WIX_CANDLE" >&6; }
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13710 $as_echo "no" >&6; }
13714 # Extract the first word of "light", so it can be a program name with args.
13715 set dummy light; ac_word=$2
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13717 $as_echo_n "checking for $ac_word... " >&6; }
13718 if test "${ac_cv_path_WIX_LIGHT+set}" = set; then :
13719 $as_echo_n "(cached) " >&6
13723 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
13726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13727 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
13730 test -z "$as_dir" && as_dir=.
13731 for ac_exec_ext in '' $ac_executable_extensions; do
13732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13733 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
13734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13741 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
13745 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
13746 if test -n "$WIX_LIGHT"; then
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
13748 $as_echo "$WIX_LIGHT" >&6; }
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13751 $as_echo "no" >&6; }
13756 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13758 *** Could not find the Windows Installer XML tools. These are required
13759 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13760 *** environment variables to pass their locations if they are outside
13762 $as_echo "$as_me: WARNING:
13763 *** Could not find the Windows Installer XML tools. These are required
13764 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13765 *** environment variables to pass their locations if they are outside
13766 *** the PATH." >&2;}
13770 if test "$linux" = "yes"; then
13771 # Extract the first word of "update-mime-database", so it can be a program name with args.
13772 set dummy update-mime-database; ac_word=$2
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13774 $as_echo_n "checking for $ac_word... " >&6; }
13775 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
13776 $as_echo_n "(cached) " >&6
13778 case $UPDATE_MIME_DATABASE in
13780 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
13783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13784 for as_dir in $PATH
13787 test -z "$as_dir" && as_dir=.
13788 for ac_exec_ext in '' $ac_executable_extensions; do
13789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13790 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13798 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
13802 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
13803 if test -n "$UPDATE_MIME_DATABASE"; then
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
13805 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13808 $as_echo "no" >&6; }
13812 if test "$UPDATE_MIME_DATABASE" = "no"; then
13814 *** Could not find the Freedesktop.org mime database update tool.
13815 *** Web provisioning files could not be automatically installed." "$LINENO" 5
13817 # Extract the first word of "update-desktop-database", so it can be a program name with args.
13818 set dummy update-desktop-database; ac_word=$2
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13820 $as_echo_n "checking for $ac_word... " >&6; }
13821 if test "${ac_cv_path_UPDATE_DESKTOP_DATABASE+set}" = set; then :
13822 $as_echo_n "(cached) " >&6
13824 case $UPDATE_DESKTOP_DATABASE in
13826 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
13829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13830 for as_dir in $PATH
13833 test -z "$as_dir" && as_dir=.
13834 for ac_exec_ext in '' $ac_executable_extensions; do
13835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13836 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13844 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
13848 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
13849 if test -n "$UPDATE_DESKTOP_DATABASE"; then
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
13851 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13854 $as_echo "no" >&6; }
13858 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
13860 *** Could not find the Freedesktop.org desktop entry database update
13861 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
13865 MOONSHOT_APP="$bindir/moonshot"
13866 MOONSHOT_WEBP="$bindir/moonshot-webp"
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
13882 $as_echo_n "checking for moonshot... " >&6; }
13884 if test -n "$moonshot_CFLAGS"; then
13885 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
13886 elif test -n "$PKG_CONFIG"; then
13887 if test -n "$PKG_CONFIG" && \
13888 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13891 gobject-2.0 >= 2.22
13894 \$SERVER_IPC_MODULE
13897 ($PKG_CONFIG --exists --print-errors "
13900 gobject-2.0 >= 2.22
13907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13908 test $ac_status = 0; }; then
13909 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
13912 gobject-2.0 >= 2.22
13918 test "x$?" != "x0" && pkg_failed=yes
13925 if test -n "$moonshot_LIBS"; then
13926 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
13927 elif test -n "$PKG_CONFIG"; then
13928 if test -n "$PKG_CONFIG" && \
13929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13932 gobject-2.0 >= 2.22
13935 \$SERVER_IPC_MODULE
13938 ($PKG_CONFIG --exists --print-errors "
13941 gobject-2.0 >= 2.22
13948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13949 test $ac_status = 0; }; then
13950 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
13953 gobject-2.0 >= 2.22
13959 test "x$?" != "x0" && pkg_failed=yes
13969 if test $pkg_failed = yes; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971 $as_echo "no" >&6; }
13973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13974 _pkg_short_errors_supported=yes
13976 _pkg_short_errors_supported=no
13978 if test $_pkg_short_errors_supported = yes; then
13979 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
13982 gobject-2.0 >= 2.22
13989 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
13992 gobject-2.0 >= 2.22
13999 # Put the nasty error message in config.log where it belongs
14000 echo "$moonshot_PKG_ERRORS" >&5
14002 as_fn_error $? "Package requirements (
14005 gobject-2.0 >= 2.22
14012 $moonshot_PKG_ERRORS
14014 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14015 installed software in a non-standard prefix.
14017 Alternatively, you may set the environment variables moonshot_CFLAGS
14018 and moonshot_LIBS to avoid the need to call pkg-config.
14019 See the pkg-config man page for more details." "$LINENO" 5
14020 elif test $pkg_failed = untried; then
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14022 $as_echo "no" >&6; }
14023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14025 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14026 is in your PATH or set the PKG_CONFIG environment variable to the full
14027 path to pkg-config.
14029 Alternatively, you may set the environment variables moonshot_CFLAGS
14030 and moonshot_LIBS to avoid the need to call pkg-config.
14031 See the pkg-config man page for more details.
14033 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14034 See \`config.log' for more details" "$LINENO" 5 ; }
14036 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
14037 moonshot_LIBS=$pkg_cv_moonshot_LIBS
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14039 $as_echo "yes" >&6; }
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
14046 $as_echo_n "checking for libmoonshot... " >&6; }
14048 if test -n "$libmoonshot_CFLAGS"; then
14049 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
14050 elif test -n "$PKG_CONFIG"; then
14051 if test -n "$PKG_CONFIG" && \
14052 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14053 \$CLIENT_IPC_MODULE
14055 ($PKG_CONFIG --exists --print-errors "
14059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14060 test $ac_status = 0; }; then
14061 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
14064 test "x$?" != "x0" && pkg_failed=yes
14071 if test -n "$libmoonshot_LIBS"; then
14072 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
14073 elif test -n "$PKG_CONFIG"; then
14074 if test -n "$PKG_CONFIG" && \
14075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14076 \$CLIENT_IPC_MODULE
14078 ($PKG_CONFIG --exists --print-errors "
14082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14083 test $ac_status = 0; }; then
14084 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
14087 test "x$?" != "x0" && pkg_failed=yes
14097 if test $pkg_failed = yes; then
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14099 $as_echo "no" >&6; }
14101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14102 _pkg_short_errors_supported=yes
14104 _pkg_short_errors_supported=no
14106 if test $_pkg_short_errors_supported = yes; then
14107 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14111 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14115 # Put the nasty error message in config.log where it belongs
14116 echo "$libmoonshot_PKG_ERRORS" >&5
14118 as_fn_error $? "Package requirements (
14122 $libmoonshot_PKG_ERRORS
14124 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14125 installed software in a non-standard prefix.
14127 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14128 and libmoonshot_LIBS to avoid the need to call pkg-config.
14129 See the pkg-config man page for more details." "$LINENO" 5
14130 elif test $pkg_failed = untried; then
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14132 $as_echo "no" >&6; }
14133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14135 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14136 is in your PATH or set the PKG_CONFIG environment variable to the full
14137 path to pkg-config.
14139 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14140 and libmoonshot_LIBS to avoid the need to call pkg-config.
14141 See the pkg-config man page for more details.
14143 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14144 See \`config.log' for more details" "$LINENO" 5 ; }
14146 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
14147 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14149 $as_echo "yes" >&6; }
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14156 $as_echo_n "checking whether NLS is requested... " >&6; }
14157 # Check whether --enable-nls was given.
14158 if test "${enable_nls+set}" = set; then :
14159 enableval=$enable_nls; USE_NLS=$enableval
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14165 $as_echo "$USE_NLS" >&6; }
14170 GETTEXT_MACRO_VERSION=0.18
14175 # Prepare PATH_SEPARATOR.
14176 # The user is always right.
14177 if test "${PATH_SEPARATOR+set}" != set; then
14178 echo "#! /bin/sh" >conf$$.sh
14179 echo "exit 0" >>conf$$.sh
14181 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14189 # Find out how to test for executable files. Don't use a zero-byte file,
14190 # as systems may use methods other than mode bits to determine executability.
14191 cat >conf$$.file <<_ASEOF
14195 chmod +x conf$$.file
14196 if test -x conf$$.file >/dev/null 2>&1; then
14197 ac_executable_p="test -x"
14199 ac_executable_p="test -f"
14203 # Extract the first word of "msgfmt", so it can be a program name with args.
14204 set dummy msgfmt; ac_word=$2
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14206 $as_echo_n "checking for $ac_word... " >&6; }
14207 if test "${ac_cv_path_MSGFMT+set}" = set; then :
14208 $as_echo_n "(cached) " >&6
14212 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14215 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14216 for ac_dir in $PATH; do
14218 test -z "$ac_dir" && ac_dir=.
14219 for ac_exec_ext in '' $ac_executable_extensions; do
14220 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14221 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14222 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14223 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14224 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14231 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14235 MSGFMT="$ac_cv_path_MSGFMT"
14236 if test "$MSGFMT" != ":"; then
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14238 $as_echo "$MSGFMT" >&6; }
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14241 $as_echo "no" >&6; }
14244 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14245 set dummy gmsgfmt; ac_word=$2
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14247 $as_echo_n "checking for $ac_word... " >&6; }
14248 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
14249 $as_echo_n "(cached) " >&6
14253 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14257 for as_dir in $PATH
14260 test -z "$as_dir" && as_dir=.
14261 for ac_exec_ext in '' $ac_executable_extensions; do
14262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14263 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14271 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14275 GMSGFMT=$ac_cv_path_GMSGFMT
14276 if test -n "$GMSGFMT"; then
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14278 $as_echo "$GMSGFMT" >&6; }
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14281 $as_echo "no" >&6; }
14286 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14287 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14288 *) MSGFMT_015=$MSGFMT ;;
14291 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14292 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14293 *) GMSGFMT_015=$GMSGFMT ;;
14298 # Prepare PATH_SEPARATOR.
14299 # The user is always right.
14300 if test "${PATH_SEPARATOR+set}" != set; then
14301 echo "#! /bin/sh" >conf$$.sh
14302 echo "exit 0" >>conf$$.sh
14304 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14312 # Find out how to test for executable files. Don't use a zero-byte file,
14313 # as systems may use methods other than mode bits to determine executability.
14314 cat >conf$$.file <<_ASEOF
14318 chmod +x conf$$.file
14319 if test -x conf$$.file >/dev/null 2>&1; then
14320 ac_executable_p="test -x"
14322 ac_executable_p="test -f"
14326 # Extract the first word of "xgettext", so it can be a program name with args.
14327 set dummy xgettext; ac_word=$2
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14329 $as_echo_n "checking for $ac_word... " >&6; }
14330 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
14331 $as_echo_n "(cached) " >&6
14333 case "$XGETTEXT" in
14335 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14338 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14339 for ac_dir in $PATH; do
14341 test -z "$ac_dir" && ac_dir=.
14342 for ac_exec_ext in '' $ac_executable_extensions; do
14343 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14344 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14345 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14346 (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
14347 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14354 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14358 XGETTEXT="$ac_cv_path_XGETTEXT"
14359 if test "$XGETTEXT" != ":"; then
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14361 $as_echo "$XGETTEXT" >&6; }
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14364 $as_echo "no" >&6; }
14369 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14370 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14371 *) XGETTEXT_015=$XGETTEXT ;;
14376 # Prepare PATH_SEPARATOR.
14377 # The user is always right.
14378 if test "${PATH_SEPARATOR+set}" != set; then
14379 echo "#! /bin/sh" >conf$$.sh
14380 echo "exit 0" >>conf$$.sh
14382 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14390 # Find out how to test for executable files. Don't use a zero-byte file,
14391 # as systems may use methods other than mode bits to determine executability.
14392 cat >conf$$.file <<_ASEOF
14396 chmod +x conf$$.file
14397 if test -x conf$$.file >/dev/null 2>&1; then
14398 ac_executable_p="test -x"
14400 ac_executable_p="test -f"
14404 # Extract the first word of "msgmerge", so it can be a program name with args.
14405 set dummy msgmerge; ac_word=$2
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14407 $as_echo_n "checking for $ac_word... " >&6; }
14408 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
14409 $as_echo_n "(cached) " >&6
14411 case "$MSGMERGE" in
14413 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14416 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14417 for ac_dir in $PATH; do
14419 test -z "$ac_dir" && ac_dir=.
14420 for ac_exec_ext in '' $ac_executable_extensions; do
14421 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14422 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14423 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14424 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14431 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14435 MSGMERGE="$ac_cv_path_MSGMERGE"
14436 if test "$MSGMERGE" != ":"; then
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14438 $as_echo "$MSGMERGE" >&6; }
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14441 $as_echo "no" >&6; }
14445 test -n "$localedir" || localedir='${datadir}/locale'
14448 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14451 ac_config_commands="$ac_config_commands po-directories"
14455 if test "X$prefix" = "XNONE"; then
14456 acl_final_prefix="$ac_default_prefix"
14458 acl_final_prefix="$prefix"
14460 if test "X$exec_prefix" = "XNONE"; then
14461 acl_final_exec_prefix='${prefix}'
14463 acl_final_exec_prefix="$exec_prefix"
14465 acl_save_prefix="$prefix"
14466 prefix="$acl_final_prefix"
14467 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14468 prefix="$acl_save_prefix"
14471 # Check whether --with-gnu-ld was given.
14472 if test "${with_gnu_ld+set}" = set; then :
14473 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14478 # Prepare PATH_SEPARATOR.
14479 # The user is always right.
14480 if test "${PATH_SEPARATOR+set}" != set; then
14481 echo "#! /bin/sh" >conf$$.sh
14482 echo "exit 0" >>conf$$.sh
14484 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14492 if test "$GCC" = yes; then
14493 # Check if gcc -print-prog-name=ld gives a path.
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14495 $as_echo_n "checking for ld used by GCC... " >&6; }
14498 # gcc leaves a trailing carriage return which upsets mingw
14499 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14501 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14504 # Accept absolute paths.
14505 [\\/]* | [A-Za-z]:[\\/]*)
14506 re_direlt='/[^/][^/]*/\.\./'
14507 # Canonicalize the path of ld
14508 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14509 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14510 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14512 test -z "$LD" && LD="$ac_prog"
14515 # If it fails, then pretend we aren't using GCC.
14519 # If it is relative, then search for the first ld in PATH.
14520 with_gnu_ld=unknown
14523 elif test "$with_gnu_ld" = yes; then
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14525 $as_echo_n "checking for GNU ld... " >&6; }
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14528 $as_echo_n "checking for non-GNU ld... " >&6; }
14530 if test "${acl_cv_path_LD+set}" = set; then :
14531 $as_echo_n "(cached) " >&6
14533 if test -z "$LD"; then
14534 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14535 for ac_dir in $PATH; do
14536 test -z "$ac_dir" && ac_dir=.
14537 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14538 acl_cv_path_LD="$ac_dir/$ac_prog"
14539 # Check to see if the program is GNU ld. I'd rather use --version,
14540 # but apparently some GNU ld's only accept -v.
14541 # Break only if it was the GNU/non-GNU ld that we prefer.
14542 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14543 *GNU* | *'with BFD'*)
14544 test "$with_gnu_ld" != no && break ;;
14546 test "$with_gnu_ld" != yes && break ;;
14552 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14556 LD="$acl_cv_path_LD"
14557 if test -n "$LD"; then
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14559 $as_echo "$LD" >&6; }
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14562 $as_echo "no" >&6; }
14564 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14566 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14567 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
14568 $as_echo_n "(cached) " >&6
14570 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14571 case `$LD -v 2>&1 </dev/null` in
14572 *GNU* | *'with BFD'*)
14573 acl_cv_prog_gnu_ld=yes ;;
14575 acl_cv_prog_gnu_ld=no ;;
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14579 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14580 with_gnu_ld=$acl_cv_prog_gnu_ld
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14586 $as_echo_n "checking for shared library run path origin... " >&6; }
14587 if test "${acl_cv_rpath+set}" = set; then :
14588 $as_echo_n "(cached) " >&6
14591 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14592 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14594 rm -f ./conftest.sh
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14599 $as_echo "$acl_cv_rpath" >&6; }
14601 acl_libext="$acl_cv_libext"
14602 acl_shlibext="$acl_cv_shlibext"
14603 acl_libname_spec="$acl_cv_libname_spec"
14604 acl_library_names_spec="$acl_cv_library_names_spec"
14605 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14606 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14607 acl_hardcode_direct="$acl_cv_hardcode_direct"
14608 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14609 # Check whether --enable-rpath was given.
14610 if test "${enable_rpath+set}" = set; then :
14611 enableval=$enable_rpath; :
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
14624 $as_echo_n "checking for 64-bit host... " >&6; }
14625 if test "${gl_cv_solaris_64bit+set}" = set; then :
14626 $as_echo_n "(cached) " >&6
14628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14637 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
14638 gl_cv_solaris_64bit=yes
14640 gl_cv_solaris_64bit=no
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
14647 $as_echo "$gl_cv_solaris_64bit" >&6; }
14648 if test $gl_cv_solaris_64bit = yes; then
14649 acl_libdirstem=lib/64
14650 case "$host_cpu" in
14651 sparc*) acl_libdirstem2=lib/sparcv9 ;;
14652 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
14657 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14658 if test -n "$searchpath"; then
14659 acl_save_IFS="${IFS= }"; IFS=":"
14660 for searchdir in $searchpath; do
14661 if test -d "$searchdir"; then
14662 case "$searchdir" in
14663 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14665 # Better ignore directories of this form. They are misleading.
14667 *) searchdir=`cd "$searchdir" && pwd`
14668 case "$searchdir" in
14669 */lib64 ) acl_libdirstem=lib64 ;;
14674 IFS="$acl_save_IFS"
14678 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
14693 acl_save_prefix="$prefix"
14694 prefix="$acl_final_prefix"
14695 acl_save_exec_prefix="$exec_prefix"
14696 exec_prefix="$acl_final_exec_prefix"
14698 eval additional_includedir=\"$includedir\"
14699 eval additional_libdir=\"$libdir\"
14701 exec_prefix="$acl_save_exec_prefix"
14702 prefix="$acl_save_prefix"
14705 # Check whether --with-libiconv-prefix was given.
14706 if test "${with_libiconv_prefix+set}" = set; then :
14707 withval=$with_libiconv_prefix;
14708 if test "X$withval" = "Xno"; then
14711 if test "X$withval" = "X"; then
14713 acl_save_prefix="$prefix"
14714 prefix="$acl_final_prefix"
14715 acl_save_exec_prefix="$exec_prefix"
14716 exec_prefix="$acl_final_exec_prefix"
14718 eval additional_includedir=\"$includedir\"
14719 eval additional_libdir=\"$libdir\"
14721 exec_prefix="$acl_save_exec_prefix"
14722 prefix="$acl_save_prefix"
14725 additional_includedir="$withval/include"
14726 additional_libdir="$withval/$acl_libdirstem"
14727 if test "$acl_libdirstem2" != "$acl_libdirstem" \
14728 && ! test -d "$withval/$acl_libdirstem"; then
14729 additional_libdir="$withval/$acl_libdirstem2"
14743 names_already_handled=
14744 names_next_round='iconv '
14745 while test -n "$names_next_round"; do
14746 names_this_round="$names_next_round"
14748 for name in $names_this_round; do
14750 for n in $names_already_handled; do
14751 if test "$n" = "$name"; then
14752 already_handled=yes
14756 if test -z "$already_handled"; then
14757 names_already_handled="$names_already_handled $name"
14758 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14759 eval value=\"\$HAVE_LIB$uppername\"
14760 if test -n "$value"; then
14761 if test "$value" = yes; then
14762 eval value=\"\$LIB$uppername\"
14763 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14764 eval value=\"\$LTLIB$uppername\"
14765 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14774 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14775 if test -n "$acl_shlibext"; then
14776 shrext=".$acl_shlibext" # typically: shrext=.so
14780 if test $use_additional = yes; then
14781 dir="$additional_libdir"
14782 if test -n "$acl_shlibext"; then
14783 if test -f "$dir/$libname$shrext"; then
14785 found_so="$dir/$libname$shrext"
14787 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14788 ver=`(cd "$dir" && \
14789 for f in "$libname$shrext".*; do echo "$f"; done \
14790 | sed -e "s,^$libname$shrext\\\\.,," \
14791 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14792 | sed 1q ) 2>/dev/null`
14793 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14795 found_so="$dir/$libname$shrext.$ver"
14798 eval library_names=\"$acl_library_names_spec\"
14799 for f in $library_names; do
14800 if test -f "$dir/$f"; then
14809 if test "X$found_dir" = "X"; then
14810 if test -f "$dir/$libname.$acl_libext"; then
14812 found_a="$dir/$libname.$acl_libext"
14815 if test "X$found_dir" != "X"; then
14816 if test -f "$dir/$libname.la"; then
14817 found_la="$dir/$libname.la"
14821 if test "X$found_dir" = "X"; then
14822 for x in $LDFLAGS $LTLIBICONV; do
14824 acl_save_prefix="$prefix"
14825 prefix="$acl_final_prefix"
14826 acl_save_exec_prefix="$exec_prefix"
14827 exec_prefix="$acl_final_exec_prefix"
14829 exec_prefix="$acl_save_exec_prefix"
14830 prefix="$acl_save_prefix"
14834 dir=`echo "X$x" | sed -e 's/^X-L//'`
14835 if test -n "$acl_shlibext"; then
14836 if test -f "$dir/$libname$shrext"; then
14838 found_so="$dir/$libname$shrext"
14840 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14841 ver=`(cd "$dir" && \
14842 for f in "$libname$shrext".*; do echo "$f"; done \
14843 | sed -e "s,^$libname$shrext\\\\.,," \
14844 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14845 | sed 1q ) 2>/dev/null`
14846 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14848 found_so="$dir/$libname$shrext.$ver"
14851 eval library_names=\"$acl_library_names_spec\"
14852 for f in $library_names; do
14853 if test -f "$dir/$f"; then
14862 if test "X$found_dir" = "X"; then
14863 if test -f "$dir/$libname.$acl_libext"; then
14865 found_a="$dir/$libname.$acl_libext"
14868 if test "X$found_dir" != "X"; then
14869 if test -f "$dir/$libname.la"; then
14870 found_la="$dir/$libname.la"
14875 if test "X$found_dir" != "X"; then
14880 if test "X$found_dir" != "X"; then
14881 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14882 if test "X$found_so" != "X"; then
14883 if test "$enable_rpath" = no \
14884 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14885 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14886 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14889 for x in $ltrpathdirs; do
14890 if test "X$x" = "X$found_dir"; then
14895 if test -z "$haveit"; then
14896 ltrpathdirs="$ltrpathdirs $found_dir"
14898 if test "$acl_hardcode_direct" = yes; then
14899 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14901 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14902 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14904 for x in $rpathdirs; do
14905 if test "X$x" = "X$found_dir"; then
14910 if test -z "$haveit"; then
14911 rpathdirs="$rpathdirs $found_dir"
14915 for x in $LDFLAGS $LIBICONV; do
14917 acl_save_prefix="$prefix"
14918 prefix="$acl_final_prefix"
14919 acl_save_exec_prefix="$exec_prefix"
14920 exec_prefix="$acl_final_exec_prefix"
14922 exec_prefix="$acl_save_exec_prefix"
14923 prefix="$acl_save_prefix"
14925 if test "X$x" = "X-L$found_dir"; then
14930 if test -z "$haveit"; then
14931 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14933 if test "$acl_hardcode_minus_L" != no; then
14934 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14936 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14942 if test "X$found_a" != "X"; then
14943 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14945 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14948 additional_includedir=
14949 case "$found_dir" in
14950 */$acl_libdirstem | */$acl_libdirstem/)
14951 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14952 if test "$name" = 'iconv'; then
14953 LIBICONV_PREFIX="$basedir"
14955 additional_includedir="$basedir/include"
14957 */$acl_libdirstem2 | */$acl_libdirstem2/)
14958 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14959 if test "$name" = 'iconv'; then
14960 LIBICONV_PREFIX="$basedir"
14962 additional_includedir="$basedir/include"
14965 if test "X$additional_includedir" != "X"; then
14966 if test "X$additional_includedir" != "X/usr/include"; then
14968 if test "X$additional_includedir" = "X/usr/local/include"; then
14969 if test -n "$GCC"; then
14971 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14975 if test -z "$haveit"; then
14976 for x in $CPPFLAGS $INCICONV; do
14978 acl_save_prefix="$prefix"
14979 prefix="$acl_final_prefix"
14980 acl_save_exec_prefix="$exec_prefix"
14981 exec_prefix="$acl_final_exec_prefix"
14983 exec_prefix="$acl_save_exec_prefix"
14984 prefix="$acl_save_prefix"
14986 if test "X$x" = "X-I$additional_includedir"; then
14991 if test -z "$haveit"; then
14992 if test -d "$additional_includedir"; then
14993 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14999 if test -n "$found_la"; then
15000 save_libdir="$libdir"
15001 case "$found_la" in
15002 */* | *\\*) . "$found_la" ;;
15003 *) . "./$found_la" ;;
15005 libdir="$save_libdir"
15006 for dep in $dependency_libs; do
15009 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15010 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15011 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15013 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15014 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15015 if test -n "$GCC"; then
15017 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15021 if test -z "$haveit"; then
15023 for x in $LDFLAGS $LIBICONV; do
15025 acl_save_prefix="$prefix"
15026 prefix="$acl_final_prefix"
15027 acl_save_exec_prefix="$exec_prefix"
15028 exec_prefix="$acl_final_exec_prefix"
15030 exec_prefix="$acl_save_exec_prefix"
15031 prefix="$acl_save_prefix"
15033 if test "X$x" = "X-L$additional_libdir"; then
15038 if test -z "$haveit"; then
15039 if test -d "$additional_libdir"; then
15040 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15044 for x in $LDFLAGS $LTLIBICONV; do
15046 acl_save_prefix="$prefix"
15047 prefix="$acl_final_prefix"
15048 acl_save_exec_prefix="$exec_prefix"
15049 exec_prefix="$acl_final_exec_prefix"
15051 exec_prefix="$acl_save_exec_prefix"
15052 prefix="$acl_save_prefix"
15054 if test "X$x" = "X-L$additional_libdir"; then
15059 if test -z "$haveit"; then
15060 if test -d "$additional_libdir"; then
15061 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15068 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15069 if test "$enable_rpath" != no; then
15071 for x in $rpathdirs; do
15072 if test "X$x" = "X$dir"; then
15077 if test -z "$haveit"; then
15078 rpathdirs="$rpathdirs $dir"
15081 for x in $ltrpathdirs; do
15082 if test "X$x" = "X$dir"; then
15087 if test -z "$haveit"; then
15088 ltrpathdirs="$ltrpathdirs $dir"
15093 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15096 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15099 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15100 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15106 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15107 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15113 if test "X$rpathdirs" != "X"; then
15114 if test -n "$acl_hardcode_libdir_separator"; then
15116 for found_dir in $rpathdirs; do
15117 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15119 acl_save_libdir="$libdir"
15121 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15122 libdir="$acl_save_libdir"
15123 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15125 for found_dir in $rpathdirs; do
15126 acl_save_libdir="$libdir"
15127 libdir="$found_dir"
15128 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15129 libdir="$acl_save_libdir"
15130 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15134 if test "X$ltrpathdirs" != "X"; then
15135 for found_dir in $ltrpathdirs; do
15136 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15171 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15172 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
15173 $as_echo_n "(cached) " >&6
15175 gt_save_LIBS="$LIBS"
15176 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15178 /* end confdefs.h. */
15179 #include <CoreFoundation/CFPreferences.h>
15183 CFPreferencesCopyAppValue(NULL, NULL)
15188 if ac_fn_c_try_link "$LINENO"; then :
15189 gt_cv_func_CFPreferencesCopyAppValue=yes
15191 gt_cv_func_CFPreferencesCopyAppValue=no
15193 rm -f core conftest.err conftest.$ac_objext \
15194 conftest$ac_exeext conftest.$ac_ext
15195 LIBS="$gt_save_LIBS"
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15198 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15199 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15201 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15205 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15206 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
15207 $as_echo_n "(cached) " >&6
15209 gt_save_LIBS="$LIBS"
15210 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15212 /* end confdefs.h. */
15213 #include <CoreFoundation/CFLocale.h>
15217 CFLocaleCopyCurrent();
15222 if ac_fn_c_try_link "$LINENO"; then :
15223 gt_cv_func_CFLocaleCopyCurrent=yes
15225 gt_cv_func_CFLocaleCopyCurrent=no
15227 rm -f core conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext conftest.$ac_ext
15229 LIBS="$gt_save_LIBS"
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15232 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15233 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15235 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15239 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15240 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15252 case " $gt_needs " in
15253 *" need-formatstring-macros "*) gt_api_version=3 ;;
15254 *" need-ngettext "*) gt_api_version=2 ;;
15255 *) gt_api_version=1 ;;
15257 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15258 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15260 if test "$USE_NLS" = "yes"; then
15261 gt_use_preinstalled_gnugettext=no
15264 if test $gt_api_version -ge 3; then
15265 gt_revision_test_code='
15266 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15267 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15269 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15272 gt_revision_test_code=
15274 if test $gt_api_version -ge 2; then
15275 gt_expression_test_code=' + * ngettext ("", "", 0)'
15277 gt_expression_test_code=
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15281 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15282 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
15283 $as_echo_n "(cached) " >&6
15285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15287 #include <libintl.h>
15288 $gt_revision_test_code
15289 extern int _nl_msg_cat_cntr;
15290 extern int *_nl_domain_bindings;
15294 bindtextdomain ("", "");
15295 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15300 if ac_fn_c_try_link "$LINENO"; then :
15301 eval "$gt_func_gnugettext_libc=yes"
15303 eval "$gt_func_gnugettext_libc=no"
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15308 eval ac_res=\$$gt_func_gnugettext_libc
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15310 $as_echo "$ac_res" >&6; }
15312 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15318 am_save_CPPFLAGS="$CPPFLAGS"
15320 for element in $INCICONV; do
15322 for x in $CPPFLAGS; do
15324 acl_save_prefix="$prefix"
15325 prefix="$acl_final_prefix"
15326 acl_save_exec_prefix="$exec_prefix"
15327 exec_prefix="$acl_final_exec_prefix"
15329 exec_prefix="$acl_save_exec_prefix"
15330 prefix="$acl_save_prefix"
15332 if test "X$x" = "X$element"; then
15337 if test -z "$haveit"; then
15338 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15344 $as_echo_n "checking for iconv... " >&6; }
15345 if test "${am_cv_func_iconv+set}" = set; then :
15346 $as_echo_n "(cached) " >&6
15349 am_cv_func_iconv="no, consider installing GNU libiconv"
15351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15352 /* end confdefs.h. */
15353 #include <stdlib.h>
15358 iconv_t cd = iconv_open("","");
15359 iconv(cd,NULL,NULL,NULL,NULL);
15365 if ac_fn_c_try_link "$LINENO"; then :
15366 am_cv_func_iconv=yes
15368 rm -f core conftest.err conftest.$ac_objext \
15369 conftest$ac_exeext conftest.$ac_ext
15370 if test "$am_cv_func_iconv" != yes; then
15371 am_save_LIBS="$LIBS"
15372 LIBS="$LIBS $LIBICONV"
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15375 #include <stdlib.h>
15380 iconv_t cd = iconv_open("","");
15381 iconv(cd,NULL,NULL,NULL,NULL);
15387 if ac_fn_c_try_link "$LINENO"; then :
15388 am_cv_lib_iconv=yes
15389 am_cv_func_iconv=yes
15391 rm -f core conftest.err conftest.$ac_objext \
15392 conftest$ac_exeext conftest.$ac_ext
15393 LIBS="$am_save_LIBS"
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15398 $as_echo "$am_cv_func_iconv" >&6; }
15399 if test "$am_cv_func_iconv" = yes; then
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15401 $as_echo_n "checking for working iconv... " >&6; }
15402 if test "${am_cv_func_iconv_works+set}" = set; then :
15403 $as_echo_n "(cached) " >&6
15406 am_save_LIBS="$LIBS"
15407 if test $am_cv_lib_iconv = yes; then
15408 LIBS="$LIBS $LIBICONV"
15410 if test "$cross_compiling" = yes; then :
15412 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15413 *) am_cv_func_iconv_works="guessing yes" ;;
15416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15420 #include <string.h>
15423 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15426 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15427 if (cd_utf8_to_88591 != (iconv_t)(-1))
15429 static const char input[] = "\342\202\254"; /* EURO SIGN */
15431 const char *inptr = input;
15432 size_t inbytesleft = strlen (input);
15433 char *outptr = buf;
15434 size_t outbytesleft = sizeof (buf);
15435 size_t res = iconv (cd_utf8_to_88591,
15436 (char **) &inptr, &inbytesleft,
15437 &outptr, &outbytesleft);
15442 /* Test against Solaris 10 bug: Failures are not distinguishable from
15443 successful returns. */
15445 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
15446 if (cd_ascii_to_88591 != (iconv_t)(-1))
15448 static const char input[] = "\263";
15450 const char *inptr = input;
15451 size_t inbytesleft = strlen (input);
15452 char *outptr = buf;
15453 size_t outbytesleft = sizeof (buf);
15454 size_t res = iconv (cd_ascii_to_88591,
15455 (char **) &inptr, &inbytesleft,
15456 &outptr, &outbytesleft);
15461 #if 0 /* This bug could be worked around by the caller. */
15462 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15464 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15465 if (cd_88591_to_utf8 != (iconv_t)(-1))
15467 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15469 const char *inptr = input;
15470 size_t inbytesleft = strlen (input);
15471 char *outptr = buf;
15472 size_t outbytesleft = sizeof (buf);
15473 size_t res = iconv (cd_88591_to_utf8,
15474 (char **) &inptr, &inbytesleft,
15475 &outptr, &outbytesleft);
15481 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15483 if (/* Try standardized names. */
15484 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15485 /* Try IRIX, OSF/1 names. */
15486 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15487 /* Try AIX names. */
15488 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15489 /* Try HP-UX names. */
15490 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15495 if ac_fn_c_try_run "$LINENO"; then :
15496 am_cv_func_iconv_works=yes
15498 am_cv_func_iconv_works=no
15500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15501 conftest.$ac_objext conftest.beam conftest.$ac_ext
15504 LIBS="$am_save_LIBS"
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15508 $as_echo "$am_cv_func_iconv_works" >&6; }
15509 case "$am_cv_func_iconv_works" in
15510 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15511 *) am_func_iconv=yes ;;
15514 am_func_iconv=no am_cv_lib_iconv=no
15516 if test "$am_func_iconv" = yes; then
15518 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15521 if test "$am_cv_lib_iconv" = yes; then
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15523 $as_echo_n "checking how to link with libiconv... " >&6; }
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15525 $as_echo "$LIBICONV" >&6; }
15527 CPPFLAGS="$am_save_CPPFLAGS"
15544 acl_save_prefix="$prefix"
15545 prefix="$acl_final_prefix"
15546 acl_save_exec_prefix="$exec_prefix"
15547 exec_prefix="$acl_final_exec_prefix"
15549 eval additional_includedir=\"$includedir\"
15550 eval additional_libdir=\"$libdir\"
15552 exec_prefix="$acl_save_exec_prefix"
15553 prefix="$acl_save_prefix"
15556 # Check whether --with-libintl-prefix was given.
15557 if test "${with_libintl_prefix+set}" = set; then :
15558 withval=$with_libintl_prefix;
15559 if test "X$withval" = "Xno"; then
15562 if test "X$withval" = "X"; then
15564 acl_save_prefix="$prefix"
15565 prefix="$acl_final_prefix"
15566 acl_save_exec_prefix="$exec_prefix"
15567 exec_prefix="$acl_final_exec_prefix"
15569 eval additional_includedir=\"$includedir\"
15570 eval additional_libdir=\"$libdir\"
15572 exec_prefix="$acl_save_exec_prefix"
15573 prefix="$acl_save_prefix"
15576 additional_includedir="$withval/include"
15577 additional_libdir="$withval/$acl_libdirstem"
15578 if test "$acl_libdirstem2" != "$acl_libdirstem" \
15579 && ! test -d "$withval/$acl_libdirstem"; then
15580 additional_libdir="$withval/$acl_libdirstem2"
15594 names_already_handled=
15595 names_next_round='intl '
15596 while test -n "$names_next_round"; do
15597 names_this_round="$names_next_round"
15599 for name in $names_this_round; do
15601 for n in $names_already_handled; do
15602 if test "$n" = "$name"; then
15603 already_handled=yes
15607 if test -z "$already_handled"; then
15608 names_already_handled="$names_already_handled $name"
15609 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15610 eval value=\"\$HAVE_LIB$uppername\"
15611 if test -n "$value"; then
15612 if test "$value" = yes; then
15613 eval value=\"\$LIB$uppername\"
15614 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15615 eval value=\"\$LTLIB$uppername\"
15616 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15625 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15626 if test -n "$acl_shlibext"; then
15627 shrext=".$acl_shlibext" # typically: shrext=.so
15631 if test $use_additional = yes; then
15632 dir="$additional_libdir"
15633 if test -n "$acl_shlibext"; then
15634 if test -f "$dir/$libname$shrext"; then
15636 found_so="$dir/$libname$shrext"
15638 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15639 ver=`(cd "$dir" && \
15640 for f in "$libname$shrext".*; do echo "$f"; done \
15641 | sed -e "s,^$libname$shrext\\\\.,," \
15642 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15643 | sed 1q ) 2>/dev/null`
15644 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15646 found_so="$dir/$libname$shrext.$ver"
15649 eval library_names=\"$acl_library_names_spec\"
15650 for f in $library_names; do
15651 if test -f "$dir/$f"; then
15660 if test "X$found_dir" = "X"; then
15661 if test -f "$dir/$libname.$acl_libext"; then
15663 found_a="$dir/$libname.$acl_libext"
15666 if test "X$found_dir" != "X"; then
15667 if test -f "$dir/$libname.la"; then
15668 found_la="$dir/$libname.la"
15672 if test "X$found_dir" = "X"; then
15673 for x in $LDFLAGS $LTLIBINTL; do
15675 acl_save_prefix="$prefix"
15676 prefix="$acl_final_prefix"
15677 acl_save_exec_prefix="$exec_prefix"
15678 exec_prefix="$acl_final_exec_prefix"
15680 exec_prefix="$acl_save_exec_prefix"
15681 prefix="$acl_save_prefix"
15685 dir=`echo "X$x" | sed -e 's/^X-L//'`
15686 if test -n "$acl_shlibext"; then
15687 if test -f "$dir/$libname$shrext"; then
15689 found_so="$dir/$libname$shrext"
15691 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15692 ver=`(cd "$dir" && \
15693 for f in "$libname$shrext".*; do echo "$f"; done \
15694 | sed -e "s,^$libname$shrext\\\\.,," \
15695 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15696 | sed 1q ) 2>/dev/null`
15697 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15699 found_so="$dir/$libname$shrext.$ver"
15702 eval library_names=\"$acl_library_names_spec\"
15703 for f in $library_names; do
15704 if test -f "$dir/$f"; then
15713 if test "X$found_dir" = "X"; then
15714 if test -f "$dir/$libname.$acl_libext"; then
15716 found_a="$dir/$libname.$acl_libext"
15719 if test "X$found_dir" != "X"; then
15720 if test -f "$dir/$libname.la"; then
15721 found_la="$dir/$libname.la"
15726 if test "X$found_dir" != "X"; then
15731 if test "X$found_dir" != "X"; then
15732 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15733 if test "X$found_so" != "X"; then
15734 if test "$enable_rpath" = no \
15735 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
15736 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
15737 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15740 for x in $ltrpathdirs; do
15741 if test "X$x" = "X$found_dir"; then
15746 if test -z "$haveit"; then
15747 ltrpathdirs="$ltrpathdirs $found_dir"
15749 if test "$acl_hardcode_direct" = yes; then
15750 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15752 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15753 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15755 for x in $rpathdirs; do
15756 if test "X$x" = "X$found_dir"; then
15761 if test -z "$haveit"; then
15762 rpathdirs="$rpathdirs $found_dir"
15766 for x in $LDFLAGS $LIBINTL; do
15768 acl_save_prefix="$prefix"
15769 prefix="$acl_final_prefix"
15770 acl_save_exec_prefix="$exec_prefix"
15771 exec_prefix="$acl_final_exec_prefix"
15773 exec_prefix="$acl_save_exec_prefix"
15774 prefix="$acl_save_prefix"
15776 if test "X$x" = "X-L$found_dir"; then
15781 if test -z "$haveit"; then
15782 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15784 if test "$acl_hardcode_minus_L" != no; then
15785 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15787 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15793 if test "X$found_a" != "X"; then
15794 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15796 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15799 additional_includedir=
15800 case "$found_dir" in
15801 */$acl_libdirstem | */$acl_libdirstem/)
15802 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15803 if test "$name" = 'intl'; then
15804 LIBINTL_PREFIX="$basedir"
15806 additional_includedir="$basedir/include"
15808 */$acl_libdirstem2 | */$acl_libdirstem2/)
15809 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15810 if test "$name" = 'intl'; then
15811 LIBINTL_PREFIX="$basedir"
15813 additional_includedir="$basedir/include"
15816 if test "X$additional_includedir" != "X"; then
15817 if test "X$additional_includedir" != "X/usr/include"; then
15819 if test "X$additional_includedir" = "X/usr/local/include"; then
15820 if test -n "$GCC"; then
15822 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15826 if test -z "$haveit"; then
15827 for x in $CPPFLAGS $INCINTL; do
15829 acl_save_prefix="$prefix"
15830 prefix="$acl_final_prefix"
15831 acl_save_exec_prefix="$exec_prefix"
15832 exec_prefix="$acl_final_exec_prefix"
15834 exec_prefix="$acl_save_exec_prefix"
15835 prefix="$acl_save_prefix"
15837 if test "X$x" = "X-I$additional_includedir"; then
15842 if test -z "$haveit"; then
15843 if test -d "$additional_includedir"; then
15844 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15850 if test -n "$found_la"; then
15851 save_libdir="$libdir"
15852 case "$found_la" in
15853 */* | *\\*) . "$found_la" ;;
15854 *) . "./$found_la" ;;
15856 libdir="$save_libdir"
15857 for dep in $dependency_libs; do
15860 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15861 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15862 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15864 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15865 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15866 if test -n "$GCC"; then
15868 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15872 if test -z "$haveit"; then
15874 for x in $LDFLAGS $LIBINTL; do
15876 acl_save_prefix="$prefix"
15877 prefix="$acl_final_prefix"
15878 acl_save_exec_prefix="$exec_prefix"
15879 exec_prefix="$acl_final_exec_prefix"
15881 exec_prefix="$acl_save_exec_prefix"
15882 prefix="$acl_save_prefix"
15884 if test "X$x" = "X-L$additional_libdir"; then
15889 if test -z "$haveit"; then
15890 if test -d "$additional_libdir"; then
15891 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15895 for x in $LDFLAGS $LTLIBINTL; do
15897 acl_save_prefix="$prefix"
15898 prefix="$acl_final_prefix"
15899 acl_save_exec_prefix="$exec_prefix"
15900 exec_prefix="$acl_final_exec_prefix"
15902 exec_prefix="$acl_save_exec_prefix"
15903 prefix="$acl_save_prefix"
15905 if test "X$x" = "X-L$additional_libdir"; then
15910 if test -z "$haveit"; then
15911 if test -d "$additional_libdir"; then
15912 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15919 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15920 if test "$enable_rpath" != no; then
15922 for x in $rpathdirs; do
15923 if test "X$x" = "X$dir"; then
15928 if test -z "$haveit"; then
15929 rpathdirs="$rpathdirs $dir"
15932 for x in $ltrpathdirs; do
15933 if test "X$x" = "X$dir"; then
15938 if test -z "$haveit"; then
15939 ltrpathdirs="$ltrpathdirs $dir"
15944 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15947 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15950 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15951 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15957 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15958 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15964 if test "X$rpathdirs" != "X"; then
15965 if test -n "$acl_hardcode_libdir_separator"; then
15967 for found_dir in $rpathdirs; do
15968 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15970 acl_save_libdir="$libdir"
15972 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15973 libdir="$acl_save_libdir"
15974 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15976 for found_dir in $rpathdirs; do
15977 acl_save_libdir="$libdir"
15978 libdir="$found_dir"
15979 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15980 libdir="$acl_save_libdir"
15981 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15985 if test "X$ltrpathdirs" != "X"; then
15986 for found_dir in $ltrpathdirs; do
15987 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15997 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15998 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
15999 $as_echo_n "(cached) " >&6
16001 gt_save_CPPFLAGS="$CPPFLAGS"
16002 CPPFLAGS="$CPPFLAGS $INCINTL"
16003 gt_save_LIBS="$LIBS"
16004 LIBS="$LIBS $LIBINTL"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16007 #include <libintl.h>
16008 $gt_revision_test_code
16009 extern int _nl_msg_cat_cntr;
16014 const char *_nl_expand_alias (const char *);
16018 bindtextdomain ("", "");
16019 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16024 if ac_fn_c_try_link "$LINENO"; then :
16025 eval "$gt_func_gnugettext_libintl=yes"
16027 eval "$gt_func_gnugettext_libintl=no"
16029 rm -f core conftest.err conftest.$ac_objext \
16030 conftest$ac_exeext conftest.$ac_ext
16031 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16032 LIBS="$LIBS $LIBICONV"
16033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16034 /* end confdefs.h. */
16035 #include <libintl.h>
16036 $gt_revision_test_code
16037 extern int _nl_msg_cat_cntr;
16042 const char *_nl_expand_alias (const char *);
16046 bindtextdomain ("", "");
16047 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16052 if ac_fn_c_try_link "$LINENO"; then :
16053 LIBINTL="$LIBINTL $LIBICONV"
16054 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16055 eval "$gt_func_gnugettext_libintl=yes"
16058 rm -f core conftest.err conftest.$ac_objext \
16059 conftest$ac_exeext conftest.$ac_ext
16061 CPPFLAGS="$gt_save_CPPFLAGS"
16062 LIBS="$gt_save_LIBS"
16064 eval ac_res=\$$gt_func_gnugettext_libintl
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16066 $as_echo "$ac_res" >&6; }
16069 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16070 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16071 && test "$PACKAGE" != gettext-runtime \
16072 && test "$PACKAGE" != gettext-tools; }; then
16073 gt_use_preinstalled_gnugettext=yes
16082 if test -n "$INTL_MACOSX_LIBS"; then
16083 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16084 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16085 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16086 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16090 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16091 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16093 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16101 $as_echo_n "checking whether to use NLS... " >&6; }
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16103 $as_echo "$USE_NLS" >&6; }
16104 if test "$USE_NLS" = "yes"; then
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16106 $as_echo_n "checking where the gettext function comes from... " >&6; }
16107 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16108 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16109 gt_source="external libintl"
16114 gt_source="included intl directory"
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16117 $as_echo "$gt_source" >&6; }
16120 if test "$USE_NLS" = "yes"; then
16122 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16123 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16125 $as_echo_n "checking how to link with libintl... " >&6; }
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16127 $as_echo "$LIBINTL" >&6; }
16129 for element in $INCINTL; do
16131 for x in $CPPFLAGS; do
16133 acl_save_prefix="$prefix"
16134 prefix="$acl_final_prefix"
16135 acl_save_exec_prefix="$exec_prefix"
16136 exec_prefix="$acl_final_exec_prefix"
16138 exec_prefix="$acl_save_exec_prefix"
16139 prefix="$acl_save_prefix"
16141 if test "X$x" = "X$element"; then
16146 if test -z "$haveit"; then
16147 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16154 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16157 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16166 INTLLIBS="$LIBINTL"
16175 GETTEXT_PACKAGE=PACKAGE_TARNAME
16178 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
16181 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
16184 cat >confcache <<\_ACEOF
16185 # This file is a shell script that caches the results of configure
16186 # tests run on this system so they can be shared between configure
16187 # scripts and configure runs, see configure's option --config-cache.
16188 # It is not useful on other systems. If it contains results you don't
16189 # want to keep, you may remove or edit it.
16191 # config.status only pays attention to the cache file if you give it
16192 # the --recheck option to rerun configure.
16194 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16195 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16196 # following values.
16200 # The following way of writing the cache mishandles newlines in values,
16201 # but we know of no workaround that is simple, portable, and efficient.
16202 # So, we kill variables containing newlines.
16203 # Ultrix sh set writes to stderr and can't be redirected directly,
16204 # and sets the high bit in the cache file unless we assign to the vars.
16206 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16207 eval ac_val=\$$ac_var
16211 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16212 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16215 _ | IFS | as_nl) ;; #(
16216 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16217 *) { eval $ac_var=; unset $ac_var;} ;;
16223 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16224 *${as_nl}ac_space=\ *)
16225 # `set' does not quote correctly, so add quotes: double-quote
16226 # substitution turns \\\\ into \\, and sed turns \\ into \.
16229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16232 # `set' quotes correctly as required by POSIX, so do not add quotes.
16233 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16242 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16244 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16246 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16247 if test -w "$cache_file"; then
16248 test "x$cache_file" != "x/dev/null" &&
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16250 $as_echo "$as_me: updating cache $cache_file" >&6;}
16251 cat confcache >$cache_file
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16254 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16259 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16260 # Let make expand exec_prefix.
16261 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16263 DEFS=-DHAVE_CONFIG_H
16268 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16269 # 1. Remove the extension, and $U if already installed.
16270 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16271 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16272 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16273 # will be set to the directory where LIBOBJS objects are built.
16274 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16275 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16277 LIBOBJS=$ac_libobjs
16279 LTLIBOBJS=$ac_ltlibobjs
16282 if test -n "$EXEEXT"; then
16284 am__EXEEXT_FALSE='#'
16286 am__EXEEXT_TRUE='#'
16290 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16291 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16294 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16295 as_fn_error $? "conditional \"AMDEP\" was never defined.
16296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16298 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16299 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16302 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16303 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16306 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
16307 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
16308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16310 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16311 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16314 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
16315 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
16316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16318 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
16319 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
16320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16322 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
16323 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
16324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16326 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
16327 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
16328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16330 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
16331 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
16332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16335 : ${CONFIG_STATUS=./config.status}
16337 ac_clean_files_save=$ac_clean_files
16338 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16340 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16342 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16344 # Generated by $as_me.
16345 # Run this file to recreate the current configuration.
16346 # Compiler output produced by configure, useful for debugging
16347 # configure, is in config.log if it exists.
16350 ac_cs_recheck=false
16353 SHELL=\${CONFIG_SHELL-$SHELL}
16356 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16357 ## -------------------- ##
16358 ## M4sh Initialization. ##
16359 ## -------------------- ##
16361 # Be more Bourne compatible
16362 DUALCASE=1; export DUALCASE # for MKS sh
16363 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16366 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16367 # is contrary to our usage. Disable this feature.
16368 alias -g '${1+"$@"}'='"$@"'
16369 setopt NO_GLOB_SUBST
16371 case `(set -o) 2>/dev/null` in #(
16383 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16384 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16386 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16387 # Prefer a ksh shell builtin over an external printf program on Solaris,
16388 # but without wasting forks for bash or zsh.
16389 if test -z "$BASH_VERSION$ZSH_VERSION" \
16390 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16391 as_echo='print -r --'
16392 as_echo_n='print -rn --'
16393 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16394 as_echo='printf %s\n'
16395 as_echo_n='printf %s'
16397 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16398 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16399 as_echo_n='/usr/ucb/echo -n'
16401 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16402 as_echo_n_body='eval
16406 expr "X$arg" : "X\\(.*\\)$as_nl";
16407 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16409 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16411 export as_echo_n_body
16412 as_echo_n='sh -c $as_echo_n_body as_echo'
16414 export as_echo_body
16415 as_echo='sh -c $as_echo_body as_echo'
16418 # The user is always right.
16419 if test "${PATH_SEPARATOR+set}" != set; then
16421 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16422 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16429 # We need space, tab and new line, in precisely that order. Quoting is
16430 # there to prevent editors from complaining about space-tab.
16431 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16432 # splitting by setting IFS to empty value.)
16435 # Find who we are. Look in the path if we contain no directory separator.
16437 *[\\/]* ) as_myself=$0 ;;
16438 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16439 for as_dir in $PATH
16442 test -z "$as_dir" && as_dir=.
16443 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16449 # We did not find ourselves, most probably we were run as `sh COMMAND'
16450 # in which case we are not to be found in the path.
16451 if test "x$as_myself" = x; then
16454 if test ! -f "$as_myself"; then
16455 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16459 # Unset variables that we do not need and which cause bugs (e.g. in
16460 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16461 # suppresses any "Segmentation fault" message there. '((' could
16462 # trigger a bug in pdksh 5.2.14.
16463 for as_var in BASH_ENV ENV MAIL MAILPATH
16464 do eval test x\${$as_var+set} = xset \
16465 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16478 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16481 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16482 # ----------------------------------------
16483 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16484 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16485 # script with STATUS, using 1 if that was 0.
16488 as_status=$1; test $as_status -eq 0 && as_status=1
16490 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16491 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16493 $as_echo "$as_me: error: $2" >&2
16494 as_fn_exit $as_status
16498 # as_fn_set_status STATUS
16499 # -----------------------
16500 # Set $? to STATUS, without forking.
16501 as_fn_set_status ()
16504 } # as_fn_set_status
16506 # as_fn_exit STATUS
16507 # -----------------
16508 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16512 as_fn_set_status $1
16518 # Portably unset VAR.
16521 { eval $1=; unset $1;}
16523 as_unset=as_fn_unset
16524 # as_fn_append VAR VALUE
16525 # ----------------------
16526 # Append the text in VALUE to the end of the definition contained in VAR. Take
16527 # advantage of any shell optimizations that allow amortized linear growth over
16528 # repeated appends, instead of the typical quadratic growth present in naive
16530 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16531 eval 'as_fn_append ()
16542 # as_fn_arith ARG...
16543 # ------------------
16544 # Perform arithmetic evaluation on the ARGs, and store the result in the
16545 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16546 # must be portable across $(()) and expr.
16547 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16548 eval 'as_fn_arith ()
16555 as_val=`expr "$@" || test $? -eq 1`
16560 if expr a : '\(a\)' >/dev/null 2>&1 &&
16561 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16567 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16568 as_basename=basename
16573 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16579 as_me=`$as_basename -- "$0" ||
16580 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16581 X"$0" : 'X\(//\)$' \| \
16582 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16584 sed '/^.*\/\([^/][^/]*\)\/*$/{
16598 # Avoid depending upon Character Ranges.
16599 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16600 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16601 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16602 as_cr_digits='0123456789'
16603 as_cr_alnum=$as_cr_Letters$as_cr_digits
16605 ECHO_C= ECHO_N= ECHO_T=
16606 case `echo -n x` in #(((((
16608 case `echo 'xy\c'` in
16609 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16611 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16618 rm -f conf$$ conf$$.exe conf$$.file
16619 if test -d conf$$.dir; then
16620 rm -f conf$$.dir/conf$$.file
16623 mkdir conf$$.dir 2>/dev/null
16625 if (echo >conf$$.file) 2>/dev/null; then
16626 if ln -s conf$$.file conf$$ 2>/dev/null; then
16628 # ... but there are two gotchas:
16629 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16630 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16631 # In both cases, we have to default to `cp -p'.
16632 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16634 elif ln conf$$.file conf$$ 2>/dev/null; then
16642 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16643 rmdir conf$$.dir 2>/dev/null
16648 # Create "$as_dir" as a directory, including parents if necessary.
16653 -*) as_dir=./$as_dir;;
16655 test -d "$as_dir" || eval $as_mkdir_p || {
16659 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16660 *) as_qdir=$as_dir;;
16662 as_dirs="'$as_qdir' $as_dirs"
16663 as_dir=`$as_dirname -- "$as_dir" ||
16664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16665 X"$as_dir" : 'X\(//\)[^/]' \| \
16666 X"$as_dir" : 'X\(//\)$' \| \
16667 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16668 $as_echo X"$as_dir" |
16669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16673 /^X\(\/\/\)[^/].*/{
16686 test -d "$as_dir" && break
16688 test -z "$as_dirs" || eval "mkdir $as_dirs"
16689 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16693 if mkdir -p . 2>/dev/null; then
16694 as_mkdir_p='mkdir -p "$as_dir"'
16696 test -d ./-p && rmdir ./-p
16700 if test -x / >/dev/null 2>&1; then
16701 as_test_x='test -x'
16703 if ls -dL / >/dev/null 2>&1; then
16710 if test -d "$1"; then
16716 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16717 ???[sx]*):;;*)false;;esac;fi
16721 as_executable_p=$as_test_x
16723 # Sed expression to map a string onto a valid CPP name.
16724 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16726 # Sed expression to map a string onto a valid variable name.
16727 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16731 ## ----------------------------------- ##
16732 ## Main body of $CONFIG_STATUS script. ##
16733 ## ----------------------------------- ##
16735 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16738 # Save the log message, to keep $0 and so on meaningful, and to
16739 # report actual input values of CONFIG_FILES etc. instead of their
16740 # values after options handling.
16742 This file was extended by Moonshot-ui $as_me 0.1, which was
16743 generated by GNU Autoconf 2.67. Invocation command line was
16745 CONFIG_FILES = $CONFIG_FILES
16746 CONFIG_HEADERS = $CONFIG_HEADERS
16747 CONFIG_LINKS = $CONFIG_LINKS
16748 CONFIG_COMMANDS = $CONFIG_COMMANDS
16751 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16756 case $ac_config_files in *"
16757 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16760 case $ac_config_headers in *"
16761 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16766 # Files that config.status was made for.
16767 config_files="$ac_config_files"
16768 config_headers="$ac_config_headers"
16769 config_commands="$ac_config_commands"
16773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16775 \`$as_me' instantiates files and other configuration actions
16776 from templates according to the current configuration. Unless the files
16777 and actions are specified as TAGs, all are instantiated by default.
16779 Usage: $0 [OPTION]... [TAG]...
16781 -h, --help print this help, then exit
16782 -V, --version print version number and configuration settings, then exit
16783 --config print configuration, then exit
16784 -q, --quiet, --silent
16785 do not print progress messages
16786 -d, --debug don't remove temporary files
16787 --recheck update $as_me by reconfiguring in the same conditions
16788 --file=FILE[:TEMPLATE]
16789 instantiate the configuration file FILE
16790 --header=FILE[:TEMPLATE]
16791 instantiate the configuration header FILE
16793 Configuration files:
16796 Configuration headers:
16799 Configuration commands:
16802 Report bugs to <moonshot-community@jiscmail.ac.uk>.
16803 Moonshot-ui home page: <http://www.project-moonshot.org/>."
16806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16807 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16809 Moonshot-ui config.status 0.1
16810 configured by $0, generated by GNU Autoconf 2.67,
16811 with options \\"\$ac_cs_config\\"
16813 Copyright (C) 2010 Free Software Foundation, Inc.
16814 This config.status script is free software; the Free Software Foundation
16815 gives unlimited permission to copy, distribute and modify it."
16822 test -n "\$AWK" || AWK=awk
16825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16826 # The default lists apply if the user does not specify any file.
16832 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16833 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16837 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16849 # Handling of the options.
16850 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16852 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16853 $as_echo "$ac_cs_version"; exit ;;
16854 --config | --confi | --conf | --con | --co | --c )
16855 $as_echo "$ac_cs_config"; exit ;;
16856 --debug | --debu | --deb | --de | --d | -d )
16858 --file | --fil | --fi | --f )
16861 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16862 '') as_fn_error $? "missing file argument" ;;
16864 as_fn_append CONFIG_FILES " '$ac_optarg'"
16865 ac_need_defaults=false;;
16866 --header | --heade | --head | --hea )
16869 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16871 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16872 ac_need_defaults=false;;
16874 # Conflict between --help and --header
16875 as_fn_error $? "ambiguous option: \`$1'
16876 Try \`$0 --help' for more information.";;
16877 --help | --hel | -h )
16878 $as_echo "$ac_cs_usage"; exit ;;
16879 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16880 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16883 # This is an error.
16884 -*) as_fn_error $? "unrecognized option: \`$1'
16885 Try \`$0 --help' for more information." ;;
16887 *) as_fn_append ac_config_targets " $1"
16888 ac_need_defaults=false ;;
16894 ac_configure_extra_args=
16896 if $ac_cs_silent; then
16898 ac_configure_extra_args="$ac_configure_extra_args --silent"
16902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16903 if \$ac_cs_recheck; then
16904 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16906 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16907 CONFIG_SHELL='$SHELL'
16908 export CONFIG_SHELL
16913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16917 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16918 ## Running $as_me. ##
16924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16928 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16931 # The HP-UX ksh and POSIX shell print the target directory to stdout
16932 # if CDPATH is set.
16933 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16935 sed_quote_subst='$sed_quote_subst'
16936 double_quote_subst='$double_quote_subst'
16937 delay_variable_subst='$delay_variable_subst'
16938 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16939 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16940 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16941 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16942 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16943 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16944 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16945 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16946 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16947 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16948 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16949 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16950 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16951 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16952 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16953 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16954 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16955 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16956 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16957 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16958 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16959 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16960 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16961 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16962 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16963 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16964 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16965 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16966 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16967 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16968 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16969 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16970 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16971 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16972 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16973 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16974 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16975 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16976 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16977 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16978 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16979 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16980 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16981 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16982 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16983 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16984 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16985 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16986 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16987 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16988 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16989 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16990 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16991 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16992 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16993 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16994 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16995 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16996 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16997 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16998 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16999 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17000 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17001 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17002 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17003 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17004 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17005 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17006 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17007 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17008 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17009 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17010 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17011 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17012 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17013 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17014 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17015 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17016 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17017 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17018 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17019 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17020 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17021 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17022 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17023 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17024 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17025 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17026 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17027 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17028 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17029 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17030 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17031 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17032 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17033 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17034 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17035 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17036 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17037 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17038 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17039 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17040 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17041 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17042 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17043 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17044 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17045 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17046 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17047 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17048 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17049 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17050 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17051 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17052 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17053 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17054 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17055 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17056 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17057 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17058 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17059 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17060 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17061 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17062 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17063 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17064 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17065 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17066 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17067 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17068 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17071 LTCFLAGS='$LTCFLAGS'
17072 compiler='$compiler_DEFAULT'
17074 # A function that is used when there is no print builtin or printf.
17075 func_fallback_echo ()
17077 eval 'cat <<_LTECHO_EOF
17082 # Quote evaled strings.
17099 deplibs_check_method \
17103 sharedlib_from_linklib_cmd \
17106 archiver_list_spec \
17112 lt_cv_sys_global_symbol_pipe \
17113 lt_cv_sys_global_symbol_to_cdecl \
17114 lt_cv_sys_global_symbol_to_c_name_address \
17115 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17116 nm_file_list_spec \
17117 lt_prog_compiler_no_builtin_flag \
17118 lt_prog_compiler_pic \
17119 lt_prog_compiler_wl \
17120 lt_prog_compiler_static \
17121 lt_cv_prog_compiler_c_o \
17130 export_dynamic_flag_spec \
17131 whole_archive_flag_spec \
17132 compiler_needs_object \
17134 allow_undefined_flag \
17135 no_undefined_flag \
17136 hardcode_libdir_flag_spec \
17137 hardcode_libdir_separator \
17141 variables_saved_for_relink \
17143 library_names_spec \
17145 install_override_mode \
17149 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17150 *[\\\\\\\`\\"\\\$]*)
17151 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17154 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17159 # Double-quote double-evaled strings.
17160 for var in reload_cmds \
17161 old_postinstall_cmds \
17162 old_postuninstall_cmds \
17164 extract_expsyms_cmds \
17165 old_archive_from_new_cmds \
17166 old_archive_from_expsyms_cmds \
17168 archive_expsym_cmds \
17170 module_expsym_cmds \
17171 export_symbols_cmds \
17175 postuninstall_cmds \
17177 sys_lib_search_path_spec \
17178 sys_lib_dlsearch_path_spec; do
17179 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17180 *[\\\\\\\`\\"\\\$]*)
17181 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17184 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17189 ac_aux_dir='$ac_aux_dir'
17190 xsi_shell='$xsi_shell'
17191 lt_shell_append='$lt_shell_append'
17193 # See if we are running on zsh, and set the options which allow our
17194 # commands through without removal of \ escapes INIT.
17195 if test -n "\${ZSH_VERSION+set}" ; then
17196 setopt NO_GLOB_SUBST
17202 TIMESTAMP='$TIMESTAMP'
17208 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17209 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17210 # from automake < 1.5.
17211 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17212 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17213 LINGUAS="${LINGUAS-%UNSET%}"
17218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17220 # Handling of arguments.
17221 for ac_config_target in $ac_config_targets
17223 case $ac_config_target in
17224 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17225 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17226 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17227 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17228 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17229 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17230 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
17231 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
17232 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
17234 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17239 # If the user did not use the arguments to specify the items to instantiate,
17240 # then the envvar interface is used. Set only those that are not.
17241 # We use the long form for the default assignment because of an extremely
17242 # bizarre bug on SunOS 4.1.3.
17243 if $ac_need_defaults; then
17244 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17245 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17246 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17249 # Have a temporary directory for convenience. Make it in the build tree
17250 # simply because there is no reason against having it here, and in addition,
17251 # creating and moving files from /tmp can sometimes cause problems.
17252 # Hook for its removal unless debugging.
17253 # Note that there is a small window in which the directory will not be cleaned:
17254 # after its creation but before its name has been assigned to `$tmp'.
17258 trap 'exit_status=$?
17259 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17261 trap 'as_fn_exit 1' 1 2 13 15
17263 # Create a (secure) tmp directory for tmp files.
17266 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17267 test -n "$tmp" && test -d "$tmp"
17270 tmp=./conf$$-$RANDOM
17271 (umask 077 && mkdir "$tmp")
17272 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17274 # Set up the scripts for CONFIG_FILES section.
17275 # No need to generate them if there are no CONFIG_FILES.
17276 # This happens for instance with `./config.status config.h'.
17277 if test -n "$CONFIG_FILES"; then
17280 ac_cr=`echo X | tr X '\015'`
17281 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17282 # But we know of no other shell where ac_cr would be empty at this
17283 # point, so we can use a bashism as a fallback.
17284 if test "x$ac_cr" = x; then
17285 eval ac_cr=\$\'\\r\'
17287 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17288 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17291 ac_cs_awk_cr=$ac_cr
17294 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17299 echo "cat >conf$$subs.awk <<_ACEOF" &&
17300 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17302 } >conf$$subs.sh ||
17303 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17304 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17306 for ac_last_try in false false false false false :; do
17307 . ./conf$$subs.sh ||
17308 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17310 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17311 if test $ac_delim_n = $ac_delim_num; then
17313 elif $ac_last_try; then
17314 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17316 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17319 rm -f conf$$subs.sh
17321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17322 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17326 s/^/S["/; s/!.*/"]=/
17336 s/\(.\{148\}\)..*/\1/
17338 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17343 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17350 s/\(.\{148\}\)..*/\1/
17352 s/["\\]/\\&/g; s/^/"/; s/$/"/
17356 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17361 ' <conf$$subs.awk | sed '
17366 ' >>$CONFIG_STATUS || ac_write_fail=1
17367 rm -f conf$$subs.awk
17368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17370 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17371 for (key in S) S_is_set[key] = 1
17377 nfields = split(line, field, "@")
17379 len = length(field[1])
17380 for (i = 2; i < nfields; i++) {
17382 keylen = length(key)
17383 if (S_is_set[key]) {
17385 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17386 len += length(value) + length(field[++i])
17397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17398 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17399 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17402 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17403 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17406 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17407 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17408 # trailing colons and then remove the whole line if VPATH becomes empty
17409 # (actually we leave an empty line to preserve line numbers).
17410 if test "x$srcdir" = x.; then
17411 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17430 fi # test -n "$CONFIG_FILES"
17432 # Set up the scripts for CONFIG_HEADERS section.
17433 # No need to generate them if there are no CONFIG_HEADERS.
17434 # This happens for instance with `./config.status Makefile'.
17435 if test -n "$CONFIG_HEADERS"; then
17436 cat >"$tmp/defines.awk" <<\_ACAWK ||
17440 # Transform confdefs.h into an awk script `defines.awk', embedded as
17441 # here-document in config.status, that substitutes the proper values into
17442 # config.h.in to produce config.h.
17444 # Create a delimiter string that does not exist in confdefs.h, to ease
17445 # handling of long lines.
17447 for ac_last_try in false false :; do
17448 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17449 if test -z "$ac_t"; then
17451 elif $ac_last_try; then
17452 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17454 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17458 # For the awk script, D is an array of macro values keyed by name,
17459 # likewise P contains macro parameters if any. Preserve backslash
17460 # newline sequences.
17462 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17464 s/.\{148\}/&'"$ac_delim"'/g
17467 s/^[ ]*#[ ]*define[ ][ ]*/ /
17474 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17476 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17480 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17481 D["\1"]=" \3\\\\\\n"\\/p
17483 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17488 s/.\{148\}/&'"$ac_delim"'/g
17493 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17496 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17498 ' <confdefs.h | sed '
17499 s/'"$ac_delim"'/"\\\
17500 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17503 for (key in D) D_is_set[key] = 1
17506 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17508 split(line, arg, " ")
17509 if (arg[1] == "#") {
17513 defundef = substr(arg[1], 2)
17516 split(mac1, mac2, "(") #)
17518 prefix = substr(line, 1, index(line, defundef) - 1)
17519 if (D_is_set[macro]) {
17520 # Preserve the white space surrounding the "#".
17521 print prefix "define", macro P[macro] D[macro]
17524 # Replace #undef with comments. This is necessary, for example,
17525 # in the case of _POSIX_SOURCE, which is predefined and required
17526 # on some systems where configure will not decide to define it.
17527 if (defundef == "undef") {
17528 print "/*", prefix defundef, macro, "*/"
17536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17537 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17538 fi # test -n "$CONFIG_HEADERS"
17541 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17546 :[FHLC]) ac_mode=$ac_tag; continue;;
17548 case $ac_mode$ac_tag in
17550 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17551 :[FH]-) ac_tag=-:-;;
17552 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17569 -) ac_f="$tmp/stdin";;
17570 *) # Look for the file first in the build tree, then in the source tree
17571 # (if the path is not absolute). The absolute path cannot be DOS-style,
17572 # because $ac_f cannot contain `:'.
17576 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17578 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17580 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17581 as_fn_append ac_file_inputs " '$ac_f'"
17584 # Let's still pretend it is `configure' which instantiates (i.e., don't
17585 # use $as_me), people would be surprised to read:
17586 # /* config.h. Generated by config.status. */
17587 configure_input='Generated from '`
17588 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17590 if test x"$ac_file" != x-; then
17591 configure_input="$ac_file. $configure_input"
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17593 $as_echo "$as_me: creating $ac_file" >&6;}
17595 # Neutralize special characters interpreted by sed in replacement strings.
17596 case $configure_input in #(
17597 *\&* | *\|* | *\\* )
17598 ac_sed_conf_input=`$as_echo "$configure_input" |
17599 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17600 *) ac_sed_conf_input=$configure_input;;
17604 *:-:* | *:-) cat >"$tmp/stdin" \
17605 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17610 ac_dir=`$as_dirname -- "$ac_file" ||
17611 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17612 X"$ac_file" : 'X\(//\)[^/]' \| \
17613 X"$ac_file" : 'X\(//\)$' \| \
17614 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17615 $as_echo X"$ac_file" |
17616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17620 /^X\(\/\/\)[^/].*/{
17633 as_dir="$ac_dir"; as_fn_mkdir_p
17637 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17639 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17640 # A ".." for each directory in $ac_dir_suffix.
17641 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17642 case $ac_top_builddir_sub in
17643 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17644 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17647 ac_abs_top_builddir=$ac_pwd
17648 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17649 # for backward compatibility:
17650 ac_top_builddir=$ac_top_build_prefix
17653 .) # We are building in place.
17655 ac_top_srcdir=$ac_top_builddir_sub
17656 ac_abs_top_srcdir=$ac_pwd ;;
17657 [\\/]* | ?:[\\/]* ) # Absolute name.
17658 ac_srcdir=$srcdir$ac_dir_suffix;
17659 ac_top_srcdir=$srcdir
17660 ac_abs_top_srcdir=$srcdir ;;
17661 *) # Relative name.
17662 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17663 ac_top_srcdir=$ac_top_build_prefix$srcdir
17664 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17666 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17676 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17677 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17679 ac_MKDIR_P=$MKDIR_P
17681 [\\/$]* | ?:[\\/]* ) ;;
17682 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17687 # If the template does not know about datarootdir, expand it.
17688 # FIXME: This hack should be removed a few years after 2.60.
17689 ac_datarootdir_hack=; ac_datarootdir_seen=
17700 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17701 *datarootdir*) ac_datarootdir_seen=yes;;
17702 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17704 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17707 ac_datarootdir_hack='
17708 s&@datadir@&$datadir&g
17709 s&@docdir@&$docdir&g
17710 s&@infodir@&$infodir&g
17711 s&@localedir@&$localedir&g
17712 s&@mandir@&$mandir&g
17713 s&\\\${datarootdir}&$datarootdir&g' ;;
17717 # Neutralize VPATH when `$srcdir' = `.'.
17718 # Shell code in configure.ac might set extrasub.
17719 # FIXME: do we really want to maintain this feature?
17720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17721 ac_sed_extra="$ac_vpsub
17724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17726 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17727 s|@configure_input@|$ac_sed_conf_input|;t t
17728 s&@top_builddir@&$ac_top_builddir_sub&;t t
17729 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17730 s&@srcdir@&$ac_srcdir&;t t
17731 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17732 s&@top_srcdir@&$ac_top_srcdir&;t t
17733 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17734 s&@builddir@&$ac_builddir&;t t
17735 s&@abs_builddir@&$ac_abs_builddir&;t t
17736 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17737 s&@INSTALL@&$ac_INSTALL&;t t
17738 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17739 $ac_datarootdir_hack
17741 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17742 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17744 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17745 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17746 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17748 which seems to be undefined. Please make sure it is defined" >&5
17749 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17750 which seems to be undefined. Please make sure it is defined" >&2;}
17754 -) cat "$tmp/out" && rm -f "$tmp/out";;
17755 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17757 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17763 if test x"$ac_file" != x-; then
17765 $as_echo "/* $configure_input */" \
17766 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17767 } >"$tmp/config.h" \
17768 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17769 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17771 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17774 mv "$tmp/config.h" "$ac_file" \
17775 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17778 $as_echo "/* $configure_input */" \
17779 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17780 || as_fn_error $? "could not create -" "$LINENO" 5
17782 # Compute "$ac_file"'s index in $config_headers.
17785 for _am_header in $config_headers :; do
17786 case $_am_header in
17787 $_am_arg | $_am_arg:* )
17790 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17793 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17794 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17795 X"$_am_arg" : 'X\(//\)[^/]' \| \
17796 X"$_am_arg" : 'X\(//\)$' \| \
17797 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17798 $as_echo X"$_am_arg" |
17799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17803 /^X\(\/\/\)[^/].*/{
17815 s/.*/./; q'`/stamp-h$_am_stamp_count
17818 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17819 $as_echo "$as_me: executing $ac_file commands" >&6;}
17824 case $ac_file$ac_mode in
17825 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17826 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17827 # are listed without --file. Let's play safe and only enable the eval
17828 # if we detect the quoting.
17829 case $CONFIG_FILES in
17830 *\'*) eval set x "$CONFIG_FILES" ;;
17831 *) set x $CONFIG_FILES ;;
17836 # Strip MF so we end up with the name of the file.
17837 mf=`echo "$mf" | sed -e 's/:.*$//'`
17838 # Check whether this is an Automake generated Makefile or not.
17839 # We used to match only the files named `Makefile.in', but
17840 # some people rename them; so instead we look at the file content.
17841 # Grep'ing the first line is not enough: some people post-process
17842 # each Makefile.in and add a new line on top of each file to say so.
17843 # Grep'ing the whole file is not good either: AIX grep has a line
17844 # limit of 2048, but all sed's we know have understand at least 4000.
17845 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17846 dirpart=`$as_dirname -- "$mf" ||
17847 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17848 X"$mf" : 'X\(//\)[^/]' \| \
17849 X"$mf" : 'X\(//\)$' \| \
17850 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17856 /^X\(\/\/\)[^/].*/{
17872 # Extract the definition of DEPDIR, am__include, and am__quote
17873 # from the Makefile without running `make'.
17874 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17875 test -z "$DEPDIR" && continue
17876 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17877 test -z "am__include" && continue
17878 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17879 # When using ansi2knr, U may be empty or an underscore; expand it
17880 U=`sed -n 's/^U = //p' < "$mf"`
17881 # Find all dependency output files, they are included files with
17882 # $(DEPDIR) in their names. We invoke sed twice because it is the
17883 # simplest approach to changing $(DEPDIR) to its actual value in the
17885 for file in `sed -n "
17886 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17887 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17888 # Make sure the directory exists.
17889 test -f "$dirpart/$file" && continue
17890 fdir=`$as_dirname -- "$file" ||
17891 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17892 X"$file" : 'X\(//\)[^/]' \| \
17893 X"$file" : 'X\(//\)$' \| \
17894 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17895 $as_echo X"$file" |
17896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17900 /^X\(\/\/\)[^/].*/{
17913 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17914 # echo "creating $dirpart/$file"
17915 echo '# dummy' > "$dirpart/$file"
17922 # See if we are running on zsh, and set the options which allow our
17923 # commands through without removal of \ escapes.
17924 if test -n "${ZSH_VERSION+set}" ; then
17925 setopt NO_GLOB_SUBST
17928 cfgfile="${ofile}T"
17929 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17932 cat <<_LT_EOF >> "$cfgfile"
17935 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17936 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17937 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17938 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17940 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17941 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17943 # Written by Gordon Matzigkeit, 1996
17945 # This file is part of GNU Libtool.
17947 # GNU Libtool is free software; you can redistribute it and/or
17948 # modify it under the terms of the GNU General Public License as
17949 # published by the Free Software Foundation; either version 2 of
17950 # the License, or (at your option) any later version.
17952 # As a special exception to the GNU General Public License,
17953 # if you distribute this file as part of a program or library that
17954 # is built using GNU Libtool, you may include this file under the
17955 # same distribution terms that you use for the rest of that program.
17957 # GNU Libtool is distributed in the hope that it will be useful,
17958 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17959 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17960 # GNU General Public License for more details.
17962 # You should have received a copy of the GNU General Public License
17963 # along with GNU Libtool; see the file COPYING. If not, a copy
17964 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17965 # obtained by writing to the Free Software Foundation, Inc.,
17966 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17969 # The names of the tagged configurations supported by this script.
17972 # ### BEGIN LIBTOOL CONFIG
17974 # Which release of libtool.m4 was used?
17975 macro_version=$macro_version
17976 macro_revision=$macro_revision
17978 # Assembler program.
17981 # DLL creation program.
17982 DLLTOOL=$lt_DLLTOOL
17984 # Object dumper program.
17985 OBJDUMP=$lt_OBJDUMP
17987 # Whether or not to build shared libraries.
17988 build_libtool_libs=$enable_shared
17990 # Whether or not to build static libraries.
17991 build_old_libs=$enable_static
17993 # What type of objects to build.
17996 # Whether or not to optimize for fast installation.
17997 fast_install=$enable_fast_install
17999 # Shell to use when invoking shell scripts.
18002 # An echo program that protects backslashes.
18005 # The PATH separator for the build system.
18006 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18009 host_alias=$host_alias
18013 # The build system.
18014 build_alias=$build_alias
18018 # A sed program that does not truncate output.
18021 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18022 Xsed="\$SED -e 1s/^X//"
18024 # A grep program that handles long lines.
18030 # A literal string matcher.
18033 # A BSD- or MS-compatible name lister.
18036 # Whether we need soft or hard links.
18039 # What is the maximum length of a command?
18040 max_cmd_len=$max_cmd_len
18042 # Object file suffix (normally "o").
18045 # Executable file suffix (normally "").
18048 # whether the shell understands "unset".
18051 # turn spaces into newlines.
18054 # turn newlines into spaces.
18057 # convert \$build file names to \$host format.
18058 to_host_file_cmd=$lt_cv_to_host_file_cmd
18060 # convert \$build files to toolchain format.
18061 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18063 # Method to check whether dependent libraries are shared objects.
18064 deplibs_check_method=$lt_deplibs_check_method
18066 # Command to use when deplibs_check_method = "file_magic".
18067 file_magic_cmd=$lt_file_magic_cmd
18069 # How to find potential files when deplibs_check_method = "file_magic".
18070 file_magic_glob=$lt_file_magic_glob
18072 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18073 want_nocaseglob=$lt_want_nocaseglob
18075 # Command to associate shared and link libraries.
18076 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18081 # Flags to create an archive.
18082 AR_FLAGS=$lt_AR_FLAGS
18084 # How to feed a file listing to the archiver.
18085 archiver_list_spec=$lt_archiver_list_spec
18087 # A symbol stripping program.
18090 # Commands used to install an old-style archive.
18092 old_postinstall_cmds=$lt_old_postinstall_cmds
18093 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18095 # Whether to use a lock for old archive extraction.
18096 lock_old_archive_extraction=$lock_old_archive_extraction
18101 # LTCC compiler flags.
18102 LTCFLAGS=$lt_CFLAGS
18104 # Take the output of nm and produce a listing of raw symbols and C names.
18105 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18107 # Transform the output of nm in a proper C declaration.
18108 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18110 # Transform the output of nm in a C name address pair.
18111 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18113 # Transform the output of nm in a C name address pair when lib prefix is needed.
18114 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18116 # Specify filename containing input files for \$NM.
18117 nm_file_list_spec=$lt_nm_file_list_spec
18119 # The root where to search for dependent libraries,and in which our libraries should be installed.
18120 lt_sysroot=$lt_sysroot
18122 # The name of the directory that contains temporary libtool files.
18125 # Used to examine libraries when file_magic_cmd begins with "file".
18126 MAGIC_CMD=$MAGIC_CMD
18128 # Must we lock files when doing compilation?
18129 need_locks=$lt_need_locks
18132 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18134 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18135 DSYMUTIL=$lt_DSYMUTIL
18137 # Tool to change global to local symbols on Mac OS X.
18140 # Tool to manipulate fat objects and archives on Mac OS X.
18143 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18146 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18147 OTOOL64=$lt_OTOOL64
18149 # Old archive suffix (normally "a").
18152 # Shared library suffix (normally ".so").
18153 shrext_cmds=$lt_shrext_cmds
18155 # The commands to extract the exported symbol list from a shared archive.
18156 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18158 # Variables whose values should be saved in libtool wrapper scripts and
18159 # restored at link time.
18160 variables_saved_for_relink=$lt_variables_saved_for_relink
18162 # Do we need the "lib" prefix for modules?
18163 need_lib_prefix=$need_lib_prefix
18165 # Do we need a version for libraries?
18166 need_version=$need_version
18168 # Library versioning type.
18169 version_type=$version_type
18171 # Shared library runtime path variable.
18172 runpath_var=$runpath_var
18174 # Shared library path variable.
18175 shlibpath_var=$shlibpath_var
18177 # Is shlibpath searched before the hard-coded library search path?
18178 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18180 # Format of library name prefix.
18181 libname_spec=$lt_libname_spec
18183 # List of archive names. First name is the real one, the rest are links.
18184 # The last name is the one that the linker finds with -lNAME
18185 library_names_spec=$lt_library_names_spec
18187 # The coded name of the library, if different from the real name.
18188 soname_spec=$lt_soname_spec
18190 # Permission mode override for installation of shared libraries.
18191 install_override_mode=$lt_install_override_mode
18193 # Command to use after installation of a shared archive.
18194 postinstall_cmds=$lt_postinstall_cmds
18196 # Command to use after uninstallation of a shared archive.
18197 postuninstall_cmds=$lt_postuninstall_cmds
18199 # Commands used to finish a libtool library installation in a directory.
18200 finish_cmds=$lt_finish_cmds
18202 # As "finish_cmds", except a single script fragment to be evaled but
18204 finish_eval=$lt_finish_eval
18206 # Whether we should hardcode library paths into libraries.
18207 hardcode_into_libs=$hardcode_into_libs
18209 # Compile-time system search path for libraries.
18210 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18212 # Run-time system search path for libraries.
18213 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18215 # Whether dlopen is supported.
18216 dlopen_support=$enable_dlopen
18218 # Whether dlopen of programs is supported.
18219 dlopen_self=$enable_dlopen_self
18221 # Whether dlopen of statically linked programs is supported.
18222 dlopen_self_static=$enable_dlopen_self_static
18224 # Commands to strip libraries.
18225 old_striplib=$lt_old_striplib
18226 striplib=$lt_striplib
18229 # The linker used to build libraries.
18232 # How to create reloadable object files.
18233 reload_flag=$lt_reload_flag
18234 reload_cmds=$lt_reload_cmds
18236 # Commands used to build an old-style archive.
18237 old_archive_cmds=$lt_old_archive_cmds
18239 # A language specific compiler.
18242 # Is the compiler the GNU compiler?
18245 # Compiler flag to turn off builtin functions.
18246 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18248 # Additional compiler flags for building library objects.
18249 pic_flag=$lt_lt_prog_compiler_pic
18251 # How to pass a linker flag through the compiler.
18252 wl=$lt_lt_prog_compiler_wl
18254 # Compiler flag to prevent dynamic linking.
18255 link_static_flag=$lt_lt_prog_compiler_static
18257 # Does compiler simultaneously support -c and -o options?
18258 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18260 # Whether or not to add -lc for building shared libraries.
18261 build_libtool_need_lc=$archive_cmds_need_lc
18263 # Whether or not to disallow shared libs when runtime libs are static.
18264 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18266 # Compiler flag to allow reflexive dlopens.
18267 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18269 # Compiler flag to generate shared objects directly from archives.
18270 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18272 # Whether the compiler copes with passing no objects directly.
18273 compiler_needs_object=$lt_compiler_needs_object
18275 # Create an old-style archive from a shared archive.
18276 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18278 # Create a temporary old-style archive to link instead of a shared archive.
18279 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18281 # Commands used to build a shared archive.
18282 archive_cmds=$lt_archive_cmds
18283 archive_expsym_cmds=$lt_archive_expsym_cmds
18285 # Commands used to build a loadable module if different from building
18286 # a shared archive.
18287 module_cmds=$lt_module_cmds
18288 module_expsym_cmds=$lt_module_expsym_cmds
18290 # Whether we are building with GNU ld or not.
18291 with_gnu_ld=$lt_with_gnu_ld
18293 # Flag that allows shared libraries with undefined symbols to be built.
18294 allow_undefined_flag=$lt_allow_undefined_flag
18296 # Flag that enforces no undefined symbols.
18297 no_undefined_flag=$lt_no_undefined_flag
18299 # Flag to hardcode \$libdir into a binary during linking.
18300 # This must work even if \$libdir does not exist
18301 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18303 # Whether we need a single "-rpath" flag with a separated argument.
18304 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18306 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18307 # DIR into the resulting binary.
18308 hardcode_direct=$hardcode_direct
18310 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18311 # DIR into the resulting binary and the resulting library dependency is
18312 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18313 # library is relocated.
18314 hardcode_direct_absolute=$hardcode_direct_absolute
18316 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18317 # into the resulting binary.
18318 hardcode_minus_L=$hardcode_minus_L
18320 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18321 # into the resulting binary.
18322 hardcode_shlibpath_var=$hardcode_shlibpath_var
18324 # Set to "yes" if building a shared library automatically hardcodes DIR
18325 # into the library and all subsequent libraries and executables linked
18327 hardcode_automatic=$hardcode_automatic
18329 # Set to yes if linker adds runtime paths of dependent libraries
18330 # to runtime path list.
18331 inherit_rpath=$inherit_rpath
18333 # Whether libtool must link a program against all its dependency libraries.
18334 link_all_deplibs=$link_all_deplibs
18336 # Set to "yes" if exported symbols are required.
18337 always_export_symbols=$always_export_symbols
18339 # The commands to list exported symbols.
18340 export_symbols_cmds=$lt_export_symbols_cmds
18342 # Symbols that should not be listed in the preloaded symbols.
18343 exclude_expsyms=$lt_exclude_expsyms
18345 # Symbols that must always be exported.
18346 include_expsyms=$lt_include_expsyms
18348 # Commands necessary for linking programs (against libraries) with templates.
18349 prelink_cmds=$lt_prelink_cmds
18351 # Commands necessary for finishing linking programs.
18352 postlink_cmds=$lt_postlink_cmds
18354 # Specify filename containing input files.
18355 file_list_spec=$lt_file_list_spec
18357 # How to hardcode a shared library path into an executable.
18358 hardcode_action=$hardcode_action
18360 # ### END LIBTOOL CONFIG
18366 cat <<\_LT_EOF >> "$cfgfile"
18367 # AIX sometimes has problems with the GCC collect2 program. For some
18368 # reason, if we set the COLLECT_NAMES environment variable, the problems
18369 # vanish in a puff of smoke.
18370 if test "X${COLLECT_NAMES+set}" != Xset; then
18372 export COLLECT_NAMES
18379 ltmain="$ac_aux_dir/ltmain.sh"
18382 # We use sed instead of cat because bash on DJGPP gets confused if
18383 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18384 # text mode, it properly converts lines to CR/LF. This bash problem
18385 # is reportedly fixed, but why not run on old versions too?
18386 sed '$q' "$ltmain" >> "$cfgfile" \
18387 || (rm -f "$cfgfile"; exit 1)
18389 if test x"$xsi_shell" = xyes; then
18390 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18394 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18395 \ * ) func_dirname_result="${3}" ;;\
18397 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18398 && mv -f "$cfgfile.tmp" "$cfgfile" \
18399 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18400 test 0 -eq $? || _lt_function_replace_fail=:
18403 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18406 \ func_basename_result="${1##*/}"\
18407 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18408 && mv -f "$cfgfile.tmp" "$cfgfile" \
18409 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18410 test 0 -eq $? || _lt_function_replace_fail=:
18413 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18414 func_dirname_and_basename ()\
18417 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18418 \ * ) func_dirname_result="${3}" ;;\
18420 \ func_basename_result="${1##*/}"\
18421 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18422 && mv -f "$cfgfile.tmp" "$cfgfile" \
18423 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18424 test 0 -eq $? || _lt_function_replace_fail=:
18427 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18430 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18431 \ # positional parameters, so assign one to ordinary parameter first.\
18432 \ func_stripname_result=${3}\
18433 \ func_stripname_result=${func_stripname_result#"${1}"}\
18434 \ func_stripname_result=${func_stripname_result%"${2}"}\
18435 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18436 && mv -f "$cfgfile.tmp" "$cfgfile" \
18437 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18438 test 0 -eq $? || _lt_function_replace_fail=:
18441 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18442 func_split_long_opt ()\
18444 \ func_split_long_opt_name=${1%%=*}\
18445 \ func_split_long_opt_arg=${1#*=}\
18446 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18447 && mv -f "$cfgfile.tmp" "$cfgfile" \
18448 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18449 test 0 -eq $? || _lt_function_replace_fail=:
18452 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18453 func_split_short_opt ()\
18455 \ func_split_short_opt_arg=${1#??}\
18456 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18457 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18458 && mv -f "$cfgfile.tmp" "$cfgfile" \
18459 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18460 test 0 -eq $? || _lt_function_replace_fail=:
18463 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18467 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18468 \ *) func_lo2o_result=${1} ;;\
18470 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18471 && mv -f "$cfgfile.tmp" "$cfgfile" \
18472 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18473 test 0 -eq $? || _lt_function_replace_fail=:
18476 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18479 func_xform_result=${1%.*}.lo\
18480 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18481 && mv -f "$cfgfile.tmp" "$cfgfile" \
18482 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18483 test 0 -eq $? || _lt_function_replace_fail=:
18486 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18489 func_arith_result=$(( $* ))\
18490 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18491 && mv -f "$cfgfile.tmp" "$cfgfile" \
18492 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18493 test 0 -eq $? || _lt_function_replace_fail=:
18496 sed -e '/^func_len ()$/,/^} # func_len /c\
18499 func_len_result=${#1}\
18500 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18501 && mv -f "$cfgfile.tmp" "$cfgfile" \
18502 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18503 test 0 -eq $? || _lt_function_replace_fail=:
18507 if test x"$lt_shell_append" = xyes; then
18508 sed -e '/^func_append ()$/,/^} # func_append /c\
18511 eval "${1}+=\\${2}"\
18512 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18513 && mv -f "$cfgfile.tmp" "$cfgfile" \
18514 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18515 test 0 -eq $? || _lt_function_replace_fail=:
18518 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18519 func_append_quoted ()\
18521 \ func_quote_for_eval "${2}"\
18522 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18523 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18524 && mv -f "$cfgfile.tmp" "$cfgfile" \
18525 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18526 test 0 -eq $? || _lt_function_replace_fail=:
18529 # Save a `func_append' function call where possible by direct use of '+='
18530 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18531 && mv -f "$cfgfile.tmp" "$cfgfile" \
18532 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18533 test 0 -eq $? || _lt_function_replace_fail=:
18535 # Save a `func_append' function call even when '+=' is not available
18536 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18537 && mv -f "$cfgfile.tmp" "$cfgfile" \
18538 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18539 test 0 -eq $? || _lt_function_replace_fail=:
18542 if test x"$_lt_function_replace_fail" = x":"; then
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18544 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18548 mv -f "$cfgfile" "$ofile" ||
18549 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18553 "po-directories":C)
18554 for ac_file in $CONFIG_FILES; do
18555 # Support "outfile[:infile[:infile...]]"
18557 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18559 # PO directories have a Makefile.in generated from Makefile.in.in.
18560 case "$ac_file" in */Makefile.in)
18561 # Adjust a relative srcdir.
18562 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18563 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18564 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18565 # In autoconf-2.13 it is called $ac_given_srcdir.
18566 # In autoconf-2.50 it is called $srcdir.
18567 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18568 case "$ac_given_srcdir" in
18569 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18570 /*) top_srcdir="$ac_given_srcdir" ;;
18571 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18573 # Treat a directory as a PO directory if and only if it has a
18574 # POTFILES.in file. This allows packages to have multiple PO
18575 # directories under different names or in different locations.
18576 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18577 rm -f "$ac_dir/POTFILES"
18578 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18579 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18580 POMAKEFILEDEPS="POTFILES.in"
18581 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18582 # on $ac_dir but don't depend on user-specified configuration
18584 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18585 # The LINGUAS file contains the set of available languages.
18586 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18587 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18589 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18590 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18591 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18592 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18594 # The set of available languages was given in configure.in.
18595 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18596 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18599 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18600 # Compute UPDATEPOFILES
18601 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18602 # Compute DUMMYPOFILES
18603 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18605 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18606 case "$ac_given_srcdir" in
18608 *) srcdirpre='$(srcdir)/' ;;
18614 for lang in $ALL_LINGUAS; do
18615 POFILES="$POFILES $srcdirpre$lang.po"
18616 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18617 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18618 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18620 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18621 # environment variable.
18623 if test -n "$ALL_LINGUAS"; then
18624 for presentlang in $ALL_LINGUAS; do
18626 if test "%UNSET%" != "$LINGUAS"; then
18627 desiredlanguages="$LINGUAS"
18629 desiredlanguages="$ALL_LINGUAS"
18631 for desiredlang in $desiredlanguages; do
18632 # Use the presentlang catalog if desiredlang is
18633 # a. equal to presentlang, or
18634 # b. a variant of presentlang (because in this case,
18635 # presentlang can be used as a fallback for messages
18636 # which are not translated in the desiredlang catalog).
18637 case "$desiredlang" in
18638 "$presentlang"*) useit=yes;;
18641 if test $useit = yes; then
18642 INST_LINGUAS="$INST_LINGUAS $presentlang"
18647 if test -n "$INST_LINGUAS"; then
18648 for lang in $INST_LINGUAS; do
18649 CATALOGS="$CATALOGS $lang.gmo"
18652 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18653 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"
18654 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18655 if test -f "$f"; then
18657 *.orig | *.bak | *~) ;;
18658 *) cat "$f" >> "$ac_dir/Makefile" ;;
18673 ac_clean_files=$ac_clean_files_save
18675 test $ac_write_fail = 0 ||
18676 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18679 # configure is writing to config.log, and then calls config.status.
18680 # config.status does its own redirection, appending to config.log.
18681 # Unfortunately, on DOS this fails, as config.log is still kept open
18682 # by configure, so config.status won't be able to write to it; its
18683 # output is simply discarded. So we exec the FD to /dev/null,
18684 # effectively closing config.log, so it can be properly (re)opened and
18685 # appended to by config.status. When coming back to configure, we
18686 # need to make the FD available again.
18687 if test "$no_create" != yes; then
18689 ac_config_status_args=
18690 test "$silent" = yes &&
18691 ac_config_status_args="$ac_config_status_args --quiet"
18693 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18695 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18696 # would make configure fail if this is the last instruction.
18697 $ac_cs_success || as_fn_exit 1
18699 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18701 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}