2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 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.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: moonshot-community@jiscmail.ac.uk about your system,
251 $0: including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 # Use only awk features that work with 7th edition Unix awk (1978).
551 # My, what an old awk you have, Mr. Solaris!
553 while (length(v1) && length(v2)) {
554 # Set d1 to be the next thing to compare from v1, and likewise for d2.
555 # Normally this is a single character, but if v1 and v2 contain digits,
556 # compare them as integers and fractions as strverscmp does.
557 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
558 # Split v1 and v2 into their leading digit string components d1 and d2,
559 # and advance v1 and v2 past the leading digit strings.
560 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
561 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
562 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
563 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
566 # Compare two fractions.
567 while (d1 ~ /^0/ && d2 ~ /^0/) {
568 d1 = substr(d1, 2); len1--
569 d2 = substr(d2, 2); len2--
571 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
572 # The two components differ in length, and the common prefix
573 # contains only leading zeros. Consider the longer to be less.
577 # Otherwise, compare as strings.
582 # A fraction is less than an integer.
587 # An integer is greater than a fraction.
590 # Compare two integers.
596 # The normal case, without worrying about digits.
597 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
598 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
603 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
604 # which mishandles some comparisons of empty strings to integers.
605 if (length(v2)) exit 1
606 if (length(v1)) exit 2
610 test -n "$DJDIR" || exec 7<&0 </dev/null
614 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
615 # so uname gets run too.
616 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
621 ac_default_prefix=/usr/local
623 ac_config_libobj_dir=.
630 # Identity of this package.
631 PACKAGE_NAME='Moonshot-ui'
632 PACKAGE_TARNAME='moonshot-ui'
633 PACKAGE_VERSION='0.1'
634 PACKAGE_STRING='Moonshot-ui 0.1'
635 PACKAGE_BUGREPORT='moonshot-community@jiscmail.ac.uk'
638 ac_unique_file="configure.ac"
639 # Factoring default headers for most tests.
640 ac_includes_default="\
642 #ifdef HAVE_SYS_TYPES_H
643 # include <sys/types.h>
645 #ifdef HAVE_SYS_STAT_H
646 # include <sys/stat.h>
652 # ifdef HAVE_STDLIB_H
657 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
662 #ifdef HAVE_STRINGS_H
663 # include <strings.h>
665 #ifdef HAVE_INTTYPES_H
666 # include <inttypes.h>
676 ac_subst_vars='am__EXEEXT_FALSE
688 XGETTEXT_EXTRA_OPTIONS
696 GETTEXT_MACRO_VERSION
704 UPDATE_DESKTOP_DATABASE
787 MAINTAINER_MODE_FALSE
799 INSTALL_STRIP_PROGRAM
841 program_transform_name
854 enable_option_checking
856 enable_maintainer_mode
861 enable_dependency_tracking
870 ac_precious_vars='build_alias
894 # Initialize some variables set by options.
896 ac_init_version=false
897 ac_unrecognized_opts=
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name=s,x,x,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir='${exec_prefix}/bin'
923 sbindir='${exec_prefix}/sbin'
924 libexecdir='${exec_prefix}/libexec'
925 datarootdir='${prefix}/share'
926 datadir='${datarootdir}'
927 sysconfdir='${prefix}/etc'
928 sharedstatedir='${prefix}/com'
929 localstatedir='${prefix}/var'
930 includedir='${prefix}/include'
931 oldincludedir='/usr/include'
932 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir='${datarootdir}/info'
938 libdir='${exec_prefix}/lib'
939 localedir='${datarootdir}/locale'
940 mandir='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\$ac_option
954 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959 # Accept the important Cygnus configure options, so we can diagnose typos.
961 case $ac_dashdash$ac_option in
965 -bindir | --bindir | --bindi | --bind | --bin | --bi)
967 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 -build | --build | --buil | --bui | --bu)
971 ac_prev=build_alias ;;
972 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
973 build_alias=$ac_optarg ;;
975 -cache-file | --cache-file | --cache-fil | --cache-fi \
976 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
977 ac_prev=cache_file ;;
978 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
979 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
980 cache_file=$ac_optarg ;;
983 cache_file=config.cache ;;
985 -datadir | --datadir | --datadi | --datad)
987 -datadir=* | --datadir=* | --datadi=* | --datad=*)
988 datadir=$ac_optarg ;;
990 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
991 | --dataroo | --dataro | --datar)
992 ac_prev=datarootdir ;;
993 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
994 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
995 datarootdir=$ac_optarg ;;
997 -disable-* | --disable-*)
998 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001 as_fn_error $? "invalid feature name: $ac_useropt"
1002 ac_useropt_orig=$ac_useropt
1003 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1006 "enable_$ac_useropt"
1008 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1009 ac_unrecognized_sep=', ';;
1011 eval enable_$ac_useropt=no ;;
1013 -docdir | --docdir | --docdi | --doc | --do)
1015 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1016 docdir=$ac_optarg ;;
1018 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1020 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1021 dvidir=$ac_optarg ;;
1023 -enable-* | --enable-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error $? "invalid feature name: $ac_useropt"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "enable_$ac_useropt"
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1037 eval enable_$ac_useropt=\$ac_optarg ;;
1039 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1040 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1041 | --exec | --exe | --ex)
1042 ac_prev=exec_prefix ;;
1043 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1044 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1045 | --exec=* | --exe=* | --ex=*)
1046 exec_prefix=$ac_optarg ;;
1048 -gas | --gas | --ga | --g)
1049 # Obsolete; use --with-gas.
1052 -help | --help | --hel | --he | -h)
1053 ac_init_help=long ;;
1054 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1055 ac_init_help=recursive ;;
1056 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1057 ac_init_help=short ;;
1059 -host | --host | --hos | --ho)
1060 ac_prev=host_alias ;;
1061 -host=* | --host=* | --hos=* | --ho=*)
1062 host_alias=$ac_optarg ;;
1064 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1066 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1068 htmldir=$ac_optarg ;;
1070 -includedir | --includedir | --includedi | --included | --include \
1071 | --includ | --inclu | --incl | --inc)
1072 ac_prev=includedir ;;
1073 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1074 | --includ=* | --inclu=* | --incl=* | --inc=*)
1075 includedir=$ac_optarg ;;
1077 -infodir | --infodir | --infodi | --infod | --info | --inf)
1079 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1080 infodir=$ac_optarg ;;
1082 -libdir | --libdir | --libdi | --libd)
1084 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1085 libdir=$ac_optarg ;;
1087 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1088 | --libexe | --libex | --libe)
1089 ac_prev=libexecdir ;;
1090 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1091 | --libexe=* | --libex=* | --libe=*)
1092 libexecdir=$ac_optarg ;;
1094 -localedir | --localedir | --localedi | --localed | --locale)
1095 ac_prev=localedir ;;
1096 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1097 localedir=$ac_optarg ;;
1099 -localstatedir | --localstatedir | --localstatedi | --localstated \
1100 | --localstate | --localstat | --localsta | --localst | --locals)
1101 ac_prev=localstatedir ;;
1102 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1103 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1104 localstatedir=$ac_optarg ;;
1106 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1108 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1109 mandir=$ac_optarg ;;
1111 -nfp | --nfp | --nf)
1112 # Obsolete; use --without-fp.
1115 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1116 | --no-cr | --no-c | -n)
1119 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1120 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1124 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1125 | --oldin | --oldi | --old | --ol | --o)
1126 ac_prev=oldincludedir ;;
1127 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1128 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1129 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1130 oldincludedir=$ac_optarg ;;
1132 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1134 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1135 prefix=$ac_optarg ;;
1137 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1138 | --program-pre | --program-pr | --program-p)
1139 ac_prev=program_prefix ;;
1140 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1141 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1142 program_prefix=$ac_optarg ;;
1144 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1145 | --program-suf | --program-su | --program-s)
1146 ac_prev=program_suffix ;;
1147 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1148 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1149 program_suffix=$ac_optarg ;;
1151 -program-transform-name | --program-transform-name \
1152 | --program-transform-nam | --program-transform-na \
1153 | --program-transform-n | --program-transform- \
1154 | --program-transform | --program-transfor \
1155 | --program-transfo | --program-transf \
1156 | --program-trans | --program-tran \
1157 | --progr-tra | --program-tr | --program-t)
1158 ac_prev=program_transform_name ;;
1159 -program-transform-name=* | --program-transform-name=* \
1160 | --program-transform-nam=* | --program-transform-na=* \
1161 | --program-transform-n=* | --program-transform-=* \
1162 | --program-transform=* | --program-transfor=* \
1163 | --program-transfo=* | --program-transf=* \
1164 | --program-trans=* | --program-tran=* \
1165 | --progr-tra=* | --program-tr=* | --program-t=*)
1166 program_transform_name=$ac_optarg ;;
1168 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1170 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1171 pdfdir=$ac_optarg ;;
1173 -psdir | --psdir | --psdi | --psd | --ps)
1175 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1179 | -silent | --silent | --silen | --sile | --sil)
1182 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1184 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1186 sbindir=$ac_optarg ;;
1188 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1189 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1190 | --sharedst | --shareds | --shared | --share | --shar \
1192 ac_prev=sharedstatedir ;;
1193 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1194 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1195 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1197 sharedstatedir=$ac_optarg ;;
1199 -site | --site | --sit)
1201 -site=* | --site=* | --sit=*)
1204 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1206 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1207 srcdir=$ac_optarg ;;
1209 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1210 | --syscon | --sysco | --sysc | --sys | --sy)
1211 ac_prev=sysconfdir ;;
1212 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1213 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1214 sysconfdir=$ac_optarg ;;
1216 -target | --target | --targe | --targ | --tar | --ta | --t)
1217 ac_prev=target_alias ;;
1218 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1219 target_alias=$ac_optarg ;;
1221 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 -version | --version | --versio | --versi | --vers | -V)
1225 ac_init_version=: ;;
1228 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1231 as_fn_error $? "invalid package name: $ac_useropt"
1232 ac_useropt_orig=$ac_useropt
1233 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1234 case $ac_user_opts in
1238 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1239 ac_unrecognized_sep=', ';;
1241 eval with_$ac_useropt=\$ac_optarg ;;
1243 -without-* | --without-*)
1244 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1247 as_fn_error $? "invalid package name: $ac_useropt"
1248 ac_useropt_orig=$ac_useropt
1249 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250 case $ac_user_opts in
1254 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1255 ac_unrecognized_sep=', ';;
1257 eval with_$ac_useropt=no ;;
1260 # Obsolete; use --with-x.
1263 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1264 | --x-incl | --x-inc | --x-in | --x-i)
1265 ac_prev=x_includes ;;
1266 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1267 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1268 x_includes=$ac_optarg ;;
1270 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1271 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1272 ac_prev=x_libraries ;;
1273 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1274 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1275 x_libraries=$ac_optarg ;;
1277 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1278 Try \`$0 --help' for more information"
1282 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1283 # Reject names that are not valid shell variable names.
1284 case $ac_envvar in #(
1285 '' | [0-9]* | *[!_$as_cr_alnum]* )
1286 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1288 eval $ac_envvar=\$ac_optarg
1289 export $ac_envvar ;;
1292 # FIXME: should be removed in autoconf 3.0.
1293 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1295 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1296 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1302 if test -n "$ac_prev"; then
1303 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1304 as_fn_error $? "missing argument to $ac_option"
1307 if test -n "$ac_unrecognized_opts"; then
1308 case $enable_option_checking in
1310 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1311 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1315 # Check all directory arguments for consistency.
1316 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1317 datadir sysconfdir sharedstatedir localstatedir includedir \
1318 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1319 libdir localedir mandir
1321 eval ac_val=\$$ac_var
1322 # Remove trailing slashes.
1325 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1326 eval $ac_var=\$ac_val;;
1328 # Be sure to have absolute directory names.
1330 [\\/$]* | ?:[\\/]* ) continue;;
1331 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1333 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1336 # There might be people who depend on the old broken behavior: `$host'
1337 # used to hold the argument of --host etc.
1338 # FIXME: To remove some day.
1341 target=$target_alias
1343 # FIXME: To remove some day.
1344 if test "x$host_alias" != x; then
1345 if test "x$build_alias" = x; then
1346 cross_compiling=maybe
1347 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1348 If a cross compiler is detected then cross compile mode will be used" >&2
1349 elif test "x$build_alias" != "x$host_alias"; then
1355 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1357 test "$silent" = yes && exec 6>/dev/null
1360 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1361 ac_ls_di=`ls -di .` &&
1362 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1363 as_fn_error $? "working directory cannot be determined"
1364 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365 as_fn_error $? "pwd does not report name of working directory"
1368 # Find the source files, if location was not specified.
1369 if test -z "$srcdir"; then
1370 ac_srcdir_defaulted=yes
1371 # Try the directory containing this script, then the parent directory.
1372 ac_confdir=`$as_dirname -- "$as_myself" ||
1373 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1374 X"$as_myself" : 'X\(//\)[^/]' \| \
1375 X"$as_myself" : 'X\(//\)$' \| \
1376 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1377 $as_echo X"$as_myself" |
1378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1400 ac_srcdir_defaulted=no
1402 if test ! -r "$srcdir/$ac_unique_file"; then
1403 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1404 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1406 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1408 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1410 # When building in place, set srcdir=.
1411 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 # Remove unnecessary trailing slashes from srcdir.
1415 # Double slashes in file names in object file debugging info
1416 # mess up M-x gdb in Emacs.
1418 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420 for ac_var in $ac_precious_vars; do
1421 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1422 eval ac_env_${ac_var}_value=\$${ac_var}
1423 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1428 # Report the --help message.
1430 if test "$ac_init_help" = "long"; then
1431 # Omit some internal or obsolete options to make the list less imposing.
1432 # This message is too long to be a string in the A/UX 3.1 sh.
1434 \`configure' configures Moonshot-ui 0.1 to adapt to many kinds of systems.
1436 Usage: $0 [OPTION]... [VAR=VALUE]...
1438 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1439 VAR=VALUE. See below for descriptions of some of the useful variables.
1441 Defaults for the options are specified in brackets.
1444 -h, --help display this help and exit
1445 --help=short display options specific to this package
1446 --help=recursive display the short help of all the included packages
1447 -V, --version display version information and exit
1448 -q, --quiet, --silent do not print \`checking ...' messages
1449 --cache-file=FILE cache test results in FILE [disabled]
1450 -C, --config-cache alias for \`--cache-file=config.cache'
1451 -n, --no-create do not create output files
1452 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1454 Installation directories:
1455 --prefix=PREFIX install architecture-independent files in PREFIX
1456 [$ac_default_prefix]
1457 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 By default, \`make install' will install all the files in
1461 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1462 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1463 for instance \`--prefix=\$HOME'.
1465 For better control, use the options below.
1467 Fine tuning of the installation directories:
1468 --bindir=DIR user executables [EPREFIX/bin]
1469 --sbindir=DIR system admin executables [EPREFIX/sbin]
1470 --libexecdir=DIR program executables [EPREFIX/libexec]
1471 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1472 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1473 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1474 --libdir=DIR object code libraries [EPREFIX/lib]
1475 --includedir=DIR C header files [PREFIX/include]
1476 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1477 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1478 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1479 --infodir=DIR info documentation [DATAROOTDIR/info]
1480 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1481 --mandir=DIR man documentation [DATAROOTDIR/man]
1482 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot-ui]
1483 --htmldir=DIR html documentation [DOCDIR]
1484 --dvidir=DIR dvi documentation [DOCDIR]
1485 --pdfdir=DIR pdf documentation [DOCDIR]
1486 --psdir=DIR ps documentation [DOCDIR]
1492 --program-prefix=PREFIX prepend PREFIX to installed program names
1493 --program-suffix=SUFFIX append SUFFIX to installed program names
1494 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1497 --build=BUILD configure for building on BUILD [guessed]
1498 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1502 if test -n "$ac_init_help"; then
1503 case $ac_init_help in
1504 short | recursive ) echo "Configuration of Moonshot-ui 0.1:";;
1509 --disable-option-checking ignore unrecognized --enable/--with options
1510 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1511 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1512 --enable-silent-rules less verbose build output (undo: `make V=1')
1513 --disable-silent-rules verbose build output (undo: `make V=0')
1514 --disable-maintainer-mode disable make rules and dependencies not useful
1515 (and sometimes confusing) to the casual installer
1516 --enable-shared[=PKGS] build shared libraries [default=yes]
1517 --enable-static[=PKGS] build static libraries [default=yes]
1518 --enable-fast-install[=PKGS]
1519 optimize for fast installation [default=yes]
1520 --disable-dependency-tracking speeds up one-time build
1521 --enable-dependency-tracking do not reject slow dependency extractors
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-nls do not use Native Language Support
1524 --disable-rpath do not hardcode runtime library paths
1527 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1528 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1529 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1531 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1532 --with-sysroot=DIR Search for dependent libraries within DIR
1533 (or the compiler's sysroot if not specified).
1534 --with-gnu-ld assume the C compiler uses GNU ld default=no
1535 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1536 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1537 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1538 --without-libintl-prefix don't search for libintl in includedir and libdir
1540 Some influential environment variables:
1541 CC C compiler command
1542 CFLAGS C compiler flags
1543 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1544 nonstandard directory <lib dir>
1545 LIBS libraries to pass to the linker, e.g. -l<library>
1546 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1547 you have headers in a nonstandard directory <include dir>
1549 PKG_CONFIG path to pkg-config utility
1551 directories to add to pkg-config's search path
1553 path overriding pkg-config's built-in search path
1554 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1555 GTK_LIBS linker flags for GTK, overriding pkg-config
1556 MAC_CFLAGS C compiler flags for MAC, overriding pkg-config
1557 MAC_LIBS linker flags for MAC, overriding pkg-config
1559 C compiler flags for GDBUS, overriding pkg-config
1560 GDBUS_LIBS linker flags for GDBUS, overriding pkg-config
1562 C compiler flags for moonshot, overriding pkg-config
1564 linker flags for moonshot, overriding pkg-config
1566 C compiler flags for libmoonshot, overriding pkg-config
1568 linker flags for libmoonshot, overriding pkg-config
1570 Use these variables to override the choices made by `configure' or to help
1571 it to find libraries and programs with nonstandard names/locations.
1573 Report bugs to <moonshot-community@jiscmail.ac.uk>.
1578 if test "$ac_init_help" = "recursive"; then
1579 # If there are subdirs, report their specific --help.
1580 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1581 test -d "$ac_dir" ||
1582 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1587 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1590 # A ".." for each directory in $ac_dir_suffix.
1591 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1592 case $ac_top_builddir_sub in
1593 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1597 ac_abs_top_builddir=$ac_pwd
1598 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1599 # for backward compatibility:
1600 ac_top_builddir=$ac_top_build_prefix
1603 .) # We are building in place.
1605 ac_top_srcdir=$ac_top_builddir_sub
1606 ac_abs_top_srcdir=$ac_pwd ;;
1607 [\\/]* | ?:[\\/]* ) # Absolute name.
1608 ac_srcdir=$srcdir$ac_dir_suffix;
1609 ac_top_srcdir=$srcdir
1610 ac_abs_top_srcdir=$srcdir ;;
1612 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1613 ac_top_srcdir=$ac_top_build_prefix$srcdir
1614 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1616 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1618 cd "$ac_dir" || { ac_status=$?; continue; }
1619 # Check for guested configure.
1620 if test -f "$ac_srcdir/configure.gnu"; then
1622 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1623 elif test -f "$ac_srcdir/configure"; then
1625 $SHELL "$ac_srcdir/configure" --help=recursive
1627 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1629 cd "$ac_pwd" || { ac_status=$?; break; }
1633 test -n "$ac_init_help" && exit $ac_status
1634 if $ac_init_version; then
1636 Moonshot-ui configure 0.1
1637 generated by GNU Autoconf 2.68
1639 Copyright (C) 2010 Free Software Foundation, Inc.
1640 This configure script is free software; the Free Software Foundation
1641 gives unlimited permission to copy, distribute and modify it.
1646 ## ------------------------ ##
1647 ## Autoconf initialization. ##
1648 ## ------------------------ ##
1650 # ac_fn_c_try_compile LINENO
1651 # --------------------------
1652 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1653 ac_fn_c_try_compile ()
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 rm -f conftest.$ac_objext
1657 if { { ac_try="$ac_compile"
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_compile") 2>conftest.err
1666 if test -s conftest.err; then
1667 grep -v '^ *+' conftest.err >conftest.er1
1668 cat conftest.er1 >&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && {
1673 test -z "$ac_c_werror_flag" ||
1674 test ! -s conftest.err
1675 } && test -s conftest.$ac_objext; then :
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval
1686 } # ac_fn_c_try_compile
1688 # ac_fn_c_try_link LINENO
1689 # -----------------------
1690 # Try to link conftest.$ac_ext, and return whether this succeeded.
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 rm -f conftest.$ac_objext conftest$ac_exeext
1695 if { { ac_try="$ac_link"
1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_link") 2>conftest.err
1704 if test -s conftest.err; then
1705 grep -v '^ *+' conftest.err >conftest.er1
1706 cat conftest.er1 >&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && {
1711 test -z "$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1713 } && test -s conftest$ac_exeext && {
1714 test "$cross_compiling" = yes ||
1715 $as_test_x conftest$ac_exeext
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1724 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1725 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1726 # interfere with the next link command; also delete a directory that is
1727 # left behind by Apple's compiler. We do this before executing the actions.
1728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730 as_fn_set_status $ac_retval
1732 } # ac_fn_c_try_link
1734 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1735 # -------------------------------------------------------
1736 # Tests whether HEADER exists and can be compiled using the include files in
1737 # INCLUDES, setting the cache variable VAR accordingly.
1738 ac_fn_c_check_header_compile ()
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1742 $as_echo_n "checking for $2... " >&6; }
1743 if eval \${$3+:} false; then :
1744 $as_echo_n "(cached) " >&6
1746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747 /* end confdefs.h. */
1751 if ac_fn_c_try_compile "$LINENO"; then :
1756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760 $as_echo "$ac_res" >&6; }
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763 } # ac_fn_c_check_header_compile
1765 # ac_fn_c_try_cpp LINENO
1766 # ----------------------
1767 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 if { { ac_try="$ac_cpp conftest.$ac_ext"
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } > conftest.i && {
1787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.$ac_ext >&5
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798 as_fn_set_status $ac_retval
1802 # ac_fn_c_try_run LINENO
1803 # ----------------------
1804 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1805 # that executables *can* be run.
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 if { { ac_try="$ac_link"
1811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1812 *) ac_try_echo=$ac_try;;
1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_link") 2>&5
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1820 { { case "(($ac_try" in
1821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822 *) ac_try_echo=$ac_try;;
1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_try") 2>&5
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; }; }; then :
1832 $as_echo "$as_me: program exited with status $ac_status" >&5
1833 $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.$ac_ext >&5
1836 ac_retval=$ac_status
1838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval
1844 # ac_fn_c_check_func LINENO FUNC VAR
1845 # ----------------------------------
1846 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1847 ac_fn_c_check_func ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if eval \${$3+:} false; then :
1853 $as_echo_n "(cached) " >&6
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1857 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1859 #define $2 innocuous_$2
1861 /* System header to define __stub macros and hopefully few prototypes,
1862 which can conflict with char $2 (); below.
1863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1864 <limits.h> exists even on freestanding compilers. */
1867 # include <limits.h>
1869 # include <assert.h>
1874 /* Override any GCC internal prototype to avoid an error.
1875 Use char because int might match the return type of a GCC
1876 builtin and then its argument prototype would still apply. */
1881 /* The GNU C library defines this for functions which it implements
1882 to always fail with ENOSYS. Some functions are actually named
1883 something starting with __ and the normal name is an alias. */
1884 #if defined __stub_$2 || defined __stub___$2
1896 if ac_fn_c_try_link "$LINENO"; then :
1901 rm -f core conftest.err conftest.$ac_objext \
1902 conftest$ac_exeext conftest.$ac_ext
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 } # ac_fn_c_check_func
1910 cat >config.log <<_ACEOF
1911 This file contains any messages produced by compilers while
1912 running configure, to aid debugging if configure makes a mistake.
1914 It was created by Moonshot-ui $as_me 0.1, which was
1915 generated by GNU Autoconf 2.68. Invocation command line was
1927 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1928 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1929 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1930 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1931 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1933 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1934 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1936 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1937 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1938 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1939 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1940 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1941 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1942 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950 test -z "$as_dir" && as_dir=.
1951 $as_echo "PATH: $as_dir"
1967 # Keep a trace of the command line.
1968 # Strip out --no-create and --no-recursion so they do not pile up.
1969 # Strip out --silent because we don't want to record it for future runs.
1970 # Also quote any args containing shell meta-characters.
1971 # Make two passes to allow for proper duplicate-argument suppression.
1975 ac_must_keep_next=false
1981 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1983 | -silent | --silent | --silen | --sile | --sil)
1986 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1989 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1991 as_fn_append ac_configure_args1 " '$ac_arg'"
1992 if test $ac_must_keep_next = true; then
1993 ac_must_keep_next=false # Got value, back to normal.
1996 *=* | --config-cache | -C | -disable-* | --disable-* \
1997 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1998 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1999 | -with-* | --with-* | -without-* | --without-* | --x)
2000 case "$ac_configure_args0 " in
2001 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2004 -* ) ac_must_keep_next=true ;;
2007 as_fn_append ac_configure_args " '$ac_arg'"
2012 { ac_configure_args0=; unset ac_configure_args0;}
2013 { ac_configure_args1=; unset ac_configure_args1;}
2015 # When interrupted or exit'd, cleanup temporary files, and complete
2016 # config.log. We remove comments because anyway the quotes in there
2017 # would cause problems or look ugly.
2018 # WARNING: Use '\'' to represent an apostrophe within the trap.
2019 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2020 trap 'exit_status=$?
2021 # Save into config.log some information that might help in debugging.
2025 $as_echo "## ---------------- ##
2026 ## Cache variables. ##
2027 ## ---------------- ##"
2029 # The following way of writing the cache mishandles newlines in values,
2031 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2032 eval ac_val=\$$ac_var
2036 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2037 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2040 _ | IFS | as_nl) ;; #(
2041 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2042 *) { eval $ac_var=; unset $ac_var;} ;;
2047 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2048 *${as_nl}ac_space=\ *)
2050 "s/'\''/'\''\\\\'\'''\''/g;
2051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2054 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2061 $as_echo "## ----------------- ##
2062 ## Output variables. ##
2063 ## ----------------- ##"
2065 for ac_var in $ac_subst_vars
2067 eval ac_val=\$$ac_var
2069 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2071 $as_echo "$ac_var='\''$ac_val'\''"
2075 if test -n "$ac_subst_files"; then
2076 $as_echo "## ------------------- ##
2077 ## File substitutions. ##
2078 ## ------------------- ##"
2080 for ac_var in $ac_subst_files
2082 eval ac_val=\$$ac_var
2084 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2086 $as_echo "$ac_var='\''$ac_val'\''"
2091 if test -s confdefs.h; then
2092 $as_echo "## ----------- ##
2099 test "$ac_signal" != 0 &&
2100 $as_echo "$as_me: caught signal $ac_signal"
2101 $as_echo "$as_me: exit $exit_status"
2103 rm -f core *.core core.conftest.* &&
2104 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2107 for ac_signal in 1 2 13 15; do
2108 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2112 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2113 rm -f -r conftest* confdefs.h
2115 $as_echo "/* confdefs.h */" > confdefs.h
2117 # Predefined preprocessor variables.
2119 cat >>confdefs.h <<_ACEOF
2120 #define PACKAGE_NAME "$PACKAGE_NAME"
2123 cat >>confdefs.h <<_ACEOF
2124 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_STRING "$PACKAGE_STRING"
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_URL "$PACKAGE_URL"
2144 # Let the site file select an alternate cache file if it wants to.
2145 # Prefer an explicitly selected file to automatically selected ones.
2148 if test -n "$CONFIG_SITE"; then
2149 # We do not want a PATH search for config.site.
2150 case $CONFIG_SITE in #((
2151 -*) ac_site_file1=./$CONFIG_SITE;;
2152 */*) ac_site_file1=$CONFIG_SITE;;
2153 *) ac_site_file1=./$CONFIG_SITE;;
2155 elif test "x$prefix" != xNONE; then
2156 ac_site_file1=$prefix/share/config.site
2157 ac_site_file2=$prefix/etc/config.site
2159 ac_site_file1=$ac_default_prefix/share/config.site
2160 ac_site_file2=$ac_default_prefix/etc/config.site
2162 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2164 test "x$ac_site_file" = xNONE && continue
2165 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2167 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2168 sed 's/^/| /' "$ac_site_file" >&5
2170 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2172 as_fn_error $? "failed to load site script $ac_site_file
2173 See \`config.log' for more details" "$LINENO" 5; }
2177 if test -r "$cache_file"; then
2178 # Some versions of bash will fail to source /dev/null (special files
2179 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2180 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2182 $as_echo "$as_me: loading cache $cache_file" >&6;}
2184 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2185 *) . "./$cache_file";;
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2190 $as_echo "$as_me: creating cache $cache_file" >&6;}
2194 gt_needs="$gt_needs "
2195 # Check that the precious variables saved in the cache have kept the same
2197 ac_cache_corrupted=false
2198 for ac_var in $ac_precious_vars; do
2199 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2200 eval ac_new_set=\$ac_env_${ac_var}_set
2201 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2202 eval ac_new_val=\$ac_env_${ac_var}_value
2203 case $ac_old_set,$ac_new_set in
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2206 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2207 ac_cache_corrupted=: ;;
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2210 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2211 ac_cache_corrupted=: ;;
2214 if test "x$ac_old_val" != "x$ac_new_val"; then
2215 # differences in whitespace do not lead to failure.
2216 ac_old_val_w=`echo x $ac_old_val`
2217 ac_new_val_w=`echo x $ac_new_val`
2218 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2220 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2221 ac_cache_corrupted=:
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2224 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2225 eval $ac_var=\$ac_old_val
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2228 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2230 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2233 # Pass precious variables to config.status.
2234 if test "$ac_new_set" = set; then
2236 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2237 *) ac_arg=$ac_var=$ac_new_val ;;
2239 case " $ac_configure_args " in
2240 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2241 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2245 if $ac_cache_corrupted; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2249 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2250 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2252 ## -------------------- ##
2253 ## Main body of script. ##
2254 ## -------------------- ##
2257 ac_cpp='$CPP $CPPFLAGS'
2258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2264 ac_config_headers="$ac_config_headers config.h"
2269 for ac_dir in build-aux "$srcdir"/build-aux; do
2270 if test -f "$ac_dir/install-sh"; then
2272 ac_install_sh="$ac_aux_dir/install-sh -c"
2274 elif test -f "$ac_dir/install.sh"; then
2276 ac_install_sh="$ac_aux_dir/install.sh -c"
2278 elif test -f "$ac_dir/shtool"; then
2280 ac_install_sh="$ac_aux_dir/shtool install -c"
2284 if test -z "$ac_aux_dir"; then
2285 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2288 # These three variables are undocumented and unsupported,
2289 # and are intended to be withdrawn in a future Autoconf release.
2290 # They can cause serious problems if a builder's source tree is in a directory
2291 # whose full name contains unusual characters.
2292 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2293 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2294 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2298 am__api_version='1.11'
2300 # Find a good install program. We prefer a C program (faster),
2301 # so one script is as good as another. But avoid the broken or
2302 # incompatible versions:
2303 # SysV /etc/install, /usr/sbin/install
2304 # SunOS /usr/etc/install
2305 # IRIX /sbin/install
2307 # AmigaOS /C/install, which installs bootblocks on floppy discs
2308 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2309 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2310 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2311 # OS/2's system install, which has a completely different semantic
2312 # ./install, which can be erroneously created by make from ./install.sh.
2313 # Reject install programs that cannot install multiple files.
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2315 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2316 if test -z "$INSTALL"; then
2317 if ${ac_cv_path_install+:} false; then :
2318 $as_echo_n "(cached) " >&6
2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir=.
2325 # Account for people who put trailing slashes in PATH elements.
2326 case $as_dir/ in #((
2327 ./ | .// | /[cC]/* | \
2328 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2329 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2332 # OSF1 and SCO ODT 3.0 have their own names for install.
2333 # Don't use installbsd from OSF since it installs stuff as root
2335 for ac_prog in ginstall scoinst install; do
2336 for ac_exec_ext in '' $ac_executable_extensions; do
2337 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2338 if test $ac_prog = install &&
2339 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2340 # AIX install. It has an incompatible calling convention.
2342 elif test $ac_prog = install &&
2343 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2344 # program-specific install script used by HP pwplus--don't use.
2347 rm -rf conftest.one conftest.two conftest.dir
2348 echo one > conftest.one
2349 echo two > conftest.two
2351 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2352 test -s conftest.one && test -s conftest.two &&
2353 test -s conftest.dir/conftest.one &&
2354 test -s conftest.dir/conftest.two
2356 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2369 rm -rf conftest.one conftest.two conftest.dir
2372 if test "${ac_cv_path_install+set}" = set; then
2373 INSTALL=$ac_cv_path_install
2375 # As a last resort, use the slow shell script. Don't cache a
2376 # value for INSTALL within a source directory, because that will
2377 # break other packages using the cache if that directory is
2378 # removed, or if the value is a relative name.
2379 INSTALL=$ac_install_sh
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2383 $as_echo "$INSTALL" >&6; }
2385 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2386 # It thinks the first close brace ends the variable substitution.
2387 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2389 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2391 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2394 $as_echo_n "checking whether build environment is sane... " >&6; }
2397 echo timestamp > conftest.file
2398 # Reject unsafe characters in $srcdir or the absolute working directory
2399 # name. Accept space and tab only in the latter.
2403 *[\\\"\#\$\&\'\`$am_lf]*)
2404 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2407 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2408 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2411 # Do `set' in a subshell so we don't clobber the current shell's
2412 # arguments. Must try -L first in case configure is actually a
2413 # symlink; some systems play weird games with the mod time of symlinks
2414 # (eg FreeBSD returns the mod time of the symlink's containing
2417 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2418 if test "$*" = "X"; then
2420 set X `ls -t "$srcdir/configure" conftest.file`
2423 if test "$*" != "X $srcdir/configure conftest.file" \
2424 && test "$*" != "X conftest.file $srcdir/configure"; then
2426 # If neither matched, then we have a broken ls. This can happen
2427 # if, for instance, CONFIG_SHELL is bash and it inherits a
2428 # broken ls alias from the environment. This has actually
2429 # happened. Such a system could not be considered "sane".
2430 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2431 alias in your environment" "$LINENO" 5
2434 test "$2" = conftest.file
2440 as_fn_error $? "newly created file is older than distributed files!
2441 Check your system clock" "$LINENO" 5
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2444 $as_echo "yes" >&6; }
2445 test "$program_prefix" != NONE &&
2446 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2447 # Use a double $ so make ignores it.
2448 test "$program_suffix" != NONE &&
2449 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2450 # Double any \ or $.
2451 # By default was `s,x,x', remove it if useless.
2452 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2453 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2455 # expand $ac_aux_dir to an absolute path
2456 am_aux_dir=`cd $ac_aux_dir && pwd`
2458 if test x"${MISSING+set}" != xset; then
2461 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2463 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2466 # Use eval to expand $SHELL
2467 if eval "$MISSING --run true"; then
2468 am_missing_run="$MISSING --run "
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2472 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2475 if test x"${install_sh}" != xset; then
2478 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2480 install_sh="\${SHELL} $am_aux_dir/install-sh"
2484 # Installed binaries are usually stripped using `strip' when the user
2485 # run `make install-strip'. However `strip' might not be the right
2486 # tool to use in cross-compilation environments, therefore Automake
2487 # will honor the `STRIP' environment variable to overrule this program.
2488 if test "$cross_compiling" != no; then
2489 if test -n "$ac_tool_prefix"; then
2490 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2491 set dummy ${ac_tool_prefix}strip; ac_word=$2
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2493 $as_echo_n "checking for $ac_word... " >&6; }
2494 if ${ac_cv_prog_STRIP+:} false; then :
2495 $as_echo_n "(cached) " >&6
2497 if test -n "$STRIP"; then
2498 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 test -z "$as_dir" && as_dir=.
2505 for ac_exec_ext in '' $ac_executable_extensions; do
2506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2507 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 STRIP=$ac_cv_prog_STRIP
2518 if test -n "$STRIP"; then
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2520 $as_echo "$STRIP" >&6; }
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2523 $as_echo "no" >&6; }
2528 if test -z "$ac_cv_prog_STRIP"; then
2530 # Extract the first word of "strip", so it can be a program name with args.
2531 set dummy strip; ac_word=$2
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2533 $as_echo_n "checking for $ac_word... " >&6; }
2534 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2535 $as_echo_n "(cached) " >&6
2537 if test -n "$ac_ct_STRIP"; then
2538 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544 test -z "$as_dir" && as_dir=.
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_ac_ct_STRIP="strip"
2548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2558 if test -n "$ac_ct_STRIP"; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2560 $as_echo "$ac_ct_STRIP" >&6; }
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2563 $as_echo "no" >&6; }
2566 if test "x$ac_ct_STRIP" = x; then
2569 case $cross_compiling:$ac_tool_warned in
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2573 ac_tool_warned=yes ;;
2578 STRIP="$ac_cv_prog_STRIP"
2582 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2585 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2586 if test -z "$MKDIR_P"; then
2587 if ${ac_cv_path_mkdir+:} false; then :
2588 $as_echo_n "(cached) " >&6
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2594 test -z "$as_dir" && as_dir=.
2595 for ac_prog in mkdir gmkdir; do
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2598 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2599 'mkdir (GNU coreutils) '* | \
2600 'mkdir (coreutils) '* | \
2601 'mkdir (fileutils) '4.1*)
2602 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2612 test -d ./--version && rmdir ./--version
2613 if test "${ac_cv_path_mkdir+set}" = set; then
2614 MKDIR_P="$ac_cv_path_mkdir -p"
2616 # As a last resort, use the slow shell script. Don't cache a
2617 # value for MKDIR_P within a source directory, because that will
2618 # break other packages using the cache if that directory is
2619 # removed, or if the value is a relative name.
2620 MKDIR_P="$ac_install_sh -d"
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2624 $as_echo "$MKDIR_P" >&6; }
2628 [\\/$]* | ?:[\\/]*) ;;
2629 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2632 for ac_prog in gawk mawk nawk awk
2634 # Extract the first word of "$ac_prog", so it can be a program name with args.
2635 set dummy $ac_prog; ac_word=$2
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637 $as_echo_n "checking for $ac_word... " >&6; }
2638 if ${ac_cv_prog_AWK+:} false; then :
2639 $as_echo_n "(cached) " >&6
2641 if test -n "$AWK"; then
2642 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir=.
2649 for ac_exec_ext in '' $ac_executable_extensions; do
2650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2651 ac_cv_prog_AWK="$ac_prog"
2652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 if test -n "$AWK"; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2664 $as_echo "$AWK" >&6; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667 $as_echo "no" >&6; }
2671 test -n "$AWK" && break
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2675 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2677 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2678 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2679 $as_echo_n "(cached) " >&6
2681 cat >conftest.make <<\_ACEOF
2684 @echo '@@@%%%=$(MAKE)=@@@%%%'
2686 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2687 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2689 eval ac_cv_prog_make_${ac_make}_set=yes;;
2691 eval ac_cv_prog_make_${ac_make}_set=no;;
2695 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2697 $as_echo "yes" >&6; }
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701 $as_echo "no" >&6; }
2702 SET_MAKE="MAKE=${MAKE-make}"
2705 rm -rf .tst 2>/dev/null
2706 mkdir .tst 2>/dev/null
2707 if test -d .tst; then
2712 rmdir .tst 2>/dev/null
2714 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2715 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2716 # is not polluted with repeated "-I."
2717 am__isrc=' -I$(srcdir)'
2718 # test to see if srcdir already configured
2719 if test -f $srcdir/config.status; then
2720 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2724 # test whether we have cygpath
2725 if test -z "$CYGPATH_W"; then
2726 if (cygpath --version) >/dev/null 2>/dev/null; then
2727 CYGPATH_W='cygpath -w'
2734 # Define the identity of the package.
2735 PACKAGE='moonshot-ui'
2739 cat >>confdefs.h <<_ACEOF
2740 #define PACKAGE "$PACKAGE"
2744 cat >>confdefs.h <<_ACEOF
2745 #define VERSION "$VERSION"
2748 # Some tools Automake needs.
2750 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2753 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2756 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2759 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2762 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2764 # We need awk for the "check" target. The system "awk" is bad on
2766 # Always define AMTAR for backward compatibility.
2768 AMTAR=${AMTAR-"${am_missing_run}tar"}
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2772 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2773 # Loop over all known methods to create a tar archive until one works.
2774 _am_tools='gnutar pax cpio none'
2775 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2776 # Do not fold the above two line into one, because Tru64 sh and
2777 # Solaris sh will not grok spaces in the rhs of `-'.
2778 for _am_tool in $_am_tools
2782 for _am_tar in tar gnutar gtar;
2784 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2785 ($_am_tar --version) >&5 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); } && break
2790 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2791 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2792 am__untar="$_am_tar -xf -"
2795 # Must skip GNU tar: if it does not support --format= it doesn't create
2796 # ustar tarball either.
2797 (tar --version) >/dev/null 2>&1 && continue
2798 am__tar='tar chf - "$$tardir"'
2799 am__tar_='tar chf - "$tardir"'
2800 am__untar='tar xf -'
2803 am__tar='pax -L -x pax -w "$$tardir"'
2804 am__tar_='pax -L -x pax -w "$tardir"'
2808 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2809 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2810 am__untar='cpio -i -H pax -d'
2819 # If the value was cached, stop now. We just wanted to have am__tar
2820 # and am__untar set.
2821 test -n "${am_cv_prog_tar_pax}" && break
2823 # tar/untar a dummy directory, and stop if the command works
2826 echo GrepMe > conftest.dir/file
2827 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2828 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }
2833 if test -s conftest.tar; then
2834 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2835 ($am__untar <conftest.tar) >&5 2>&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }
2839 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2844 if ${am_cv_prog_tar_pax+:} false; then :
2845 $as_echo_n "(cached) " >&6
2847 am_cv_prog_tar_pax=$_am_tool
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2851 $as_echo "$am_cv_prog_tar_pax" >&6; }
2857 # Check whether --enable-silent-rules was given.
2858 if test "${enable_silent_rules+set}" = set; then :
2859 enableval=$enable_silent_rules;
2862 case $enable_silent_rules in
2863 yes) AM_DEFAULT_VERBOSITY=0;;
2864 no) AM_DEFAULT_VERBOSITY=1;;
2865 *) AM_DEFAULT_VERBOSITY=0;;
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2871 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2872 # Check whether --enable-maintainer-mode was given.
2873 if test "${enable_maintainer_mode+set}" = set; then :
2874 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2876 USE_MAINTAINER_MODE=yes
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2880 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2881 if test $USE_MAINTAINER_MODE = yes; then
2882 MAINTAINER_MODE_TRUE=
2883 MAINTAINER_MODE_FALSE='#'
2885 MAINTAINER_MODE_TRUE='#'
2886 MAINTAINER_MODE_FALSE=
2889 MAINT=$MAINTAINER_MODE_TRUE
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2897 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2902 macro_version='2.4.2'
2903 macro_revision='1.3337'
2917 ltmain="$ac_aux_dir/ltmain.sh"
2919 # Make sure we can run config.sub.
2920 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2921 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2924 $as_echo_n "checking build system type... " >&6; }
2925 if ${ac_cv_build+:} false; then :
2926 $as_echo_n "(cached) " >&6
2928 ac_build_alias=$build_alias
2929 test "x$ac_build_alias" = x &&
2930 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2931 test "x$ac_build_alias" = x &&
2932 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2933 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2934 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2938 $as_echo "$ac_cv_build" >&6; }
2939 case $ac_cv_build in
2941 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2944 ac_save_IFS=$IFS; IFS='-'
2950 # Remember, the first character of IFS is used to create $*,
2951 # except with old shells:
2954 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2958 $as_echo_n "checking host system type... " >&6; }
2959 if ${ac_cv_host+:} false; then :
2960 $as_echo_n "(cached) " >&6
2962 if test "x$host_alias" = x; then
2963 ac_cv_host=$ac_cv_build
2965 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2966 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2971 $as_echo "$ac_cv_host" >&6; }
2974 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2977 ac_save_IFS=$IFS; IFS='-'
2983 # Remember, the first character of IFS is used to create $*,
2984 # except with old shells:
2987 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2990 # Backslashify metacharacters that are still active within
2991 # double-quoted strings.
2992 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2994 # Same as above, but do not quote variable references.
2995 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2997 # Sed substitution to delay expansion of an escaped shell variable in a
2998 # double_quote_subst'ed string.
2999 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3001 # Sed substitution to delay expansion of an escaped single quote.
3002 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3004 # Sed substitution to avoid accidental globbing in evaled expressions
3005 no_glob_subst='s/\*/\\\*/g'
3007 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3008 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3009 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3012 $as_echo_n "checking how to print strings... " >&6; }
3013 # Test print first, because it will be a builtin if present.
3014 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3015 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3017 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3020 # Use this function as a fallback that always works.
3021 func_fallback_echo ()
3023 eval 'cat <<_LTECHO_EOF
3027 ECHO='func_fallback_echo'
3030 # func_echo_all arg...
3031 # Invoke $ECHO with all args, space-separated.
3038 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3039 $as_echo "printf" >&6; } ;;
3040 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3041 $as_echo "print -r" >&6; } ;;
3042 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3043 $as_echo "cat" >&6; } ;;
3059 DEPDIR="${am__leading_dot}deps"
3061 ac_config_commands="$ac_config_commands depfiles"
3064 am_make=${MAKE-make}
3065 cat > confinc << 'END'
3067 @echo this is the am__doit target
3070 # If we don't find an include directive, just comment out the code.
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3072 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3076 # First try GNU make style include.
3077 echo "include confinc" > confmf
3078 # Ignore all kinds of additional output from `make'.
3079 case `$am_make -s -f confmf 2> /dev/null` in #(
3080 *the\ am__doit\ target*)
3086 # Now try BSD make style include.
3087 if test "$am__include" = "#"; then
3088 echo '.include "confinc"' > confmf
3089 case `$am_make -s -f confmf 2> /dev/null` in #(
3090 *the\ am__doit\ target*)
3091 am__include=.include
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3100 $as_echo "$_am_result" >&6; }
3101 rm -f confinc confmf
3103 # Check whether --enable-dependency-tracking was given.
3104 if test "${enable_dependency_tracking+set}" = set; then :
3105 enableval=$enable_dependency_tracking;
3108 if test "x$enable_dependency_tracking" != xno; then
3109 am_depcomp="$ac_aux_dir/depcomp"
3113 if test "x$enable_dependency_tracking" != xno; then
3123 ac_cpp='$CPP $CPPFLAGS'
3124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3127 if test -n "$ac_tool_prefix"; then
3128 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3129 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131 $as_echo_n "checking for $ac_word... " >&6; }
3132 if ${ac_cv_prog_CC+:} false; then :
3133 $as_echo_n "(cached) " >&6
3135 if test -n "$CC"; then
3136 ac_cv_prog_CC="$CC" # Let the user override the test.
3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 test -z "$as_dir" && as_dir=.
3143 for ac_exec_ext in '' $ac_executable_extensions; do
3144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3145 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 if test -n "$CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158 $as_echo "$CC" >&6; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3166 if test -z "$ac_cv_prog_CC"; then
3168 # Extract the first word of "gcc", so it can be a program name with args.
3169 set dummy gcc; ac_word=$2
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171 $as_echo_n "checking for $ac_word... " >&6; }
3172 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3173 $as_echo_n "(cached) " >&6
3175 if test -n "$ac_ct_CC"; then
3176 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182 test -z "$as_dir" && as_dir=.
3183 for ac_exec_ext in '' $ac_executable_extensions; do
3184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3185 ac_cv_prog_ac_ct_CC="gcc"
3186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3196 if test -n "$ac_ct_CC"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3198 $as_echo "$ac_ct_CC" >&6; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3204 if test "x$ac_ct_CC" = x; then
3207 case $cross_compiling:$ac_tool_warned in
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3211 ac_tool_warned=yes ;;
3219 if test -z "$CC"; then
3220 if test -n "$ac_tool_prefix"; then
3221 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3222 set dummy ${ac_tool_prefix}cc; ac_word=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_CC+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -n "$CC"; then
3229 ac_cv_prog_CC="$CC" # Let the user override the test.
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 test -z "$as_dir" && as_dir=.
3236 for ac_exec_ext in '' $ac_executable_extensions; do
3237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3238 ac_cv_prog_CC="${ac_tool_prefix}cc"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 if test -n "$CC"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3251 $as_echo "$CC" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3260 if test -z "$CC"; then
3261 # Extract the first word of "cc", so it can be a program name with args.
3262 set dummy cc; ac_word=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if ${ac_cv_prog_CC+:} false; then :
3266 $as_echo_n "(cached) " >&6
3268 if test -n "$CC"; then
3269 ac_cv_prog_CC="$CC" # Let the user override the test.
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3280 ac_prog_rejected=yes
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 if test $ac_prog_rejected = yes; then
3292 # We found a bogon in the path, so make sure we never use it.
3293 set dummy $ac_cv_prog_CC
3295 if test $# != 0; then
3296 # We chose a different compiler from the bogus one.
3297 # However, it has the same basename, so the bogon will be chosen
3298 # first if we set CC to just the basename; use the full file name.
3300 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3306 if test -n "$CC"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3308 $as_echo "$CC" >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3316 if test -z "$CC"; then
3317 if test -n "$ac_tool_prefix"; then
3318 for ac_prog in cl.exe
3320 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3321 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3323 $as_echo_n "checking for $ac_word... " >&6; }
3324 if ${ac_cv_prog_CC+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 if test -n "$CC"; then
3328 ac_cv_prog_CC="$CC" # Let the user override the test.
3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 test -z "$as_dir" && as_dir=.
3335 for ac_exec_ext in '' $ac_executable_extensions; do
3336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3337 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 if test -n "$CC"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3350 $as_echo "$CC" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3357 test -n "$CC" && break
3360 if test -z "$CC"; then
3362 for ac_prog in cl.exe
3364 # Extract the first word of "$ac_prog", so it can be a program name with args.
3365 set dummy $ac_prog; ac_word=$2
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3367 $as_echo_n "checking for $ac_word... " >&6; }
3368 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3369 $as_echo_n "(cached) " >&6
3371 if test -n "$ac_ct_CC"; then
3372 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378 test -z "$as_dir" && as_dir=.
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3381 ac_cv_prog_ac_ct_CC="$ac_prog"
3382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3392 if test -n "$ac_ct_CC"; then
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3394 $as_echo "$ac_ct_CC" >&6; }
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3397 $as_echo "no" >&6; }
3401 test -n "$ac_ct_CC" && break
3404 if test "x$ac_ct_CC" = x; then
3407 case $cross_compiling:$ac_tool_warned in
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3411 ac_tool_warned=yes ;;
3420 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3422 as_fn_error $? "no acceptable C compiler found in \$PATH
3423 See \`config.log' for more details" "$LINENO" 5; }
3425 # Provide some information about the compiler.
3426 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3429 for ac_option in --version -v -V -qversion; do
3430 { { ac_try="$ac_compiler $ac_option >&5"
3432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3433 *) ac_try_echo=$ac_try;;
3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3436 $as_echo "$ac_try_echo"; } >&5
3437 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3439 if test -s conftest.err; then
3441 ... rest of stderr output deleted ...
3442 10q' conftest.err >conftest.er1
3443 cat conftest.er1 >&5
3445 rm -f conftest.er1 conftest.err
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3461 ac_clean_files_save=$ac_clean_files
3462 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3463 # Try to create an executable without -o first, disregard a.out.
3464 # It will help us diagnose broken compilers, and finding out an intuition
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3467 $as_echo_n "checking whether the C compiler works... " >&6; }
3468 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3470 # The possible output files:
3471 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3474 for ac_file in $ac_files
3477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3478 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3483 if { { ac_try="$ac_link_default"
3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_link_default") 2>&5
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; then :
3494 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3495 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3496 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3497 # so that the user can short-circuit this test for compilers unknown to
3499 for ac_file in $ac_files ''
3501 test -f "$ac_file" || continue
3503 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3506 # We found the default executable, but exeext='' is most
3510 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3512 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3514 # We set ac_cv_exeext here because the later test for it is not
3515 # safe: cross compilers may not add the suffix if given an `-o'
3516 # argument, so we may need to know it at that point already.
3517 # Even if this section looks crufty: it has the advantage of
3524 test "$ac_cv_exeext" = no && ac_cv_exeext=
3529 if test -z "$ac_file"; then :
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3532 $as_echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.$ac_ext >&5
3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error 77 "C compiler cannot create executables
3538 See \`config.log' for more details" "$LINENO" 5; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3541 $as_echo "yes" >&6; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3544 $as_echo_n "checking for C compiler default output file name... " >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3546 $as_echo "$ac_file" >&6; }
3547 ac_exeext=$ac_cv_exeext
3549 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3550 ac_clean_files=$ac_clean_files_save
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3552 $as_echo_n "checking for suffix of executables... " >&6; }
3553 if { { ac_try="$ac_link"
3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3559 $as_echo "$ac_try_echo"; } >&5
3560 (eval "$ac_link") 2>&5
3562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3563 test $ac_status = 0; }; then :
3564 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3565 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3566 # work properly (i.e., refer to `conftest.exe'), while it won't with
3568 for ac_file in conftest.exe conftest conftest.*; do
3569 test -f "$ac_file" || continue
3571 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3572 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3581 See \`config.log' for more details" "$LINENO" 5; }
3583 rm -f conftest conftest$ac_cv_exeext
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3585 $as_echo "$ac_cv_exeext" >&6; }
3587 rm -f conftest.$ac_ext
3588 EXEEXT=$ac_cv_exeext
3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3596 FILE *f = fopen ("conftest.out", "w");
3597 return ferror (f) || fclose (f) != 0;
3603 ac_clean_files="$ac_clean_files conftest.out"
3604 # Check that the compiler produces executables we can run. If not, either
3605 # the compiler is broken, or we cross compile.
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3607 $as_echo_n "checking whether we are cross compiling... " >&6; }
3608 if test "$cross_compiling" != yes; then
3609 { { ac_try="$ac_link"
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615 $as_echo "$ac_try_echo"; } >&5
3616 (eval "$ac_link") 2>&5
3618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619 test $ac_status = 0; }
3620 if { ac_try='./conftest$ac_cv_exeext'
3621 { { case "(($ac_try" in
3622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3623 *) ac_try_echo=$ac_try;;
3625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3626 $as_echo "$ac_try_echo"; } >&5
3627 (eval "$ac_try") 2>&5
3629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630 test $ac_status = 0; }; }; then
3633 if test "$cross_compiling" = maybe; then
3636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638 as_fn_error $? "cannot run C compiled programs.
3639 If you meant to cross compile, use \`--host'.
3640 See \`config.log' for more details" "$LINENO" 5; }
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3645 $as_echo "$cross_compiling" >&6; }
3647 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3648 ac_clean_files=$ac_clean_files_save
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3650 $as_echo_n "checking for suffix of object files... " >&6; }
3651 if ${ac_cv_objext+:} false; then :
3652 $as_echo_n "(cached) " >&6
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3665 rm -f conftest.o conftest.obj
3666 if { { ac_try="$ac_compile"
3668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3672 $as_echo "$ac_try_echo"; } >&5
3673 (eval "$ac_compile") 2>&5
3675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3676 test $ac_status = 0; }; then :
3677 for ac_file in conftest.o conftest.obj conftest.*; do
3678 test -f "$ac_file" || continue;
3680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3681 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3686 $as_echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 as_fn_error $? "cannot compute suffix of object files: cannot compile
3692 See \`config.log' for more details" "$LINENO" 5; }
3694 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3697 $as_echo "$ac_cv_objext" >&6; }
3698 OBJEXT=$ac_cv_objext
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3701 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3702 if ${ac_cv_c_compiler_gnu+:} false; then :
3703 $as_echo_n "(cached) " >&6
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3719 if ac_fn_c_try_compile "$LINENO"; then :
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3729 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3730 if test $ac_compiler_gnu = yes; then
3735 ac_test_CFLAGS=${CFLAGS+set}
3736 ac_save_CFLAGS=$CFLAGS
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3738 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3739 if ${ac_cv_prog_cc_g+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 ac_save_c_werror_flag=$ac_c_werror_flag
3743 ac_c_werror_flag=yes
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3757 if ac_fn_c_try_compile "$LINENO"; then :
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3772 if ac_fn_c_try_compile "$LINENO"; then :
3775 ac_c_werror_flag=$ac_save_c_werror_flag
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3788 if ac_fn_c_try_compile "$LINENO"; then :
3791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 ac_c_werror_flag=$ac_save_c_werror_flag
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3799 $as_echo "$ac_cv_prog_cc_g" >&6; }
3800 if test "$ac_test_CFLAGS" = set; then
3801 CFLAGS=$ac_save_CFLAGS
3802 elif test $ac_cv_prog_cc_g = yes; then
3803 if test "$GCC" = yes; then
3809 if test "$GCC" = yes; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3816 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3817 if ${ac_cv_prog_cc_c89+:} false; then :
3818 $as_echo_n "(cached) " >&6
3820 ac_cv_prog_cc_c89=no
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3826 #include <sys/types.h>
3827 #include <sys/stat.h>
3828 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3829 struct buf { int x; };
3830 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3831 static char *e (p, i)
3837 static char *f (char * (*g) (char **, int), char **p, ...)
3842 s = g (p, va_arg (v,int));
3847 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3848 function prototypes and stuff, but not '\xHH' hex character constants.
3849 These don't provoke an error unfortunately, instead are silently treated
3850 as 'x'. The following induces an error, until -std is added to get
3851 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3852 array size at least. It's necessary to write '\x00'==0 to get something
3853 that's true only with -std. */
3854 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3856 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3857 inside strings and character constants. */
3859 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3861 int test (int i, double x);
3862 struct s1 {int (*f) (int a);};
3863 struct s2 {int (*f) (double a);};
3864 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3870 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3875 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3876 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3878 CC="$ac_save_CC $ac_arg"
3879 if ac_fn_c_try_compile "$LINENO"; then :
3880 ac_cv_prog_cc_c89=$ac_arg
3882 rm -f core conftest.err conftest.$ac_objext
3883 test "x$ac_cv_prog_cc_c89" != "xno" && break
3885 rm -f conftest.$ac_ext
3890 case "x$ac_cv_prog_cc_c89" in
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3893 $as_echo "none needed" >&6; } ;;
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3896 $as_echo "unsupported" >&6; } ;;
3898 CC="$CC $ac_cv_prog_cc_c89"
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3900 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3902 if test "x$ac_cv_prog_cc_c89" != xno; then :
3907 ac_cpp='$CPP $CPPFLAGS'
3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3912 depcc="$CC" am_compiler_list=
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3915 $as_echo_n "checking dependency style of $depcc... " >&6; }
3916 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3917 $as_echo_n "(cached) " >&6
3919 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3920 # We make a subdir and do the tests there. Otherwise we can end up
3921 # making bogus files that we don't know about and never remove. For
3922 # instance it was reported that on HP-UX the gcc test will end up
3923 # making a dummy file named `D' -- because `-MD' means `put the output
3927 # Copy depcomp to subdir because otherwise we won't find it if we're
3928 # using a relative directory.
3929 cp "$am_depcomp" conftest.dir
3931 # We will build objects and dependencies in a subdirectory because
3932 # it helps to detect inapplicable dependency modes. For instance
3933 # both Tru64's cc and ICC support -MD to output dependencies as a
3934 # side effect of compilation, but ICC will put the dependencies in
3935 # the current directory while Tru64 will put them in the object
3939 am_cv_CC_dependencies_compiler_type=none
3940 if test "$am_compiler_list" = ""; then
3941 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3944 case " $depcc " in #(
3945 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3948 for depmode in $am_compiler_list; do
3949 # Setup a source with many dependencies, because some compilers
3950 # like to wrap large dependency lists on column 80 (with \), and
3951 # we should not choose a depcomp mode which is confused by this.
3953 # We need to recreate these files for each test, as the compiler may
3954 # overwrite some of them when testing with obscure command lines.
3955 # This happens at least with the AIX C compiler.
3957 for i in 1 2 3 4 5 6; do
3958 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3959 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3960 # Solaris 8's {/usr,}/bin/sh.
3961 touch sub/conftst$i.h
3963 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3965 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3966 # mode. It turns out that the SunPro C++ compiler does not properly
3967 # handle `-M -o', and we need to detect this. Also, some Intel
3968 # versions had trouble with output in subdirs
3969 am__obj=sub/conftest.${OBJEXT-o}
3970 am__minus_obj="-o $am__obj"
3973 # This depmode causes a compiler race in universal mode.
3974 test "$am__universal" = false || continue
3977 # after this tag, mechanisms are not by side-effect, so they'll
3978 # only be used when explicitly requested
3979 if test "x$enable_dependency_tracking" = xyes; then
3985 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3986 # This compiler won't grok `-c -o', but also, the minuso test has
3987 # not run yet. These depmodes are late enough in the game, and
3988 # so weak that their functioning should not be impacted.
3989 am__obj=conftest.${OBJEXT-o}
3994 if depmode=$depmode \
3995 source=sub/conftest.c object=$am__obj \
3996 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3997 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3998 >/dev/null 2>conftest.err &&
3999 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4000 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4001 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4002 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4003 # icc doesn't choke on unknown options, it will just issue warnings
4004 # or remarks (even with -Werror). So we grep stderr for any message
4005 # that says an option was ignored or not supported.
4006 # When given -MP, icc 7.0 and 7.1 complain thusly:
4007 # icc: Command line warning: ignoring option '-M'; no argument required
4008 # The diagnosis changed in icc 8.0:
4009 # icc: Command line remark: option '-MP' not supported
4010 if (grep 'ignoring option' conftest.err ||
4011 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4012 am_cv_CC_dependencies_compiler_type=$depmode
4021 am_cv_CC_dependencies_compiler_type=none
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4026 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4027 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4030 test "x$enable_dependency_tracking" != xno \
4031 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4033 am__fastdepCC_FALSE='#'
4035 am__fastdepCC_TRUE='#'
4036 am__fastdepCC_FALSE=
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4041 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4042 if ${ac_cv_path_SED+:} false; then :
4043 $as_echo_n "(cached) " >&6
4045 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4046 for ac_i in 1 2 3 4 5 6 7; do
4047 ac_script="$ac_script$as_nl$ac_script"
4049 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4050 { ac_script=; unset ac_script;}
4051 if test -z "$SED"; then
4052 ac_path_SED_found=false
4053 # Loop through the user's path and test for each of PROGNAME-LIST
4054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 test -z "$as_dir" && as_dir=.
4059 for ac_prog in sed gsed; do
4060 for ac_exec_ext in '' $ac_executable_extensions; do
4061 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4062 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4063 # Check for GNU ac_path_SED and select it if it is found.
4064 # Check for GNU $ac_path_SED
4065 case `"$ac_path_SED" --version 2>&1` in
4067 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4070 $as_echo_n 0123456789 >"conftest.in"
4073 cat "conftest.in" "conftest.in" >"conftest.tmp"
4074 mv "conftest.tmp" "conftest.in"
4075 cp "conftest.in" "conftest.nl"
4076 $as_echo '' >> "conftest.nl"
4077 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4078 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4079 as_fn_arith $ac_count + 1 && ac_count=$as_val
4080 if test $ac_count -gt ${ac_path_SED_max-0}; then
4081 # Best one so far, save it but keep looking for a better one
4082 ac_cv_path_SED="$ac_path_SED"
4083 ac_path_SED_max=$ac_count
4085 # 10*(2^10) chars as input seems more than enough
4086 test $ac_count -gt 10 && break
4088 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4091 $ac_path_SED_found && break 3
4096 if test -z "$ac_cv_path_SED"; then
4097 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4105 $as_echo "$ac_cv_path_SED" >&6; }
4106 SED="$ac_cv_path_SED"
4109 test -z "$SED" && SED=sed
4110 Xsed="$SED -e 1s/^X//"
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4123 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4124 if ${ac_cv_path_GREP+:} false; then :
4125 $as_echo_n "(cached) " >&6
4127 if test -z "$GREP"; then
4128 ac_path_GREP_found=false
4129 # Loop through the user's path and test for each of PROGNAME-LIST
4130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4131 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4134 test -z "$as_dir" && as_dir=.
4135 for ac_prog in grep ggrep; do
4136 for ac_exec_ext in '' $ac_executable_extensions; do
4137 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4138 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4139 # Check for GNU ac_path_GREP and select it if it is found.
4140 # Check for GNU $ac_path_GREP
4141 case `"$ac_path_GREP" --version 2>&1` in
4143 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4146 $as_echo_n 0123456789 >"conftest.in"
4149 cat "conftest.in" "conftest.in" >"conftest.tmp"
4150 mv "conftest.tmp" "conftest.in"
4151 cp "conftest.in" "conftest.nl"
4152 $as_echo 'GREP' >> "conftest.nl"
4153 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4154 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4155 as_fn_arith $ac_count + 1 && ac_count=$as_val
4156 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4157 # Best one so far, save it but keep looking for a better one
4158 ac_cv_path_GREP="$ac_path_GREP"
4159 ac_path_GREP_max=$ac_count
4161 # 10*(2^10) chars as input seems more than enough
4162 test $ac_count -gt 10 && break
4164 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4167 $ac_path_GREP_found && break 3
4172 if test -z "$ac_cv_path_GREP"; then
4173 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4176 ac_cv_path_GREP=$GREP
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4181 $as_echo "$ac_cv_path_GREP" >&6; }
4182 GREP="$ac_cv_path_GREP"
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4186 $as_echo_n "checking for egrep... " >&6; }
4187 if ${ac_cv_path_EGREP+:} false; then :
4188 $as_echo_n "(cached) " >&6
4190 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4191 then ac_cv_path_EGREP="$GREP -E"
4193 if test -z "$EGREP"; then
4194 ac_path_EGREP_found=false
4195 # Loop through the user's path and test for each of PROGNAME-LIST
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4200 test -z "$as_dir" && as_dir=.
4201 for ac_prog in egrep; do
4202 for ac_exec_ext in '' $ac_executable_extensions; do
4203 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4204 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4205 # Check for GNU ac_path_EGREP and select it if it is found.
4206 # Check for GNU $ac_path_EGREP
4207 case `"$ac_path_EGREP" --version 2>&1` in
4209 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4212 $as_echo_n 0123456789 >"conftest.in"
4215 cat "conftest.in" "conftest.in" >"conftest.tmp"
4216 mv "conftest.tmp" "conftest.in"
4217 cp "conftest.in" "conftest.nl"
4218 $as_echo 'EGREP' >> "conftest.nl"
4219 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4220 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4221 as_fn_arith $ac_count + 1 && ac_count=$as_val
4222 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4223 # Best one so far, save it but keep looking for a better one
4224 ac_cv_path_EGREP="$ac_path_EGREP"
4225 ac_path_EGREP_max=$ac_count
4227 # 10*(2^10) chars as input seems more than enough
4228 test $ac_count -gt 10 && break
4230 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4233 $ac_path_EGREP_found && break 3
4238 if test -z "$ac_cv_path_EGREP"; then
4239 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4242 ac_cv_path_EGREP=$EGREP
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4248 $as_echo "$ac_cv_path_EGREP" >&6; }
4249 EGREP="$ac_cv_path_EGREP"
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4253 $as_echo_n "checking for fgrep... " >&6; }
4254 if ${ac_cv_path_FGREP+:} false; then :
4255 $as_echo_n "(cached) " >&6
4257 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4258 then ac_cv_path_FGREP="$GREP -F"
4260 if test -z "$FGREP"; then
4261 ac_path_FGREP_found=false
4262 # Loop through the user's path and test for each of PROGNAME-LIST
4263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4264 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4267 test -z "$as_dir" && as_dir=.
4268 for ac_prog in fgrep; do
4269 for ac_exec_ext in '' $ac_executable_extensions; do
4270 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4271 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4272 # Check for GNU ac_path_FGREP and select it if it is found.
4273 # Check for GNU $ac_path_FGREP
4274 case `"$ac_path_FGREP" --version 2>&1` in
4276 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4279 $as_echo_n 0123456789 >"conftest.in"
4282 cat "conftest.in" "conftest.in" >"conftest.tmp"
4283 mv "conftest.tmp" "conftest.in"
4284 cp "conftest.in" "conftest.nl"
4285 $as_echo 'FGREP' >> "conftest.nl"
4286 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4287 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4288 as_fn_arith $ac_count + 1 && ac_count=$as_val
4289 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4290 # Best one so far, save it but keep looking for a better one
4291 ac_cv_path_FGREP="$ac_path_FGREP"
4292 ac_path_FGREP_max=$ac_count
4294 # 10*(2^10) chars as input seems more than enough
4295 test $ac_count -gt 10 && break
4297 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4300 $ac_path_FGREP_found && break 3
4305 if test -z "$ac_cv_path_FGREP"; then
4306 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4309 ac_cv_path_FGREP=$FGREP
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4315 $as_echo "$ac_cv_path_FGREP" >&6; }
4316 FGREP="$ac_cv_path_FGREP"
4319 test -z "$GREP" && GREP=grep
4339 # Check whether --with-gnu-ld was given.
4340 if test "${with_gnu_ld+set}" = set; then :
4341 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4347 if test "$GCC" = yes; then
4348 # Check if gcc -print-prog-name=ld gives a path.
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4350 $as_echo_n "checking for ld used by $CC... " >&6; }
4353 # gcc leaves a trailing carriage return which upsets mingw
4354 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4356 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4359 # Accept absolute paths.
4361 re_direlt='/[^/][^/]*/\.\./'
4362 # Canonicalize the pathname of ld
4363 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4364 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4365 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4367 test -z "$LD" && LD="$ac_prog"
4370 # If it fails, then pretend we aren't using GCC.
4374 # If it is relative, then search for the first ld in PATH.
4378 elif test "$with_gnu_ld" = yes; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4380 $as_echo_n "checking for GNU ld... " >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4383 $as_echo_n "checking for non-GNU ld... " >&6; }
4385 if ${lt_cv_path_LD+:} false; then :
4386 $as_echo_n "(cached) " >&6
4388 if test -z "$LD"; then
4389 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4390 for ac_dir in $PATH; do
4392 test -z "$ac_dir" && ac_dir=.
4393 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4394 lt_cv_path_LD="$ac_dir/$ac_prog"
4395 # Check to see if the program is GNU ld. I'd rather use --version,
4396 # but apparently some variants of GNU ld only accept -v.
4397 # Break only if it was the GNU/non-GNU ld that we prefer.
4398 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4399 *GNU* | *'with BFD'*)
4400 test "$with_gnu_ld" != no && break
4403 test "$with_gnu_ld" != yes && break
4410 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4415 if test -n "$LD"; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4417 $as_echo "$LD" >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4422 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4424 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4425 if ${lt_cv_prog_gnu_ld+:} false; then :
4426 $as_echo_n "(cached) " >&6
4428 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4429 case `$LD -v 2>&1 </dev/null` in
4430 *GNU* | *'with BFD'*)
4431 lt_cv_prog_gnu_ld=yes
4434 lt_cv_prog_gnu_ld=no
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4439 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4440 with_gnu_ld=$lt_cv_prog_gnu_ld
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4451 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4452 if ${lt_cv_path_NM+:} false; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -n "$NM"; then
4456 # Let the user override the test.
4459 lt_nm_to_check="${ac_tool_prefix}nm"
4460 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4461 lt_nm_to_check="$lt_nm_to_check nm"
4463 for lt_tmp_nm in $lt_nm_to_check; do
4464 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4465 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4467 test -z "$ac_dir" && ac_dir=.
4468 tmp_nm="$ac_dir/$lt_tmp_nm"
4469 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4470 # Check to see if the nm accepts a BSD-compat flag.
4471 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4472 # nm: unknown option "B" ignored
4473 # Tru64's nm complains that /dev/null is an invalid object file
4474 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4475 */dev/null* | *'Invalid file or object type'*)
4476 lt_cv_path_NM="$tmp_nm -B"
4480 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4482 lt_cv_path_NM="$tmp_nm -p"
4486 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4487 continue # so that we can try to find one that supports BSD flags
4496 : ${lt_cv_path_NM=no}
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4500 $as_echo "$lt_cv_path_NM" >&6; }
4501 if test "$lt_cv_path_NM" != "no"; then
4504 # Didn't find any BSD compatible name lister, look for dumpbin.
4505 if test -n "$DUMPBIN"; then :
4506 # Let the user override the test.
4508 if test -n "$ac_tool_prefix"; then
4509 for ac_prog in dumpbin "link -dump"
4511 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4514 $as_echo_n "checking for $ac_word... " >&6; }
4515 if ${ac_cv_prog_DUMPBIN+:} false; then :
4516 $as_echo_n "(cached) " >&6
4518 if test -n "$DUMPBIN"; then
4519 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 test -z "$as_dir" && as_dir=.
4526 for ac_exec_ext in '' $ac_executable_extensions; do
4527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4528 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 DUMPBIN=$ac_cv_prog_DUMPBIN
4539 if test -n "$DUMPBIN"; then
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4541 $as_echo "$DUMPBIN" >&6; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4544 $as_echo "no" >&6; }
4548 test -n "$DUMPBIN" && break
4551 if test -z "$DUMPBIN"; then
4552 ac_ct_DUMPBIN=$DUMPBIN
4553 for ac_prog in dumpbin "link -dump"
4555 # Extract the first word of "$ac_prog", so it can be a program name with args.
4556 set dummy $ac_prog; ac_word=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4560 $as_echo_n "(cached) " >&6
4562 if test -n "$ac_ct_DUMPBIN"; then
4563 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 test -z "$as_dir" && as_dir=.
4570 for ac_exec_ext in '' $ac_executable_extensions; do
4571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4572 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4582 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4583 if test -n "$ac_ct_DUMPBIN"; then
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4585 $as_echo "$ac_ct_DUMPBIN" >&6; }
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588 $as_echo "no" >&6; }
4592 test -n "$ac_ct_DUMPBIN" && break
4595 if test "x$ac_ct_DUMPBIN" = x; then
4598 case $cross_compiling:$ac_tool_warned in
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4602 ac_tool_warned=yes ;;
4604 DUMPBIN=$ac_ct_DUMPBIN
4608 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4610 DUMPBIN="$DUMPBIN -symbols"
4618 if test "$DUMPBIN" != ":"; then
4622 test -z "$NM" && NM=nm
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4630 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4631 if ${lt_cv_nm_interface+:} false; then :
4632 $as_echo_n "(cached) " >&6
4634 lt_cv_nm_interface="BSD nm"
4635 echo "int some_variable = 0;" > conftest.$ac_ext
4636 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4637 (eval "$ac_compile" 2>conftest.err)
4638 cat conftest.err >&5
4639 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4640 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4641 cat conftest.err >&5
4642 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4643 cat conftest.out >&5
4644 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4645 lt_cv_nm_interface="MS dumpbin"
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4650 $as_echo "$lt_cv_nm_interface" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4653 $as_echo_n "checking whether ln -s works... " >&6; }
4655 if test "$LN_S" = "ln -s"; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4657 $as_echo "yes" >&6; }
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4660 $as_echo "no, using $LN_S" >&6; }
4663 # find the maximum length of command line arguments
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4665 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4666 if ${lt_cv_sys_max_cmd_len+:} false; then :
4667 $as_echo_n "(cached) " >&6
4674 # On DJGPP, this test can blow up pretty badly due to problems in libc
4675 # (any single argument exceeding 2000 bytes causes a buffer overrun
4676 # during glob expansion). Even if it were fixed, the result of this
4677 # check would be larger than it should be.
4678 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4682 # Under GNU Hurd, this test is not required because there is
4683 # no limit to the length of command line arguments.
4684 # Libtool will interpret -1 as no limit whatsoever
4685 lt_cv_sys_max_cmd_len=-1;
4688 cygwin* | mingw* | cegcc*)
4689 # On Win9x/ME, this test blows up -- it succeeds, but takes
4690 # about 5 minutes as the teststring grows exponentially.
4691 # Worse, since 9x/ME are not pre-emptively multitasking,
4692 # you end up with a "frozen" computer, even though with patience
4693 # the test eventually succeeds (with a max line length of 256k).
4694 # Instead, let's just punt: use the minimum linelength reported by
4695 # all of the supported platforms: 8192 (on NT/2K/XP).
4696 lt_cv_sys_max_cmd_len=8192;
4700 # On MiNT this can take a long time and run out of memory.
4701 lt_cv_sys_max_cmd_len=8192;
4705 # On AmigaOS with pdksh, this test takes hours, literally.
4706 # So we just punt and use a minimum line length of 8192.
4707 lt_cv_sys_max_cmd_len=8192;
4710 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4711 # This has been around since 386BSD, at least. Likely further.
4712 if test -x /sbin/sysctl; then
4713 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4714 elif test -x /usr/sbin/sysctl; then
4715 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4717 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4719 # And add a safety zone
4720 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4721 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4725 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4726 lt_cv_sys_max_cmd_len=196608
4730 # The test takes a long time on OS/2.
4731 lt_cv_sys_max_cmd_len=8192
4735 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4736 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4737 # nice to cause kernel panics so lets avoid the loop below.
4738 # First set a reasonable default.
4739 lt_cv_sys_max_cmd_len=16384
4741 if test -x /sbin/sysconfig; then
4742 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4743 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4748 lt_cv_sys_max_cmd_len=102400
4750 sysv5* | sco5v6* | sysv4.2uw2*)
4751 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4752 if test -n "$kargmax"; then
4753 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4755 lt_cv_sys_max_cmd_len=32768
4759 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4760 if test -n "$lt_cv_sys_max_cmd_len"; then
4761 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4762 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4764 # Make teststring a little bigger before we do anything with it.
4765 # a 1K string should be a reasonable start.
4766 for i in 1 2 3 4 5 6 7 8 ; do
4767 teststring=$teststring$teststring
4769 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4770 # If test is not a shell built-in, we'll probably end up computing a
4771 # maximum length that is only half of the actual maximum length, but
4773 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4774 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4775 test $i != 17 # 1/2 MB should be enough
4778 teststring=$teststring$teststring
4780 # Only check the string length outside the loop.
4781 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4783 # Add a significant safety factor because C++ compilers can tack on
4784 # massive amounts of additional arguments before passing them to the
4785 # linker. It appears as though 1/2 is a usable value.
4786 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4793 if test -n $lt_cv_sys_max_cmd_len ; then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4795 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4798 $as_echo "none" >&6; }
4800 max_cmd_len=$lt_cv_sys_max_cmd_len
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4812 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4813 # Try some XSI features
4816 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4818 && eval 'test $(( 1 + 1 )) -eq 2 \
4819 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4822 $as_echo "$xsi_shell" >&6; }
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4826 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4828 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4830 && lt_shell_append=yes
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4832 $as_echo "$lt_shell_append" >&6; }
4835 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4845 # test EBCDIC or ASCII
4846 case `echo X|tr X '\101'` in
4847 A) # ASCII based system
4848 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4849 lt_SP2NL='tr \040 \012'
4850 lt_NL2SP='tr \015\012 \040\040'
4852 *) # EBCDIC based system
4853 lt_SP2NL='tr \100 \n'
4854 lt_NL2SP='tr \r\n \100\100'
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4867 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4868 if ${lt_cv_to_host_file_cmd+:} false; then :
4869 $as_echo_n "(cached) " >&6
4874 *-*-mingw* ) # actually msys
4875 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4878 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4880 * ) # otherwise, assume *nix
4881 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4887 *-*-mingw* ) # actually msys
4888 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4891 lt_cv_to_host_file_cmd=func_convert_file_noop
4893 * ) # otherwise, assume *nix
4894 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4898 * ) # unhandled hosts (and "normal" native builds)
4899 lt_cv_to_host_file_cmd=func_convert_file_noop
4905 to_host_file_cmd=$lt_cv_to_host_file_cmd
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4907 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4914 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4915 if ${lt_cv_to_tool_file_cmd+:} false; then :
4916 $as_echo_n "(cached) " >&6
4918 #assume ordinary cross tools, or native build.
4919 lt_cv_to_tool_file_cmd=func_convert_file_noop
4923 *-*-mingw* ) # actually msys
4924 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4932 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4934 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4941 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4942 if ${lt_cv_ld_reload_flag+:} false; then :
4943 $as_echo_n "(cached) " >&6
4945 lt_cv_ld_reload_flag='-r'
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4948 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4949 reload_flag=$lt_cv_ld_reload_flag
4950 case $reload_flag in
4952 *) reload_flag=" $reload_flag" ;;
4954 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4956 cygwin* | mingw* | pw32* | cegcc*)
4957 if test "$GCC" != yes; then
4962 if test "$GCC" = yes; then
4963 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4965 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4978 if test -n "$ac_tool_prefix"; then
4979 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4980 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 $as_echo_n "checking for $ac_word... " >&6; }
4983 if ${ac_cv_prog_OBJDUMP+:} false; then :
4984 $as_echo_n "(cached) " >&6
4986 if test -n "$OBJDUMP"; then
4987 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 test -z "$as_dir" && as_dir=.
4994 for ac_exec_ext in '' $ac_executable_extensions; do
4995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4996 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 OBJDUMP=$ac_cv_prog_OBJDUMP
5007 if test -n "$OBJDUMP"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5009 $as_echo "$OBJDUMP" >&6; }
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 $as_echo "no" >&6; }
5017 if test -z "$ac_cv_prog_OBJDUMP"; then
5018 ac_ct_OBJDUMP=$OBJDUMP
5019 # Extract the first word of "objdump", so it can be a program name with args.
5020 set dummy objdump; ac_word=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5024 $as_echo_n "(cached) " >&6
5026 if test -n "$ac_ct_OBJDUMP"; then
5027 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5036 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5047 if test -n "$ac_ct_OBJDUMP"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5049 $as_echo "$ac_ct_OBJDUMP" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5055 if test "x$ac_ct_OBJDUMP" = x; then
5058 case $cross_compiling:$ac_tool_warned in
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5062 ac_tool_warned=yes ;;
5064 OBJDUMP=$ac_ct_OBJDUMP
5067 OBJDUMP="$ac_cv_prog_OBJDUMP"
5070 test -z "$OBJDUMP" && OBJDUMP=objdump
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5078 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5079 if ${lt_cv_deplibs_check_method+:} false; then :
5080 $as_echo_n "(cached) " >&6
5082 lt_cv_file_magic_cmd='$MAGIC_CMD'
5083 lt_cv_file_magic_test_file=
5084 lt_cv_deplibs_check_method='unknown'
5085 # Need to set the preceding variable on all platforms that support
5086 # interlibrary dependencies.
5087 # 'none' -- dependencies not supported.
5088 # `unknown' -- same as none, but documents that we really don't know.
5089 # 'pass_all' -- all dependencies passed with no checks.
5090 # 'test_compile' -- check by making test program.
5091 # 'file_magic [[regex]]' -- check by looking for files in library path
5092 # which responds to the $file_magic_cmd with a given extended regex.
5093 # If you have `file' or equivalent on your system and you're not sure
5094 # whether `pass_all' will *always* work, you probably want this one.
5098 lt_cv_deplibs_check_method=pass_all
5102 lt_cv_deplibs_check_method=pass_all
5106 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5107 lt_cv_file_magic_cmd='/usr/bin/file -L'
5108 lt_cv_file_magic_test_file=/shlib/libc.so
5112 # func_win32_libid is a shell function defined in ltmain.sh
5113 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5114 lt_cv_file_magic_cmd='func_win32_libid'
5118 # Base MSYS/MinGW do not provide the 'file' command needed by
5119 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5120 # unless we find 'file', for example because we are cross-compiling.
5121 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5122 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5123 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5124 lt_cv_file_magic_cmd='func_win32_libid'
5126 # Keep this pattern in sync with the one in func_win32_libid.
5127 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5128 lt_cv_file_magic_cmd='$OBJDUMP -f'
5133 # use the weaker test based on 'objdump'. See mingw*.
5134 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5135 lt_cv_file_magic_cmd='$OBJDUMP -f'
5138 darwin* | rhapsody*)
5139 lt_cv_deplibs_check_method=pass_all
5142 freebsd* | dragonfly*)
5143 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5146 # Not sure whether the presence of OpenBSD here was a mistake.
5147 # Let's accept both of them until this is cleared up.
5148 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5149 lt_cv_file_magic_cmd=/usr/bin/file
5150 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5154 lt_cv_deplibs_check_method=pass_all
5159 lt_cv_deplibs_check_method=pass_all
5163 lt_cv_deplibs_check_method=pass_all
5166 hpux10.20* | hpux11*)
5167 lt_cv_file_magic_cmd=/usr/bin/file
5170 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5171 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5174 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]'
5175 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5178 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5179 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5185 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5186 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5189 irix5* | irix6* | nonstopux*)
5191 *-32|*"-32 ") libmagic=32-bit;;
5192 *-n32|*"-n32 ") libmagic=N32;;
5193 *-64|*"-64 ") libmagic=64-bit;;
5194 *) libmagic=never-match;;
5196 lt_cv_deplibs_check_method=pass_all
5199 # This must be glibc/ELF.
5200 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5201 lt_cv_deplibs_check_method=pass_all
5204 netbsd* | netbsdelf*-gnu)
5205 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5206 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5208 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5213 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5214 lt_cv_file_magic_cmd=/usr/bin/file
5215 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5219 lt_cv_deplibs_check_method=pass_all
5223 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5224 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5226 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5230 osf3* | osf4* | osf5*)
5231 lt_cv_deplibs_check_method=pass_all
5235 lt_cv_deplibs_check_method=pass_all
5239 lt_cv_deplibs_check_method=pass_all
5242 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5243 lt_cv_deplibs_check_method=pass_all
5247 case $host_vendor in
5249 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]'
5250 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5253 lt_cv_deplibs_check_method=pass_all
5256 lt_cv_file_magic_cmd='/bin/file'
5257 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5260 lt_cv_file_magic_cmd='/bin/file'
5261 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5262 lt_cv_file_magic_test_file=/lib/libc.so
5265 lt_cv_deplibs_check_method=pass_all
5268 lt_cv_deplibs_check_method=pass_all
5274 lt_cv_deplibs_check_method=pass_all
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5280 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5284 if test "$build" = "$host"; then
5287 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5290 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5296 file_magic_cmd=$lt_cv_file_magic_cmd
5297 deplibs_check_method=$lt_cv_deplibs_check_method
5298 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5323 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_DLLTOOL+:} false; then :
5327 $as_echo_n "(cached) " >&6
5329 if test -n "$DLLTOOL"; then
5330 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5339 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5349 DLLTOOL=$ac_cv_prog_DLLTOOL
5350 if test -n "$DLLTOOL"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5352 $as_echo "$DLLTOOL" >&6; }
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5360 if test -z "$ac_cv_prog_DLLTOOL"; then
5361 ac_ct_DLLTOOL=$DLLTOOL
5362 # Extract the first word of "dlltool", so it can be a program name with args.
5363 set dummy dlltool; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5367 $as_echo_n "(cached) " >&6
5369 if test -n "$ac_ct_DLLTOOL"; then
5370 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5379 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5390 if test -n "$ac_ct_DLLTOOL"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5392 $as_echo "$ac_ct_DLLTOOL" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5398 if test "x$ac_ct_DLLTOOL" = x; then
5401 case $cross_compiling:$ac_tool_warned in
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5405 ac_tool_warned=yes ;;
5407 DLLTOOL=$ac_ct_DLLTOOL
5410 DLLTOOL="$ac_cv_prog_DLLTOOL"
5413 test -z "$DLLTOOL" && DLLTOOL=dlltool
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5422 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5423 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5424 $as_echo_n "(cached) " >&6
5426 lt_cv_sharedlib_from_linklib_cmd='unknown'
5429 cygwin* | mingw* | pw32* | cegcc*)
5430 # two different shell functions defined in ltmain.sh
5431 # decide which to use based on capabilities of $DLLTOOL
5432 case `$DLLTOOL --help 2>&1` in
5433 *--identify-strict*)
5434 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5437 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5442 # fallback: assume linklib IS sharedlib
5443 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5449 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5450 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5451 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5460 if test -n "$ac_tool_prefix"; then
5463 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5464 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if ${ac_cv_prog_AR+:} false; then :
5468 $as_echo_n "(cached) " >&6
5470 if test -n "$AR"; then
5471 ac_cv_prog_AR="$AR" # Let the user override the test.
5473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 test -z "$as_dir" && as_dir=.
5478 for ac_exec_ext in '' $ac_executable_extensions; do
5479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5480 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 if test -n "$AR"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5493 $as_echo "$AR" >&6; }
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5500 test -n "$AR" && break
5503 if test -z "$AR"; then
5507 # Extract the first word of "$ac_prog", so it can be a program name with args.
5508 set dummy $ac_prog; ac_word=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5510 $as_echo_n "checking for $ac_word... " >&6; }
5511 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5512 $as_echo_n "(cached) " >&6
5514 if test -n "$ac_ct_AR"; then
5515 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 test -z "$as_dir" && as_dir=.
5522 for ac_exec_ext in '' $ac_executable_extensions; do
5523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5524 ac_cv_prog_ac_ct_AR="$ac_prog"
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5535 if test -n "$ac_ct_AR"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5537 $as_echo "$ac_ct_AR" >&6; }
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5540 $as_echo "no" >&6; }
5544 test -n "$ac_ct_AR" && break
5547 if test "x$ac_ct_AR" = x; then
5550 case $cross_compiling:$ac_tool_warned in
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5554 ac_tool_warned=yes ;;
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5574 $as_echo_n "checking for archiver @FILE support... " >&6; }
5575 if ${lt_cv_ar_at_file+:} false; then :
5576 $as_echo_n "(cached) " >&6
5579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5580 /* end confdefs.h. */
5590 if ac_fn_c_try_compile "$LINENO"; then :
5591 echo conftest.$ac_objext > conftest.lst
5592 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5593 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5594 (eval $lt_ar_try) 2>&5
5596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5597 test $ac_status = 0; }
5598 if test "$ac_status" -eq 0; then
5599 # Ensure the archiver fails upon bogus file names.
5600 rm -f conftest.$ac_objext libconftest.a
5601 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5602 (eval $lt_ar_try) 2>&5
5604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5605 test $ac_status = 0; }
5606 if test "$ac_status" -ne 0; then
5610 rm -f conftest.* libconftest.a
5613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5617 $as_echo "$lt_cv_ar_at_file" >&6; }
5619 if test "x$lt_cv_ar_at_file" = xno; then
5622 archiver_list_spec=$lt_cv_ar_at_file
5631 if test -n "$ac_tool_prefix"; then
5632 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5633 set dummy ${ac_tool_prefix}strip; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_STRIP+:} false; then :
5637 $as_echo_n "(cached) " >&6
5639 if test -n "$STRIP"; then
5640 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5649 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 STRIP=$ac_cv_prog_STRIP
5660 if test -n "$STRIP"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5662 $as_echo "$STRIP" >&6; }
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5670 if test -z "$ac_cv_prog_STRIP"; then
5672 # Extract the first word of "strip", so it can be a program name with args.
5673 set dummy strip; ac_word=$2
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5675 $as_echo_n "checking for $ac_word... " >&6; }
5676 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5677 $as_echo_n "(cached) " >&6
5679 if test -n "$ac_ct_STRIP"; then
5680 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 test -z "$as_dir" && as_dir=.
5687 for ac_exec_ext in '' $ac_executable_extensions; do
5688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5689 ac_cv_prog_ac_ct_STRIP="strip"
5690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5700 if test -n "$ac_ct_STRIP"; then
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5702 $as_echo "$ac_ct_STRIP" >&6; }
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5705 $as_echo "no" >&6; }
5708 if test "x$ac_ct_STRIP" = x; then
5711 case $cross_compiling:$ac_tool_warned in
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5715 ac_tool_warned=yes ;;
5720 STRIP="$ac_cv_prog_STRIP"
5723 test -z "$STRIP" && STRIP=:
5730 if test -n "$ac_tool_prefix"; then
5731 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5732 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if ${ac_cv_prog_RANLIB+:} false; then :
5736 $as_echo_n "(cached) " >&6
5738 if test -n "$RANLIB"; then
5739 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5748 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 RANLIB=$ac_cv_prog_RANLIB
5759 if test -n "$RANLIB"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5761 $as_echo "$RANLIB" >&6; }
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5769 if test -z "$ac_cv_prog_RANLIB"; then
5770 ac_ct_RANLIB=$RANLIB
5771 # Extract the first word of "ranlib", so it can be a program name with args.
5772 set dummy ranlib; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5776 $as_echo_n "(cached) " >&6
5778 if test -n "$ac_ct_RANLIB"; then
5779 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5788 ac_cv_prog_ac_ct_RANLIB="ranlib"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5799 if test -n "$ac_ct_RANLIB"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5801 $as_echo "$ac_ct_RANLIB" >&6; }
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5807 if test "x$ac_ct_RANLIB" = x; then
5810 case $cross_compiling:$ac_tool_warned in
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5814 ac_tool_warned=yes ;;
5816 RANLIB=$ac_ct_RANLIB
5819 RANLIB="$ac_cv_prog_RANLIB"
5822 test -z "$RANLIB" && RANLIB=:
5829 # Determine commands to create old-style static archives.
5830 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5831 old_postinstall_cmds='chmod 644 $oldlib'
5832 old_postuninstall_cmds=
5834 if test -n "$RANLIB"; then
5837 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5840 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5843 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5848 lock_old_archive_extraction=yes ;;
5850 lock_old_archive_extraction=no ;;
5891 # If no C compiler was specified, use CC.
5894 # If no C compiler flags were specified, use CFLAGS.
5895 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5897 # Allow CC to be a program name with arguments.
5901 # Check for command to grab the raw symbol name followed by C symbol from nm.
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5903 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5904 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5905 $as_echo_n "(cached) " >&6
5908 # These are sane defaults that work on at least a few old systems.
5909 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5911 # Character class describing NM global symbol codes.
5912 symcode='[BCDEGRST]'
5914 # Regexp to match symbols that can be accessed directly from C.
5915 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5917 # Define system-specific variables.
5922 cygwin* | mingw* | pw32* | cegcc*)
5923 symcode='[ABCDGISTW]'
5926 if test "$host_cpu" = ia64; then
5927 symcode='[ABCDEGRST]'
5931 symcode='[BCDEGRST]'
5934 symcode='[BCDEGQRST]'
5945 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5953 # If we're using GNU nm, then use its standard symbol codes.
5954 case `$NM -V 2>&1` in
5955 *GNU* | *'with BFD'*)
5956 symcode='[ABCDGIRSTW]' ;;
5959 # Transform an extracted symbol line into a proper C declaration.
5960 # Some systems (esp. on ia64) link data and code symbols differently,
5961 # so use this general approach.
5962 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5964 # Transform an extracted symbol line into symbol name and symbol address
5965 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5966 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'"
5968 # Handle CRLF in mingw tool chain
5972 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5976 # Try without a prefix underscore, then with it.
5977 for ac_symprfx in "" "_"; do
5979 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5980 symxfrm="\\1 $ac_symprfx\\2 \\2"
5982 # Write the raw and C identifiers.
5983 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5984 # Fake it for dumpbin and say T for any non-static function
5985 # and D for any global variable.
5986 # Also find C++ and __fastcall symbols from MSVC++,
5987 # which start with @ or ?.
5988 lt_cv_sys_global_symbol_pipe="$AWK '"\
5989 " {last_section=section; section=\$ 3};"\
5990 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5991 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5992 " \$ 0!~/External *\|/{next};"\
5993 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5994 " {if(hide[section]) next};"\
5995 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5996 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5997 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5998 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5999 " ' prfx=^$ac_symprfx"
6001 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6003 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6005 # Check to see that the pipe works correctly.
6009 cat > conftest.$ac_ext <<_LT_EOF
6014 void nm_test_func(void);
6015 void nm_test_func(void){}
6019 int main(){nm_test_var='a';nm_test_func();return(0);}
6022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6023 (eval $ac_compile) 2>&5
6025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6026 test $ac_status = 0; }; then
6027 # Now try to grab the symbols.
6029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6030 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6033 test $ac_status = 0; } && test -s "$nlist"; then
6034 # Try sorting and uniquifying the output.
6035 if sort "$nlist" | uniq > "$nlist"T; then
6036 mv -f "$nlist"T "$nlist"
6041 # Make sure that we snagged all the symbols we need.
6042 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6043 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6044 cat <<_LT_EOF > conftest.$ac_ext
6045 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6046 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6047 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6048 relocations are performed -- see ld's documentation on pseudo-relocs. */
6049 # define LT_DLSYM_CONST
6050 #elif defined(__osf__)
6051 /* This system does not cope well with relocations in const data. */
6052 # define LT_DLSYM_CONST
6054 # define LT_DLSYM_CONST const
6062 # Now generate the symbol file.
6063 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6065 cat <<_LT_EOF >> conftest.$ac_ext
6067 /* The mapping between symbol names and symbols. */
6068 LT_DLSYM_CONST struct {
6072 lt__PROGRAM__LTX_preloaded_symbols[] =
6074 { "@PROGRAM@", (void *) 0 },
6076 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6077 cat <<\_LT_EOF >> conftest.$ac_ext
6081 /* This works around a problem in FreeBSD linker */
6082 #ifdef FREEBSD_WORKAROUND
6083 static const void *lt_preloaded_setup() {
6084 return lt__PROGRAM__LTX_preloaded_symbols;
6092 # Now try linking the two files.
6093 mv conftest.$ac_objext conftstm.$ac_objext
6094 lt_globsym_save_LIBS=$LIBS
6095 lt_globsym_save_CFLAGS=$CFLAGS
6096 LIBS="conftstm.$ac_objext"
6097 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6099 (eval $ac_link) 2>&5
6101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6102 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6105 LIBS=$lt_globsym_save_LIBS
6106 CFLAGS=$lt_globsym_save_CFLAGS
6108 echo "cannot find nm_test_func in $nlist" >&5
6111 echo "cannot find nm_test_var in $nlist" >&5
6114 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6117 echo "$progname: failed program was:" >&5
6118 cat conftest.$ac_ext >&5
6120 rm -rf conftest* conftst*
6122 # Do not use the global_symbol_pipe unless it works.
6123 if test "$pipe_works" = yes; then
6126 lt_cv_sys_global_symbol_pipe=
6132 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6133 lt_cv_sys_global_symbol_to_cdecl=
6135 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6137 $as_echo "failed" >&6; }
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6140 $as_echo "ok" >&6; }
6143 # Response file support.
6144 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6145 nm_file_list_spec='@'
6146 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6147 nm_file_list_spec='@'
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6177 $as_echo_n "checking for sysroot... " >&6; }
6179 # Check whether --with-sysroot was given.
6180 if test "${with_sysroot+set}" = set; then :
6181 withval=$with_sysroot;
6188 case ${with_sysroot} in #(
6190 if test "$GCC" = yes; then
6191 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6195 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6201 $as_echo "${with_sysroot}" >&6; }
6202 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6207 $as_echo "${lt_sysroot:-no}" >&6; }
6213 # Check whether --enable-libtool-lock was given.
6214 if test "${enable_libtool_lock+set}" = set; then :
6215 enableval=$enable_libtool_lock;
6218 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6220 # Some flags need to be propagated to the compiler or linker for good
6224 # Find out which ABI we are using.
6225 echo 'int i;' > conftest.$ac_ext
6226 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6227 (eval $ac_compile) 2>&5
6229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6230 test $ac_status = 0; }; then
6231 case `/usr/bin/file conftest.$ac_objext` in
6243 # Find out which ABI we are using.
6244 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6246 (eval $ac_compile) 2>&5
6248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6249 test $ac_status = 0; }; then
6250 if test "$lt_cv_prog_gnu_ld" = yes; then
6251 case `/usr/bin/file conftest.$ac_objext` in
6253 LD="${LD-ld} -melf32bsmip"
6256 LD="${LD-ld} -melf32bmipn32"
6259 LD="${LD-ld} -melf64bmip"
6263 case `/usr/bin/file conftest.$ac_objext` in
6279 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6280 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6281 # Find out which ABI we are using.
6282 echo 'int i;' > conftest.$ac_ext
6283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6284 (eval $ac_compile) 2>&5
6286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6287 test $ac_status = 0; }; then
6288 case `/usr/bin/file conftest.o` in
6291 x86_64-*kfreebsd*-gnu)
6292 LD="${LD-ld} -m elf_i386_fbsd"
6295 LD="${LD-ld} -m elf_i386"
6297 ppc64-*linux*|powerpc64-*linux*)
6298 LD="${LD-ld} -m elf32ppclinux"
6301 LD="${LD-ld} -m elf_s390"
6304 LD="${LD-ld} -m elf32_sparc"
6310 x86_64-*kfreebsd*-gnu)
6311 LD="${LD-ld} -m elf_x86_64_fbsd"
6314 LD="${LD-ld} -m elf_x86_64"
6316 ppc*-*linux*|powerpc*-*linux*)
6317 LD="${LD-ld} -m elf64ppc"
6319 s390*-*linux*|s390*-*tpf*)
6320 LD="${LD-ld} -m elf64_s390"
6323 LD="${LD-ld} -m elf64_sparc"
6333 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6334 SAVE_CFLAGS="$CFLAGS"
6335 CFLAGS="$CFLAGS -belf"
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6337 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6338 if ${lt_cv_cc_needs_belf+:} false; then :
6339 $as_echo_n "(cached) " >&6
6342 ac_cpp='$CPP $CPPFLAGS'
6343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6358 if ac_fn_c_try_link "$LINENO"; then :
6359 lt_cv_cc_needs_belf=yes
6361 lt_cv_cc_needs_belf=no
6363 rm -f core conftest.err conftest.$ac_objext \
6364 conftest$ac_exeext conftest.$ac_ext
6366 ac_cpp='$CPP $CPPFLAGS'
6367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6373 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6374 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6375 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6376 CFLAGS="$SAVE_CFLAGS"
6380 # Find out which ABI we are using.
6381 echo 'int i;' > conftest.$ac_ext
6382 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6383 (eval $ac_compile) 2>&5
6385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6386 test $ac_status = 0; }; then
6387 case `/usr/bin/file conftest.o` in
6389 case $lt_cv_prog_gnu_ld in
6393 LD="${LD-ld} -m elf_x86_64"
6396 LD="${LD-ld} -m elf64_sparc"
6399 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6400 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6405 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6417 need_locks="$enable_libtool_lock"
6419 if test -n "$ac_tool_prefix"; then
6420 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6421 set dummy ${ac_tool_prefix}mt; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6425 $as_echo_n "(cached) " >&6
6427 if test -n "$MANIFEST_TOOL"; then
6428 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 test -z "$as_dir" && as_dir=.
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6447 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6448 if test -n "$MANIFEST_TOOL"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6450 $as_echo "$MANIFEST_TOOL" >&6; }
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6458 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6459 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6460 # Extract the first word of "mt", so it can be a program name with args.
6461 set dummy mt; ac_word=$2
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 $as_echo_n "checking for $ac_word... " >&6; }
6464 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6465 $as_echo_n "(cached) " >&6
6467 if test -n "$ac_ct_MANIFEST_TOOL"; then
6468 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 test -z "$as_dir" && as_dir=.
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6477 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6488 if test -n "$ac_ct_MANIFEST_TOOL"; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6490 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 $as_echo "no" >&6; }
6496 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6499 case $cross_compiling:$ac_tool_warned in
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6503 ac_tool_warned=yes ;;
6505 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6508 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6511 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6513 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6514 if ${lt_cv_path_mainfest_tool+:} false; then :
6515 $as_echo_n "(cached) " >&6
6517 lt_cv_path_mainfest_tool=no
6518 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6519 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6520 cat conftest.err >&5
6521 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6522 lt_cv_path_mainfest_tool=yes
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6527 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6528 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6538 rhapsody* | darwin*)
6539 if test -n "$ac_tool_prefix"; then
6540 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6541 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6545 $as_echo_n "(cached) " >&6
6547 if test -n "$DSYMUTIL"; then
6548 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6568 if test -n "$DSYMUTIL"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6570 $as_echo "$DSYMUTIL" >&6; }
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6578 if test -z "$ac_cv_prog_DSYMUTIL"; then
6579 ac_ct_DSYMUTIL=$DSYMUTIL
6580 # Extract the first word of "dsymutil", so it can be a program name with args.
6581 set dummy dsymutil; ac_word=$2
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6583 $as_echo_n "checking for $ac_word... " >&6; }
6584 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6585 $as_echo_n "(cached) " >&6
6587 if test -n "$ac_ct_DSYMUTIL"; then
6588 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6594 test -z "$as_dir" && as_dir=.
6595 for ac_exec_ext in '' $ac_executable_extensions; do
6596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6597 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6607 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6608 if test -n "$ac_ct_DSYMUTIL"; then
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6610 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6613 $as_echo "no" >&6; }
6616 if test "x$ac_ct_DSYMUTIL" = x; then
6619 case $cross_compiling:$ac_tool_warned in
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6623 ac_tool_warned=yes ;;
6625 DSYMUTIL=$ac_ct_DSYMUTIL
6628 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6631 if test -n "$ac_tool_prefix"; then
6632 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6633 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635 $as_echo_n "checking for $ac_word... " >&6; }
6636 if ${ac_cv_prog_NMEDIT+:} false; then :
6637 $as_echo_n "(cached) " >&6
6639 if test -n "$NMEDIT"; then
6640 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 test -z "$as_dir" && as_dir=.
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6649 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6659 NMEDIT=$ac_cv_prog_NMEDIT
6660 if test -n "$NMEDIT"; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6662 $as_echo "$NMEDIT" >&6; }
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 $as_echo "no" >&6; }
6670 if test -z "$ac_cv_prog_NMEDIT"; then
6671 ac_ct_NMEDIT=$NMEDIT
6672 # Extract the first word of "nmedit", so it can be a program name with args.
6673 set dummy nmedit; ac_word=$2
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 $as_echo_n "checking for $ac_word... " >&6; }
6676 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6677 $as_echo_n "(cached) " >&6
6679 if test -n "$ac_ct_NMEDIT"; then
6680 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 test -z "$as_dir" && as_dir=.
6687 for ac_exec_ext in '' $ac_executable_extensions; do
6688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6689 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6699 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6700 if test -n "$ac_ct_NMEDIT"; then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6702 $as_echo "$ac_ct_NMEDIT" >&6; }
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6705 $as_echo "no" >&6; }
6708 if test "x$ac_ct_NMEDIT" = x; then
6711 case $cross_compiling:$ac_tool_warned in
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6715 ac_tool_warned=yes ;;
6717 NMEDIT=$ac_ct_NMEDIT
6720 NMEDIT="$ac_cv_prog_NMEDIT"
6723 if test -n "$ac_tool_prefix"; then
6724 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6725 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 $as_echo_n "checking for $ac_word... " >&6; }
6728 if ${ac_cv_prog_LIPO+:} false; then :
6729 $as_echo_n "(cached) " >&6
6731 if test -n "$LIPO"; then
6732 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 test -z "$as_dir" && as_dir=.
6739 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6741 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6751 LIPO=$ac_cv_prog_LIPO
6752 if test -n "$LIPO"; then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6754 $as_echo "$LIPO" >&6; }
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 $as_echo "no" >&6; }
6762 if test -z "$ac_cv_prog_LIPO"; then
6764 # Extract the first word of "lipo", so it can be a program name with args.
6765 set dummy lipo; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 $as_echo_n "checking for $ac_word... " >&6; }
6768 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6769 $as_echo_n "(cached) " >&6
6771 if test -n "$ac_ct_LIPO"; then
6772 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir=.
6779 for ac_exec_ext in '' $ac_executable_extensions; do
6780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6781 ac_cv_prog_ac_ct_LIPO="lipo"
6782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6791 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6792 if test -n "$ac_ct_LIPO"; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6794 $as_echo "$ac_ct_LIPO" >&6; }
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 $as_echo "no" >&6; }
6800 if test "x$ac_ct_LIPO" = x; then
6803 case $cross_compiling:$ac_tool_warned in
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6807 ac_tool_warned=yes ;;
6812 LIPO="$ac_cv_prog_LIPO"
6815 if test -n "$ac_tool_prefix"; then
6816 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6817 set dummy ${ac_tool_prefix}otool; ac_word=$2
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819 $as_echo_n "checking for $ac_word... " >&6; }
6820 if ${ac_cv_prog_OTOOL+:} false; then :
6821 $as_echo_n "(cached) " >&6
6823 if test -n "$OTOOL"; then
6824 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir=.
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6833 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6843 OTOOL=$ac_cv_prog_OTOOL
6844 if test -n "$OTOOL"; then
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6846 $as_echo "$OTOOL" >&6; }
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 $as_echo "no" >&6; }
6854 if test -z "$ac_cv_prog_OTOOL"; then
6856 # Extract the first word of "otool", so it can be a program name with args.
6857 set dummy otool; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 $as_echo_n "checking for $ac_word... " >&6; }
6860 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6861 $as_echo_n "(cached) " >&6
6863 if test -n "$ac_ct_OTOOL"; then
6864 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 test -z "$as_dir" && as_dir=.
6871 for ac_exec_ext in '' $ac_executable_extensions; do
6872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6873 ac_cv_prog_ac_ct_OTOOL="otool"
6874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6883 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6884 if test -n "$ac_ct_OTOOL"; then
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6886 $as_echo "$ac_ct_OTOOL" >&6; }
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 $as_echo "no" >&6; }
6892 if test "x$ac_ct_OTOOL" = x; then
6895 case $cross_compiling:$ac_tool_warned in
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6899 ac_tool_warned=yes ;;
6904 OTOOL="$ac_cv_prog_OTOOL"
6907 if test -n "$ac_tool_prefix"; then
6908 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6909 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6911 $as_echo_n "checking for $ac_word... " >&6; }
6912 if ${ac_cv_prog_OTOOL64+:} false; then :
6913 $as_echo_n "(cached) " >&6
6915 if test -n "$OTOOL64"; then
6916 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922 test -z "$as_dir" && as_dir=.
6923 for ac_exec_ext in '' $ac_executable_extensions; do
6924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6925 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6935 OTOOL64=$ac_cv_prog_OTOOL64
6936 if test -n "$OTOOL64"; then
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6938 $as_echo "$OTOOL64" >&6; }
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6941 $as_echo "no" >&6; }
6946 if test -z "$ac_cv_prog_OTOOL64"; then
6947 ac_ct_OTOOL64=$OTOOL64
6948 # Extract the first word of "otool64", so it can be a program name with args.
6949 set dummy otool64; ac_word=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 $as_echo_n "checking for $ac_word... " >&6; }
6952 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6953 $as_echo_n "(cached) " >&6
6955 if test -n "$ac_ct_OTOOL64"; then
6956 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 test -z "$as_dir" && as_dir=.
6963 for ac_exec_ext in '' $ac_executable_extensions; do
6964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6965 ac_cv_prog_ac_ct_OTOOL64="otool64"
6966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6976 if test -n "$ac_ct_OTOOL64"; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6978 $as_echo "$ac_ct_OTOOL64" >&6; }
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6981 $as_echo "no" >&6; }
6984 if test "x$ac_ct_OTOOL64" = x; then
6987 case $cross_compiling:$ac_tool_warned in
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6991 ac_tool_warned=yes ;;
6993 OTOOL64=$ac_ct_OTOOL64
6996 OTOOL64="$ac_cv_prog_OTOOL64"
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7026 $as_echo_n "checking for -single_module linker flag... " >&6; }
7027 if ${lt_cv_apple_cc_single_mod+:} false; then :
7028 $as_echo_n "(cached) " >&6
7030 lt_cv_apple_cc_single_mod=no
7031 if test -z "${LT_MULTI_MODULE}"; then
7032 # By default we will add the -single_module flag. You can override
7033 # by either setting the environment variable LT_MULTI_MODULE
7034 # non-empty at configure time, or by adding -multi_module to the
7036 rm -rf libconftest.dylib*
7037 echo "int foo(void){return 1;}" > conftest.c
7038 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7039 -dynamiclib -Wl,-single_module conftest.c" >&5
7040 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7041 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7043 # If there is a non-empty error log, and "single_module"
7044 # appears in it, assume the flag caused a linker warning
7045 if test -s conftest.err && $GREP single_module conftest.err; then
7046 cat conftest.err >&5
7047 # Otherwise, if the output was created with a 0 exit code from
7048 # the compiler, it worked.
7049 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7050 lt_cv_apple_cc_single_mod=yes
7052 cat conftest.err >&5
7054 rm -rf libconftest.dylib*
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7059 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7062 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7063 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7064 $as_echo_n "(cached) " >&6
7066 lt_cv_ld_exported_symbols_list=no
7067 save_LDFLAGS=$LDFLAGS
7068 echo "_main" > conftest.sym
7069 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7071 /* end confdefs.h. */
7081 if ac_fn_c_try_link "$LINENO"; then :
7082 lt_cv_ld_exported_symbols_list=yes
7084 lt_cv_ld_exported_symbols_list=no
7086 rm -f core conftest.err conftest.$ac_objext \
7087 conftest$ac_exeext conftest.$ac_ext
7088 LDFLAGS="$save_LDFLAGS"
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7092 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7095 $as_echo_n "checking for -force_load linker flag... " >&6; }
7096 if ${lt_cv_ld_force_load+:} false; then :
7097 $as_echo_n "(cached) " >&6
7099 lt_cv_ld_force_load=no
7100 cat > conftest.c << _LT_EOF
7101 int forced_loaded() { return 2;}
7103 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7104 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7105 echo "$AR cru libconftest.a conftest.o" >&5
7106 $AR cru libconftest.a conftest.o 2>&5
7107 echo "$RANLIB libconftest.a" >&5
7108 $RANLIB libconftest.a 2>&5
7109 cat > conftest.c << _LT_EOF
7110 int main() { return 0;}
7112 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7113 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7115 if test -s conftest.err && $GREP force_load conftest.err; then
7116 cat conftest.err >&5
7117 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7118 lt_cv_ld_force_load=yes
7120 cat conftest.err >&5
7122 rm -f conftest.err libconftest.a conftest conftest.c
7123 rm -rf conftest.dSYM
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7127 $as_echo "$lt_cv_ld_force_load" >&6; }
7129 rhapsody* | darwin1.[012])
7130 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7132 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7133 darwin*) # darwin 5.x on
7134 # if running on 10.5 or later, the deployment target defaults
7135 # to the OS version, if on x86, and 10.4, the deployment
7136 # target defaults to 10.4. Don't you love it?
7137 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7138 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7139 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7141 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7143 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7147 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7148 _lt_dar_single_mod='$single_module'
7150 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7151 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7153 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7155 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7156 _lt_dsymutil='~$DSYMUTIL $lib || :'
7164 ac_cpp='$CPP $CPPFLAGS'
7165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7169 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7170 # On Suns, sometimes $CPP names a directory.
7171 if test -n "$CPP" && test -d "$CPP"; then
7174 if test -z "$CPP"; then
7175 if ${ac_cv_prog_CPP+:} false; then :
7176 $as_echo_n "(cached) " >&6
7178 # Double quotes because CPP needs to be expanded
7179 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7182 for ac_c_preproc_warn_flag in '' yes
7184 # Use a header file that comes with gcc, so configuring glibc
7185 # with a fresh cross-compiler works.
7186 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7187 # <limits.h> exists even on freestanding compilers.
7188 # On the NeXT, cc -E runs the code through the compiler's parser,
7189 # not just through cpp. "Syntax error" is here to catch this case.
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7193 # include <limits.h>
7195 # include <assert.h>
7199 if ac_fn_c_try_cpp "$LINENO"; then :
7202 # Broken: fails on valid input.
7205 rm -f conftest.err conftest.i conftest.$ac_ext
7207 # OK, works on sane cases. Now check whether nonexistent headers
7208 # can be detected and how.
7209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7210 /* end confdefs.h. */
7211 #include <ac_nonexistent.h>
7213 if ac_fn_c_try_cpp "$LINENO"; then :
7214 # Broken: success on invalid input.
7217 # Passes both tests.
7221 rm -f conftest.err conftest.i conftest.$ac_ext
7224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7225 rm -f conftest.i conftest.err conftest.$ac_ext
7226 if $ac_preproc_ok; then :
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7239 $as_echo "$CPP" >&6; }
7241 for ac_c_preproc_warn_flag in '' yes
7243 # Use a header file that comes with gcc, so configuring glibc
7244 # with a fresh cross-compiler works.
7245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7246 # <limits.h> exists even on freestanding compilers.
7247 # On the NeXT, cc -E runs the code through the compiler's parser,
7248 # not just through cpp. "Syntax error" is here to catch this case.
7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7252 # include <limits.h>
7254 # include <assert.h>
7258 if ac_fn_c_try_cpp "$LINENO"; then :
7261 # Broken: fails on valid input.
7264 rm -f conftest.err conftest.i conftest.$ac_ext
7266 # OK, works on sane cases. Now check whether nonexistent headers
7267 # can be detected and how.
7268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7269 /* end confdefs.h. */
7270 #include <ac_nonexistent.h>
7272 if ac_fn_c_try_cpp "$LINENO"; then :
7273 # Broken: success on invalid input.
7276 # Passes both tests.
7280 rm -f conftest.err conftest.i conftest.$ac_ext
7283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7284 rm -f conftest.i conftest.err conftest.$ac_ext
7285 if $ac_preproc_ok; then :
7288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7290 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7291 See \`config.log' for more details" "$LINENO" 5; }
7295 ac_cpp='$CPP $CPPFLAGS'
7296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7302 $as_echo_n "checking for ANSI C header files... " >&6; }
7303 if ${ac_cv_header_stdc+:} false; then :
7304 $as_echo_n "(cached) " >&6
7306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7307 /* end confdefs.h. */
7321 if ac_fn_c_try_compile "$LINENO"; then :
7322 ac_cv_header_stdc=yes
7324 ac_cv_header_stdc=no
7326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7328 if test $ac_cv_header_stdc = yes; then
7329 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331 /* end confdefs.h. */
7335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7336 $EGREP "memchr" >/dev/null 2>&1; then :
7339 ac_cv_header_stdc=no
7345 if test $ac_cv_header_stdc = yes; then
7346 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7348 /* end confdefs.h. */
7352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7353 $EGREP "free" >/dev/null 2>&1; then :
7356 ac_cv_header_stdc=no
7362 if test $ac_cv_header_stdc = yes; then
7363 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7364 if test "$cross_compiling" = yes; then :
7367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7368 /* end confdefs.h. */
7371 #if ((' ' & 0x0FF) == 0x020)
7372 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7373 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7375 # define ISLOWER(c) \
7376 (('a' <= (c) && (c) <= 'i') \
7377 || ('j' <= (c) && (c) <= 'r') \
7378 || ('s' <= (c) && (c) <= 'z'))
7379 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7382 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7387 for (i = 0; i < 256; i++)
7388 if (XOR (islower (i), ISLOWER (i))
7389 || toupper (i) != TOUPPER (i))
7394 if ac_fn_c_try_run "$LINENO"; then :
7397 ac_cv_header_stdc=no
7399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7400 conftest.$ac_objext conftest.beam conftest.$ac_ext
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7406 $as_echo "$ac_cv_header_stdc" >&6; }
7407 if test $ac_cv_header_stdc = yes; then
7409 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7413 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7414 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7415 inttypes.h stdint.h unistd.h
7417 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7420 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7421 cat >>confdefs.h <<_ACEOF
7422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7430 for ac_header in dlfcn.h
7432 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7434 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7435 cat >>confdefs.h <<_ACEOF
7436 #define HAVE_DLFCN_H 1
7448 enable_win32_dll=yes
7451 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7452 if test -n "$ac_tool_prefix"; then
7453 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7454 set dummy ${ac_tool_prefix}as; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if ${ac_cv_prog_AS+:} false; then :
7458 $as_echo_n "(cached) " >&6
7460 if test -n "$AS"; then
7461 ac_cv_prog_AS="$AS" # Let the user override the test.
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7470 ac_cv_prog_AS="${ac_tool_prefix}as"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481 if test -n "$AS"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7483 $as_echo "$AS" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7491 if test -z "$ac_cv_prog_AS"; then
7493 # Extract the first word of "as", so it can be a program name with args.
7494 set dummy as; ac_word=$2
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7496 $as_echo_n "checking for $ac_word... " >&6; }
7497 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7498 $as_echo_n "(cached) " >&6
7500 if test -n "$ac_ct_AS"; then
7501 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7507 test -z "$as_dir" && as_dir=.
7508 for ac_exec_ext in '' $ac_executable_extensions; do
7509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7510 ac_cv_prog_ac_ct_AS="as"
7511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7521 if test -n "$ac_ct_AS"; then
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7523 $as_echo "$ac_ct_AS" >&6; }
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 $as_echo "no" >&6; }
7529 if test "x$ac_ct_AS" = x; then
7532 case $cross_compiling:$ac_tool_warned in
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7536 ac_tool_warned=yes ;;
7544 if test -n "$ac_tool_prefix"; then
7545 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7546 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_DLLTOOL+:} false; then :
7550 $as_echo_n "(cached) " >&6
7552 if test -n "$DLLTOOL"; then
7553 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572 DLLTOOL=$ac_cv_prog_DLLTOOL
7573 if test -n "$DLLTOOL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7575 $as_echo "$DLLTOOL" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7583 if test -z "$ac_cv_prog_DLLTOOL"; then
7584 ac_ct_DLLTOOL=$DLLTOOL
7585 # Extract the first word of "dlltool", so it can be a program name with args.
7586 set dummy dlltool; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -n "$ac_ct_DLLTOOL"; then
7593 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7613 if test -n "$ac_ct_DLLTOOL"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7615 $as_echo "$ac_ct_DLLTOOL" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7621 if test "x$ac_ct_DLLTOOL" = x; then
7624 case $cross_compiling:$ac_tool_warned in
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7628 ac_tool_warned=yes ;;
7630 DLLTOOL=$ac_ct_DLLTOOL
7633 DLLTOOL="$ac_cv_prog_DLLTOOL"
7636 if test -n "$ac_tool_prefix"; then
7637 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7638 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if ${ac_cv_prog_OBJDUMP+:} false; then :
7642 $as_echo_n "(cached) " >&6
7644 if test -n "$OBJDUMP"; then
7645 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7654 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7664 OBJDUMP=$ac_cv_prog_OBJDUMP
7665 if test -n "$OBJDUMP"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7667 $as_echo "$OBJDUMP" >&6; }
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7675 if test -z "$ac_cv_prog_OBJDUMP"; then
7676 ac_ct_OBJDUMP=$OBJDUMP
7677 # Extract the first word of "objdump", so it can be a program name with args.
7678 set dummy objdump; ac_word=$2
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7680 $as_echo_n "checking for $ac_word... " >&6; }
7681 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7682 $as_echo_n "(cached) " >&6
7684 if test -n "$ac_ct_OBJDUMP"; then
7685 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 test -z "$as_dir" && as_dir=.
7692 for ac_exec_ext in '' $ac_executable_extensions; do
7693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7694 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7705 if test -n "$ac_ct_OBJDUMP"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7707 $as_echo "$ac_ct_OBJDUMP" >&6; }
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7713 if test "x$ac_ct_OBJDUMP" = x; then
7716 case $cross_compiling:$ac_tool_warned in
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7720 ac_tool_warned=yes ;;
7722 OBJDUMP=$ac_ct_OBJDUMP
7725 OBJDUMP="$ac_cv_prog_OBJDUMP"
7731 test -z "$AS" && AS=as
7737 test -z "$DLLTOOL" && DLLTOOL=dlltool
7743 test -z "$OBJDUMP" && OBJDUMP=objdump
7755 # Check whether --enable-shared was given.
7756 if test "${enable_shared+set}" = set; then :
7757 enableval=$enable_shared; p=${PACKAGE-default}
7759 yes) enable_shared=yes ;;
7760 no) enable_shared=no ;;
7763 # Look at the argument we got. We use all the common list separators.
7764 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7765 for pkg in $enableval; do
7767 if test "X$pkg" = "X$p"; then
7786 # Check whether --enable-static was given.
7787 if test "${enable_static+set}" = set; then :
7788 enableval=$enable_static; p=${PACKAGE-default}
7790 yes) enable_static=yes ;;
7791 no) enable_static=no ;;
7794 # Look at the argument we got. We use all the common list separators.
7795 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7796 for pkg in $enableval; do
7798 if test "X$pkg" = "X$p"; then
7818 # Check whether --with-pic was given.
7819 if test "${with_pic+set}" = set; then :
7820 withval=$with_pic; lt_p=${PACKAGE-default}
7822 yes|no) pic_mode=$withval ;;
7825 # Look at the argument we got. We use all the common list separators.
7826 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7827 for lt_pkg in $withval; do
7829 if test "X$lt_pkg" = "X$lt_p"; then
7841 test -z "$pic_mode" && pic_mode=default
7849 # Check whether --enable-fast-install was given.
7850 if test "${enable_fast_install+set}" = set; then :
7851 enableval=$enable_fast_install; p=${PACKAGE-default}
7853 yes) enable_fast_install=yes ;;
7854 no) enable_fast_install=no ;;
7856 enable_fast_install=no
7857 # Look at the argument we got. We use all the common list separators.
7858 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7859 for pkg in $enableval; do
7861 if test "X$pkg" = "X$p"; then
7862 enable_fast_install=yes
7869 enable_fast_install=yes
7882 # This can be used to rebuild libtool when needed
7883 LIBTOOL_DEPS="$ltmain"
7885 # Always use our own libtool.
7886 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7917 test -z "$LN_S" && LN_S="ln -s"
7932 if test -n "${ZSH_VERSION+set}" ; then
7933 setopt NO_GLOB_SUBST
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7937 $as_echo_n "checking for objdir... " >&6; }
7938 if ${lt_cv_objdir+:} false; then :
7939 $as_echo_n "(cached) " >&6
7941 rm -f .libs 2>/dev/null
7942 mkdir .libs 2>/dev/null
7943 if test -d .libs; then
7946 # MS-DOS does not allow filenames that begin with a dot.
7949 rmdir .libs 2>/dev/null
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7952 $as_echo "$lt_cv_objdir" >&6; }
7953 objdir=$lt_cv_objdir
7959 cat >>confdefs.h <<_ACEOF
7960 #define LT_OBJDIR "$lt_cv_objdir/"
7968 # AIX sometimes has problems with the GCC collect2 program. For some
7969 # reason, if we set the COLLECT_NAMES environment variable, the problems
7970 # vanish in a puff of smoke.
7971 if test "X${COLLECT_NAMES+set}" != Xset; then
7973 export COLLECT_NAMES
7980 can_build_shared=yes
7982 # All known linkers require a `.a' archive for static linking (except MSVC,
7983 # which needs '.lib').
7986 with_gnu_ld="$lt_cv_prog_gnu_ld"
7989 old_CFLAGS="$CFLAGS"
7991 # Set sane defaults for various variables
7992 test -z "$CC" && CC=cc
7993 test -z "$LTCC" && LTCC=$CC
7994 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7995 test -z "$LD" && LD=ld
7996 test -z "$ac_objext" && ac_objext=o
7998 for cc_temp in $compiler""; do
8000 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8001 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8006 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8009 # Only perform the check for file, if the check method requires it
8010 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8011 case $deplibs_check_method in
8013 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8015 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8016 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8017 $as_echo_n "(cached) " >&6
8021 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8024 lt_save_MAGIC_CMD="$MAGIC_CMD"
8025 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8026 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8027 for ac_dir in $ac_dummy; do
8029 test -z "$ac_dir" && ac_dir=.
8030 if test -f $ac_dir/${ac_tool_prefix}file; then
8031 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8032 if test -n "$file_magic_test_file"; then
8033 case $deplibs_check_method in
8035 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8036 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8037 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8038 $EGREP "$file_magic_regex" > /dev/null; then
8043 *** Warning: the command libtool uses to detect shared libraries,
8044 *** $file_magic_cmd, produces output that libtool cannot recognize.
8045 *** The result is that libtool may fail to recognize shared libraries
8046 *** as such. This will affect the creation of libtool libraries that
8047 *** depend on shared libraries, but programs linked with such libtool
8048 *** libraries will work regardless of this problem. Nevertheless, you
8049 *** may want to report the problem to your system manager and/or to
8050 *** bug-libtool@gnu.org
8060 MAGIC_CMD="$lt_save_MAGIC_CMD"
8065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8066 if test -n "$MAGIC_CMD"; then
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8068 $as_echo "$MAGIC_CMD" >&6; }
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8071 $as_echo "no" >&6; }
8078 if test -z "$lt_cv_path_MAGIC_CMD"; then
8079 if test -n "$ac_tool_prefix"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8081 $as_echo_n "checking for file... " >&6; }
8082 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8083 $as_echo_n "(cached) " >&6
8087 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8090 lt_save_MAGIC_CMD="$MAGIC_CMD"
8091 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8092 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8093 for ac_dir in $ac_dummy; do
8095 test -z "$ac_dir" && ac_dir=.
8096 if test -f $ac_dir/file; then
8097 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8098 if test -n "$file_magic_test_file"; then
8099 case $deplibs_check_method in
8101 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8102 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8103 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8104 $EGREP "$file_magic_regex" > /dev/null; then
8109 *** Warning: the command libtool uses to detect shared libraries,
8110 *** $file_magic_cmd, produces output that libtool cannot recognize.
8111 *** The result is that libtool may fail to recognize shared libraries
8112 *** as such. This will affect the creation of libtool libraries that
8113 *** depend on shared libraries, but programs linked with such libtool
8114 *** libraries will work regardless of this problem. Nevertheless, you
8115 *** may want to report the problem to your system manager and/or to
8116 *** bug-libtool@gnu.org
8126 MAGIC_CMD="$lt_save_MAGIC_CMD"
8131 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8132 if test -n "$MAGIC_CMD"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8134 $as_echo "$MAGIC_CMD" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8150 # Use C for the default configuration in the libtool script
8154 ac_cpp='$CPP $CPPFLAGS'
8155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8160 # Source file extension for C test sources.
8163 # Object file extension for compiled C test sources.
8167 # Code to be used in simple compile tests
8168 lt_simple_compile_test_code="int some_variable = 0;"
8170 # Code to be used in simple link tests
8171 lt_simple_link_test_code='int main(){return(0);}'
8179 # If no C compiler was specified, use CC.
8182 # If no C compiler flags were specified, use CFLAGS.
8183 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8185 # Allow CC to be a program name with arguments.
8188 # Save the default compiler, since it gets overwritten when the other
8189 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8190 compiler_DEFAULT=$CC
8192 # save warnings/boilerplate of simple test code
8193 ac_outfile=conftest.$ac_objext
8194 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8195 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8196 _lt_compiler_boilerplate=`cat conftest.err`
8199 ac_outfile=conftest.$ac_objext
8200 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8201 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8202 _lt_linker_boilerplate=`cat conftest.err`
8207 ## There is no encapsulation within the following macros, do not change
8208 ## the running order or otherwise move them around unless you know exactly
8209 ## what you are doing...
8210 if test -n "$compiler"; then
8212 lt_prog_compiler_no_builtin_flag=
8214 if test "$GCC" = yes; then
8215 case $cc_basename in
8217 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8219 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8223 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8224 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8225 $as_echo_n "(cached) " >&6
8227 lt_cv_prog_compiler_rtti_exceptions=no
8228 ac_outfile=conftest.$ac_objext
8229 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8230 lt_compiler_flag="-fno-rtti -fno-exceptions"
8231 # Insert the option either (1) after the last *FLAGS variable, or
8232 # (2) before a word containing "conftest.", or (3) at the end.
8233 # Note that $ac_compile itself does not contain backslashes and begins
8234 # with a dollar sign (not a hyphen), so the echo should work correctly.
8235 # The option is referenced via a variable to avoid confusing sed.
8236 lt_compile=`echo "$ac_compile" | $SED \
8237 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8239 -e 's:$: $lt_compiler_flag:'`
8240 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8241 (eval "$lt_compile" 2>conftest.err)
8243 cat conftest.err >&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 if (exit $ac_status) && test -s "$ac_outfile"; then
8246 # The compiler can only warn and ignore the option if not recognized
8247 # So say no if there are warnings other than the usual output.
8248 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8249 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8250 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8251 lt_cv_prog_compiler_rtti_exceptions=yes
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8258 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8260 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8261 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8273 lt_prog_compiler_wl=
8274 lt_prog_compiler_pic=
8275 lt_prog_compiler_static=
8278 if test "$GCC" = yes; then
8279 lt_prog_compiler_wl='-Wl,'
8280 lt_prog_compiler_static='-static'
8284 # All AIX code is PIC.
8285 if test "$host_cpu" = ia64; then
8286 # AIX 5 now supports IA64 processor
8287 lt_prog_compiler_static='-Bstatic'
8294 # see comment about AmigaOS4 .so support
8295 lt_prog_compiler_pic='-fPIC'
8298 # FIXME: we need at least 68020 code to build shared libraries, but
8299 # adding the `-m68020' flag to GCC prevents building anything better,
8301 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8306 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8307 # PIC is the default for these OSes.
8310 mingw* | cygwin* | pw32* | os2* | cegcc*)
8311 # This hack is so that the source file can tell whether it is being
8312 # built for inclusion in a dll (and should export symbols for example).
8313 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8314 # (--disable-auto-import) libraries
8315 lt_prog_compiler_pic='-DDLL_EXPORT'
8318 darwin* | rhapsody*)
8319 # PIC is the default on this platform
8320 # Common symbols not allowed in MH_DYLIB files
8321 lt_prog_compiler_pic='-fno-common'
8325 # PIC is the default for Haiku.
8326 # The "-static" flag exists, but is broken.
8327 lt_prog_compiler_static=
8331 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8332 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8333 # sets the default TLS model and affects inlining.
8339 lt_prog_compiler_pic='-fPIC'
8345 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8346 # Instead, we relocate shared libraries at runtime.
8350 # Just because we use GCC doesn't mean we suddenly get shared libraries
8351 # on systems that don't support them.
8352 lt_prog_compiler_can_build_shared=no
8357 # QNX uses GNU C++, but need to define -shared option too, otherwise
8359 lt_prog_compiler_pic='-fPIC -shared'
8363 if test -d /usr/nec; then
8364 lt_prog_compiler_pic=-Kconform_pic
8369 lt_prog_compiler_pic='-fPIC'
8373 case $cc_basename in
8374 nvcc*) # Cuda Compiler Driver 2.2
8375 lt_prog_compiler_wl='-Xlinker '
8376 if test -n "$lt_prog_compiler_pic"; then
8377 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8382 # PORTME Check for flag to pass linker flags through the system compiler.
8385 lt_prog_compiler_wl='-Wl,'
8386 if test "$host_cpu" = ia64; then
8387 # AIX 5 now supports IA64 processor
8388 lt_prog_compiler_static='-Bstatic'
8390 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8394 mingw* | cygwin* | pw32* | os2* | cegcc*)
8395 # This hack is so that the source file can tell whether it is being
8396 # built for inclusion in a dll (and should export symbols for example).
8397 lt_prog_compiler_pic='-DDLL_EXPORT'
8400 hpux9* | hpux10* | hpux11*)
8401 lt_prog_compiler_wl='-Wl,'
8402 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8409 lt_prog_compiler_pic='+Z'
8412 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8413 lt_prog_compiler_static='${wl}-a ${wl}archive'
8416 irix5* | irix6* | nonstopux*)
8417 lt_prog_compiler_wl='-Wl,'
8418 # PIC (with -KPIC) is the default.
8419 lt_prog_compiler_static='-non_shared'
8422 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8423 case $cc_basename in
8424 # old Intel for x86_64 which still supported -KPIC.
8426 lt_prog_compiler_wl='-Wl,'
8427 lt_prog_compiler_pic='-KPIC'
8428 lt_prog_compiler_static='-static'
8430 # icc used to be incompatible with GCC.
8431 # ICC 10 doesn't accept -KPIC any more.
8433 lt_prog_compiler_wl='-Wl,'
8434 lt_prog_compiler_pic='-fPIC'
8435 lt_prog_compiler_static='-static'
8437 # Lahey Fortran 8.1.
8439 lt_prog_compiler_wl='-Wl,'
8440 lt_prog_compiler_pic='--shared'
8441 lt_prog_compiler_static='--static'
8444 # NAG Fortran compiler
8445 lt_prog_compiler_wl='-Wl,-Wl,,'
8446 lt_prog_compiler_pic='-PIC'
8447 lt_prog_compiler_static='-Bstatic'
8449 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8450 # Portland Group compilers (*not* the Pentium gcc compiler,
8451 # which looks to be a dead project)
8452 lt_prog_compiler_wl='-Wl,'
8453 lt_prog_compiler_pic='-fpic'
8454 lt_prog_compiler_static='-Bstatic'
8457 lt_prog_compiler_wl='-Wl,'
8458 # All Alpha code is PIC.
8459 lt_prog_compiler_static='-non_shared'
8461 xl* | bgxl* | bgf* | mpixl*)
8462 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8463 lt_prog_compiler_wl='-Wl,'
8464 lt_prog_compiler_pic='-qpic'
8465 lt_prog_compiler_static='-qstaticlink'
8468 case `$CC -V 2>&1 | sed 5q` in
8469 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8470 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8471 lt_prog_compiler_pic='-KPIC'
8472 lt_prog_compiler_static='-Bstatic'
8473 lt_prog_compiler_wl=''
8475 *Sun\ F* | *Sun*Fortran*)
8476 lt_prog_compiler_pic='-KPIC'
8477 lt_prog_compiler_static='-Bstatic'
8478 lt_prog_compiler_wl='-Qoption ld '
8482 lt_prog_compiler_pic='-KPIC'
8483 lt_prog_compiler_static='-Bstatic'
8484 lt_prog_compiler_wl='-Wl,'
8486 *Intel*\ [CF]*Compiler*)
8487 lt_prog_compiler_wl='-Wl,'
8488 lt_prog_compiler_pic='-fPIC'
8489 lt_prog_compiler_static='-static'
8492 lt_prog_compiler_wl='-Wl,'
8493 lt_prog_compiler_pic='-fpic'
8494 lt_prog_compiler_static='-Bstatic'
8502 lt_prog_compiler_pic='-KPIC'
8503 lt_prog_compiler_static='-Bstatic'
8507 # QNX uses GNU C++, but need to define -shared option too, otherwise
8509 lt_prog_compiler_pic='-fPIC -shared'
8512 osf3* | osf4* | osf5*)
8513 lt_prog_compiler_wl='-Wl,'
8514 # All OSF/1 code is PIC.
8515 lt_prog_compiler_static='-non_shared'
8519 lt_prog_compiler_static='-non_shared'
8523 lt_prog_compiler_pic='-KPIC'
8524 lt_prog_compiler_static='-Bstatic'
8525 case $cc_basename in
8526 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8527 lt_prog_compiler_wl='-Qoption ld ';;
8529 lt_prog_compiler_wl='-Wl,';;
8534 lt_prog_compiler_wl='-Qoption ld '
8535 lt_prog_compiler_pic='-PIC'
8536 lt_prog_compiler_static='-Bstatic'
8539 sysv4 | sysv4.2uw2* | sysv4.3*)
8540 lt_prog_compiler_wl='-Wl,'
8541 lt_prog_compiler_pic='-KPIC'
8542 lt_prog_compiler_static='-Bstatic'
8546 if test -d /usr/nec ;then
8547 lt_prog_compiler_pic='-Kconform_pic'
8548 lt_prog_compiler_static='-Bstatic'
8552 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8553 lt_prog_compiler_wl='-Wl,'
8554 lt_prog_compiler_pic='-KPIC'
8555 lt_prog_compiler_static='-Bstatic'
8559 lt_prog_compiler_wl='-Wl,'
8560 lt_prog_compiler_can_build_shared=no
8564 lt_prog_compiler_pic='-pic'
8565 lt_prog_compiler_static='-Bstatic'
8569 lt_prog_compiler_can_build_shared=no
8575 # For platforms which do not support PIC, -DPIC is meaningless:
8577 lt_prog_compiler_pic=
8580 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8585 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8586 if ${lt_cv_prog_compiler_pic+:} false; then :
8587 $as_echo_n "(cached) " >&6
8589 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8592 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8593 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8596 # Check to make sure the PIC flag actually works.
8598 if test -n "$lt_prog_compiler_pic"; then
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8600 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8601 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8602 $as_echo_n "(cached) " >&6
8604 lt_cv_prog_compiler_pic_works=no
8605 ac_outfile=conftest.$ac_objext
8606 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8607 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8608 # Insert the option either (1) after the last *FLAGS variable, or
8609 # (2) before a word containing "conftest.", or (3) at the end.
8610 # Note that $ac_compile itself does not contain backslashes and begins
8611 # with a dollar sign (not a hyphen), so the echo should work correctly.
8612 # The option is referenced via a variable to avoid confusing sed.
8613 lt_compile=`echo "$ac_compile" | $SED \
8614 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8615 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8616 -e 's:$: $lt_compiler_flag:'`
8617 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8618 (eval "$lt_compile" 2>conftest.err)
8620 cat conftest.err >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 if (exit $ac_status) && test -s "$ac_outfile"; then
8623 # The compiler can only warn and ignore the option if not recognized
8624 # So say no if there are warnings other than the usual output.
8625 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8626 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8627 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8628 lt_cv_prog_compiler_pic_works=yes
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8635 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8637 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8638 case $lt_prog_compiler_pic in
8640 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8643 lt_prog_compiler_pic=
8644 lt_prog_compiler_can_build_shared=no
8660 # Check to make sure the static flag actually works.
8662 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8664 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8665 if ${lt_cv_prog_compiler_static_works+:} false; then :
8666 $as_echo_n "(cached) " >&6
8668 lt_cv_prog_compiler_static_works=no
8669 save_LDFLAGS="$LDFLAGS"
8670 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8671 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8672 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8673 # The linker can only warn and ignore the option if not recognized
8674 # So say no if there are warnings
8675 if test -s conftest.err; then
8676 # Append any errors to the config.log.
8677 cat conftest.err 1>&5
8678 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8679 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8680 if diff conftest.exp conftest.er2 >/dev/null; then
8681 lt_cv_prog_compiler_static_works=yes
8684 lt_cv_prog_compiler_static_works=yes
8688 LDFLAGS="$save_LDFLAGS"
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8692 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8694 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8697 lt_prog_compiler_static=
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8707 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8708 if ${lt_cv_prog_compiler_c_o+:} false; then :
8709 $as_echo_n "(cached) " >&6
8711 lt_cv_prog_compiler_c_o=no
8712 $RM -r conftest 2>/dev/null
8716 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8718 lt_compiler_flag="-o out/conftest2.$ac_objext"
8719 # Insert the option either (1) after the last *FLAGS variable, or
8720 # (2) before a word containing "conftest.", or (3) at the end.
8721 # Note that $ac_compile itself does not contain backslashes and begins
8722 # with a dollar sign (not a hyphen), so the echo should work correctly.
8723 lt_compile=`echo "$ac_compile" | $SED \
8724 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8725 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8726 -e 's:$: $lt_compiler_flag:'`
8727 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8728 (eval "$lt_compile" 2>out/conftest.err)
8730 cat out/conftest.err >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8734 # The compiler can only warn and ignore the option if not recognized
8735 # So say no if there are warnings
8736 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8737 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8738 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8739 lt_cv_prog_compiler_c_o=yes
8744 # SGI C++ compiler will create directory out/ii_files/ for
8745 # template instantiation
8746 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8747 $RM out/* && rmdir out
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8754 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8762 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8763 if ${lt_cv_prog_compiler_c_o+:} false; then :
8764 $as_echo_n "(cached) " >&6
8766 lt_cv_prog_compiler_c_o=no
8767 $RM -r conftest 2>/dev/null
8771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773 lt_compiler_flag="-o out/conftest2.$ac_objext"
8774 # Insert the option either (1) after the last *FLAGS variable, or
8775 # (2) before a word containing "conftest.", or (3) at the end.
8776 # Note that $ac_compile itself does not contain backslashes and begins
8777 # with a dollar sign (not a hyphen), so the echo should work correctly.
8778 lt_compile=`echo "$ac_compile" | $SED \
8779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8781 -e 's:$: $lt_compiler_flag:'`
8782 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8783 (eval "$lt_compile" 2>out/conftest.err)
8785 cat out/conftest.err >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8789 # The compiler can only warn and ignore the option if not recognized
8790 # So say no if there are warnings
8791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8792 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8793 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8794 lt_cv_prog_compiler_c_o=yes
8799 # SGI C++ compiler will create directory out/ii_files/ for
8800 # template instantiation
8801 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8802 $RM out/* && rmdir out
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8809 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8814 hard_links="nottested"
8815 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8816 # do not overwrite the value of need_locks provided by the user
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8818 $as_echo_n "checking if we can lock with hard links... " >&6; }
8821 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8823 ln conftest.a conftest.b 2>&5 || hard_links=no
8824 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8826 $as_echo "$hard_links" >&6; }
8827 if test "$hard_links" = no; then
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8829 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8842 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8845 allow_undefined_flag=
8846 always_export_symbols=no
8848 archive_expsym_cmds=
8849 compiler_needs_object=no
8850 enable_shared_with_static_runtimes=no
8851 export_dynamic_flag_spec=
8852 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8853 hardcode_automatic=no
8855 hardcode_direct_absolute=no
8856 hardcode_libdir_flag_spec=
8857 hardcode_libdir_separator=
8859 hardcode_shlibpath_var=unsupported
8861 link_all_deplibs=unknown
8864 old_archive_from_new_cmds=
8865 old_archive_from_expsyms_cmds=
8866 thread_safe_flag_spec=
8867 whole_archive_flag_spec=
8868 # include_expsyms should be a list of space-separated symbols to be *always*
8869 # included in the symbol list
8871 # exclude_expsyms can be an extended regexp of symbols to exclude
8872 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8873 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8874 # as well as any symbol that contains `d'.
8875 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8876 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8877 # platforms (ab)use it in PIC code, but their linkers get confused if
8878 # the symbol is explicitly referenced. Since portable code cannot
8879 # rely on this symbol name, it's probably fine to never include it in
8880 # preloaded symbol tables.
8881 # Exclude shared library initialization/finalization symbols.
8882 extract_expsyms_cmds=
8885 cygwin* | mingw* | pw32* | cegcc*)
8886 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8887 # When not using gcc, we currently assume that we are using
8888 # Microsoft Visual C++.
8889 if test "$GCC" != yes; then
8894 # we just hope/assume this is gcc and not c89 (= MSVC++)
8900 linux* | k*bsd*-gnu | gnu*)
8907 # On some targets, GNU ld is compatible enough with the native linker
8908 # that we're better off using the native interface for both.
8909 lt_use_gnu_ld_interface=no
8910 if test "$with_gnu_ld" = yes; then
8913 # The AIX port of GNU ld has always aspired to compatibility
8914 # with the native linker. However, as the warning in the GNU ld
8915 # block says, versions before 2.19.5* couldn't really create working
8916 # shared libraries, regardless of the interface used.
8917 case `$LD -v 2>&1` in
8918 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8919 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8920 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8922 lt_use_gnu_ld_interface=yes
8927 lt_use_gnu_ld_interface=yes
8932 if test "$lt_use_gnu_ld_interface" = yes; then
8933 # If archive_cmds runs LD, not CC, wlarc should be empty
8936 # Set some defaults for GNU ld with shared library support. These
8937 # are reset later if shared libraries are not supported. Putting them
8938 # here allows them to be overridden if necessary.
8939 runpath_var=LD_RUN_PATH
8940 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8941 export_dynamic_flag_spec='${wl}--export-dynamic'
8942 # ancient GNU ld didn't support --whole-archive et. al.
8943 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8944 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8946 whole_archive_flag_spec=
8948 supports_anon_versioning=no
8949 case `$LD -v 2>&1` in
8950 *GNU\ gold*) supports_anon_versioning=yes ;;
8951 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8952 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8953 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8954 *\ 2.11.*) ;; # other 2.11 versions
8955 *) supports_anon_versioning=yes ;;
8958 # See if GNU ld supports shared libraries.
8961 # On AIX/PPC, the GNU linker is very broken
8962 if test "$host_cpu" != ia64; then
8966 *** Warning: the GNU linker, at least up to release 2.19, is reported
8967 *** to be unable to reliably create shared libraries on AIX.
8968 *** Therefore, libtool is disabling shared libraries support. If you
8969 *** really care for shared libraries, you may want to install binutils
8970 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8971 *** You will then need to restart the configuration process.
8980 # see comment about AmigaOS4 .so support
8981 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8982 archive_expsym_cmds=''
8985 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)'
8986 hardcode_libdir_flag_spec='-L$libdir'
8987 hardcode_minus_L=yes
8993 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8994 allow_undefined_flag=unsupported
8995 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8996 # support --undefined. This deserves some investigation. FIXME
8997 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9003 cygwin* | mingw* | pw32* | cegcc*)
9004 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9005 # as there is no search path for DLLs.
9006 hardcode_libdir_flag_spec='-L$libdir'
9007 export_dynamic_flag_spec='${wl}--export-all-symbols'
9008 allow_undefined_flag=unsupported
9009 always_export_symbols=no
9010 enable_shared_with_static_runtimes=yes
9011 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'
9012 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9014 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9015 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9016 # If the export-symbols file already is a .def file (1st line
9017 # is EXPORTS), use it as is; otherwise, prepend...
9018 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9019 cp $export_symbols $output_objdir/$soname.def;
9021 echo EXPORTS > $output_objdir/$soname.def;
9022 cat $export_symbols >> $output_objdir/$soname.def;
9024 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9031 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9032 link_all_deplibs=yes
9037 hardcode_shlibpath_var=no
9038 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9039 export_dynamic_flag_spec='${wl}-E'
9040 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9041 # Instead, shared libraries are loaded at an image base (0x10000000 by
9042 # default) and relocated if they conflict, which is a slow very memory
9043 # consuming and fragmenting process. To avoid this, we pick a random,
9044 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9045 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9046 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9047 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'
9050 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9052 if test "$host_os" = linux-dietlibc; then
9053 case $cc_basename in
9054 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9057 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9058 && test "$tmp_diet" = no
9060 tmp_addflag=' $pic_flag'
9061 tmp_sharedflag='-shared'
9062 case $cc_basename,$host_cpu in
9063 pgcc*) # Portland Group C compiler
9064 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'
9065 tmp_addflag=' $pic_flag'
9067 pgf77* | pgf90* | pgf95* | pgfortran*)
9068 # Portland Group f77 and f90 compilers
9069 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'
9070 tmp_addflag=' $pic_flag -Mnomain' ;;
9071 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9072 tmp_addflag=' -i_dynamic' ;;
9073 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9074 tmp_addflag=' -i_dynamic -nofor_main' ;;
9075 ifc* | ifort*) # Intel Fortran compiler
9076 tmp_addflag=' -nofor_main' ;;
9077 lf95*) # Lahey Fortran 8.1
9078 whole_archive_flag_spec=
9079 tmp_sharedflag='--shared' ;;
9080 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9081 tmp_sharedflag='-qmkshrobj'
9083 nvcc*) # Cuda Compiler Driver 2.2
9084 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'
9085 compiler_needs_object=yes
9088 case `$CC -V 2>&1 | sed 5q` in
9089 *Sun\ C*) # Sun C 5.9
9090 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'
9091 compiler_needs_object=yes
9092 tmp_sharedflag='-G' ;;
9093 *Sun\ F*) # Sun Fortran 8.3
9094 tmp_sharedflag='-G' ;;
9096 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9098 if test "x$supports_anon_versioning" = xyes; then
9099 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9100 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9101 echo "local: *; };" >> $output_objdir/$libname.ver~
9102 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9105 case $cc_basename in
9106 xlf* | bgf* | bgxlf* | mpixlf*)
9107 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9108 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9109 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9110 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9111 if test "x$supports_anon_versioning" = xyes; then
9112 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9113 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9114 echo "local: *; };" >> $output_objdir/$libname.ver~
9115 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9124 netbsd* | netbsdelf*-gnu)
9125 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9126 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9129 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9130 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9135 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9139 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9140 *** create shared libraries on Solaris systems. Therefore, libtool
9141 *** is disabling shared libraries support. We urge you to upgrade GNU
9142 *** binutils to release 2.9.1 or newer. Another option is to modify
9143 *** your PATH or compiler configuration so that the native linker is
9144 *** used, and then restart.
9147 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9148 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9155 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9156 case `$LD -v 2>&1` in
9157 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9161 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9162 *** reliably create shared libraries on SCO systems. Therefore, libtool
9163 *** is disabling shared libraries support. We urge you to upgrade GNU
9164 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9165 *** your PATH or compiler configuration so that the native linker is
9166 *** used, and then restart.
9171 # For security reasons, it is highly recommended that you always
9172 # use absolute paths for naming shared libraries, and exclude the
9173 # DT_RUNPATH tag from executables and libraries. But doing so
9174 # requires that you compile everything twice, which is a pain.
9175 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9176 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9177 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9187 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9190 hardcode_shlibpath_var=no
9194 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9195 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9196 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9203 if test "$ld_shlibs" = no; then
9205 hardcode_libdir_flag_spec=
9206 export_dynamic_flag_spec=
9207 whole_archive_flag_spec=
9210 # PORTME fill in a description of your system's linker (not GNU ld)
9213 allow_undefined_flag=unsupported
9214 always_export_symbols=yes
9215 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'
9216 # Note: this linker hardcodes the directories in LIBPATH if there
9217 # are no directories specified by -L.
9218 hardcode_minus_L=yes
9219 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9220 # Neither direct hardcoding nor static linking is supported with a
9222 hardcode_direct=unsupported
9227 if test "$host_cpu" = ia64; then
9228 # On IA64, the linker does run time linking by default, so we don't
9229 # have to do anything special.
9230 aix_use_runtimelinking=no
9231 exp_sym_flag='-Bexport'
9234 # If we're using GNU nm, then we don't want the "-C" option.
9235 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9236 # Also, AIX nm treats weak defined symbols like other global
9237 # defined symbols, whereas GNU nm marks them as "W".
9238 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9239 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'
9241 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'
9243 aix_use_runtimelinking=no
9245 # Test if we are trying to use run time linking or normal
9246 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9247 # need to do runtime linking.
9248 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9249 for ld_flag in $LDFLAGS; do
9250 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9251 aix_use_runtimelinking=yes
9258 exp_sym_flag='-bexport'
9259 no_entry_flag='-bnoentry'
9262 # When large executables or shared objects are built, AIX ld can
9263 # have problems creating the table of contents. If linking a library
9264 # or program results in "error TOC overflow" add -mminimal-toc to
9265 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9266 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9270 hardcode_direct_absolute=yes
9271 hardcode_libdir_separator=':'
9272 link_all_deplibs=yes
9273 file_list_spec='${wl}-f,'
9275 if test "$GCC" = yes; then
9276 case $host_os in aix4.[012]|aix4.[012].*)
9277 # We only want to do this on AIX 4.2 and lower, the check
9278 # below for broken collect2 doesn't work under 4.3+
9279 collect2name=`${CC} -print-prog-name=collect2`
9280 if test -f "$collect2name" &&
9281 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9283 # We have reworked collect2
9286 # We have old collect2
9287 hardcode_direct=unsupported
9288 # It fails to find uninstalled libraries when the uninstalled
9289 # path is not listed in the libpath. Setting hardcode_minus_L
9290 # to unsupported forces relinking
9291 hardcode_minus_L=yes
9292 hardcode_libdir_flag_spec='-L$libdir'
9293 hardcode_libdir_separator=
9297 shared_flag='-shared'
9298 if test "$aix_use_runtimelinking" = yes; then
9299 shared_flag="$shared_flag "'${wl}-G'
9304 if test "$host_cpu" = ia64; then
9305 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9306 # chokes on -Wl,-G. The following line is correct:
9309 if test "$aix_use_runtimelinking" = yes; then
9310 shared_flag='${wl}-G'
9312 shared_flag='${wl}-bM:SRE'
9317 export_dynamic_flag_spec='${wl}-bexpall'
9318 # It seems that -bexpall does not export symbols beginning with
9319 # underscore (_), so it is better to generate a list of symbols to export.
9320 always_export_symbols=yes
9321 if test "$aix_use_runtimelinking" = yes; then
9322 # Warning - without using the other runtime loading flags (-brtl),
9323 # -berok will link without error, but may produce a broken library.
9324 allow_undefined_flag='-berok'
9325 # Determine the default libpath from the value encoded in an
9327 if test "${lt_cv_aix_libpath+set}" = set; then
9328 aix_libpath=$lt_cv_aix_libpath
9330 if ${lt_cv_aix_libpath_+:} false; then :
9331 $as_echo_n "(cached) " >&6
9333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9334 /* end confdefs.h. */
9344 if ac_fn_c_try_link "$LINENO"; then :
9346 lt_aix_libpath_sed='
9347 /Import File Strings/,/^$/ {
9349 s/^0 *\([^ ]*\) *$/\1/
9353 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9354 # Check for a 64-bit object if we didn't find anything.
9355 if test -z "$lt_cv_aix_libpath_"; then
9356 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9359 rm -f core conftest.err conftest.$ac_objext \
9360 conftest$ac_exeext conftest.$ac_ext
9361 if test -z "$lt_cv_aix_libpath_"; then
9362 lt_cv_aix_libpath_="/usr/lib:/lib"
9367 aix_libpath=$lt_cv_aix_libpath_
9370 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9371 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"
9373 if test "$host_cpu" = ia64; then
9374 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9375 allow_undefined_flag="-z nodefs"
9376 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"
9378 # Determine the default libpath from the value encoded in an
9380 if test "${lt_cv_aix_libpath+set}" = set; then
9381 aix_libpath=$lt_cv_aix_libpath
9383 if ${lt_cv_aix_libpath_+:} false; then :
9384 $as_echo_n "(cached) " >&6
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9397 if ac_fn_c_try_link "$LINENO"; then :
9399 lt_aix_libpath_sed='
9400 /Import File Strings/,/^$/ {
9402 s/^0 *\([^ ]*\) *$/\1/
9406 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9407 # Check for a 64-bit object if we didn't find anything.
9408 if test -z "$lt_cv_aix_libpath_"; then
9409 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9412 rm -f core conftest.err conftest.$ac_objext \
9413 conftest$ac_exeext conftest.$ac_ext
9414 if test -z "$lt_cv_aix_libpath_"; then
9415 lt_cv_aix_libpath_="/usr/lib:/lib"
9420 aix_libpath=$lt_cv_aix_libpath_
9423 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9424 # Warning - without using the other run time loading flags,
9425 # -berok will link without error, but may produce a broken library.
9426 no_undefined_flag=' ${wl}-bernotok'
9427 allow_undefined_flag=' ${wl}-berok'
9428 if test "$with_gnu_ld" = yes; then
9429 # We only use this code for GNU lds that support --whole-archive.
9430 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9432 # Exported symbols can be pulled into shared objects from archives
9433 whole_archive_flag_spec='$convenience'
9435 archive_cmds_need_lc=yes
9436 # This is similar to how AIX traditionally builds its shared libraries.
9437 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'
9445 # see comment about AmigaOS4 .so support
9446 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9447 archive_expsym_cmds=''
9450 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)'
9451 hardcode_libdir_flag_spec='-L$libdir'
9452 hardcode_minus_L=yes
9458 export_dynamic_flag_spec=-rdynamic
9461 cygwin* | mingw* | pw32* | cegcc*)
9462 # When not using gcc, we currently assume that we are using
9463 # Microsoft Visual C++.
9464 # hardcode_libdir_flag_spec is actually meaningless, as there is
9465 # no search path for DLLs.
9466 case $cc_basename in
9469 hardcode_libdir_flag_spec=' '
9470 allow_undefined_flag=unsupported
9471 always_export_symbols=yes
9473 # Tell ltmain to make .lib files, not .a files.
9475 # Tell ltmain to make .dll files, not .so files.
9477 # FIXME: Setting linknames here is a bad hack.
9478 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9479 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9480 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9482 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9484 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9486 # The linker will not automatically build a static lib if we build a DLL.
9487 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9488 enable_shared_with_static_runtimes=yes
9489 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9490 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9492 old_postinstall_cmds='chmod 644 $oldlib'
9493 postlink_cmds='lt_outputfile="@OUTPUT@"~
9494 lt_tool_outputfile="@TOOL_OUTPUT@"~
9495 case $lt_outputfile in
9498 lt_outputfile="$lt_outputfile.exe"
9499 lt_tool_outputfile="$lt_tool_outputfile.exe"
9502 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9503 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9504 $RM "$lt_outputfile.manifest";
9508 # Assume MSVC wrapper
9509 hardcode_libdir_flag_spec=' '
9510 allow_undefined_flag=unsupported
9511 # Tell ltmain to make .lib files, not .a files.
9513 # Tell ltmain to make .dll files, not .so files.
9515 # FIXME: Setting linknames here is a bad hack.
9516 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9517 # The linker will automatically build a .lib file if we build a DLL.
9518 old_archive_from_new_cmds='true'
9519 # FIXME: Should let the user specify the lib program.
9520 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9521 enable_shared_with_static_runtimes=yes
9526 darwin* | rhapsody*)
9529 archive_cmds_need_lc=no
9531 hardcode_automatic=yes
9532 hardcode_shlibpath_var=unsupported
9533 if test "$lt_cv_ld_force_load" = "yes"; then
9534 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\"`'
9537 whole_archive_flag_spec=''
9539 link_all_deplibs=yes
9540 allow_undefined_flag="$_lt_dar_allow_undefined"
9541 case $cc_basename in
9542 ifort*) _lt_dar_can_shared=yes ;;
9543 *) _lt_dar_can_shared=$GCC ;;
9545 if test "$_lt_dar_can_shared" = "yes"; then
9546 output_verbose_link_cmd=func_echo_all
9547 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9548 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9549 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}"
9550 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}"
9559 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9560 hardcode_libdir_flag_spec='-L$libdir'
9561 hardcode_shlibpath_var=no
9564 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9565 # support. Future versions do this automatically, but an explicit c++rt0.o
9566 # does not break anything, and helps significantly (at the cost of a little
9569 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9570 hardcode_libdir_flag_spec='-R$libdir'
9572 hardcode_shlibpath_var=no
9575 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9577 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9579 hardcode_minus_L=yes
9580 hardcode_shlibpath_var=no
9583 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9584 freebsd* | dragonfly*)
9585 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9586 hardcode_libdir_flag_spec='-R$libdir'
9588 hardcode_shlibpath_var=no
9592 if test "$GCC" = yes; then
9593 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'
9595 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'
9597 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9598 hardcode_libdir_separator=:
9601 # hardcode_minus_L: Not really in the search PATH,
9602 # but as the default location of the library.
9603 hardcode_minus_L=yes
9604 export_dynamic_flag_spec='${wl}-E'
9608 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9609 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9613 if test "$with_gnu_ld" = no; then
9614 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9615 hardcode_libdir_separator=:
9617 hardcode_direct_absolute=yes
9618 export_dynamic_flag_spec='${wl}-E'
9619 # hardcode_minus_L: Not really in the search PATH,
9620 # but as the default location of the library.
9621 hardcode_minus_L=yes
9626 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9629 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9632 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9635 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9641 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9644 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9648 # Older versions of the 11.00 compiler do not understand -b yet
9649 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9651 $as_echo_n "checking if $CC understands -b... " >&6; }
9652 if ${lt_cv_prog_compiler__b+:} false; then :
9653 $as_echo_n "(cached) " >&6
9655 lt_cv_prog_compiler__b=no
9656 save_LDFLAGS="$LDFLAGS"
9657 LDFLAGS="$LDFLAGS -b"
9658 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9659 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9660 # The linker can only warn and ignore the option if not recognized
9661 # So say no if there are warnings
9662 if test -s conftest.err; then
9663 # Append any errors to the config.log.
9664 cat conftest.err 1>&5
9665 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9666 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9667 if diff conftest.exp conftest.er2 >/dev/null; then
9668 lt_cv_prog_compiler__b=yes
9671 lt_cv_prog_compiler__b=yes
9675 LDFLAGS="$save_LDFLAGS"
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9679 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9681 if test x"$lt_cv_prog_compiler__b" = xyes; then
9682 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9684 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9690 if test "$with_gnu_ld" = no; then
9691 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9692 hardcode_libdir_separator=:
9697 hardcode_shlibpath_var=no
9701 hardcode_direct_absolute=yes
9702 export_dynamic_flag_spec='${wl}-E'
9704 # hardcode_minus_L: Not really in the search PATH,
9705 # but as the default location of the library.
9706 hardcode_minus_L=yes
9712 irix5* | irix6* | nonstopux*)
9713 if test "$GCC" = yes; then
9714 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'
9715 # Try to use the -exported_symbol ld option, if it does not
9716 # work, assume that -exports_file does not work either and
9717 # implicitly export all symbols.
9718 # This should be the same for all languages, so no per-tag cache variable.
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9720 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9721 if ${lt_cv_irix_exported_symbol+:} false; then :
9722 $as_echo_n "(cached) " >&6
9724 save_LDFLAGS="$LDFLAGS"
9725 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9728 int foo (void) { return 0; }
9730 if ac_fn_c_try_link "$LINENO"; then :
9731 lt_cv_irix_exported_symbol=yes
9733 lt_cv_irix_exported_symbol=no
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 LDFLAGS="$save_LDFLAGS"
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9740 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9741 if test "$lt_cv_irix_exported_symbol" = yes; then
9742 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'
9745 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'
9746 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'
9748 archive_cmds_need_lc='no'
9749 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9750 hardcode_libdir_separator=:
9752 link_all_deplibs=yes
9755 netbsd* | netbsdelf*-gnu)
9756 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9759 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9761 hardcode_libdir_flag_spec='-R$libdir'
9763 hardcode_shlibpath_var=no
9767 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_shlibpath_var=no
9778 if test -f /usr/libexec/ld.so; then
9780 hardcode_shlibpath_var=no
9781 hardcode_direct_absolute=yes
9782 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9783 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9785 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9786 export_dynamic_flag_spec='${wl}-E'
9789 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9790 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9791 hardcode_libdir_flag_spec='-R$libdir'
9794 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9795 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9805 hardcode_libdir_flag_spec='-L$libdir'
9806 hardcode_minus_L=yes
9807 allow_undefined_flag=unsupported
9808 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'
9809 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9813 if test "$GCC" = yes; then
9814 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9815 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'
9817 allow_undefined_flag=' -expect_unresolved \*'
9818 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'
9820 archive_cmds_need_lc='no'
9821 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9822 hardcode_libdir_separator=:
9825 osf4* | osf5*) # as osf3* with the addition of -msym flag
9826 if test "$GCC" = yes; then
9827 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9828 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'
9829 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9831 allow_undefined_flag=' -expect_unresolved \*'
9832 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'
9833 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~
9834 $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'
9836 # Both c and cxx compiler support -rpath directly
9837 hardcode_libdir_flag_spec='-rpath $libdir'
9839 archive_cmds_need_lc='no'
9840 hardcode_libdir_separator=:
9844 no_undefined_flag=' -z defs'
9845 if test "$GCC" = yes; then
9847 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9848 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9849 $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'
9851 case `$CC -V 2>&1` in
9854 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9855 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9856 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9860 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9862 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9866 hardcode_libdir_flag_spec='-R$libdir'
9867 hardcode_shlibpath_var=no
9869 solaris2.[0-5] | solaris2.[0-5].*) ;;
9871 # The compiler driver will combine and reorder linker options,
9872 # but understands `-z linker_flag'. GCC discards it without `$wl',
9873 # but is careful enough not to reorder.
9874 # Supported since Solaris 2.6 (maybe 2.5.1?)
9875 if test "$GCC" = yes; then
9876 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9878 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9882 link_all_deplibs=yes
9886 if test "x$host_vendor" = xsequent; then
9887 # Use $CC to link under sequent, because it throws in some extra .o
9888 # files that make .init and .fini sections work.
9889 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9891 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_libdir_flag_spec='-L$libdir'
9895 hardcode_minus_L=yes
9896 hardcode_shlibpath_var=no
9900 case $host_vendor in
9902 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9903 hardcode_direct=yes # is this really true???
9906 ## LD is ld it makes a PLAMLIB
9907 ## CC just makes a GrossModule.
9908 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9909 reload_cmds='$CC -r -o $output$reload_objs'
9913 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9914 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9917 runpath_var='LD_RUN_PATH'
9918 hardcode_shlibpath_var=no
9922 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9923 hardcode_shlibpath_var=no
9924 export_dynamic_flag_spec='-Bexport'
9928 if test -d /usr/nec; then
9929 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9930 hardcode_shlibpath_var=no
9931 runpath_var=LD_RUN_PATH
9932 hardcode_runpath_var=yes
9937 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9938 no_undefined_flag='${wl}-z,text'
9939 archive_cmds_need_lc=no
9940 hardcode_shlibpath_var=no
9941 runpath_var='LD_RUN_PATH'
9943 if test "$GCC" = yes; then
9944 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9947 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9948 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9952 sysv5* | sco3.2v5* | sco5v6*)
9953 # Note: We can NOT use -z defs as we might desire, because we do not
9954 # link with -lc, and that would cause any symbols used from libc to
9955 # always be unresolved, which means just about no library would
9956 # ever link correctly. If we're not using GNU ld we use -z text
9957 # though, which does catch some bad symbols but isn't as heavy-handed
9959 no_undefined_flag='${wl}-z,text'
9960 allow_undefined_flag='${wl}-z,nodefs'
9961 archive_cmds_need_lc=no
9962 hardcode_shlibpath_var=no
9963 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9964 hardcode_libdir_separator=':'
9965 link_all_deplibs=yes
9966 export_dynamic_flag_spec='${wl}-Bexport'
9967 runpath_var='LD_RUN_PATH'
9969 if test "$GCC" = yes; then
9970 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9971 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9973 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9974 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9979 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9980 hardcode_libdir_flag_spec='-L$libdir'
9981 hardcode_shlibpath_var=no
9989 if test x$host_vendor = xsni; then
9991 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9992 export_dynamic_flag_spec='${wl}-Blargedynsym'
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9999 $as_echo "$ld_shlibs" >&6; }
10000 test "$ld_shlibs" = no && can_build_shared=no
10002 with_gnu_ld=$with_gnu_ld
10019 # Do we need to explicitly link libc?
10021 case "x$archive_cmds_need_lc" in
10023 # Assume -lc should be added
10024 archive_cmds_need_lc=yes
10026 if test "$enable_shared" = yes && test "$GCC" = yes; then
10027 case $archive_cmds in
10029 # FIXME: we may have to deal with multi-command sequences.
10032 # Test whether the compiler implicitly links with -lc since on some
10033 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10034 # to ld, don't add -lc before -lgcc.
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10036 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10037 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10038 $as_echo_n "(cached) " >&6
10041 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10044 (eval $ac_compile) 2>&5
10046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10047 test $ac_status = 0; } 2>conftest.err; then
10050 libobjs=conftest.$ac_objext
10052 wl=$lt_prog_compiler_wl
10053 pic_flag=$lt_prog_compiler_pic
10059 lt_save_allow_undefined_flag=$allow_undefined_flag
10060 allow_undefined_flag=
10061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10062 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10065 test $ac_status = 0; }
10067 lt_cv_archive_cmds_need_lc=no
10069 lt_cv_archive_cmds_need_lc=yes
10071 allow_undefined_flag=$lt_save_allow_undefined_flag
10073 cat conftest.err 1>&5
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10079 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10080 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10239 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10241 if test "$GCC" = yes; then
10243 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10244 *) lt_awk_arg="/^libraries:/" ;;
10247 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10248 *) lt_sed_strip_eq="s,=/,/,g" ;;
10250 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10251 case $lt_search_path_spec in
10253 # if the path contains ";" then we assume it to be the separator
10254 # otherwise default to the standard path separator (i.e. ":") - it is
10255 # assumed that no part of a normal pathname contains ";" but that should
10256 # okay in the real world where ";" in dirpaths is itself problematic.
10257 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10260 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10263 # Ok, now we have the path, separated by spaces, we can step through it
10264 # and add multilib dir if necessary.
10265 lt_tmp_lt_search_path_spec=
10266 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10267 for lt_sys_path in $lt_search_path_spec; do
10268 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10269 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10271 test -d "$lt_sys_path" && \
10272 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10275 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10276 BEGIN {RS=" "; FS="/|\n";} {
10279 for (lt_i = NF; lt_i > 0; lt_i--) {
10280 if ($lt_i != "" && $lt_i != ".") {
10281 if ($lt_i == "..") {
10284 if (lt_count == 0) {
10285 lt_foo="/" $lt_i lt_foo;
10292 if (lt_foo != "") { lt_freq[lt_foo]++; }
10293 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10295 # AWK program above erroneously prepends '/' to C:/dos/paths
10298 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10299 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10301 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10303 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10305 library_names_spec=
10306 libname_spec='lib$name'
10310 postuninstall_cmds=
10314 shlibpath_overrides_runpath=unknown
10316 dynamic_linker="$host_os ld.so"
10317 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10318 need_lib_prefix=unknown
10319 hardcode_into_libs=no
10321 # when you set need_version to no, make sure it does not cause -set_version
10322 # flags to be left without arguments
10323 need_version=unknown
10327 version_type=linux # correct to gnu/linux during the next big refactor
10328 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10329 shlibpath_var=LIBPATH
10331 # AIX 3 has no versioning support, so we append a major version to the name.
10332 soname_spec='${libname}${release}${shared_ext}$major'
10336 version_type=linux # correct to gnu/linux during the next big refactor
10339 hardcode_into_libs=yes
10340 if test "$host_cpu" = ia64; then
10341 # AIX 5 supports IA64
10342 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10343 shlibpath_var=LD_LIBRARY_PATH
10345 # With GCC up to 2.95.x, collect2 would create an import file
10346 # for dependence libraries. The import file would start with
10347 # the line `#! .'. This would cause the generated library to
10348 # depend on `.', always an invalid library. This was fixed in
10349 # development snapshots of GCC prior to 3.0.
10351 aix4 | aix4.[01] | aix4.[01].*)
10352 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10354 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10357 can_build_shared=no
10361 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10362 # soname into executable. Probably we can add versioning support to
10363 # collect2, so additional links can be useful in future.
10364 if test "$aix_use_runtimelinking" = yes; then
10365 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10366 # instead of lib<name>.a to let people know that these are not
10367 # typical AIX shared libraries.
10368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 # We preserve .a as extension for shared libraries through AIX4.2
10371 # and later when we are not doing run time linking.
10372 library_names_spec='${libname}${release}.a $libname.a'
10373 soname_spec='${libname}${release}${shared_ext}$major'
10375 shlibpath_var=LIBPATH
10382 # Since July 2007 AmigaOS4 officially supports .so libraries.
10383 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10387 library_names_spec='$libname.ixlibrary $libname.a'
10388 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10389 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'
10395 library_names_spec='${libname}${shared_ext}'
10396 dynamic_linker="$host_os ld.so"
10397 shlibpath_var=LIBRARY_PATH
10401 version_type=linux # correct to gnu/linux during the next big refactor
10403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10404 soname_spec='${libname}${release}${shared_ext}$major'
10405 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10406 shlibpath_var=LD_LIBRARY_PATH
10407 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10408 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10409 # the default ld.so.conf also contains /usr/contrib/lib and
10410 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10411 # libtool to hard-code these into programs
10414 cygwin* | mingw* | pw32* | cegcc*)
10415 version_type=windows
10420 case $GCC,$cc_basename in
10423 library_names_spec='$libname.dll.a'
10424 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10425 postinstall_cmds='base_file=`basename \${file}`~
10426 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10427 dldir=$destdir/`dirname \$dlpath`~
10428 test -d \$dldir || mkdir -p \$dldir~
10429 $install_prog $dir/$dlname \$dldir/$dlname~
10430 chmod a+x \$dldir/$dlname~
10431 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10432 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10434 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10435 dlpath=$dir/\$dldll~
10437 shlibpath_overrides_runpath=yes
10441 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10442 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10444 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10447 # MinGW DLLs use traditional 'lib' prefix
10448 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10451 # pw32 DLLs use 'pw' prefix rather than 'lib'
10452 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10455 dynamic_linker='Win32 ld.exe'
10460 libname_spec='$name'
10461 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10462 library_names_spec='${libname}.dll.lib'
10466 sys_lib_search_path_spec=
10469 for lt_path in $LIB
10472 # Let DOS variable expansion print the short 8.3 style file name.
10473 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10474 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10477 # Convert to MSYS style.
10478 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10481 # Convert to unix form, then to dos form, then back to unix form
10482 # but this time dos style (no spaces!) so that the unix form looks
10483 # like /cygdrive/c/PROGRA~1:/cygdr...
10484 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10485 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10486 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10489 sys_lib_search_path_spec="$LIB"
10490 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10491 # It is most probably a Windows format PATH.
10492 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10494 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10496 # FIXME: find the short name or the path components, as spaces are
10497 # common. (e.g. "Program Files" -> "PROGRA~1")
10501 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10502 postinstall_cmds='base_file=`basename \${file}`~
10503 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10504 dldir=$destdir/`dirname \$dlpath`~
10505 test -d \$dldir || mkdir -p \$dldir~
10506 $install_prog $dir/$dlname \$dldir/$dlname'
10507 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10508 dlpath=$dir/\$dldll~
10510 shlibpath_overrides_runpath=yes
10511 dynamic_linker='Win32 link.exe'
10515 # Assume MSVC wrapper
10516 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10517 dynamic_linker='Win32 ld.exe'
10520 # FIXME: first we should search . and the directory the executable is in
10524 darwin* | rhapsody*)
10525 dynamic_linker="$host_os dyld"
10526 version_type=darwin
10529 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10530 soname_spec='${libname}${release}${major}$shared_ext'
10531 shlibpath_overrides_runpath=yes
10532 shlibpath_var=DYLD_LIBRARY_PATH
10533 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10535 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10536 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10540 version_type=linux # correct to gnu/linux during the next big refactor
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10544 soname_spec='${libname}${release}${shared_ext}$major'
10545 shlibpath_var=LD_LIBRARY_PATH
10548 freebsd* | dragonfly*)
10549 # DragonFly does not have aout. When/if they implement a new
10550 # versioning mechanism, adjust this.
10551 if test -x /usr/bin/objformat; then
10552 objformat=`/usr/bin/objformat`
10555 freebsd[23].*) objformat=aout ;;
10556 *) objformat=elf ;;
10559 version_type=freebsd-$objformat
10560 case $version_type in
10562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10567 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10571 shlibpath_var=LD_LIBRARY_PATH
10574 shlibpath_overrides_runpath=yes
10576 freebsd3.[01]* | freebsdelf3.[01]*)
10577 shlibpath_overrides_runpath=yes
10578 hardcode_into_libs=yes
10580 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10581 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10582 shlibpath_overrides_runpath=no
10583 hardcode_into_libs=yes
10585 *) # from 4.6 on, and DragonFly
10586 shlibpath_overrides_runpath=yes
10587 hardcode_into_libs=yes
10593 version_type=linux # correct to gnu/linux during the next big refactor
10596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10597 soname_spec='${libname}${release}${shared_ext}$major'
10598 shlibpath_var=LD_LIBRARY_PATH
10599 shlibpath_overrides_runpath=no
10600 hardcode_into_libs=yes
10604 version_type=linux # correct to gnu/linux during the next big refactor
10607 dynamic_linker="$host_os runtime_loader"
10608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10609 soname_spec='${libname}${release}${shared_ext}$major'
10610 shlibpath_var=LIBRARY_PATH
10611 shlibpath_overrides_runpath=yes
10612 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10613 hardcode_into_libs=yes
10616 hpux9* | hpux10* | hpux11*)
10617 # Give a soname corresponding to the major version so that dld.sl refuses to
10618 # link against other versions.
10625 hardcode_into_libs=yes
10626 dynamic_linker="$host_os dld.so"
10627 shlibpath_var=LD_LIBRARY_PATH
10628 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630 soname_spec='${libname}${release}${shared_ext}$major'
10631 if test "X$HPUX_IA64_MODE" = X32; then
10632 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10634 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10636 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10640 hardcode_into_libs=yes
10641 dynamic_linker="$host_os dld.sl"
10642 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10643 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10645 soname_spec='${libname}${release}${shared_ext}$major'
10646 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10647 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10651 dynamic_linker="$host_os dld.sl"
10652 shlibpath_var=SHLIB_PATH
10653 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655 soname_spec='${libname}${release}${shared_ext}$major'
10658 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10659 postinstall_cmds='chmod 555 $lib'
10660 # or fails outright, so override atomically:
10661 install_override_mode=555
10665 version_type=linux # correct to gnu/linux during the next big refactor
10668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10669 soname_spec='${libname}${release}${shared_ext}$major'
10670 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10671 shlibpath_var=LD_LIBRARY_PATH
10672 shlibpath_overrides_runpath=no
10673 hardcode_into_libs=yes
10676 irix5* | irix6* | nonstopux*)
10678 nonstopux*) version_type=nonstopux ;;
10680 if test "$lt_cv_prog_gnu_ld" = yes; then
10681 version_type=linux # correct to gnu/linux during the next big refactor
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10691 irix5* | nonstopux*)
10692 libsuff= shlibsuff=
10695 case $LD in # libtool.m4 will add one of these switches to LD
10696 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10697 libsuff= shlibsuff= libmagic=32-bit;;
10698 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10699 libsuff=32 shlibsuff=N32 libmagic=N32;;
10700 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10701 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10702 *) libsuff= shlibsuff= libmagic=never-match;;
10706 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10707 shlibpath_overrides_runpath=no
10708 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10709 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10710 hardcode_into_libs=yes
10713 # No shared lib support for Linux oldld, aout, or coff.
10714 linux*oldld* | linux*aout* | linux*coff*)
10718 # This must be glibc/ELF.
10719 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10720 version_type=linux # correct to gnu/linux during the next big refactor
10723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724 soname_spec='${libname}${release}${shared_ext}$major'
10725 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10726 shlibpath_var=LD_LIBRARY_PATH
10727 shlibpath_overrides_runpath=no
10729 # Some binutils ld are patched to set DT_RUNPATH
10730 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10731 $as_echo_n "(cached) " >&6
10733 lt_cv_shlibpath_overrides_runpath=no
10734 save_LDFLAGS=$LDFLAGS
10735 save_libdir=$libdir
10736 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10737 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10749 if ac_fn_c_try_link "$LINENO"; then :
10750 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10751 lt_cv_shlibpath_overrides_runpath=yes
10754 rm -f core conftest.err conftest.$ac_objext \
10755 conftest$ac_exeext conftest.$ac_ext
10756 LDFLAGS=$save_LDFLAGS
10757 libdir=$save_libdir
10761 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10763 # This implies no fast_install, which is unacceptable.
10764 # Some rework will be needed to allow for fast_install
10765 # before this can be enabled.
10766 hardcode_into_libs=yes
10768 # Append ld.so.conf contents to the search path
10769 if test -f /etc/ld.so.conf; then
10770 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' ' '`
10771 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10774 # We used to test for /lib/ld.so.1 and disable shared libraries on
10775 # powerpc, because MkLinux only supported shared libraries with the
10776 # GNU dynamic linker. Since this was broken with cross compilers,
10777 # most powerpc-linux boxes support dynamic linking these days and
10778 # people can always --disable-shared, the test was removed, and we
10779 # assume the GNU/Linux dynamic linker is in use.
10780 dynamic_linker='GNU/Linux ld.so'
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10788 soname_spec='${libname}${release}${shared_ext}$major'
10789 shlibpath_var=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath=no
10791 hardcode_into_libs=yes
10792 dynamic_linker='NetBSD ld.elf_so'
10799 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10801 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10802 dynamic_linker='NetBSD (a.out) ld.so'
10804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10805 soname_spec='${libname}${release}${shared_ext}$major'
10806 dynamic_linker='NetBSD ld.elf_so'
10808 shlibpath_var=LD_LIBRARY_PATH
10809 shlibpath_overrides_runpath=yes
10810 hardcode_into_libs=yes
10814 version_type=linux # correct to gnu/linux during the next big refactor
10815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=yes
10824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825 soname_spec='${libname}${release}${shared_ext}$major'
10826 shlibpath_var=LD_LIBRARY_PATH
10827 shlibpath_overrides_runpath=no
10828 hardcode_into_libs=yes
10829 dynamic_linker='ldqnx.so'
10834 sys_lib_dlsearch_path_spec="/usr/lib"
10836 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10838 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10839 *) need_version=no ;;
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10842 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10843 shlibpath_var=LD_LIBRARY_PATH
10844 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10846 openbsd2.[89] | openbsd2.[89].*)
10847 shlibpath_overrides_runpath=no
10850 shlibpath_overrides_runpath=yes
10854 shlibpath_overrides_runpath=yes
10859 libname_spec='$name'
10862 library_names_spec='$libname${shared_ext} $libname.a'
10863 dynamic_linker='OS/2 ld.exe'
10864 shlibpath_var=LIBPATH
10867 osf3* | osf4* | osf5*)
10871 soname_spec='${libname}${release}${shared_ext}$major'
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 shlibpath_var=LD_LIBRARY_PATH
10874 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10875 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10883 version_type=linux # correct to gnu/linux during the next big refactor
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887 soname_spec='${libname}${release}${shared_ext}$major'
10888 shlibpath_var=LD_LIBRARY_PATH
10889 shlibpath_overrides_runpath=yes
10890 hardcode_into_libs=yes
10891 # ldd complains unless libraries are executable
10892 postinstall_cmds='chmod +x $lib'
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10898 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath=yes
10901 if test "$with_gnu_ld" = yes; then
10908 version_type=linux # correct to gnu/linux during the next big refactor
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 soname_spec='${libname}${release}${shared_ext}$major'
10911 shlibpath_var=LD_LIBRARY_PATH
10912 case $host_vendor in
10914 shlibpath_overrides_runpath=no
10916 runpath_var=LD_RUN_PATH
10924 shlibpath_overrides_runpath=no
10925 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10931 if test -d /usr/nec ;then
10932 version_type=linux # correct to gnu/linux during the next big refactor
10933 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10934 soname_spec='$libname${shared_ext}.$major'
10935 shlibpath_var=LD_LIBRARY_PATH
10939 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10940 version_type=freebsd-elf
10943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10944 soname_spec='${libname}${release}${shared_ext}$major'
10945 shlibpath_var=LD_LIBRARY_PATH
10946 shlibpath_overrides_runpath=yes
10947 hardcode_into_libs=yes
10948 if test "$with_gnu_ld" = yes; then
10949 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10951 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10954 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10958 sys_lib_dlsearch_path_spec='/usr/lib'
10962 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10963 version_type=linux # correct to gnu/linux during the next big refactor
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 shlibpath_overrides_runpath=no
10969 hardcode_into_libs=yes
10973 version_type=linux # correct to gnu/linux during the next big refactor
10974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10975 soname_spec='${libname}${release}${shared_ext}$major'
10976 shlibpath_var=LD_LIBRARY_PATH
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10984 $as_echo "$dynamic_linker" >&6; }
10985 test "$dynamic_linker" = no && can_build_shared=no
10987 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10988 if test "$GCC" = yes; then
10989 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10992 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10993 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10995 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10996 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11091 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11093 if test -n "$hardcode_libdir_flag_spec" ||
11094 test -n "$runpath_var" ||
11095 test "X$hardcode_automatic" = "Xyes" ; then
11097 # We can hardcode non-existent directories.
11098 if test "$hardcode_direct" != no &&
11099 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11100 # have to relink, otherwise we might link with an installed library
11101 # when we should be linking with a yet-to-be-installed one
11102 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11103 test "$hardcode_minus_L" != no; then
11104 # Linking always hardcodes the temporary library directory.
11105 hardcode_action=relink
11107 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11108 hardcode_action=immediate
11111 # We cannot hardcode anything, or else we can only hardcode existing
11113 hardcode_action=unsupported
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11116 $as_echo "$hardcode_action" >&6; }
11118 if test "$hardcode_action" = relink ||
11119 test "$inherit_rpath" = yes; then
11120 # Fast installation is not supported
11121 enable_fast_install=no
11122 elif test "$shlibpath_overrides_runpath" = yes ||
11123 test "$enable_shared" = no; then
11124 # Fast installation is not necessary
11125 enable_fast_install=needless
11133 if test "x$enable_dlopen" != xyes; then
11134 enable_dlopen=unknown
11135 enable_dlopen_self=unknown
11136 enable_dlopen_self_static=unknown
11143 lt_cv_dlopen="load_add_on"
11145 lt_cv_dlopen_self=yes
11148 mingw* | pw32* | cegcc*)
11149 lt_cv_dlopen="LoadLibrary"
11154 lt_cv_dlopen="dlopen"
11159 # if libdl is installed we need to link against it
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11161 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11162 if ${ac_cv_lib_dl_dlopen+:} false; then :
11163 $as_echo_n "(cached) " >&6
11165 ac_check_lib_save_LIBS=$LIBS
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11170 /* Override any GCC internal prototype to avoid an error.
11171 Use char because int might match the return type of a GCC
11172 builtin and then its argument prototype would still apply. */
11185 if ac_fn_c_try_link "$LINENO"; then :
11186 ac_cv_lib_dl_dlopen=yes
11188 ac_cv_lib_dl_dlopen=no
11190 rm -f core conftest.err conftest.$ac_objext \
11191 conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11195 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11196 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11197 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11200 lt_cv_dlopen="dyld"
11202 lt_cv_dlopen_self=yes
11209 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11210 if test "x$ac_cv_func_shl_load" = xyes; then :
11211 lt_cv_dlopen="shl_load"
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11214 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11215 if ${ac_cv_lib_dld_shl_load+:} false; then :
11216 $as_echo_n "(cached) " >&6
11218 ac_check_lib_save_LIBS=$LIBS
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11233 return shl_load ();
11238 if ac_fn_c_try_link "$LINENO"; then :
11239 ac_cv_lib_dld_shl_load=yes
11241 ac_cv_lib_dld_shl_load=no
11243 rm -f core conftest.err conftest.$ac_objext \
11244 conftest$ac_exeext conftest.$ac_ext
11245 LIBS=$ac_check_lib_save_LIBS
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11248 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11249 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11250 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11252 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11253 if test "x$ac_cv_func_dlopen" = xyes; then :
11254 lt_cv_dlopen="dlopen"
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11257 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11258 if ${ac_cv_lib_dl_dlopen+:} false; then :
11259 $as_echo_n "(cached) " >&6
11261 ac_check_lib_save_LIBS=$LIBS
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11281 if ac_fn_c_try_link "$LINENO"; then :
11282 ac_cv_lib_dl_dlopen=yes
11284 ac_cv_lib_dl_dlopen=no
11286 rm -f core conftest.err conftest.$ac_objext \
11287 conftest$ac_exeext conftest.$ac_ext
11288 LIBS=$ac_check_lib_save_LIBS
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11291 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11292 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11293 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11296 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11297 if ${ac_cv_lib_svld_dlopen+:} false; then :
11298 $as_echo_n "(cached) " >&6
11300 ac_check_lib_save_LIBS=$LIBS
11301 LIBS="-lsvld $LIBS"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11305 /* Override any GCC internal prototype to avoid an error.
11306 Use char because int might match the return type of a GCC
11307 builtin and then its argument prototype would still apply. */
11320 if ac_fn_c_try_link "$LINENO"; then :
11321 ac_cv_lib_svld_dlopen=yes
11323 ac_cv_lib_svld_dlopen=no
11325 rm -f core conftest.err conftest.$ac_objext \
11326 conftest$ac_exeext conftest.$ac_ext
11327 LIBS=$ac_check_lib_save_LIBS
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11330 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11331 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11332 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11335 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11336 if ${ac_cv_lib_dld_dld_link+:} false; then :
11337 $as_echo_n "(cached) " >&6
11339 ac_check_lib_save_LIBS=$LIBS
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11354 return dld_link ();
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 ac_cv_lib_dld_dld_link=yes
11362 ac_cv_lib_dld_dld_link=no
11364 rm -f core conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 LIBS=$ac_check_lib_save_LIBS
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11369 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11370 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11371 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11392 if test "x$lt_cv_dlopen" != xno; then
11398 case $lt_cv_dlopen in
11400 save_CPPFLAGS="$CPPFLAGS"
11401 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11403 save_LDFLAGS="$LDFLAGS"
11404 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11407 LIBS="$lt_cv_dlopen_libs $LIBS"
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11410 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11411 if ${lt_cv_dlopen_self+:} false; then :
11412 $as_echo_n "(cached) " >&6
11414 if test "$cross_compiling" = yes; then :
11415 lt_cv_dlopen_self=cross
11417 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11418 lt_status=$lt_dlunknown
11419 cat > conftest.$ac_ext <<_LT_EOF
11420 #line $LINENO "configure"
11421 #include "confdefs.h"
11430 # define LT_DLGLOBAL RTLD_GLOBAL
11433 # define LT_DLGLOBAL DL_GLOBAL
11435 # define LT_DLGLOBAL 0
11439 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11440 find out it does not work in some platform. */
11441 #ifndef LT_DLLAZY_OR_NOW
11443 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11446 # define LT_DLLAZY_OR_NOW DL_LAZY
11449 # define LT_DLLAZY_OR_NOW RTLD_NOW
11452 # define LT_DLLAZY_OR_NOW DL_NOW
11454 # define LT_DLLAZY_OR_NOW 0
11461 /* When -fvisbility=hidden is used, assume the code has been annotated
11462 correspondingly for the symbols needed. */
11463 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11464 int fnord () __attribute__((visibility("default")));
11467 int fnord () { return 42; }
11470 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11471 int status = $lt_dlunknown;
11475 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11478 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11479 else puts (dlerror ());
11481 /* dlclose (self); */
11489 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11490 (eval $ac_link) 2>&5
11492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11493 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11494 (./conftest; exit; ) >&5 2>/dev/null
11496 case x$lt_status in
11497 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11498 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11499 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11502 # compilation failed
11503 lt_cv_dlopen_self=no
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11511 $as_echo "$lt_cv_dlopen_self" >&6; }
11513 if test "x$lt_cv_dlopen_self" = xyes; then
11514 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11516 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11517 if ${lt_cv_dlopen_self_static+:} false; then :
11518 $as_echo_n "(cached) " >&6
11520 if test "$cross_compiling" = yes; then :
11521 lt_cv_dlopen_self_static=cross
11523 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11524 lt_status=$lt_dlunknown
11525 cat > conftest.$ac_ext <<_LT_EOF
11526 #line $LINENO "configure"
11527 #include "confdefs.h"
11536 # define LT_DLGLOBAL RTLD_GLOBAL
11539 # define LT_DLGLOBAL DL_GLOBAL
11541 # define LT_DLGLOBAL 0
11545 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11546 find out it does not work in some platform. */
11547 #ifndef LT_DLLAZY_OR_NOW
11549 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11552 # define LT_DLLAZY_OR_NOW DL_LAZY
11555 # define LT_DLLAZY_OR_NOW RTLD_NOW
11558 # define LT_DLLAZY_OR_NOW DL_NOW
11560 # define LT_DLLAZY_OR_NOW 0
11567 /* When -fvisbility=hidden is used, assume the code has been annotated
11568 correspondingly for the symbols needed. */
11569 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11570 int fnord () __attribute__((visibility("default")));
11573 int fnord () { return 42; }
11576 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11577 int status = $lt_dlunknown;
11581 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11584 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11585 else puts (dlerror ());
11587 /* dlclose (self); */
11595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11596 (eval $ac_link) 2>&5
11598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11599 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11600 (./conftest; exit; ) >&5 2>/dev/null
11602 case x$lt_status in
11603 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11604 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11605 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11608 # compilation failed
11609 lt_cv_dlopen_self_static=no
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11617 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11620 CPPFLAGS="$save_CPPFLAGS"
11621 LDFLAGS="$save_LDFLAGS"
11626 case $lt_cv_dlopen_self in
11627 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11628 *) enable_dlopen_self=unknown ;;
11631 case $lt_cv_dlopen_self_static in
11632 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11633 *) enable_dlopen_self_static=unknown ;;
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11656 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11657 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11658 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11659 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11661 $as_echo "yes" >&6; }
11663 # FIXME - insert some real tests, host_os isn't really good enough
11666 if test -n "$STRIP" ; then
11667 striplib="$STRIP -x"
11668 old_striplib="$STRIP -S"
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11670 $as_echo "yes" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11673 $as_echo "no" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11678 $as_echo "no" >&6; }
11694 # Report which library types will actually be built
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11696 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11698 $as_echo "$can_build_shared" >&6; }
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11701 $as_echo_n "checking whether to build shared libraries... " >&6; }
11702 test "$can_build_shared" = "no" && enable_shared=no
11704 # On AIX, shared libraries and static libraries use the same namespace, and
11705 # are all built from PIC.
11708 test "$enable_shared" = yes && enable_static=no
11709 if test -n "$RANLIB"; then
11710 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11711 postinstall_cmds='$RANLIB $lib'
11716 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11717 test "$enable_shared" = yes && enable_static=no
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11722 $as_echo "$enable_shared" >&6; }
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11725 $as_echo_n "checking whether to build static libraries... " >&6; }
11726 # Make sure either enable_shared or enable_static is yes.
11727 test "$enable_shared" = yes || enable_static=yes
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11729 $as_echo "$enable_static" >&6; }
11736 ac_cpp='$CPP $CPPFLAGS'
11737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11757 ac_config_commands="$ac_config_commands libtool"
11762 # Only expand once:
11766 # Checks for programs.
11774 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11775 if test -n "$ac_tool_prefix"; then
11776 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11777 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11779 $as_echo_n "checking for $ac_word... " >&6; }
11780 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11781 $as_echo_n "(cached) " >&6
11783 case $PKG_CONFIG in
11785 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11789 for as_dir in $PATH
11792 test -z "$as_dir" && as_dir=.
11793 for ac_exec_ext in '' $ac_executable_extensions; do
11794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11795 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11806 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11807 if test -n "$PKG_CONFIG"; then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11809 $as_echo "$PKG_CONFIG" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11812 $as_echo "no" >&6; }
11817 if test -z "$ac_cv_path_PKG_CONFIG"; then
11818 ac_pt_PKG_CONFIG=$PKG_CONFIG
11819 # Extract the first word of "pkg-config", so it can be a program name with args.
11820 set dummy pkg-config; ac_word=$2
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11822 $as_echo_n "checking for $ac_word... " >&6; }
11823 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11824 $as_echo_n "(cached) " >&6
11826 case $ac_pt_PKG_CONFIG in
11828 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11832 for as_dir in $PATH
11835 test -z "$as_dir" && as_dir=.
11836 for ac_exec_ext in '' $ac_executable_extensions; do
11837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11838 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11849 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11850 if test -n "$ac_pt_PKG_CONFIG"; then
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11852 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11858 if test "x$ac_pt_PKG_CONFIG" = x; then
11861 case $cross_compiling:$ac_tool_warned in
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11865 ac_tool_warned=yes ;;
11867 PKG_CONFIG=$ac_pt_PKG_CONFIG
11870 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11874 if test -n "$PKG_CONFIG"; then
11875 _pkg_min_version=0.23
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11877 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11878 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11880 $as_echo "yes" >&6; }
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11883 $as_echo "no" >&6; }
11888 ac_cpp='$CPP $CPPFLAGS'
11889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11892 if test -n "$ac_tool_prefix"; then
11893 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11894 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11896 $as_echo_n "checking for $ac_word... " >&6; }
11897 if ${ac_cv_prog_CC+:} false; then :
11898 $as_echo_n "(cached) " >&6
11900 if test -n "$CC"; then
11901 ac_cv_prog_CC="$CC" # Let the user override the test.
11903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11904 for as_dir in $PATH
11907 test -z "$as_dir" && as_dir=.
11908 for ac_exec_ext in '' $ac_executable_extensions; do
11909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11910 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11921 if test -n "$CC"; then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11923 $as_echo "$CC" >&6; }
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11926 $as_echo "no" >&6; }
11931 if test -z "$ac_cv_prog_CC"; then
11933 # Extract the first word of "gcc", so it can be a program name with args.
11934 set dummy gcc; ac_word=$2
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11936 $as_echo_n "checking for $ac_word... " >&6; }
11937 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11938 $as_echo_n "(cached) " >&6
11940 if test -n "$ac_ct_CC"; then
11941 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11944 for as_dir in $PATH
11947 test -z "$as_dir" && as_dir=.
11948 for ac_exec_ext in '' $ac_executable_extensions; do
11949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11950 ac_cv_prog_ac_ct_CC="gcc"
11951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11960 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11961 if test -n "$ac_ct_CC"; then
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11963 $as_echo "$ac_ct_CC" >&6; }
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11966 $as_echo "no" >&6; }
11969 if test "x$ac_ct_CC" = x; then
11972 case $cross_compiling:$ac_tool_warned in
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11976 ac_tool_warned=yes ;;
11981 CC="$ac_cv_prog_CC"
11984 if test -z "$CC"; then
11985 if test -n "$ac_tool_prefix"; then
11986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11987 set dummy ${ac_tool_prefix}cc; ac_word=$2
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11989 $as_echo_n "checking for $ac_word... " >&6; }
11990 if ${ac_cv_prog_CC+:} false; then :
11991 $as_echo_n "(cached) " >&6
11993 if test -n "$CC"; then
11994 ac_cv_prog_CC="$CC" # Let the user override the test.
11996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11997 for as_dir in $PATH
12000 test -z "$as_dir" && as_dir=.
12001 for ac_exec_ext in '' $ac_executable_extensions; do
12002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12003 ac_cv_prog_CC="${ac_tool_prefix}cc"
12004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12014 if test -n "$CC"; then
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12016 $as_echo "$CC" >&6; }
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12019 $as_echo "no" >&6; }
12025 if test -z "$CC"; then
12026 # Extract the first word of "cc", so it can be a program name with args.
12027 set dummy cc; ac_word=$2
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12029 $as_echo_n "checking for $ac_word... " >&6; }
12030 if ${ac_cv_prog_CC+:} false; then :
12031 $as_echo_n "(cached) " >&6
12033 if test -n "$CC"; then
12034 ac_cv_prog_CC="$CC" # Let the user override the test.
12036 ac_prog_rejected=no
12037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12038 for as_dir in $PATH
12041 test -z "$as_dir" && as_dir=.
12042 for ac_exec_ext in '' $ac_executable_extensions; do
12043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12045 ac_prog_rejected=yes
12049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12056 if test $ac_prog_rejected = yes; then
12057 # We found a bogon in the path, so make sure we never use it.
12058 set dummy $ac_cv_prog_CC
12060 if test $# != 0; then
12061 # We chose a different compiler from the bogus one.
12062 # However, it has the same basename, so the bogon will be chosen
12063 # first if we set CC to just the basename; use the full file name.
12065 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12071 if test -n "$CC"; then
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12073 $as_echo "$CC" >&6; }
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12076 $as_echo "no" >&6; }
12081 if test -z "$CC"; then
12082 if test -n "$ac_tool_prefix"; then
12083 for ac_prog in cl.exe
12085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12088 $as_echo_n "checking for $ac_word... " >&6; }
12089 if ${ac_cv_prog_CC+:} false; then :
12090 $as_echo_n "(cached) " >&6
12092 if test -n "$CC"; then
12093 ac_cv_prog_CC="$CC" # Let the user override the test.
12095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12096 for as_dir in $PATH
12099 test -z "$as_dir" && as_dir=.
12100 for ac_exec_ext in '' $ac_executable_extensions; do
12101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12102 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12113 if test -n "$CC"; then
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12115 $as_echo "$CC" >&6; }
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12118 $as_echo "no" >&6; }
12122 test -n "$CC" && break
12125 if test -z "$CC"; then
12127 for ac_prog in cl.exe
12129 # Extract the first word of "$ac_prog", so it can be a program name with args.
12130 set dummy $ac_prog; ac_word=$2
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12132 $as_echo_n "checking for $ac_word... " >&6; }
12133 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12134 $as_echo_n "(cached) " >&6
12136 if test -n "$ac_ct_CC"; then
12137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12140 for as_dir in $PATH
12143 test -z "$as_dir" && as_dir=.
12144 for ac_exec_ext in '' $ac_executable_extensions; do
12145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12146 ac_cv_prog_ac_ct_CC="$ac_prog"
12147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12156 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12157 if test -n "$ac_ct_CC"; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12159 $as_echo "$ac_ct_CC" >&6; }
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12162 $as_echo "no" >&6; }
12166 test -n "$ac_ct_CC" && break
12169 if test "x$ac_ct_CC" = x; then
12172 case $cross_compiling:$ac_tool_warned in
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12176 ac_tool_warned=yes ;;
12185 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12187 as_fn_error $? "no acceptable C compiler found in \$PATH
12188 See \`config.log' for more details" "$LINENO" 5; }
12190 # Provide some information about the compiler.
12191 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12194 for ac_option in --version -v -V -qversion; do
12195 { { ac_try="$ac_compiler $ac_option >&5"
12196 case "(($ac_try" in
12197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12198 *) ac_try_echo=$ac_try;;
12200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12201 $as_echo "$ac_try_echo"; } >&5
12202 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12204 if test -s conftest.err; then
12206 ... rest of stderr output deleted ...
12207 10q' conftest.err >conftest.er1
12208 cat conftest.er1 >&5
12210 rm -f conftest.er1 conftest.err
12211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12212 test $ac_status = 0; }
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12216 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12217 if ${ac_cv_c_compiler_gnu+:} false; then :
12218 $as_echo_n "(cached) " >&6
12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12234 if ac_fn_c_try_compile "$LINENO"; then :
12235 ac_compiler_gnu=yes
12239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12240 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12244 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12245 if test $ac_compiler_gnu = yes; then
12250 ac_test_CFLAGS=${CFLAGS+set}
12251 ac_save_CFLAGS=$CFLAGS
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12253 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12254 if ${ac_cv_prog_cc_g+:} false; then :
12255 $as_echo_n "(cached) " >&6
12257 ac_save_c_werror_flag=$ac_c_werror_flag
12258 ac_c_werror_flag=yes
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12272 if ac_fn_c_try_compile "$LINENO"; then :
12273 ac_cv_prog_cc_g=yes
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12287 if ac_fn_c_try_compile "$LINENO"; then :
12290 ac_c_werror_flag=$ac_save_c_werror_flag
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12303 if ac_fn_c_try_compile "$LINENO"; then :
12304 ac_cv_prog_cc_g=yes
12306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12311 ac_c_werror_flag=$ac_save_c_werror_flag
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12314 $as_echo "$ac_cv_prog_cc_g" >&6; }
12315 if test "$ac_test_CFLAGS" = set; then
12316 CFLAGS=$ac_save_CFLAGS
12317 elif test $ac_cv_prog_cc_g = yes; then
12318 if test "$GCC" = yes; then
12324 if test "$GCC" = yes; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12331 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12332 if ${ac_cv_prog_cc_c89+:} false; then :
12333 $as_echo_n "(cached) " >&6
12335 ac_cv_prog_cc_c89=no
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12339 #include <stdarg.h>
12341 #include <sys/types.h>
12342 #include <sys/stat.h>
12343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12344 struct buf { int x; };
12345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12346 static char *e (p, i)
12352 static char *f (char * (*g) (char **, int), char **p, ...)
12357 s = g (p, va_arg (v,int));
12362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12363 function prototypes and stuff, but not '\xHH' hex character constants.
12364 These don't provoke an error unfortunately, instead are silently treated
12365 as 'x'. The following induces an error, until -std is added to get
12366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12367 array size at least. It's necessary to write '\x00'==0 to get something
12368 that's true only with -std. */
12369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12372 inside strings and character constants. */
12374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12376 int test (int i, double x);
12377 struct s1 {int (*f) (int a);};
12378 struct s2 {int (*f) (double a);};
12379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12393 CC="$ac_save_CC $ac_arg"
12394 if ac_fn_c_try_compile "$LINENO"; then :
12395 ac_cv_prog_cc_c89=$ac_arg
12397 rm -f core conftest.err conftest.$ac_objext
12398 test "x$ac_cv_prog_cc_c89" != "xno" && break
12400 rm -f conftest.$ac_ext
12405 case "x$ac_cv_prog_cc_c89" in
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12408 $as_echo "none needed" >&6; } ;;
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12411 $as_echo "unsupported" >&6; } ;;
12413 CC="$CC $ac_cv_prog_cc_c89"
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12415 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12417 if test "x$ac_cv_prog_cc_c89" != xno; then :
12422 ac_cpp='$CPP $CPPFLAGS'
12423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12427 depcc="$CC" am_compiler_list=
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12430 $as_echo_n "checking dependency style of $depcc... " >&6; }
12431 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12432 $as_echo_n "(cached) " >&6
12434 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12435 # We make a subdir and do the tests there. Otherwise we can end up
12436 # making bogus files that we don't know about and never remove. For
12437 # instance it was reported that on HP-UX the gcc test will end up
12438 # making a dummy file named `D' -- because `-MD' means `put the output
12440 rm -rf conftest.dir
12442 # Copy depcomp to subdir because otherwise we won't find it if we're
12443 # using a relative directory.
12444 cp "$am_depcomp" conftest.dir
12446 # We will build objects and dependencies in a subdirectory because
12447 # it helps to detect inapplicable dependency modes. For instance
12448 # both Tru64's cc and ICC support -MD to output dependencies as a
12449 # side effect of compilation, but ICC will put the dependencies in
12450 # the current directory while Tru64 will put them in the object
12454 am_cv_CC_dependencies_compiler_type=none
12455 if test "$am_compiler_list" = ""; then
12456 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12458 am__universal=false
12459 case " $depcc " in #(
12460 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12463 for depmode in $am_compiler_list; do
12464 # Setup a source with many dependencies, because some compilers
12465 # like to wrap large dependency lists on column 80 (with \), and
12466 # we should not choose a depcomp mode which is confused by this.
12468 # We need to recreate these files for each test, as the compiler may
12469 # overwrite some of them when testing with obscure command lines.
12470 # This happens at least with the AIX C compiler.
12472 for i in 1 2 3 4 5 6; do
12473 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12474 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12475 # Solaris 8's {/usr,}/bin/sh.
12476 touch sub/conftst$i.h
12478 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12480 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12481 # mode. It turns out that the SunPro C++ compiler does not properly
12482 # handle `-M -o', and we need to detect this. Also, some Intel
12483 # versions had trouble with output in subdirs
12484 am__obj=sub/conftest.${OBJEXT-o}
12485 am__minus_obj="-o $am__obj"
12488 # This depmode causes a compiler race in universal mode.
12489 test "$am__universal" = false || continue
12492 # after this tag, mechanisms are not by side-effect, so they'll
12493 # only be used when explicitly requested
12494 if test "x$enable_dependency_tracking" = xyes; then
12500 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12501 # This compiler won't grok `-c -o', but also, the minuso test has
12502 # not run yet. These depmodes are late enough in the game, and
12503 # so weak that their functioning should not be impacted.
12504 am__obj=conftest.${OBJEXT-o}
12509 if depmode=$depmode \
12510 source=sub/conftest.c object=$am__obj \
12511 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12512 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12513 >/dev/null 2>conftest.err &&
12514 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12515 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12516 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12517 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12518 # icc doesn't choke on unknown options, it will just issue warnings
12519 # or remarks (even with -Werror). So we grep stderr for any message
12520 # that says an option was ignored or not supported.
12521 # When given -MP, icc 7.0 and 7.1 complain thusly:
12522 # icc: Command line warning: ignoring option '-M'; no argument required
12523 # The diagnosis changed in icc 8.0:
12524 # icc: Command line remark: option '-MP' not supported
12525 if (grep 'ignoring option' conftest.err ||
12526 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12527 am_cv_CC_dependencies_compiler_type=$depmode
12534 rm -rf conftest.dir
12536 am_cv_CC_dependencies_compiler_type=none
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12541 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12542 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12545 test "x$enable_dependency_tracking" != xno \
12546 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12547 am__fastdepCC_TRUE=
12548 am__fastdepCC_FALSE='#'
12550 am__fastdepCC_TRUE='#'
12551 am__fastdepCC_FALSE=
12555 if test "x$CC" != xcc; then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12557 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12560 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12562 set dummy $CC; ac_cc=`$as_echo "$2" |
12563 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12564 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12565 $as_echo_n "(cached) " >&6
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12578 # Make sure it works both with $CC and with simple cc.
12579 # We do the test twice because some compilers refuse to overwrite an
12580 # existing .o file with -o, though they will create one.
12581 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12583 if { { case "(($ac_try" in
12584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12585 *) ac_try_echo=$ac_try;;
12587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12588 $as_echo "$ac_try_echo"; } >&5
12589 (eval "$ac_try") 2>&5
12591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12592 test $ac_status = 0; } &&
12593 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12595 *) ac_try_echo=$ac_try;;
12597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12598 $as_echo "$ac_try_echo"; } >&5
12599 (eval "$ac_try") 2>&5
12601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12602 test $ac_status = 0; };
12604 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12605 if test "x$CC" != xcc; then
12606 # Test first that cc exists at all.
12607 if { ac_try='cc -c conftest.$ac_ext >&5'
12608 { { case "(($ac_try" in
12609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12610 *) ac_try_echo=$ac_try;;
12612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12613 $as_echo "$ac_try_echo"; } >&5
12614 (eval "$ac_try") 2>&5
12616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12617 test $ac_status = 0; }; }; then
12618 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12620 if { { case "(($ac_try" in
12621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12622 *) ac_try_echo=$ac_try;;
12624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12625 $as_echo "$ac_try_echo"; } >&5
12626 (eval "$ac_try") 2>&5
12628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12629 test $ac_status = 0; } &&
12630 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12632 *) ac_try_echo=$ac_try;;
12634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12635 $as_echo "$ac_try_echo"; } >&5
12636 (eval "$ac_try") 2>&5
12638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12639 test $ac_status = 0; };
12644 # cc exists but doesn't like -o.
12645 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12650 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12652 rm -f core conftest*
12655 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12657 $as_echo "yes" >&6; }
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12660 $as_echo "no" >&6; }
12662 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12666 # FIXME: we rely on the cache variable name because
12667 # there is no other way.
12669 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12670 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12671 if test "$am_t" != yes; then
12672 # Losing compiler, so override with the script.
12673 # FIXME: It is wrong to rewrite CC.
12674 # But if we don't then we get into trouble of one sort or another.
12675 # A longer-term fix would be to have automake use am__CC in this case,
12676 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12677 CC="$am_aux_dir/compile $CC"
12681 # Extract the first word of "valac", so it can be a program name with args.
12682 set dummy valac; ac_word=$2
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12684 $as_echo_n "checking for $ac_word... " >&6; }
12685 if ${ac_cv_path_VALAC+:} false; then :
12686 $as_echo_n "(cached) " >&6
12690 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
12693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12694 for as_dir in $PATH
12697 test -z "$as_dir" && as_dir=.
12698 for ac_exec_ext in '' $ac_executable_extensions; do
12699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12700 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
12701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12711 VALAC=$ac_cv_path_VALAC
12712 if test -n "$VALAC"; then
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
12714 $as_echo "$VALAC" >&6; }
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12717 $as_echo "no" >&6; }
12721 if test -z "$VALAC"; then :
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
12723 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
12725 if test -n "0.9"; then :
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.9" >&5
12727 $as_echo_n "checking $VALAC is at least version 0.9... " >&6; }
12728 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
12730 as_arg_v2="$am__vala_version"
12731 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12735 $as_echo "yes" >&6; } ;; #(
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12738 $as_echo "yes" >&6; } ;; #(
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12741 $as_echo "no" >&6; }
12742 as_fn_error $? "Vala 0.9 not found." "$LINENO" 5 ;; #(
12758 SERVER_IPC_MODULE="msrpc-glib2-1.0"
12759 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12763 $as_echo_n "checking for GTK... " >&6; }
12765 if test -n "$GTK_CFLAGS"; then
12766 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12767 elif test -n "$PKG_CONFIG"; then
12768 if test -n "$PKG_CONFIG" && \
12769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12770 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12773 test $ac_status = 0; }; then
12774 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12775 test "x$?" != "x0" && pkg_failed=yes
12782 if test -n "$GTK_LIBS"; then
12783 pkg_cv_GTK_LIBS="$GTK_LIBS"
12784 elif test -n "$PKG_CONFIG"; then
12785 if test -n "$PKG_CONFIG" && \
12786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12787 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12790 test $ac_status = 0; }; then
12791 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12792 test "x$?" != "x0" && pkg_failed=yes
12802 if test $pkg_failed = yes; then
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12804 $as_echo "no" >&6; }
12806 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12807 _pkg_short_errors_supported=yes
12809 _pkg_short_errors_supported=no
12811 if test $_pkg_short_errors_supported = yes; then
12812 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12814 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12816 # Put the nasty error message in config.log where it belongs
12817 echo "$GTK_PKG_ERRORS" >&5
12819 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
12823 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12824 installed software in a non-standard prefix.
12826 Alternatively, you may set the environment variables GTK_CFLAGS
12827 and GTK_LIBS to avoid the need to call pkg-config.
12828 See the pkg-config man page for more details." "$LINENO" 5
12829 elif test $pkg_failed = untried; then
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12831 $as_echo "no" >&6; }
12832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12834 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12835 is in your PATH or set the PKG_CONFIG environment variable to the full
12836 path to pkg-config.
12838 Alternatively, you may set the environment variables GTK_CFLAGS
12839 and GTK_LIBS to avoid the need to call pkg-config.
12840 See the pkg-config man page for more details.
12842 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12843 See \`config.log' for more details" "$LINENO" 5; }
12845 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12846 GTK_LIBS=$pkg_cv_GTK_LIBS
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12848 $as_echo "yes" >&6; }
12849 GTK_VERSION="gtk+-2.0"
12859 # We require dbus-glib for the client library even if we are using GDBus
12860 # in the server. The reason we can't always use dbus-glib in the server is
12861 # because Vala drops support for it, but as it ships with DBus there is very
12862 # little danger of it being dropped by distros any time soon.
12863 CLIENT_IPC_MODULE="dbus-glib-1"
12864 SERVER_IPC_MODULE="dbus-glib-1"
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
12869 $as_echo_n "checking for MAC... " >&6; }
12871 if test -n "$MAC_CFLAGS"; then
12872 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
12873 elif test -n "$PKG_CONFIG"; then
12874 if test -n "$PKG_CONFIG" && \
12875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12877 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12881 test $ac_status = 0; }; then
12882 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
12884 test "x$?" != "x0" && pkg_failed=yes
12891 if test -n "$MAC_LIBS"; then
12892 pkg_cv_MAC_LIBS="$MAC_LIBS"
12893 elif test -n "$PKG_CONFIG"; then
12894 if test -n "$PKG_CONFIG" && \
12895 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12897 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12901 test $ac_status = 0; }; then
12902 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
12904 test "x$?" != "x0" && pkg_failed=yes
12914 if test $pkg_failed = yes; then
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12916 $as_echo "no" >&6; }
12918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12919 _pkg_short_errors_supported=yes
12921 _pkg_short_errors_supported=no
12923 if test $_pkg_short_errors_supported = yes; then
12924 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12927 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12930 # Put the nasty error message in config.log where it belongs
12931 echo "$MAC_PKG_ERRORS" >&5
12933 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
12938 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12939 installed software in a non-standard prefix.
12941 Alternatively, you may set the environment variables MAC_CFLAGS
12942 and MAC_LIBS to avoid the need to call pkg-config.
12943 See the pkg-config man page for more details." "$LINENO" 5
12944 elif test $pkg_failed = untried; then
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12946 $as_echo "no" >&6; }
12947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12949 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12950 is in your PATH or set the PKG_CONFIG environment variable to the full
12951 path to pkg-config.
12953 Alternatively, you may set the environment variables MAC_CFLAGS
12954 and MAC_LIBS to avoid the need to call pkg-config.
12955 See the pkg-config man page for more details.
12957 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12958 See \`config.log' for more details" "$LINENO" 5; }
12960 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
12961 MAC_LIBS=$pkg_cv_MAC_LIBS
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12963 $as_echo "yes" >&6; }
12967 # TODO: Move to GTK+-3
12968 # [gtk+-3.0 >= 2.0],
12969 # [GTK_VERSION="gtk+-3.0"]
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12973 $as_echo_n "checking for GTK... " >&6; }
12975 if test -n "$GTK_CFLAGS"; then
12976 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12977 elif test -n "$PKG_CONFIG"; then
12978 if test -n "$PKG_CONFIG" && \
12979 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12980 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12983 test $ac_status = 0; }; then
12984 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12985 test "x$?" != "x0" && pkg_failed=yes
12992 if test -n "$GTK_LIBS"; then
12993 pkg_cv_GTK_LIBS="$GTK_LIBS"
12994 elif test -n "$PKG_CONFIG"; then
12995 if test -n "$PKG_CONFIG" && \
12996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12997 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13000 test $ac_status = 0; }; then
13001 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13002 test "x$?" != "x0" && pkg_failed=yes
13012 if test $pkg_failed = yes; then
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13014 $as_echo "no" >&6; }
13016 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13017 _pkg_short_errors_supported=yes
13019 _pkg_short_errors_supported=no
13021 if test $_pkg_short_errors_supported = yes; then
13022 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13024 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13026 # Put the nasty error message in config.log where it belongs
13027 echo "$GTK_PKG_ERRORS" >&5
13029 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13033 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13034 installed software in a non-standard prefix.
13036 Alternatively, you may set the environment variables GTK_CFLAGS
13037 and GTK_LIBS to avoid the need to call pkg-config.
13038 See the pkg-config man page for more details." "$LINENO" 5
13039 elif test $pkg_failed = untried; then
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13041 $as_echo "no" >&6; }
13042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13044 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13045 is in your PATH or set the PKG_CONFIG environment variable to the full
13046 path to pkg-config.
13048 Alternatively, you may set the environment variables GTK_CFLAGS
13049 and GTK_LIBS to avoid the need to call pkg-config.
13050 See the pkg-config man page for more details.
13052 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13053 See \`config.log' for more details" "$LINENO" 5; }
13055 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13056 GTK_LIBS=$pkg_cv_GTK_LIBS
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13058 $as_echo "yes" >&6; }
13059 GTK_VERSION="gtk+-2.0"
13069 # We require dbus-glib for the client library even if we are using GDBus
13070 # in the server. The reason we can't always use dbus-glib in the server is
13071 # because Vala drops support for it, but as it ships with DBus there is very
13072 # little danger of it being dropped by distros any time soon.
13073 CLIENT_IPC_MODULE="dbus-glib-1"
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
13077 $as_echo_n "checking for GDBUS... " >&6; }
13079 if test -n "$GDBUS_CFLAGS"; then
13080 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
13081 elif test -n "$PKG_CONFIG"; then
13082 if test -n "$PKG_CONFIG" && \
13083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13084 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13087 test $ac_status = 0; }; then
13088 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
13089 test "x$?" != "x0" && pkg_failed=yes
13096 if test -n "$GDBUS_LIBS"; then
13097 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
13098 elif test -n "$PKG_CONFIG"; then
13099 if test -n "$PKG_CONFIG" && \
13100 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13101 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13104 test $ac_status = 0; }; then
13105 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
13106 test "x$?" != "x0" && pkg_failed=yes
13116 if test $pkg_failed = yes; then
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13118 $as_echo "no" >&6; }
13120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13121 _pkg_short_errors_supported=yes
13123 _pkg_short_errors_supported=no
13125 if test $_pkg_short_errors_supported = yes; then
13126 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13128 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13130 # Put the nasty error message in config.log where it belongs
13131 echo "$GDBUS_PKG_ERRORS" >&5
13133 SERVER_IPC_MODULE="dbus-glib-1"
13135 elif test $pkg_failed = untried; then
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13137 $as_echo "no" >&6; }
13138 SERVER_IPC_MODULE="dbus-glib-1"
13141 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
13142 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13144 $as_echo "yes" >&6; }
13145 SERVER_IPC_MODULE="gio-2.0"
13147 # TODO: Move to GTK+-3
13148 # [gtk+-3.0 >= 2.0],
13149 # [GTK_VERSION="gtk+-3.0"]
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13153 $as_echo_n "checking for GTK... " >&6; }
13155 if test -n "$GTK_CFLAGS"; then
13156 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13157 elif test -n "$PKG_CONFIG"; then
13158 if test -n "$PKG_CONFIG" && \
13159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13160 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13163 test $ac_status = 0; }; then
13164 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13165 test "x$?" != "x0" && pkg_failed=yes
13172 if test -n "$GTK_LIBS"; then
13173 pkg_cv_GTK_LIBS="$GTK_LIBS"
13174 elif test -n "$PKG_CONFIG"; then
13175 if test -n "$PKG_CONFIG" && \
13176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13177 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13180 test $ac_status = 0; }; then
13181 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13182 test "x$?" != "x0" && pkg_failed=yes
13192 if test $pkg_failed = yes; then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13194 $as_echo "no" >&6; }
13196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13197 _pkg_short_errors_supported=yes
13199 _pkg_short_errors_supported=no
13201 if test $_pkg_short_errors_supported = yes; then
13202 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13204 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13206 # Put the nasty error message in config.log where it belongs
13207 echo "$GTK_PKG_ERRORS" >&5
13209 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13213 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13214 installed software in a non-standard prefix.
13216 Alternatively, you may set the environment variables GTK_CFLAGS
13217 and GTK_LIBS to avoid the need to call pkg-config.
13218 See the pkg-config man page for more details." "$LINENO" 5
13219 elif test $pkg_failed = untried; then
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13221 $as_echo "no" >&6; }
13222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13224 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13225 is in your PATH or set the PKG_CONFIG environment variable to the full
13226 path to pkg-config.
13228 Alternatively, you may set the environment variables GTK_CFLAGS
13229 and GTK_LIBS to avoid the need to call pkg-config.
13230 See the pkg-config man page for more details.
13232 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13233 See \`config.log' for more details" "$LINENO" 5; }
13235 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13236 GTK_LIBS=$pkg_cv_GTK_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13238 $as_echo "yes" >&6; }
13239 GTK_VERSION="gtk+-2.0"
13246 if test "$linux" = "yes"; then
13254 if test "$win32" = "yes"; then
13262 if test "$macos" = "yes"; then
13271 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13273 IPC_MSRPC_FALSE='#'
13279 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
13287 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13288 IPC_DBUS_GLIB_TRUE=
13289 IPC_DBUS_GLIB_FALSE='#'
13291 IPC_DBUS_GLIB_TRUE='#'
13292 IPC_DBUS_GLIB_FALSE=
13295 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
13297 IPC_GDBUS_FALSE='#'
13304 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
13306 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
13307 vala_version=`$VALAC --version | sed 's/Vala *//'`
13309 as_arg_v2="$vala_version"
13310 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13313 vala_supports_dbus_glib="no" ;; #(
13315 vala_supports_dbus_glib="no" ;; #(
13317 vala_supports_dbus_glib="yes" ;; #(
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
13323 $as_echo "$vala_supports_dbus_glib" >&6; }
13324 if test "$vala_supports_dbus_glib" = "no"; then
13326 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
13327 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
13331 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13334 pkg_config_args="msrpc-mingw-1.0"
13343 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13344 if test -n "$ac_tool_prefix"; then
13345 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13346 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13348 $as_echo_n "checking for $ac_word... " >&6; }
13349 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13350 $as_echo_n "(cached) " >&6
13352 case $PKG_CONFIG in
13354 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13358 for as_dir in $PATH
13361 test -z "$as_dir" && as_dir=.
13362 for ac_exec_ext in '' $ac_executable_extensions; do
13363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13364 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13375 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13376 if test -n "$PKG_CONFIG"; then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13378 $as_echo "$PKG_CONFIG" >&6; }
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13381 $as_echo "no" >&6; }
13386 if test -z "$ac_cv_path_PKG_CONFIG"; then
13387 ac_pt_PKG_CONFIG=$PKG_CONFIG
13388 # Extract the first word of "pkg-config", so it can be a program name with args.
13389 set dummy pkg-config; ac_word=$2
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13391 $as_echo_n "checking for $ac_word... " >&6; }
13392 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13393 $as_echo_n "(cached) " >&6
13395 case $ac_pt_PKG_CONFIG in
13397 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13401 for as_dir in $PATH
13404 test -z "$as_dir" && as_dir=.
13405 for ac_exec_ext in '' $ac_executable_extensions; do
13406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13407 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13418 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13419 if test -n "$ac_pt_PKG_CONFIG"; then
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13421 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13424 $as_echo "no" >&6; }
13427 if test "x$ac_pt_PKG_CONFIG" = x; then
13430 case $cross_compiling:$ac_tool_warned in
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13434 ac_tool_warned=yes ;;
13436 PKG_CONFIG=$ac_pt_PKG_CONFIG
13439 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13443 if test -n "$PKG_CONFIG"; then
13444 _pkg_min_version=0.16
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13446 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13447 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13449 $as_echo "yes" >&6; }
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13452 $as_echo "no" >&6; }
13459 if test "x$PKG_CONFIG" = x ; then
13464 min_msrpc_mingw_version=0.1.0
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
13466 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
13468 if test x$PKG_CONFIG != xno ; then
13469 if $PKG_CONFIG --uninstalled $pkg_config_args; then
13470 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
13473 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
13480 if test x"$no_msrpc" = x ; then
13481 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
13482 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13483 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13486 if test "x$no_msrpc" = x ; then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13488 $as_echo "yes" >&6; }
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13492 $as_echo "no" >&6; }
13493 if test "$PKG_CONFIG" = "no" ; then
13494 echo "*** A new enough version of pkg-config was not found."
13495 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13503 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
13510 # Extract the first word of "midl", so it can be a program name with args.
13511 set dummy midl; ac_word=$2
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13513 $as_echo_n "checking for $ac_word... " >&6; }
13514 if ${ac_cv_path_MIDL+:} false; then :
13515 $as_echo_n "(cached) " >&6
13519 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
13522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13523 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
13526 test -z "$as_dir" && as_dir=.
13527 for ac_exec_ext in '' $ac_executable_extensions; do
13528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13529 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
13530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13537 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
13541 MIDL=$ac_cv_path_MIDL
13542 if test -n "$MIDL"; then
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
13544 $as_echo "$MIDL" >&6; }
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13547 $as_echo "no" >&6; }
13551 if test "$MIDL" = "no"; then
13553 *** Could not find the Microsoft interface compiler MIDL.EXE.
13554 *** This program is available as part of the MS Windows SDK, in
13555 *** the Win32 Development Tools package. If it is not in the PATH
13556 *** or its default location you may set the 'MIDL' environment
13557 *** variable to point to its location and rerun configure." "$LINENO" 5
13561 if test "$win32" = "yes"; then
13562 # Other Windows-specific tools
13564 # LIB.EXE from MSVC to build an MSVC-compatible import library.
13565 # Extract the first word of "lib", so it can be a program name with args.
13566 set dummy lib; ac_word=$2
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13568 $as_echo_n "checking for $ac_word... " >&6; }
13569 if ${ac_cv_path_MSVC_LIB+:} false; then :
13570 $as_echo_n "(cached) " >&6
13574 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
13577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13578 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
13581 test -z "$as_dir" && as_dir=.
13582 for ac_exec_ext in '' $ac_executable_extensions; do
13583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13584 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
13585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13592 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
13596 MSVC_LIB=$ac_cv_path_MSVC_LIB
13597 if test -n "$MSVC_LIB"; then
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
13599 $as_echo "$MSVC_LIB" >&6; }
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13602 $as_echo "no" >&6; }
13607 if test "$MSVC_LIB" = "no"; then
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: 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." >&5
13613 $as_echo "$as_me: WARNING:
13614 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13615 *** to build the Visual C import library for libmoonshot. Use the
13616 *** MSVC_LIB environment variable to pass its location if this is
13617 *** outside the PATH." >&2;}
13621 # ImageMagick for the 'make icons' target. Note that
13622 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
13623 # Extract the first word of "convert", so it can be a program name with args.
13624 set dummy convert; ac_word=$2
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13626 $as_echo_n "checking for $ac_word... " >&6; }
13627 if ${ac_cv_path_IMAGEMAGICK_CONVERT+:} false; then :
13628 $as_echo_n "(cached) " >&6
13630 case $IMAGEMAGICK_CONVERT in
13632 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
13635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13636 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
13639 test -z "$as_dir" && as_dir=.
13640 for ac_exec_ext in '' $ac_executable_extensions; do
13641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13642 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
13643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13650 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
13654 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
13655 if test -n "$IMAGEMAGICK_CONVERT"; then
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
13657 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13660 $as_echo "no" >&6; }
13665 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13667 *** Could not find ImageMagick convert.exe. This is required for the
13668 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13669 *** variable to pass its location if this is outside the PATH." >&5
13670 $as_echo "$as_me: WARNING:
13671 *** Could not find ImageMagick convert.exe. This is required for the
13672 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13673 *** variable to pass its location if this is outside the PATH." >&2;}
13677 # Windows Installer XML tools
13678 # Extract the first word of "candle", so it can be a program name with args.
13679 set dummy candle; ac_word=$2
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13681 $as_echo_n "checking for $ac_word... " >&6; }
13682 if ${ac_cv_path_WIX_CANDLE+:} false; then :
13683 $as_echo_n "(cached) " >&6
13685 case $WIX_CANDLE in
13687 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
13690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13691 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
13694 test -z "$as_dir" && as_dir=.
13695 for ac_exec_ext in '' $ac_executable_extensions; do
13696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13697 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
13698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13705 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
13709 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
13710 if test -n "$WIX_CANDLE"; then
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
13712 $as_echo "$WIX_CANDLE" >&6; }
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13715 $as_echo "no" >&6; }
13719 # Extract the first word of "light", so it can be a program name with args.
13720 set dummy light; ac_word=$2
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13722 $as_echo_n "checking for $ac_word... " >&6; }
13723 if ${ac_cv_path_WIX_LIGHT+:} false; then :
13724 $as_echo_n "(cached) " >&6
13728 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
13731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13732 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
13735 test -z "$as_dir" && as_dir=.
13736 for ac_exec_ext in '' $ac_executable_extensions; do
13737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13738 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
13739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13746 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
13750 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
13751 if test -n "$WIX_LIGHT"; then
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
13753 $as_echo "$WIX_LIGHT" >&6; }
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13756 $as_echo "no" >&6; }
13761 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: 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
13767 $as_echo "$as_me: WARNING:
13768 *** Could not find the Windows Installer XML tools. These are required
13769 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13770 *** environment variables to pass their locations if they are outside
13771 *** the PATH." >&2;}
13775 if test "$linux" = "yes"; then
13776 # Extract the first word of "update-mime-database", so it can be a program name with args.
13777 set dummy update-mime-database; ac_word=$2
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13779 $as_echo_n "checking for $ac_word... " >&6; }
13780 if ${ac_cv_path_UPDATE_MIME_DATABASE+:} false; then :
13781 $as_echo_n "(cached) " >&6
13783 case $UPDATE_MIME_DATABASE in
13785 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
13788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13789 for as_dir in $PATH
13792 test -z "$as_dir" && as_dir=.
13793 for ac_exec_ext in '' $ac_executable_extensions; do
13794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13795 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13803 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
13807 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
13808 if test -n "$UPDATE_MIME_DATABASE"; then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
13810 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13813 $as_echo "no" >&6; }
13817 if test "$UPDATE_MIME_DATABASE" = "no"; then
13819 *** Could not find the Freedesktop.org mime database update tool.
13820 *** Web provisioning files could not be automatically installed." "$LINENO" 5
13822 # Extract the first word of "update-desktop-database", so it can be a program name with args.
13823 set dummy update-desktop-database; ac_word=$2
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13825 $as_echo_n "checking for $ac_word... " >&6; }
13826 if ${ac_cv_path_UPDATE_DESKTOP_DATABASE+:} false; then :
13827 $as_echo_n "(cached) " >&6
13829 case $UPDATE_DESKTOP_DATABASE in
13831 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
13834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13835 for as_dir in $PATH
13838 test -z "$as_dir" && as_dir=.
13839 for ac_exec_ext in '' $ac_executable_extensions; do
13840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13841 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13849 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
13853 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
13854 if test -n "$UPDATE_DESKTOP_DATABASE"; then
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
13856 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13859 $as_echo "no" >&6; }
13863 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
13865 *** Could not find the Freedesktop.org desktop entry database update
13866 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
13870 MOONSHOT_APP="$bindir/moonshot"
13871 MOONSHOT_WEBP="$bindir/moonshot-webp"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
13887 $as_echo_n "checking for moonshot... " >&6; }
13889 if test -n "$moonshot_CFLAGS"; then
13890 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
13891 elif test -n "$PKG_CONFIG"; then
13892 if test -n "$PKG_CONFIG" && \
13893 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13896 gobject-2.0 >= 2.22
13899 \$SERVER_IPC_MODULE
13902 ($PKG_CONFIG --exists --print-errors "
13905 gobject-2.0 >= 2.22
13912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13913 test $ac_status = 0; }; then
13914 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
13917 gobject-2.0 >= 2.22
13923 test "x$?" != "x0" && pkg_failed=yes
13930 if test -n "$moonshot_LIBS"; then
13931 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
13932 elif test -n "$PKG_CONFIG"; then
13933 if test -n "$PKG_CONFIG" && \
13934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13937 gobject-2.0 >= 2.22
13940 \$SERVER_IPC_MODULE
13943 ($PKG_CONFIG --exists --print-errors "
13946 gobject-2.0 >= 2.22
13953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13954 test $ac_status = 0; }; then
13955 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
13958 gobject-2.0 >= 2.22
13964 test "x$?" != "x0" && pkg_failed=yes
13974 if test $pkg_failed = yes; then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13976 $as_echo "no" >&6; }
13978 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13979 _pkg_short_errors_supported=yes
13981 _pkg_short_errors_supported=no
13983 if test $_pkg_short_errors_supported = yes; then
13984 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
13987 gobject-2.0 >= 2.22
13994 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
13997 gobject-2.0 >= 2.22
14004 # Put the nasty error message in config.log where it belongs
14005 echo "$moonshot_PKG_ERRORS" >&5
14007 as_fn_error $? "Package requirements (
14010 gobject-2.0 >= 2.22
14017 $moonshot_PKG_ERRORS
14019 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14020 installed software in a non-standard prefix.
14022 Alternatively, you may set the environment variables moonshot_CFLAGS
14023 and moonshot_LIBS to avoid the need to call pkg-config.
14024 See the pkg-config man page for more details." "$LINENO" 5
14025 elif test $pkg_failed = untried; then
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14027 $as_echo "no" >&6; }
14028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14030 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14031 is in your PATH or set the PKG_CONFIG environment variable to the full
14032 path to pkg-config.
14034 Alternatively, you may set the environment variables moonshot_CFLAGS
14035 and moonshot_LIBS to avoid the need to call pkg-config.
14036 See the pkg-config man page for more details.
14038 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14039 See \`config.log' for more details" "$LINENO" 5; }
14041 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
14042 moonshot_LIBS=$pkg_cv_moonshot_LIBS
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14044 $as_echo "yes" >&6; }
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
14051 $as_echo_n "checking for libmoonshot... " >&6; }
14053 if test -n "$libmoonshot_CFLAGS"; then
14054 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
14055 elif test -n "$PKG_CONFIG"; then
14056 if test -n "$PKG_CONFIG" && \
14057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14058 \$CLIENT_IPC_MODULE
14060 ($PKG_CONFIG --exists --print-errors "
14064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14065 test $ac_status = 0; }; then
14066 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
14069 test "x$?" != "x0" && pkg_failed=yes
14076 if test -n "$libmoonshot_LIBS"; then
14077 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
14078 elif test -n "$PKG_CONFIG"; then
14079 if test -n "$PKG_CONFIG" && \
14080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14081 \$CLIENT_IPC_MODULE
14083 ($PKG_CONFIG --exists --print-errors "
14087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14088 test $ac_status = 0; }; then
14089 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
14092 test "x$?" != "x0" && pkg_failed=yes
14102 if test $pkg_failed = yes; then
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14104 $as_echo "no" >&6; }
14106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14107 _pkg_short_errors_supported=yes
14109 _pkg_short_errors_supported=no
14111 if test $_pkg_short_errors_supported = yes; then
14112 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14116 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14120 # Put the nasty error message in config.log where it belongs
14121 echo "$libmoonshot_PKG_ERRORS" >&5
14123 as_fn_error $? "Package requirements (
14127 $libmoonshot_PKG_ERRORS
14129 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14130 installed software in a non-standard prefix.
14132 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14133 and libmoonshot_LIBS to avoid the need to call pkg-config.
14134 See the pkg-config man page for more details." "$LINENO" 5
14135 elif test $pkg_failed = untried; then
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14137 $as_echo "no" >&6; }
14138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14140 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14141 is in your PATH or set the PKG_CONFIG environment variable to the full
14142 path to pkg-config.
14144 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14145 and libmoonshot_LIBS to avoid the need to call pkg-config.
14146 See the pkg-config man page for more details.
14148 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14149 See \`config.log' for more details" "$LINENO" 5; }
14151 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
14152 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14154 $as_echo "yes" >&6; }
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14161 $as_echo_n "checking whether NLS is requested... " >&6; }
14162 # Check whether --enable-nls was given.
14163 if test "${enable_nls+set}" = set; then :
14164 enableval=$enable_nls; USE_NLS=$enableval
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14170 $as_echo "$USE_NLS" >&6; }
14175 GETTEXT_MACRO_VERSION=0.18
14180 # Prepare PATH_SEPARATOR.
14181 # The user is always right.
14182 if test "${PATH_SEPARATOR+set}" != set; then
14183 echo "#! /bin/sh" >conf$$.sh
14184 echo "exit 0" >>conf$$.sh
14186 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14194 # Find out how to test for executable files. Don't use a zero-byte file,
14195 # as systems may use methods other than mode bits to determine executability.
14196 cat >conf$$.file <<_ASEOF
14200 chmod +x conf$$.file
14201 if test -x conf$$.file >/dev/null 2>&1; then
14202 ac_executable_p="test -x"
14204 ac_executable_p="test -f"
14208 # Extract the first word of "msgfmt", so it can be a program name with args.
14209 set dummy msgfmt; ac_word=$2
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14211 $as_echo_n "checking for $ac_word... " >&6; }
14212 if ${ac_cv_path_MSGFMT+:} false; then :
14213 $as_echo_n "(cached) " >&6
14217 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14220 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14221 for ac_dir in $PATH; do
14223 test -z "$ac_dir" && ac_dir=.
14224 for ac_exec_ext in '' $ac_executable_extensions; do
14225 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14226 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14227 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14228 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14229 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14236 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14240 MSGFMT="$ac_cv_path_MSGFMT"
14241 if test "$MSGFMT" != ":"; then
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14243 $as_echo "$MSGFMT" >&6; }
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14246 $as_echo "no" >&6; }
14249 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14250 set dummy gmsgfmt; ac_word=$2
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14252 $as_echo_n "checking for $ac_word... " >&6; }
14253 if ${ac_cv_path_GMSGFMT+:} false; then :
14254 $as_echo_n "(cached) " >&6
14258 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14262 for as_dir in $PATH
14265 test -z "$as_dir" && as_dir=.
14266 for ac_exec_ext in '' $ac_executable_extensions; do
14267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14268 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14276 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14280 GMSGFMT=$ac_cv_path_GMSGFMT
14281 if test -n "$GMSGFMT"; then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14283 $as_echo "$GMSGFMT" >&6; }
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14286 $as_echo "no" >&6; }
14291 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14292 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14293 *) MSGFMT_015=$MSGFMT ;;
14296 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14297 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14298 *) GMSGFMT_015=$GMSGFMT ;;
14303 # Prepare PATH_SEPARATOR.
14304 # The user is always right.
14305 if test "${PATH_SEPARATOR+set}" != set; then
14306 echo "#! /bin/sh" >conf$$.sh
14307 echo "exit 0" >>conf$$.sh
14309 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14317 # Find out how to test for executable files. Don't use a zero-byte file,
14318 # as systems may use methods other than mode bits to determine executability.
14319 cat >conf$$.file <<_ASEOF
14323 chmod +x conf$$.file
14324 if test -x conf$$.file >/dev/null 2>&1; then
14325 ac_executable_p="test -x"
14327 ac_executable_p="test -f"
14331 # Extract the first word of "xgettext", so it can be a program name with args.
14332 set dummy xgettext; ac_word=$2
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14334 $as_echo_n "checking for $ac_word... " >&6; }
14335 if ${ac_cv_path_XGETTEXT+:} false; then :
14336 $as_echo_n "(cached) " >&6
14338 case "$XGETTEXT" in
14340 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14343 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14344 for ac_dir in $PATH; do
14346 test -z "$ac_dir" && ac_dir=.
14347 for ac_exec_ext in '' $ac_executable_extensions; do
14348 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14349 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14350 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14351 (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
14352 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14359 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14363 XGETTEXT="$ac_cv_path_XGETTEXT"
14364 if test "$XGETTEXT" != ":"; then
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14366 $as_echo "$XGETTEXT" >&6; }
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14369 $as_echo "no" >&6; }
14374 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14375 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14376 *) XGETTEXT_015=$XGETTEXT ;;
14381 # Prepare PATH_SEPARATOR.
14382 # The user is always right.
14383 if test "${PATH_SEPARATOR+set}" != set; then
14384 echo "#! /bin/sh" >conf$$.sh
14385 echo "exit 0" >>conf$$.sh
14387 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14395 # Find out how to test for executable files. Don't use a zero-byte file,
14396 # as systems may use methods other than mode bits to determine executability.
14397 cat >conf$$.file <<_ASEOF
14401 chmod +x conf$$.file
14402 if test -x conf$$.file >/dev/null 2>&1; then
14403 ac_executable_p="test -x"
14405 ac_executable_p="test -f"
14409 # Extract the first word of "msgmerge", so it can be a program name with args.
14410 set dummy msgmerge; ac_word=$2
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14412 $as_echo_n "checking for $ac_word... " >&6; }
14413 if ${ac_cv_path_MSGMERGE+:} false; then :
14414 $as_echo_n "(cached) " >&6
14416 case "$MSGMERGE" in
14418 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14421 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14422 for ac_dir in $PATH; do
14424 test -z "$ac_dir" && ac_dir=.
14425 for ac_exec_ext in '' $ac_executable_extensions; do
14426 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14427 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14428 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14429 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14436 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14440 MSGMERGE="$ac_cv_path_MSGMERGE"
14441 if test "$MSGMERGE" != ":"; then
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14443 $as_echo "$MSGMERGE" >&6; }
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14446 $as_echo "no" >&6; }
14450 test -n "$localedir" || localedir='${datadir}/locale'
14453 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14456 ac_config_commands="$ac_config_commands po-directories"
14460 if test "X$prefix" = "XNONE"; then
14461 acl_final_prefix="$ac_default_prefix"
14463 acl_final_prefix="$prefix"
14465 if test "X$exec_prefix" = "XNONE"; then
14466 acl_final_exec_prefix='${prefix}'
14468 acl_final_exec_prefix="$exec_prefix"
14470 acl_save_prefix="$prefix"
14471 prefix="$acl_final_prefix"
14472 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14473 prefix="$acl_save_prefix"
14476 # Check whether --with-gnu-ld was given.
14477 if test "${with_gnu_ld+set}" = set; then :
14478 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14483 # Prepare PATH_SEPARATOR.
14484 # The user is always right.
14485 if test "${PATH_SEPARATOR+set}" != set; then
14486 echo "#! /bin/sh" >conf$$.sh
14487 echo "exit 0" >>conf$$.sh
14489 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14497 if test "$GCC" = yes; then
14498 # Check if gcc -print-prog-name=ld gives a path.
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14500 $as_echo_n "checking for ld used by GCC... " >&6; }
14503 # gcc leaves a trailing carriage return which upsets mingw
14504 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14506 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14509 # Accept absolute paths.
14510 [\\/]* | [A-Za-z]:[\\/]*)
14511 re_direlt='/[^/][^/]*/\.\./'
14512 # Canonicalize the path of ld
14513 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14514 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14515 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14517 test -z "$LD" && LD="$ac_prog"
14520 # If it fails, then pretend we aren't using GCC.
14524 # If it is relative, then search for the first ld in PATH.
14525 with_gnu_ld=unknown
14528 elif test "$with_gnu_ld" = yes; then
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14530 $as_echo_n "checking for GNU ld... " >&6; }
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14533 $as_echo_n "checking for non-GNU ld... " >&6; }
14535 if ${acl_cv_path_LD+:} false; then :
14536 $as_echo_n "(cached) " >&6
14538 if test -z "$LD"; then
14539 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14540 for ac_dir in $PATH; do
14541 test -z "$ac_dir" && ac_dir=.
14542 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14543 acl_cv_path_LD="$ac_dir/$ac_prog"
14544 # Check to see if the program is GNU ld. I'd rather use --version,
14545 # but apparently some GNU ld's only accept -v.
14546 # Break only if it was the GNU/non-GNU ld that we prefer.
14547 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14548 *GNU* | *'with BFD'*)
14549 test "$with_gnu_ld" != no && break ;;
14551 test "$with_gnu_ld" != yes && break ;;
14557 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14561 LD="$acl_cv_path_LD"
14562 if test -n "$LD"; then
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14564 $as_echo "$LD" >&6; }
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14567 $as_echo "no" >&6; }
14569 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14571 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14572 if ${acl_cv_prog_gnu_ld+:} false; then :
14573 $as_echo_n "(cached) " >&6
14575 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14576 case `$LD -v 2>&1 </dev/null` in
14577 *GNU* | *'with BFD'*)
14578 acl_cv_prog_gnu_ld=yes ;;
14580 acl_cv_prog_gnu_ld=no ;;
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14584 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14585 with_gnu_ld=$acl_cv_prog_gnu_ld
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14591 $as_echo_n "checking for shared library run path origin... " >&6; }
14592 if ${acl_cv_rpath+:} false; then :
14593 $as_echo_n "(cached) " >&6
14596 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14597 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14599 rm -f ./conftest.sh
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14604 $as_echo "$acl_cv_rpath" >&6; }
14606 acl_libext="$acl_cv_libext"
14607 acl_shlibext="$acl_cv_shlibext"
14608 acl_libname_spec="$acl_cv_libname_spec"
14609 acl_library_names_spec="$acl_cv_library_names_spec"
14610 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14611 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14612 acl_hardcode_direct="$acl_cv_hardcode_direct"
14613 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14614 # Check whether --enable-rpath was given.
14615 if test "${enable_rpath+set}" = set; then :
14616 enableval=$enable_rpath; :
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
14629 $as_echo_n "checking for 64-bit host... " >&6; }
14630 if ${gl_cv_solaris_64bit+:} false; then :
14631 $as_echo_n "(cached) " >&6
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14642 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
14643 gl_cv_solaris_64bit=yes
14645 gl_cv_solaris_64bit=no
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
14652 $as_echo "$gl_cv_solaris_64bit" >&6; }
14653 if test $gl_cv_solaris_64bit = yes; then
14654 acl_libdirstem=lib/64
14655 case "$host_cpu" in
14656 sparc*) acl_libdirstem2=lib/sparcv9 ;;
14657 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
14662 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14663 if test -n "$searchpath"; then
14664 acl_save_IFS="${IFS= }"; IFS=":"
14665 for searchdir in $searchpath; do
14666 if test -d "$searchdir"; then
14667 case "$searchdir" in
14668 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14670 # Better ignore directories of this form. They are misleading.
14672 *) searchdir=`cd "$searchdir" && pwd`
14673 case "$searchdir" in
14674 */lib64 ) acl_libdirstem=lib64 ;;
14679 IFS="$acl_save_IFS"
14683 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
14698 acl_save_prefix="$prefix"
14699 prefix="$acl_final_prefix"
14700 acl_save_exec_prefix="$exec_prefix"
14701 exec_prefix="$acl_final_exec_prefix"
14703 eval additional_includedir=\"$includedir\"
14704 eval additional_libdir=\"$libdir\"
14706 exec_prefix="$acl_save_exec_prefix"
14707 prefix="$acl_save_prefix"
14710 # Check whether --with-libiconv-prefix was given.
14711 if test "${with_libiconv_prefix+set}" = set; then :
14712 withval=$with_libiconv_prefix;
14713 if test "X$withval" = "Xno"; then
14716 if test "X$withval" = "X"; then
14718 acl_save_prefix="$prefix"
14719 prefix="$acl_final_prefix"
14720 acl_save_exec_prefix="$exec_prefix"
14721 exec_prefix="$acl_final_exec_prefix"
14723 eval additional_includedir=\"$includedir\"
14724 eval additional_libdir=\"$libdir\"
14726 exec_prefix="$acl_save_exec_prefix"
14727 prefix="$acl_save_prefix"
14730 additional_includedir="$withval/include"
14731 additional_libdir="$withval/$acl_libdirstem"
14732 if test "$acl_libdirstem2" != "$acl_libdirstem" \
14733 && ! test -d "$withval/$acl_libdirstem"; then
14734 additional_libdir="$withval/$acl_libdirstem2"
14748 names_already_handled=
14749 names_next_round='iconv '
14750 while test -n "$names_next_round"; do
14751 names_this_round="$names_next_round"
14753 for name in $names_this_round; do
14755 for n in $names_already_handled; do
14756 if test "$n" = "$name"; then
14757 already_handled=yes
14761 if test -z "$already_handled"; then
14762 names_already_handled="$names_already_handled $name"
14763 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14764 eval value=\"\$HAVE_LIB$uppername\"
14765 if test -n "$value"; then
14766 if test "$value" = yes; then
14767 eval value=\"\$LIB$uppername\"
14768 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14769 eval value=\"\$LTLIB$uppername\"
14770 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14779 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14780 if test -n "$acl_shlibext"; then
14781 shrext=".$acl_shlibext" # typically: shrext=.so
14785 if test $use_additional = yes; then
14786 dir="$additional_libdir"
14787 if test -n "$acl_shlibext"; then
14788 if test -f "$dir/$libname$shrext"; then
14790 found_so="$dir/$libname$shrext"
14792 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14793 ver=`(cd "$dir" && \
14794 for f in "$libname$shrext".*; do echo "$f"; done \
14795 | sed -e "s,^$libname$shrext\\\\.,," \
14796 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14797 | sed 1q ) 2>/dev/null`
14798 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14800 found_so="$dir/$libname$shrext.$ver"
14803 eval library_names=\"$acl_library_names_spec\"
14804 for f in $library_names; do
14805 if test -f "$dir/$f"; then
14814 if test "X$found_dir" = "X"; then
14815 if test -f "$dir/$libname.$acl_libext"; then
14817 found_a="$dir/$libname.$acl_libext"
14820 if test "X$found_dir" != "X"; then
14821 if test -f "$dir/$libname.la"; then
14822 found_la="$dir/$libname.la"
14826 if test "X$found_dir" = "X"; then
14827 for x in $LDFLAGS $LTLIBICONV; do
14829 acl_save_prefix="$prefix"
14830 prefix="$acl_final_prefix"
14831 acl_save_exec_prefix="$exec_prefix"
14832 exec_prefix="$acl_final_exec_prefix"
14834 exec_prefix="$acl_save_exec_prefix"
14835 prefix="$acl_save_prefix"
14839 dir=`echo "X$x" | sed -e 's/^X-L//'`
14840 if test -n "$acl_shlibext"; then
14841 if test -f "$dir/$libname$shrext"; then
14843 found_so="$dir/$libname$shrext"
14845 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14846 ver=`(cd "$dir" && \
14847 for f in "$libname$shrext".*; do echo "$f"; done \
14848 | sed -e "s,^$libname$shrext\\\\.,," \
14849 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14850 | sed 1q ) 2>/dev/null`
14851 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14853 found_so="$dir/$libname$shrext.$ver"
14856 eval library_names=\"$acl_library_names_spec\"
14857 for f in $library_names; do
14858 if test -f "$dir/$f"; then
14867 if test "X$found_dir" = "X"; then
14868 if test -f "$dir/$libname.$acl_libext"; then
14870 found_a="$dir/$libname.$acl_libext"
14873 if test "X$found_dir" != "X"; then
14874 if test -f "$dir/$libname.la"; then
14875 found_la="$dir/$libname.la"
14880 if test "X$found_dir" != "X"; then
14885 if test "X$found_dir" != "X"; then
14886 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14887 if test "X$found_so" != "X"; then
14888 if test "$enable_rpath" = no \
14889 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14890 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14891 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14894 for x in $ltrpathdirs; do
14895 if test "X$x" = "X$found_dir"; then
14900 if test -z "$haveit"; then
14901 ltrpathdirs="$ltrpathdirs $found_dir"
14903 if test "$acl_hardcode_direct" = yes; then
14904 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14906 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14907 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14909 for x in $rpathdirs; do
14910 if test "X$x" = "X$found_dir"; then
14915 if test -z "$haveit"; then
14916 rpathdirs="$rpathdirs $found_dir"
14920 for x in $LDFLAGS $LIBICONV; do
14922 acl_save_prefix="$prefix"
14923 prefix="$acl_final_prefix"
14924 acl_save_exec_prefix="$exec_prefix"
14925 exec_prefix="$acl_final_exec_prefix"
14927 exec_prefix="$acl_save_exec_prefix"
14928 prefix="$acl_save_prefix"
14930 if test "X$x" = "X-L$found_dir"; then
14935 if test -z "$haveit"; then
14936 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14938 if test "$acl_hardcode_minus_L" != no; then
14939 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14941 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14947 if test "X$found_a" != "X"; then
14948 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14950 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14953 additional_includedir=
14954 case "$found_dir" in
14955 */$acl_libdirstem | */$acl_libdirstem/)
14956 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14957 if test "$name" = 'iconv'; then
14958 LIBICONV_PREFIX="$basedir"
14960 additional_includedir="$basedir/include"
14962 */$acl_libdirstem2 | */$acl_libdirstem2/)
14963 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14964 if test "$name" = 'iconv'; then
14965 LIBICONV_PREFIX="$basedir"
14967 additional_includedir="$basedir/include"
14970 if test "X$additional_includedir" != "X"; then
14971 if test "X$additional_includedir" != "X/usr/include"; then
14973 if test "X$additional_includedir" = "X/usr/local/include"; then
14974 if test -n "$GCC"; then
14976 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14980 if test -z "$haveit"; then
14981 for x in $CPPFLAGS $INCICONV; do
14983 acl_save_prefix="$prefix"
14984 prefix="$acl_final_prefix"
14985 acl_save_exec_prefix="$exec_prefix"
14986 exec_prefix="$acl_final_exec_prefix"
14988 exec_prefix="$acl_save_exec_prefix"
14989 prefix="$acl_save_prefix"
14991 if test "X$x" = "X-I$additional_includedir"; then
14996 if test -z "$haveit"; then
14997 if test -d "$additional_includedir"; then
14998 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15004 if test -n "$found_la"; then
15005 save_libdir="$libdir"
15006 case "$found_la" in
15007 */* | *\\*) . "$found_la" ;;
15008 *) . "./$found_la" ;;
15010 libdir="$save_libdir"
15011 for dep in $dependency_libs; do
15014 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15015 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15016 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15018 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15019 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15020 if test -n "$GCC"; then
15022 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15026 if test -z "$haveit"; then
15028 for x in $LDFLAGS $LIBICONV; do
15030 acl_save_prefix="$prefix"
15031 prefix="$acl_final_prefix"
15032 acl_save_exec_prefix="$exec_prefix"
15033 exec_prefix="$acl_final_exec_prefix"
15035 exec_prefix="$acl_save_exec_prefix"
15036 prefix="$acl_save_prefix"
15038 if test "X$x" = "X-L$additional_libdir"; then
15043 if test -z "$haveit"; then
15044 if test -d "$additional_libdir"; then
15045 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15049 for x in $LDFLAGS $LTLIBICONV; do
15051 acl_save_prefix="$prefix"
15052 prefix="$acl_final_prefix"
15053 acl_save_exec_prefix="$exec_prefix"
15054 exec_prefix="$acl_final_exec_prefix"
15056 exec_prefix="$acl_save_exec_prefix"
15057 prefix="$acl_save_prefix"
15059 if test "X$x" = "X-L$additional_libdir"; then
15064 if test -z "$haveit"; then
15065 if test -d "$additional_libdir"; then
15066 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15073 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15074 if test "$enable_rpath" != no; then
15076 for x in $rpathdirs; do
15077 if test "X$x" = "X$dir"; then
15082 if test -z "$haveit"; then
15083 rpathdirs="$rpathdirs $dir"
15086 for x in $ltrpathdirs; do
15087 if test "X$x" = "X$dir"; then
15092 if test -z "$haveit"; then
15093 ltrpathdirs="$ltrpathdirs $dir"
15098 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15101 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15104 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15105 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15111 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15112 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15118 if test "X$rpathdirs" != "X"; then
15119 if test -n "$acl_hardcode_libdir_separator"; then
15121 for found_dir in $rpathdirs; do
15122 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15124 acl_save_libdir="$libdir"
15126 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15127 libdir="$acl_save_libdir"
15128 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15130 for found_dir in $rpathdirs; do
15131 acl_save_libdir="$libdir"
15132 libdir="$found_dir"
15133 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15134 libdir="$acl_save_libdir"
15135 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15139 if test "X$ltrpathdirs" != "X"; then
15140 for found_dir in $ltrpathdirs; do
15141 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15176 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15177 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15178 $as_echo_n "(cached) " >&6
15180 gt_save_LIBS="$LIBS"
15181 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h. */
15184 #include <CoreFoundation/CFPreferences.h>
15188 CFPreferencesCopyAppValue(NULL, NULL)
15193 if ac_fn_c_try_link "$LINENO"; then :
15194 gt_cv_func_CFPreferencesCopyAppValue=yes
15196 gt_cv_func_CFPreferencesCopyAppValue=no
15198 rm -f core conftest.err conftest.$ac_objext \
15199 conftest$ac_exeext conftest.$ac_ext
15200 LIBS="$gt_save_LIBS"
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15203 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15204 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15206 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15210 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15211 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15212 $as_echo_n "(cached) " >&6
15214 gt_save_LIBS="$LIBS"
15215 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15218 #include <CoreFoundation/CFLocale.h>
15222 CFLocaleCopyCurrent();
15227 if ac_fn_c_try_link "$LINENO"; then :
15228 gt_cv_func_CFLocaleCopyCurrent=yes
15230 gt_cv_func_CFLocaleCopyCurrent=no
15232 rm -f core conftest.err conftest.$ac_objext \
15233 conftest$ac_exeext conftest.$ac_ext
15234 LIBS="$gt_save_LIBS"
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15237 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15238 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15240 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15244 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15245 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15257 case " $gt_needs " in
15258 *" need-formatstring-macros "*) gt_api_version=3 ;;
15259 *" need-ngettext "*) gt_api_version=2 ;;
15260 *) gt_api_version=1 ;;
15262 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15263 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15265 if test "$USE_NLS" = "yes"; then
15266 gt_use_preinstalled_gnugettext=no
15269 if test $gt_api_version -ge 3; then
15270 gt_revision_test_code='
15271 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15272 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15274 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15277 gt_revision_test_code=
15279 if test $gt_api_version -ge 2; then
15280 gt_expression_test_code=' + * ngettext ("", "", 0)'
15282 gt_expression_test_code=
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15286 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15287 if eval \${$gt_func_gnugettext_libc+:} false; then :
15288 $as_echo_n "(cached) " >&6
15290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15291 /* end confdefs.h. */
15292 #include <libintl.h>
15293 $gt_revision_test_code
15294 extern int _nl_msg_cat_cntr;
15295 extern int *_nl_domain_bindings;
15299 bindtextdomain ("", "");
15300 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15305 if ac_fn_c_try_link "$LINENO"; then :
15306 eval "$gt_func_gnugettext_libc=yes"
15308 eval "$gt_func_gnugettext_libc=no"
15310 rm -f core conftest.err conftest.$ac_objext \
15311 conftest$ac_exeext conftest.$ac_ext
15313 eval ac_res=\$$gt_func_gnugettext_libc
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15315 $as_echo "$ac_res" >&6; }
15317 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15323 am_save_CPPFLAGS="$CPPFLAGS"
15325 for element in $INCICONV; do
15327 for x in $CPPFLAGS; do
15329 acl_save_prefix="$prefix"
15330 prefix="$acl_final_prefix"
15331 acl_save_exec_prefix="$exec_prefix"
15332 exec_prefix="$acl_final_exec_prefix"
15334 exec_prefix="$acl_save_exec_prefix"
15335 prefix="$acl_save_prefix"
15337 if test "X$x" = "X$element"; then
15342 if test -z "$haveit"; then
15343 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15349 $as_echo_n "checking for iconv... " >&6; }
15350 if ${am_cv_func_iconv+:} false; then :
15351 $as_echo_n "(cached) " >&6
15354 am_cv_func_iconv="no, consider installing GNU libiconv"
15356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15357 /* end confdefs.h. */
15358 #include <stdlib.h>
15363 iconv_t cd = iconv_open("","");
15364 iconv(cd,NULL,NULL,NULL,NULL);
15370 if ac_fn_c_try_link "$LINENO"; then :
15371 am_cv_func_iconv=yes
15373 rm -f core conftest.err conftest.$ac_objext \
15374 conftest$ac_exeext conftest.$ac_ext
15375 if test "$am_cv_func_iconv" != yes; then
15376 am_save_LIBS="$LIBS"
15377 LIBS="$LIBS $LIBICONV"
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15380 #include <stdlib.h>
15385 iconv_t cd = iconv_open("","");
15386 iconv(cd,NULL,NULL,NULL,NULL);
15392 if ac_fn_c_try_link "$LINENO"; then :
15393 am_cv_lib_iconv=yes
15394 am_cv_func_iconv=yes
15396 rm -f core conftest.err conftest.$ac_objext \
15397 conftest$ac_exeext conftest.$ac_ext
15398 LIBS="$am_save_LIBS"
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15403 $as_echo "$am_cv_func_iconv" >&6; }
15404 if test "$am_cv_func_iconv" = yes; then
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15406 $as_echo_n "checking for working iconv... " >&6; }
15407 if ${am_cv_func_iconv_works+:} false; then :
15408 $as_echo_n "(cached) " >&6
15411 am_save_LIBS="$LIBS"
15412 if test $am_cv_lib_iconv = yes; then
15413 LIBS="$LIBS $LIBICONV"
15415 if test "$cross_compiling" = yes; then :
15417 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15418 *) am_cv_func_iconv_works="guessing yes" ;;
15421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15422 /* end confdefs.h. */
15425 #include <string.h>
15428 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15431 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15432 if (cd_utf8_to_88591 != (iconv_t)(-1))
15434 static const char input[] = "\342\202\254"; /* EURO SIGN */
15436 const char *inptr = input;
15437 size_t inbytesleft = strlen (input);
15438 char *outptr = buf;
15439 size_t outbytesleft = sizeof (buf);
15440 size_t res = iconv (cd_utf8_to_88591,
15441 (char **) &inptr, &inbytesleft,
15442 &outptr, &outbytesleft);
15447 /* Test against Solaris 10 bug: Failures are not distinguishable from
15448 successful returns. */
15450 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
15451 if (cd_ascii_to_88591 != (iconv_t)(-1))
15453 static const char input[] = "\263";
15455 const char *inptr = input;
15456 size_t inbytesleft = strlen (input);
15457 char *outptr = buf;
15458 size_t outbytesleft = sizeof (buf);
15459 size_t res = iconv (cd_ascii_to_88591,
15460 (char **) &inptr, &inbytesleft,
15461 &outptr, &outbytesleft);
15466 #if 0 /* This bug could be worked around by the caller. */
15467 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15469 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15470 if (cd_88591_to_utf8 != (iconv_t)(-1))
15472 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15474 const char *inptr = input;
15475 size_t inbytesleft = strlen (input);
15476 char *outptr = buf;
15477 size_t outbytesleft = sizeof (buf);
15478 size_t res = iconv (cd_88591_to_utf8,
15479 (char **) &inptr, &inbytesleft,
15480 &outptr, &outbytesleft);
15486 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15488 if (/* Try standardized names. */
15489 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15490 /* Try IRIX, OSF/1 names. */
15491 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15492 /* Try AIX names. */
15493 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15494 /* Try HP-UX names. */
15495 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15500 if ac_fn_c_try_run "$LINENO"; then :
15501 am_cv_func_iconv_works=yes
15503 am_cv_func_iconv_works=no
15505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15506 conftest.$ac_objext conftest.beam conftest.$ac_ext
15509 LIBS="$am_save_LIBS"
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15513 $as_echo "$am_cv_func_iconv_works" >&6; }
15514 case "$am_cv_func_iconv_works" in
15515 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15516 *) am_func_iconv=yes ;;
15519 am_func_iconv=no am_cv_lib_iconv=no
15521 if test "$am_func_iconv" = yes; then
15523 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15526 if test "$am_cv_lib_iconv" = yes; then
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15528 $as_echo_n "checking how to link with libiconv... " >&6; }
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15530 $as_echo "$LIBICONV" >&6; }
15532 CPPFLAGS="$am_save_CPPFLAGS"
15549 acl_save_prefix="$prefix"
15550 prefix="$acl_final_prefix"
15551 acl_save_exec_prefix="$exec_prefix"
15552 exec_prefix="$acl_final_exec_prefix"
15554 eval additional_includedir=\"$includedir\"
15555 eval additional_libdir=\"$libdir\"
15557 exec_prefix="$acl_save_exec_prefix"
15558 prefix="$acl_save_prefix"
15561 # Check whether --with-libintl-prefix was given.
15562 if test "${with_libintl_prefix+set}" = set; then :
15563 withval=$with_libintl_prefix;
15564 if test "X$withval" = "Xno"; then
15567 if test "X$withval" = "X"; then
15569 acl_save_prefix="$prefix"
15570 prefix="$acl_final_prefix"
15571 acl_save_exec_prefix="$exec_prefix"
15572 exec_prefix="$acl_final_exec_prefix"
15574 eval additional_includedir=\"$includedir\"
15575 eval additional_libdir=\"$libdir\"
15577 exec_prefix="$acl_save_exec_prefix"
15578 prefix="$acl_save_prefix"
15581 additional_includedir="$withval/include"
15582 additional_libdir="$withval/$acl_libdirstem"
15583 if test "$acl_libdirstem2" != "$acl_libdirstem" \
15584 && ! test -d "$withval/$acl_libdirstem"; then
15585 additional_libdir="$withval/$acl_libdirstem2"
15599 names_already_handled=
15600 names_next_round='intl '
15601 while test -n "$names_next_round"; do
15602 names_this_round="$names_next_round"
15604 for name in $names_this_round; do
15606 for n in $names_already_handled; do
15607 if test "$n" = "$name"; then
15608 already_handled=yes
15612 if test -z "$already_handled"; then
15613 names_already_handled="$names_already_handled $name"
15614 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15615 eval value=\"\$HAVE_LIB$uppername\"
15616 if test -n "$value"; then
15617 if test "$value" = yes; then
15618 eval value=\"\$LIB$uppername\"
15619 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15620 eval value=\"\$LTLIB$uppername\"
15621 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15630 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15631 if test -n "$acl_shlibext"; then
15632 shrext=".$acl_shlibext" # typically: shrext=.so
15636 if test $use_additional = yes; then
15637 dir="$additional_libdir"
15638 if test -n "$acl_shlibext"; then
15639 if test -f "$dir/$libname$shrext"; then
15641 found_so="$dir/$libname$shrext"
15643 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15644 ver=`(cd "$dir" && \
15645 for f in "$libname$shrext".*; do echo "$f"; done \
15646 | sed -e "s,^$libname$shrext\\\\.,," \
15647 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15648 | sed 1q ) 2>/dev/null`
15649 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15651 found_so="$dir/$libname$shrext.$ver"
15654 eval library_names=\"$acl_library_names_spec\"
15655 for f in $library_names; do
15656 if test -f "$dir/$f"; then
15665 if test "X$found_dir" = "X"; then
15666 if test -f "$dir/$libname.$acl_libext"; then
15668 found_a="$dir/$libname.$acl_libext"
15671 if test "X$found_dir" != "X"; then
15672 if test -f "$dir/$libname.la"; then
15673 found_la="$dir/$libname.la"
15677 if test "X$found_dir" = "X"; then
15678 for x in $LDFLAGS $LTLIBINTL; do
15680 acl_save_prefix="$prefix"
15681 prefix="$acl_final_prefix"
15682 acl_save_exec_prefix="$exec_prefix"
15683 exec_prefix="$acl_final_exec_prefix"
15685 exec_prefix="$acl_save_exec_prefix"
15686 prefix="$acl_save_prefix"
15690 dir=`echo "X$x" | sed -e 's/^X-L//'`
15691 if test -n "$acl_shlibext"; then
15692 if test -f "$dir/$libname$shrext"; then
15694 found_so="$dir/$libname$shrext"
15696 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15697 ver=`(cd "$dir" && \
15698 for f in "$libname$shrext".*; do echo "$f"; done \
15699 | sed -e "s,^$libname$shrext\\\\.,," \
15700 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15701 | sed 1q ) 2>/dev/null`
15702 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15704 found_so="$dir/$libname$shrext.$ver"
15707 eval library_names=\"$acl_library_names_spec\"
15708 for f in $library_names; do
15709 if test -f "$dir/$f"; then
15718 if test "X$found_dir" = "X"; then
15719 if test -f "$dir/$libname.$acl_libext"; then
15721 found_a="$dir/$libname.$acl_libext"
15724 if test "X$found_dir" != "X"; then
15725 if test -f "$dir/$libname.la"; then
15726 found_la="$dir/$libname.la"
15731 if test "X$found_dir" != "X"; then
15736 if test "X$found_dir" != "X"; then
15737 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15738 if test "X$found_so" != "X"; then
15739 if test "$enable_rpath" = no \
15740 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
15741 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
15742 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15745 for x in $ltrpathdirs; do
15746 if test "X$x" = "X$found_dir"; then
15751 if test -z "$haveit"; then
15752 ltrpathdirs="$ltrpathdirs $found_dir"
15754 if test "$acl_hardcode_direct" = yes; then
15755 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15757 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15758 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15760 for x in $rpathdirs; do
15761 if test "X$x" = "X$found_dir"; then
15766 if test -z "$haveit"; then
15767 rpathdirs="$rpathdirs $found_dir"
15771 for x in $LDFLAGS $LIBINTL; do
15773 acl_save_prefix="$prefix"
15774 prefix="$acl_final_prefix"
15775 acl_save_exec_prefix="$exec_prefix"
15776 exec_prefix="$acl_final_exec_prefix"
15778 exec_prefix="$acl_save_exec_prefix"
15779 prefix="$acl_save_prefix"
15781 if test "X$x" = "X-L$found_dir"; then
15786 if test -z "$haveit"; then
15787 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15789 if test "$acl_hardcode_minus_L" != no; then
15790 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15792 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15798 if test "X$found_a" != "X"; then
15799 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15801 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15804 additional_includedir=
15805 case "$found_dir" in
15806 */$acl_libdirstem | */$acl_libdirstem/)
15807 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15808 if test "$name" = 'intl'; then
15809 LIBINTL_PREFIX="$basedir"
15811 additional_includedir="$basedir/include"
15813 */$acl_libdirstem2 | */$acl_libdirstem2/)
15814 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15815 if test "$name" = 'intl'; then
15816 LIBINTL_PREFIX="$basedir"
15818 additional_includedir="$basedir/include"
15821 if test "X$additional_includedir" != "X"; then
15822 if test "X$additional_includedir" != "X/usr/include"; then
15824 if test "X$additional_includedir" = "X/usr/local/include"; then
15825 if test -n "$GCC"; then
15827 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15831 if test -z "$haveit"; then
15832 for x in $CPPFLAGS $INCINTL; do
15834 acl_save_prefix="$prefix"
15835 prefix="$acl_final_prefix"
15836 acl_save_exec_prefix="$exec_prefix"
15837 exec_prefix="$acl_final_exec_prefix"
15839 exec_prefix="$acl_save_exec_prefix"
15840 prefix="$acl_save_prefix"
15842 if test "X$x" = "X-I$additional_includedir"; then
15847 if test -z "$haveit"; then
15848 if test -d "$additional_includedir"; then
15849 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15855 if test -n "$found_la"; then
15856 save_libdir="$libdir"
15857 case "$found_la" in
15858 */* | *\\*) . "$found_la" ;;
15859 *) . "./$found_la" ;;
15861 libdir="$save_libdir"
15862 for dep in $dependency_libs; do
15865 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15866 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15867 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15869 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15870 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15871 if test -n "$GCC"; then
15873 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15877 if test -z "$haveit"; then
15879 for x in $LDFLAGS $LIBINTL; do
15881 acl_save_prefix="$prefix"
15882 prefix="$acl_final_prefix"
15883 acl_save_exec_prefix="$exec_prefix"
15884 exec_prefix="$acl_final_exec_prefix"
15886 exec_prefix="$acl_save_exec_prefix"
15887 prefix="$acl_save_prefix"
15889 if test "X$x" = "X-L$additional_libdir"; then
15894 if test -z "$haveit"; then
15895 if test -d "$additional_libdir"; then
15896 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15900 for x in $LDFLAGS $LTLIBINTL; do
15902 acl_save_prefix="$prefix"
15903 prefix="$acl_final_prefix"
15904 acl_save_exec_prefix="$exec_prefix"
15905 exec_prefix="$acl_final_exec_prefix"
15907 exec_prefix="$acl_save_exec_prefix"
15908 prefix="$acl_save_prefix"
15910 if test "X$x" = "X-L$additional_libdir"; then
15915 if test -z "$haveit"; then
15916 if test -d "$additional_libdir"; then
15917 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15924 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15925 if test "$enable_rpath" != no; then
15927 for x in $rpathdirs; do
15928 if test "X$x" = "X$dir"; then
15933 if test -z "$haveit"; then
15934 rpathdirs="$rpathdirs $dir"
15937 for x in $ltrpathdirs; do
15938 if test "X$x" = "X$dir"; then
15943 if test -z "$haveit"; then
15944 ltrpathdirs="$ltrpathdirs $dir"
15949 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15952 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15955 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15956 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15962 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15963 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15969 if test "X$rpathdirs" != "X"; then
15970 if test -n "$acl_hardcode_libdir_separator"; then
15972 for found_dir in $rpathdirs; do
15973 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15975 acl_save_libdir="$libdir"
15977 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15978 libdir="$acl_save_libdir"
15979 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15981 for found_dir in $rpathdirs; do
15982 acl_save_libdir="$libdir"
15983 libdir="$found_dir"
15984 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15985 libdir="$acl_save_libdir"
15986 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15990 if test "X$ltrpathdirs" != "X"; then
15991 for found_dir in $ltrpathdirs; do
15992 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16002 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16003 if eval \${$gt_func_gnugettext_libintl+:} false; then :
16004 $as_echo_n "(cached) " >&6
16006 gt_save_CPPFLAGS="$CPPFLAGS"
16007 CPPFLAGS="$CPPFLAGS $INCINTL"
16008 gt_save_LIBS="$LIBS"
16009 LIBS="$LIBS $LIBINTL"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16012 #include <libintl.h>
16013 $gt_revision_test_code
16014 extern int _nl_msg_cat_cntr;
16019 const char *_nl_expand_alias (const char *);
16023 bindtextdomain ("", "");
16024 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16029 if ac_fn_c_try_link "$LINENO"; then :
16030 eval "$gt_func_gnugettext_libintl=yes"
16032 eval "$gt_func_gnugettext_libintl=no"
16034 rm -f core conftest.err conftest.$ac_objext \
16035 conftest$ac_exeext conftest.$ac_ext
16036 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16037 LIBS="$LIBS $LIBICONV"
16038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16039 /* end confdefs.h. */
16040 #include <libintl.h>
16041 $gt_revision_test_code
16042 extern int _nl_msg_cat_cntr;
16047 const char *_nl_expand_alias (const char *);
16051 bindtextdomain ("", "");
16052 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16057 if ac_fn_c_try_link "$LINENO"; then :
16058 LIBINTL="$LIBINTL $LIBICONV"
16059 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16060 eval "$gt_func_gnugettext_libintl=yes"
16063 rm -f core conftest.err conftest.$ac_objext \
16064 conftest$ac_exeext conftest.$ac_ext
16066 CPPFLAGS="$gt_save_CPPFLAGS"
16067 LIBS="$gt_save_LIBS"
16069 eval ac_res=\$$gt_func_gnugettext_libintl
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16071 $as_echo "$ac_res" >&6; }
16074 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16075 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16076 && test "$PACKAGE" != gettext-runtime \
16077 && test "$PACKAGE" != gettext-tools; }; then
16078 gt_use_preinstalled_gnugettext=yes
16087 if test -n "$INTL_MACOSX_LIBS"; then
16088 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16089 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16090 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16091 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16095 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16096 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16098 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16106 $as_echo_n "checking whether to use NLS... " >&6; }
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16108 $as_echo "$USE_NLS" >&6; }
16109 if test "$USE_NLS" = "yes"; then
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16111 $as_echo_n "checking where the gettext function comes from... " >&6; }
16112 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16113 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16114 gt_source="external libintl"
16119 gt_source="included intl directory"
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16122 $as_echo "$gt_source" >&6; }
16125 if test "$USE_NLS" = "yes"; then
16127 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16128 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16130 $as_echo_n "checking how to link with libintl... " >&6; }
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16132 $as_echo "$LIBINTL" >&6; }
16134 for element in $INCINTL; do
16136 for x in $CPPFLAGS; do
16138 acl_save_prefix="$prefix"
16139 prefix="$acl_final_prefix"
16140 acl_save_exec_prefix="$exec_prefix"
16141 exec_prefix="$acl_final_exec_prefix"
16143 exec_prefix="$acl_save_exec_prefix"
16144 prefix="$acl_save_prefix"
16146 if test "X$x" = "X$element"; then
16151 if test -z "$haveit"; then
16152 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16159 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16162 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16171 INTLLIBS="$LIBINTL"
16180 GETTEXT_PACKAGE=PACKAGE_TARNAME
16183 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
16186 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
16189 cat >confcache <<\_ACEOF
16190 # This file is a shell script that caches the results of configure
16191 # tests run on this system so they can be shared between configure
16192 # scripts and configure runs, see configure's option --config-cache.
16193 # It is not useful on other systems. If it contains results you don't
16194 # want to keep, you may remove or edit it.
16196 # config.status only pays attention to the cache file if you give it
16197 # the --recheck option to rerun configure.
16199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16201 # following values.
16205 # The following way of writing the cache mishandles newlines in values,
16206 # but we know of no workaround that is simple, portable, and efficient.
16207 # So, we kill variables containing newlines.
16208 # Ultrix sh set writes to stderr and can't be redirected directly,
16209 # and sets the high bit in the cache file unless we assign to the vars.
16211 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16212 eval ac_val=\$$ac_var
16216 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16217 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16220 _ | IFS | as_nl) ;; #(
16221 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16222 *) { eval $ac_var=; unset $ac_var;} ;;
16228 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16229 *${as_nl}ac_space=\ *)
16230 # `set' does not quote correctly, so add quotes: double-quote
16231 # substitution turns \\\\ into \\, and sed turns \\ into \.
16234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16237 # `set' quotes correctly as required by POSIX, so do not add quotes.
16238 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16247 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16249 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16251 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16252 if test -w "$cache_file"; then
16253 if test "x$cache_file" != "x/dev/null"; then
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16255 $as_echo "$as_me: updating cache $cache_file" >&6;}
16256 if test ! -f "$cache_file" || test -h "$cache_file"; then
16257 cat confcache >"$cache_file"
16259 case $cache_file in #(
16261 mv -f confcache "$cache_file"$$ &&
16262 mv -f "$cache_file"$$ "$cache_file" ;; #(
16264 mv -f confcache "$cache_file" ;;
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16270 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16275 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16276 # Let make expand exec_prefix.
16277 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16279 DEFS=-DHAVE_CONFIG_H
16284 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16285 # 1. Remove the extension, and $U if already installed.
16286 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16287 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16289 # will be set to the directory where LIBOBJS objects are built.
16290 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16291 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16293 LIBOBJS=$ac_libobjs
16295 LTLIBOBJS=$ac_ltlibobjs
16298 if test -n "$EXEEXT"; then
16300 am__EXEEXT_FALSE='#'
16302 am__EXEEXT_TRUE='#'
16306 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16307 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16310 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16311 as_fn_error $? "conditional \"AMDEP\" was never defined.
16312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16314 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16315 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16318 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16319 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16322 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
16323 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
16324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16326 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16327 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16330 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
16331 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
16332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16334 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
16335 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
16336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16338 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
16339 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
16340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16342 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
16343 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
16344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16346 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
16347 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
16348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16351 : "${CONFIG_STATUS=./config.status}"
16353 ac_clean_files_save=$ac_clean_files
16354 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16356 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16358 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16360 # Generated by $as_me.
16361 # Run this file to recreate the current configuration.
16362 # Compiler output produced by configure, useful for debugging
16363 # configure, is in config.log if it exists.
16366 ac_cs_recheck=false
16369 SHELL=\${CONFIG_SHELL-$SHELL}
16372 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16373 ## -------------------- ##
16374 ## M4sh Initialization. ##
16375 ## -------------------- ##
16377 # Be more Bourne compatible
16378 DUALCASE=1; export DUALCASE # for MKS sh
16379 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16382 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16383 # is contrary to our usage. Disable this feature.
16384 alias -g '${1+"$@"}'='"$@"'
16385 setopt NO_GLOB_SUBST
16387 case `(set -o) 2>/dev/null` in #(
16399 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16400 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16401 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16402 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16403 # Prefer a ksh shell builtin over an external printf program on Solaris,
16404 # but without wasting forks for bash or zsh.
16405 if test -z "$BASH_VERSION$ZSH_VERSION" \
16406 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16407 as_echo='print -r --'
16408 as_echo_n='print -rn --'
16409 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16410 as_echo='printf %s\n'
16411 as_echo_n='printf %s'
16413 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16414 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16415 as_echo_n='/usr/ucb/echo -n'
16417 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16418 as_echo_n_body='eval
16422 expr "X$arg" : "X\\(.*\\)$as_nl";
16423 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16425 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16427 export as_echo_n_body
16428 as_echo_n='sh -c $as_echo_n_body as_echo'
16430 export as_echo_body
16431 as_echo='sh -c $as_echo_body as_echo'
16434 # The user is always right.
16435 if test "${PATH_SEPARATOR+set}" != set; then
16437 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16438 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16445 # We need space, tab and new line, in precisely that order. Quoting is
16446 # there to prevent editors from complaining about space-tab.
16447 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16448 # splitting by setting IFS to empty value.)
16451 # Find who we are. Look in the path if we contain no directory separator.
16454 *[\\/]* ) as_myself=$0 ;;
16455 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16456 for as_dir in $PATH
16459 test -z "$as_dir" && as_dir=.
16460 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16466 # We did not find ourselves, most probably we were run as `sh COMMAND'
16467 # in which case we are not to be found in the path.
16468 if test "x$as_myself" = x; then
16471 if test ! -f "$as_myself"; then
16472 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16476 # Unset variables that we do not need and which cause bugs (e.g. in
16477 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16478 # suppresses any "Segmentation fault" message there. '((' could
16479 # trigger a bug in pdksh 5.2.14.
16480 for as_var in BASH_ENV ENV MAIL MAILPATH
16481 do eval test x\${$as_var+set} = xset \
16482 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16495 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16498 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16499 # ----------------------------------------
16500 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16501 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16502 # script with STATUS, using 1 if that was 0.
16505 as_status=$1; test $as_status -eq 0 && as_status=1
16507 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16508 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16510 $as_echo "$as_me: error: $2" >&2
16511 as_fn_exit $as_status
16515 # as_fn_set_status STATUS
16516 # -----------------------
16517 # Set $? to STATUS, without forking.
16518 as_fn_set_status ()
16521 } # as_fn_set_status
16523 # as_fn_exit STATUS
16524 # -----------------
16525 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16529 as_fn_set_status $1
16535 # Portably unset VAR.
16538 { eval $1=; unset $1;}
16540 as_unset=as_fn_unset
16541 # as_fn_append VAR VALUE
16542 # ----------------------
16543 # Append the text in VALUE to the end of the definition contained in VAR. Take
16544 # advantage of any shell optimizations that allow amortized linear growth over
16545 # repeated appends, instead of the typical quadratic growth present in naive
16547 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16548 eval 'as_fn_append ()
16559 # as_fn_arith ARG...
16560 # ------------------
16561 # Perform arithmetic evaluation on the ARGs, and store the result in the
16562 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16563 # must be portable across $(()) and expr.
16564 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16565 eval 'as_fn_arith ()
16572 as_val=`expr "$@" || test $? -eq 1`
16577 if expr a : '\(a\)' >/dev/null 2>&1 &&
16578 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16584 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16585 as_basename=basename
16590 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16596 as_me=`$as_basename -- "$0" ||
16597 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16598 X"$0" : 'X\(//\)$' \| \
16599 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16601 sed '/^.*\/\([^/][^/]*\)\/*$/{
16615 # Avoid depending upon Character Ranges.
16616 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16617 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16618 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16619 as_cr_digits='0123456789'
16620 as_cr_alnum=$as_cr_Letters$as_cr_digits
16622 ECHO_C= ECHO_N= ECHO_T=
16623 case `echo -n x` in #(((((
16625 case `echo 'xy\c'` in
16626 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16628 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16635 rm -f conf$$ conf$$.exe conf$$.file
16636 if test -d conf$$.dir; then
16637 rm -f conf$$.dir/conf$$.file
16640 mkdir conf$$.dir 2>/dev/null
16642 if (echo >conf$$.file) 2>/dev/null; then
16643 if ln -s conf$$.file conf$$ 2>/dev/null; then
16645 # ... but there are two gotchas:
16646 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16647 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16648 # In both cases, we have to default to `cp -p'.
16649 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16651 elif ln conf$$.file conf$$ 2>/dev/null; then
16659 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16660 rmdir conf$$.dir 2>/dev/null
16665 # Create "$as_dir" as a directory, including parents if necessary.
16670 -*) as_dir=./$as_dir;;
16672 test -d "$as_dir" || eval $as_mkdir_p || {
16676 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16677 *) as_qdir=$as_dir;;
16679 as_dirs="'$as_qdir' $as_dirs"
16680 as_dir=`$as_dirname -- "$as_dir" ||
16681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16682 X"$as_dir" : 'X\(//\)[^/]' \| \
16683 X"$as_dir" : 'X\(//\)$' \| \
16684 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16685 $as_echo X"$as_dir" |
16686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16690 /^X\(\/\/\)[^/].*/{
16703 test -d "$as_dir" && break
16705 test -z "$as_dirs" || eval "mkdir $as_dirs"
16706 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16710 if mkdir -p . 2>/dev/null; then
16711 as_mkdir_p='mkdir -p "$as_dir"'
16713 test -d ./-p && rmdir ./-p
16717 if test -x / >/dev/null 2>&1; then
16718 as_test_x='test -x'
16720 if ls -dL / >/dev/null 2>&1; then
16727 if test -d "$1"; then
16733 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16734 ???[sx]*):;;*)false;;esac;fi
16738 as_executable_p=$as_test_x
16740 # Sed expression to map a string onto a valid CPP name.
16741 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16743 # Sed expression to map a string onto a valid variable name.
16744 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16748 ## ----------------------------------- ##
16749 ## Main body of $CONFIG_STATUS script. ##
16750 ## ----------------------------------- ##
16752 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16755 # Save the log message, to keep $0 and so on meaningful, and to
16756 # report actual input values of CONFIG_FILES etc. instead of their
16757 # values after options handling.
16759 This file was extended by Moonshot-ui $as_me 0.1, which was
16760 generated by GNU Autoconf 2.68. Invocation command line was
16762 CONFIG_FILES = $CONFIG_FILES
16763 CONFIG_HEADERS = $CONFIG_HEADERS
16764 CONFIG_LINKS = $CONFIG_LINKS
16765 CONFIG_COMMANDS = $CONFIG_COMMANDS
16768 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16773 case $ac_config_files in *"
16774 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16777 case $ac_config_headers in *"
16778 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16783 # Files that config.status was made for.
16784 config_files="$ac_config_files"
16785 config_headers="$ac_config_headers"
16786 config_commands="$ac_config_commands"
16790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16792 \`$as_me' instantiates files and other configuration actions
16793 from templates according to the current configuration. Unless the files
16794 and actions are specified as TAGs, all are instantiated by default.
16796 Usage: $0 [OPTION]... [TAG]...
16798 -h, --help print this help, then exit
16799 -V, --version print version number and configuration settings, then exit
16800 --config print configuration, then exit
16801 -q, --quiet, --silent
16802 do not print progress messages
16803 -d, --debug don't remove temporary files
16804 --recheck update $as_me by reconfiguring in the same conditions
16805 --file=FILE[:TEMPLATE]
16806 instantiate the configuration file FILE
16807 --header=FILE[:TEMPLATE]
16808 instantiate the configuration header FILE
16810 Configuration files:
16813 Configuration headers:
16816 Configuration commands:
16819 Report bugs to <moonshot-community@jiscmail.ac.uk>."
16822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16823 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16825 Moonshot-ui config.status 0.1
16826 configured by $0, generated by GNU Autoconf 2.68,
16827 with options \\"\$ac_cs_config\\"
16829 Copyright (C) 2010 Free Software Foundation, Inc.
16830 This config.status script is free software; the Free Software Foundation
16831 gives unlimited permission to copy, distribute and modify it."
16838 test -n "\$AWK" || AWK=awk
16841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16842 # The default lists apply if the user does not specify any file.
16848 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16849 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16853 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16865 # Handling of the options.
16866 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16868 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16869 $as_echo "$ac_cs_version"; exit ;;
16870 --config | --confi | --conf | --con | --co | --c )
16871 $as_echo "$ac_cs_config"; exit ;;
16872 --debug | --debu | --deb | --de | --d | -d )
16874 --file | --fil | --fi | --f )
16877 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16878 '') as_fn_error $? "missing file argument" ;;
16880 as_fn_append CONFIG_FILES " '$ac_optarg'"
16881 ac_need_defaults=false;;
16882 --header | --heade | --head | --hea )
16885 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16887 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16888 ac_need_defaults=false;;
16890 # Conflict between --help and --header
16891 as_fn_error $? "ambiguous option: \`$1'
16892 Try \`$0 --help' for more information.";;
16893 --help | --hel | -h )
16894 $as_echo "$ac_cs_usage"; exit ;;
16895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16896 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16899 # This is an error.
16900 -*) as_fn_error $? "unrecognized option: \`$1'
16901 Try \`$0 --help' for more information." ;;
16903 *) as_fn_append ac_config_targets " $1"
16904 ac_need_defaults=false ;;
16910 ac_configure_extra_args=
16912 if $ac_cs_silent; then
16914 ac_configure_extra_args="$ac_configure_extra_args --silent"
16918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16919 if \$ac_cs_recheck; then
16920 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16922 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16923 CONFIG_SHELL='$SHELL'
16924 export CONFIG_SHELL
16929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16933 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16934 ## Running $as_me. ##
16940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16944 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16947 # The HP-UX ksh and POSIX shell print the target directory to stdout
16948 # if CDPATH is set.
16949 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16951 sed_quote_subst='$sed_quote_subst'
16952 double_quote_subst='$double_quote_subst'
16953 delay_variable_subst='$delay_variable_subst'
16954 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16955 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16956 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16957 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16958 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16959 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16960 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16961 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16962 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16963 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16964 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16965 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16966 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16967 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16968 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16969 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16970 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16971 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16972 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16973 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16974 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16975 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16976 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16977 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16978 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16979 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16980 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16981 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16982 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16983 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16984 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16985 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16986 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16987 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16988 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16989 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16990 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16991 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16992 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16993 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16994 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16995 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16996 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16997 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16998 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16999 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17000 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17001 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17002 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17003 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17004 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17005 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17006 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17007 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17008 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17009 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17010 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17011 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"`'
17012 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17013 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17014 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17015 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17016 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17017 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17018 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17019 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17020 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17021 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17022 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17023 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17024 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17025 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17026 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17027 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17028 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17029 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17030 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17031 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17032 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17033 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17034 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17035 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17036 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17037 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17038 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17039 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17040 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17041 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17042 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17043 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17044 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17045 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17046 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17047 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17048 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17049 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17050 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17051 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17052 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17053 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17054 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17055 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17056 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17057 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17058 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17059 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17060 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17061 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17062 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17063 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17064 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17065 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17066 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17067 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17068 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17069 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17070 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17071 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17072 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17073 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17074 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17075 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17076 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17077 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17078 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17079 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17080 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17081 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17082 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17083 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17084 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17087 LTCFLAGS='$LTCFLAGS'
17088 compiler='$compiler_DEFAULT'
17090 # A function that is used when there is no print builtin or printf.
17091 func_fallback_echo ()
17093 eval 'cat <<_LTECHO_EOF
17098 # Quote evaled strings.
17115 deplibs_check_method \
17119 sharedlib_from_linklib_cmd \
17122 archiver_list_spec \
17128 lt_cv_sys_global_symbol_pipe \
17129 lt_cv_sys_global_symbol_to_cdecl \
17130 lt_cv_sys_global_symbol_to_c_name_address \
17131 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17132 nm_file_list_spec \
17133 lt_prog_compiler_no_builtin_flag \
17134 lt_prog_compiler_pic \
17135 lt_prog_compiler_wl \
17136 lt_prog_compiler_static \
17137 lt_cv_prog_compiler_c_o \
17146 export_dynamic_flag_spec \
17147 whole_archive_flag_spec \
17148 compiler_needs_object \
17150 allow_undefined_flag \
17151 no_undefined_flag \
17152 hardcode_libdir_flag_spec \
17153 hardcode_libdir_separator \
17157 variables_saved_for_relink \
17159 library_names_spec \
17161 install_override_mode \
17165 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17166 *[\\\\\\\`\\"\\\$]*)
17167 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17170 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17175 # Double-quote double-evaled strings.
17176 for var in reload_cmds \
17177 old_postinstall_cmds \
17178 old_postuninstall_cmds \
17180 extract_expsyms_cmds \
17181 old_archive_from_new_cmds \
17182 old_archive_from_expsyms_cmds \
17184 archive_expsym_cmds \
17186 module_expsym_cmds \
17187 export_symbols_cmds \
17191 postuninstall_cmds \
17193 sys_lib_search_path_spec \
17194 sys_lib_dlsearch_path_spec; do
17195 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17196 *[\\\\\\\`\\"\\\$]*)
17197 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17200 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17205 ac_aux_dir='$ac_aux_dir'
17206 xsi_shell='$xsi_shell'
17207 lt_shell_append='$lt_shell_append'
17209 # See if we are running on zsh, and set the options which allow our
17210 # commands through without removal of \ escapes INIT.
17211 if test -n "\${ZSH_VERSION+set}" ; then
17212 setopt NO_GLOB_SUBST
17218 TIMESTAMP='$TIMESTAMP'
17224 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17225 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17226 # from automake < 1.5.
17227 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17228 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17229 LINGUAS="${LINGUAS-%UNSET%}"
17234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17236 # Handling of arguments.
17237 for ac_config_target in $ac_config_targets
17239 case $ac_config_target in
17240 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17241 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17242 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17243 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17244 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17245 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17246 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
17247 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
17248 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
17250 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17255 # If the user did not use the arguments to specify the items to instantiate,
17256 # then the envvar interface is used. Set only those that are not.
17257 # We use the long form for the default assignment because of an extremely
17258 # bizarre bug on SunOS 4.1.3.
17259 if $ac_need_defaults; then
17260 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17261 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17262 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17265 # Have a temporary directory for convenience. Make it in the build tree
17266 # simply because there is no reason against having it here, and in addition,
17267 # creating and moving files from /tmp can sometimes cause problems.
17268 # Hook for its removal unless debugging.
17269 # Note that there is a small window in which the directory will not be cleaned:
17270 # after its creation but before its name has been assigned to `$tmp'.
17274 trap 'exit_status=$?
17275 : "${ac_tmp:=$tmp}"
17276 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17278 trap 'as_fn_exit 1' 1 2 13 15
17280 # Create a (secure) tmp directory for tmp files.
17283 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17287 tmp=./conf$$-$RANDOM
17288 (umask 077 && mkdir "$tmp")
17289 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17292 # Set up the scripts for CONFIG_FILES section.
17293 # No need to generate them if there are no CONFIG_FILES.
17294 # This happens for instance with `./config.status config.h'.
17295 if test -n "$CONFIG_FILES"; then
17298 ac_cr=`echo X | tr X '\015'`
17299 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17300 # But we know of no other shell where ac_cr would be empty at this
17301 # point, so we can use a bashism as a fallback.
17302 if test "x$ac_cr" = x; then
17303 eval ac_cr=\$\'\\r\'
17305 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17306 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17309 ac_cs_awk_cr=$ac_cr
17312 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17317 echo "cat >conf$$subs.awk <<_ACEOF" &&
17318 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17320 } >conf$$subs.sh ||
17321 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17322 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17324 for ac_last_try in false false false false false :; do
17325 . ./conf$$subs.sh ||
17326 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17328 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17329 if test $ac_delim_n = $ac_delim_num; then
17331 elif $ac_last_try; then
17332 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17334 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17337 rm -f conf$$subs.sh
17339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17340 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17344 s/^/S["/; s/!.*/"]=/
17354 s/\(.\{148\}\)..*/\1/
17356 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17361 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17368 s/\(.\{148\}\)..*/\1/
17370 s/["\\]/\\&/g; s/^/"/; s/$/"/
17374 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17379 ' <conf$$subs.awk | sed '
17384 ' >>$CONFIG_STATUS || ac_write_fail=1
17385 rm -f conf$$subs.awk
17386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17388 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17389 for (key in S) S_is_set[key] = 1
17395 nfields = split(line, field, "@")
17397 len = length(field[1])
17398 for (i = 2; i < nfields; i++) {
17400 keylen = length(key)
17401 if (S_is_set[key]) {
17403 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17404 len += length(value) + length(field[++i])
17415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17416 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17417 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17420 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17421 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17424 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17425 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17426 # trailing colons and then remove the whole line if VPATH becomes empty
17427 # (actually we leave an empty line to preserve line numbers).
17428 if test "x$srcdir" = x.; then
17429 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17448 fi # test -n "$CONFIG_FILES"
17450 # Set up the scripts for CONFIG_HEADERS section.
17451 # No need to generate them if there are no CONFIG_HEADERS.
17452 # This happens for instance with `./config.status Makefile'.
17453 if test -n "$CONFIG_HEADERS"; then
17454 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17458 # Transform confdefs.h into an awk script `defines.awk', embedded as
17459 # here-document in config.status, that substitutes the proper values into
17460 # config.h.in to produce config.h.
17462 # Create a delimiter string that does not exist in confdefs.h, to ease
17463 # handling of long lines.
17465 for ac_last_try in false false :; do
17466 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17467 if test -z "$ac_tt"; then
17469 elif $ac_last_try; then
17470 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17476 # For the awk script, D is an array of macro values keyed by name,
17477 # likewise P contains macro parameters if any. Preserve backslash
17478 # newline sequences.
17480 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17482 s/.\{148\}/&'"$ac_delim"'/g
17485 s/^[ ]*#[ ]*define[ ][ ]*/ /
17492 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17494 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17498 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17499 D["\1"]=" \3\\\\\\n"\\/p
17501 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17506 s/.\{148\}/&'"$ac_delim"'/g
17511 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17514 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17516 ' <confdefs.h | sed '
17517 s/'"$ac_delim"'/"\\\
17518 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17521 for (key in D) D_is_set[key] = 1
17524 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17526 split(line, arg, " ")
17527 if (arg[1] == "#") {
17531 defundef = substr(arg[1], 2)
17534 split(mac1, mac2, "(") #)
17536 prefix = substr(line, 1, index(line, defundef) - 1)
17537 if (D_is_set[macro]) {
17538 # Preserve the white space surrounding the "#".
17539 print prefix "define", macro P[macro] D[macro]
17542 # Replace #undef with comments. This is necessary, for example,
17543 # in the case of _POSIX_SOURCE, which is predefined and required
17544 # on some systems where configure will not decide to define it.
17545 if (defundef == "undef") {
17546 print "/*", prefix defundef, macro, "*/"
17554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17555 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17556 fi # test -n "$CONFIG_HEADERS"
17559 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17564 :[FHLC]) ac_mode=$ac_tag; continue;;
17566 case $ac_mode$ac_tag in
17568 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17569 :[FH]-) ac_tag=-:-;;
17570 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17587 -) ac_f="$ac_tmp/stdin";;
17588 *) # Look for the file first in the build tree, then in the source tree
17589 # (if the path is not absolute). The absolute path cannot be DOS-style,
17590 # because $ac_f cannot contain `:'.
17594 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17596 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17598 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17599 as_fn_append ac_file_inputs " '$ac_f'"
17602 # Let's still pretend it is `configure' which instantiates (i.e., don't
17603 # use $as_me), people would be surprised to read:
17604 # /* config.h. Generated by config.status. */
17605 configure_input='Generated from '`
17606 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17608 if test x"$ac_file" != x-; then
17609 configure_input="$ac_file. $configure_input"
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17611 $as_echo "$as_me: creating $ac_file" >&6;}
17613 # Neutralize special characters interpreted by sed in replacement strings.
17614 case $configure_input in #(
17615 *\&* | *\|* | *\\* )
17616 ac_sed_conf_input=`$as_echo "$configure_input" |
17617 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17618 *) ac_sed_conf_input=$configure_input;;
17622 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17628 ac_dir=`$as_dirname -- "$ac_file" ||
17629 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17630 X"$ac_file" : 'X\(//\)[^/]' \| \
17631 X"$ac_file" : 'X\(//\)$' \| \
17632 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17633 $as_echo X"$ac_file" |
17634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17638 /^X\(\/\/\)[^/].*/{
17651 as_dir="$ac_dir"; as_fn_mkdir_p
17655 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17657 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17658 # A ".." for each directory in $ac_dir_suffix.
17659 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17660 case $ac_top_builddir_sub in
17661 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17662 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17665 ac_abs_top_builddir=$ac_pwd
17666 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17667 # for backward compatibility:
17668 ac_top_builddir=$ac_top_build_prefix
17671 .) # We are building in place.
17673 ac_top_srcdir=$ac_top_builddir_sub
17674 ac_abs_top_srcdir=$ac_pwd ;;
17675 [\\/]* | ?:[\\/]* ) # Absolute name.
17676 ac_srcdir=$srcdir$ac_dir_suffix;
17677 ac_top_srcdir=$srcdir
17678 ac_abs_top_srcdir=$srcdir ;;
17679 *) # Relative name.
17680 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17681 ac_top_srcdir=$ac_top_build_prefix$srcdir
17682 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17684 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17694 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17695 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17697 ac_MKDIR_P=$MKDIR_P
17699 [\\/$]* | ?:[\\/]* ) ;;
17700 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17705 # If the template does not know about datarootdir, expand it.
17706 # FIXME: This hack should be removed a few years after 2.60.
17707 ac_datarootdir_hack=; ac_datarootdir_seen=
17718 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17719 *datarootdir*) ac_datarootdir_seen=yes;;
17720 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17722 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17725 ac_datarootdir_hack='
17726 s&@datadir@&$datadir&g
17727 s&@docdir@&$docdir&g
17728 s&@infodir@&$infodir&g
17729 s&@localedir@&$localedir&g
17730 s&@mandir@&$mandir&g
17731 s&\\\${datarootdir}&$datarootdir&g' ;;
17735 # Neutralize VPATH when `$srcdir' = `.'.
17736 # Shell code in configure.ac might set extrasub.
17737 # FIXME: do we really want to maintain this feature?
17738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17739 ac_sed_extra="$ac_vpsub
17742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17744 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17745 s|@configure_input@|$ac_sed_conf_input|;t t
17746 s&@top_builddir@&$ac_top_builddir_sub&;t t
17747 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17748 s&@srcdir@&$ac_srcdir&;t t
17749 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17750 s&@top_srcdir@&$ac_top_srcdir&;t t
17751 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17752 s&@builddir@&$ac_builddir&;t t
17753 s&@abs_builddir@&$ac_abs_builddir&;t t
17754 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17755 s&@INSTALL@&$ac_INSTALL&;t t
17756 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17757 $ac_datarootdir_hack
17759 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17760 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17762 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17763 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17764 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17765 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17767 which seems to be undefined. Please make sure it is defined" >&5
17768 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17769 which seems to be undefined. Please make sure it is defined" >&2;}
17771 rm -f "$ac_tmp/stdin"
17773 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17774 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17776 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17782 if test x"$ac_file" != x-; then
17784 $as_echo "/* $configure_input */" \
17785 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17786 } >"$ac_tmp/config.h" \
17787 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17788 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17790 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17793 mv "$ac_tmp/config.h" "$ac_file" \
17794 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17797 $as_echo "/* $configure_input */" \
17798 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17799 || as_fn_error $? "could not create -" "$LINENO" 5
17801 # Compute "$ac_file"'s index in $config_headers.
17804 for _am_header in $config_headers :; do
17805 case $_am_header in
17806 $_am_arg | $_am_arg:* )
17809 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17812 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17813 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17814 X"$_am_arg" : 'X\(//\)[^/]' \| \
17815 X"$_am_arg" : 'X\(//\)$' \| \
17816 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17817 $as_echo X"$_am_arg" |
17818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17822 /^X\(\/\/\)[^/].*/{
17834 s/.*/./; q'`/stamp-h$_am_stamp_count
17837 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17838 $as_echo "$as_me: executing $ac_file commands" >&6;}
17843 case $ac_file$ac_mode in
17844 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17845 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17846 # are listed without --file. Let's play safe and only enable the eval
17847 # if we detect the quoting.
17848 case $CONFIG_FILES in
17849 *\'*) eval set x "$CONFIG_FILES" ;;
17850 *) set x $CONFIG_FILES ;;
17855 # Strip MF so we end up with the name of the file.
17856 mf=`echo "$mf" | sed -e 's/:.*$//'`
17857 # Check whether this is an Automake generated Makefile or not.
17858 # We used to match only the files named `Makefile.in', but
17859 # some people rename them; so instead we look at the file content.
17860 # Grep'ing the first line is not enough: some people post-process
17861 # each Makefile.in and add a new line on top of each file to say so.
17862 # Grep'ing the whole file is not good either: AIX grep has a line
17863 # limit of 2048, but all sed's we know have understand at least 4000.
17864 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17865 dirpart=`$as_dirname -- "$mf" ||
17866 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17867 X"$mf" : 'X\(//\)[^/]' \| \
17868 X"$mf" : 'X\(//\)$' \| \
17869 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17875 /^X\(\/\/\)[^/].*/{
17891 # Extract the definition of DEPDIR, am__include, and am__quote
17892 # from the Makefile without running `make'.
17893 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17894 test -z "$DEPDIR" && continue
17895 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17896 test -z "am__include" && continue
17897 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17898 # When using ansi2knr, U may be empty or an underscore; expand it
17899 U=`sed -n 's/^U = //p' < "$mf"`
17900 # Find all dependency output files, they are included files with
17901 # $(DEPDIR) in their names. We invoke sed twice because it is the
17902 # simplest approach to changing $(DEPDIR) to its actual value in the
17904 for file in `sed -n "
17905 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17906 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17907 # Make sure the directory exists.
17908 test -f "$dirpart/$file" && continue
17909 fdir=`$as_dirname -- "$file" ||
17910 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17911 X"$file" : 'X\(//\)[^/]' \| \
17912 X"$file" : 'X\(//\)$' \| \
17913 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17914 $as_echo X"$file" |
17915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17919 /^X\(\/\/\)[^/].*/{
17932 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17933 # echo "creating $dirpart/$file"
17934 echo '# dummy' > "$dirpart/$file"
17941 # See if we are running on zsh, and set the options which allow our
17942 # commands through without removal of \ escapes.
17943 if test -n "${ZSH_VERSION+set}" ; then
17944 setopt NO_GLOB_SUBST
17947 cfgfile="${ofile}T"
17948 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17951 cat <<_LT_EOF >> "$cfgfile"
17954 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17955 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17956 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17957 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17959 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17960 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17962 # Written by Gordon Matzigkeit, 1996
17964 # This file is part of GNU Libtool.
17966 # GNU Libtool is free software; you can redistribute it and/or
17967 # modify it under the terms of the GNU General Public License as
17968 # published by the Free Software Foundation; either version 2 of
17969 # the License, or (at your option) any later version.
17971 # As a special exception to the GNU General Public License,
17972 # if you distribute this file as part of a program or library that
17973 # is built using GNU Libtool, you may include this file under the
17974 # same distribution terms that you use for the rest of that program.
17976 # GNU Libtool is distributed in the hope that it will be useful,
17977 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17978 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17979 # GNU General Public License for more details.
17981 # You should have received a copy of the GNU General Public License
17982 # along with GNU Libtool; see the file COPYING. If not, a copy
17983 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17984 # obtained by writing to the Free Software Foundation, Inc.,
17985 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17988 # The names of the tagged configurations supported by this script.
17991 # ### BEGIN LIBTOOL CONFIG
17993 # Which release of libtool.m4 was used?
17994 macro_version=$macro_version
17995 macro_revision=$macro_revision
17997 # Assembler program.
18000 # DLL creation program.
18001 DLLTOOL=$lt_DLLTOOL
18003 # Object dumper program.
18004 OBJDUMP=$lt_OBJDUMP
18006 # Whether or not to build shared libraries.
18007 build_libtool_libs=$enable_shared
18009 # Whether or not to build static libraries.
18010 build_old_libs=$enable_static
18012 # What type of objects to build.
18015 # Whether or not to optimize for fast installation.
18016 fast_install=$enable_fast_install
18018 # Shell to use when invoking shell scripts.
18021 # An echo program that protects backslashes.
18024 # The PATH separator for the build system.
18025 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18028 host_alias=$host_alias
18032 # The build system.
18033 build_alias=$build_alias
18037 # A sed program that does not truncate output.
18040 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18041 Xsed="\$SED -e 1s/^X//"
18043 # A grep program that handles long lines.
18049 # A literal string matcher.
18052 # A BSD- or MS-compatible name lister.
18055 # Whether we need soft or hard links.
18058 # What is the maximum length of a command?
18059 max_cmd_len=$max_cmd_len
18061 # Object file suffix (normally "o").
18064 # Executable file suffix (normally "").
18067 # whether the shell understands "unset".
18070 # turn spaces into newlines.
18073 # turn newlines into spaces.
18076 # convert \$build file names to \$host format.
18077 to_host_file_cmd=$lt_cv_to_host_file_cmd
18079 # convert \$build files to toolchain format.
18080 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18082 # Method to check whether dependent libraries are shared objects.
18083 deplibs_check_method=$lt_deplibs_check_method
18085 # Command to use when deplibs_check_method = "file_magic".
18086 file_magic_cmd=$lt_file_magic_cmd
18088 # How to find potential files when deplibs_check_method = "file_magic".
18089 file_magic_glob=$lt_file_magic_glob
18091 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18092 want_nocaseglob=$lt_want_nocaseglob
18094 # Command to associate shared and link libraries.
18095 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18100 # Flags to create an archive.
18101 AR_FLAGS=$lt_AR_FLAGS
18103 # How to feed a file listing to the archiver.
18104 archiver_list_spec=$lt_archiver_list_spec
18106 # A symbol stripping program.
18109 # Commands used to install an old-style archive.
18111 old_postinstall_cmds=$lt_old_postinstall_cmds
18112 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18114 # Whether to use a lock for old archive extraction.
18115 lock_old_archive_extraction=$lock_old_archive_extraction
18120 # LTCC compiler flags.
18121 LTCFLAGS=$lt_CFLAGS
18123 # Take the output of nm and produce a listing of raw symbols and C names.
18124 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18126 # Transform the output of nm in a proper C declaration.
18127 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18129 # Transform the output of nm in a C name address pair.
18130 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18132 # Transform the output of nm in a C name address pair when lib prefix is needed.
18133 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18135 # Specify filename containing input files for \$NM.
18136 nm_file_list_spec=$lt_nm_file_list_spec
18138 # The root where to search for dependent libraries,and in which our libraries should be installed.
18139 lt_sysroot=$lt_sysroot
18141 # The name of the directory that contains temporary libtool files.
18144 # Used to examine libraries when file_magic_cmd begins with "file".
18145 MAGIC_CMD=$MAGIC_CMD
18147 # Must we lock files when doing compilation?
18148 need_locks=$lt_need_locks
18151 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18153 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18154 DSYMUTIL=$lt_DSYMUTIL
18156 # Tool to change global to local symbols on Mac OS X.
18159 # Tool to manipulate fat objects and archives on Mac OS X.
18162 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18165 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18166 OTOOL64=$lt_OTOOL64
18168 # Old archive suffix (normally "a").
18171 # Shared library suffix (normally ".so").
18172 shrext_cmds=$lt_shrext_cmds
18174 # The commands to extract the exported symbol list from a shared archive.
18175 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18177 # Variables whose values should be saved in libtool wrapper scripts and
18178 # restored at link time.
18179 variables_saved_for_relink=$lt_variables_saved_for_relink
18181 # Do we need the "lib" prefix for modules?
18182 need_lib_prefix=$need_lib_prefix
18184 # Do we need a version for libraries?
18185 need_version=$need_version
18187 # Library versioning type.
18188 version_type=$version_type
18190 # Shared library runtime path variable.
18191 runpath_var=$runpath_var
18193 # Shared library path variable.
18194 shlibpath_var=$shlibpath_var
18196 # Is shlibpath searched before the hard-coded library search path?
18197 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18199 # Format of library name prefix.
18200 libname_spec=$lt_libname_spec
18202 # List of archive names. First name is the real one, the rest are links.
18203 # The last name is the one that the linker finds with -lNAME
18204 library_names_spec=$lt_library_names_spec
18206 # The coded name of the library, if different from the real name.
18207 soname_spec=$lt_soname_spec
18209 # Permission mode override for installation of shared libraries.
18210 install_override_mode=$lt_install_override_mode
18212 # Command to use after installation of a shared archive.
18213 postinstall_cmds=$lt_postinstall_cmds
18215 # Command to use after uninstallation of a shared archive.
18216 postuninstall_cmds=$lt_postuninstall_cmds
18218 # Commands used to finish a libtool library installation in a directory.
18219 finish_cmds=$lt_finish_cmds
18221 # As "finish_cmds", except a single script fragment to be evaled but
18223 finish_eval=$lt_finish_eval
18225 # Whether we should hardcode library paths into libraries.
18226 hardcode_into_libs=$hardcode_into_libs
18228 # Compile-time system search path for libraries.
18229 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18231 # Run-time system search path for libraries.
18232 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18234 # Whether dlopen is supported.
18235 dlopen_support=$enable_dlopen
18237 # Whether dlopen of programs is supported.
18238 dlopen_self=$enable_dlopen_self
18240 # Whether dlopen of statically linked programs is supported.
18241 dlopen_self_static=$enable_dlopen_self_static
18243 # Commands to strip libraries.
18244 old_striplib=$lt_old_striplib
18245 striplib=$lt_striplib
18248 # The linker used to build libraries.
18251 # How to create reloadable object files.
18252 reload_flag=$lt_reload_flag
18253 reload_cmds=$lt_reload_cmds
18255 # Commands used to build an old-style archive.
18256 old_archive_cmds=$lt_old_archive_cmds
18258 # A language specific compiler.
18261 # Is the compiler the GNU compiler?
18264 # Compiler flag to turn off builtin functions.
18265 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18267 # Additional compiler flags for building library objects.
18268 pic_flag=$lt_lt_prog_compiler_pic
18270 # How to pass a linker flag through the compiler.
18271 wl=$lt_lt_prog_compiler_wl
18273 # Compiler flag to prevent dynamic linking.
18274 link_static_flag=$lt_lt_prog_compiler_static
18276 # Does compiler simultaneously support -c and -o options?
18277 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18279 # Whether or not to add -lc for building shared libraries.
18280 build_libtool_need_lc=$archive_cmds_need_lc
18282 # Whether or not to disallow shared libs when runtime libs are static.
18283 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18285 # Compiler flag to allow reflexive dlopens.
18286 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18288 # Compiler flag to generate shared objects directly from archives.
18289 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18291 # Whether the compiler copes with passing no objects directly.
18292 compiler_needs_object=$lt_compiler_needs_object
18294 # Create an old-style archive from a shared archive.
18295 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18297 # Create a temporary old-style archive to link instead of a shared archive.
18298 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18300 # Commands used to build a shared archive.
18301 archive_cmds=$lt_archive_cmds
18302 archive_expsym_cmds=$lt_archive_expsym_cmds
18304 # Commands used to build a loadable module if different from building
18305 # a shared archive.
18306 module_cmds=$lt_module_cmds
18307 module_expsym_cmds=$lt_module_expsym_cmds
18309 # Whether we are building with GNU ld or not.
18310 with_gnu_ld=$lt_with_gnu_ld
18312 # Flag that allows shared libraries with undefined symbols to be built.
18313 allow_undefined_flag=$lt_allow_undefined_flag
18315 # Flag that enforces no undefined symbols.
18316 no_undefined_flag=$lt_no_undefined_flag
18318 # Flag to hardcode \$libdir into a binary during linking.
18319 # This must work even if \$libdir does not exist
18320 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18322 # Whether we need a single "-rpath" flag with a separated argument.
18323 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18325 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18326 # DIR into the resulting binary.
18327 hardcode_direct=$hardcode_direct
18329 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18330 # DIR into the resulting binary and the resulting library dependency is
18331 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18332 # library is relocated.
18333 hardcode_direct_absolute=$hardcode_direct_absolute
18335 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18336 # into the resulting binary.
18337 hardcode_minus_L=$hardcode_minus_L
18339 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18340 # into the resulting binary.
18341 hardcode_shlibpath_var=$hardcode_shlibpath_var
18343 # Set to "yes" if building a shared library automatically hardcodes DIR
18344 # into the library and all subsequent libraries and executables linked
18346 hardcode_automatic=$hardcode_automatic
18348 # Set to yes if linker adds runtime paths of dependent libraries
18349 # to runtime path list.
18350 inherit_rpath=$inherit_rpath
18352 # Whether libtool must link a program against all its dependency libraries.
18353 link_all_deplibs=$link_all_deplibs
18355 # Set to "yes" if exported symbols are required.
18356 always_export_symbols=$always_export_symbols
18358 # The commands to list exported symbols.
18359 export_symbols_cmds=$lt_export_symbols_cmds
18361 # Symbols that should not be listed in the preloaded symbols.
18362 exclude_expsyms=$lt_exclude_expsyms
18364 # Symbols that must always be exported.
18365 include_expsyms=$lt_include_expsyms
18367 # Commands necessary for linking programs (against libraries) with templates.
18368 prelink_cmds=$lt_prelink_cmds
18370 # Commands necessary for finishing linking programs.
18371 postlink_cmds=$lt_postlink_cmds
18373 # Specify filename containing input files.
18374 file_list_spec=$lt_file_list_spec
18376 # How to hardcode a shared library path into an executable.
18377 hardcode_action=$hardcode_action
18379 # ### END LIBTOOL CONFIG
18385 cat <<\_LT_EOF >> "$cfgfile"
18386 # AIX sometimes has problems with the GCC collect2 program. For some
18387 # reason, if we set the COLLECT_NAMES environment variable, the problems
18388 # vanish in a puff of smoke.
18389 if test "X${COLLECT_NAMES+set}" != Xset; then
18391 export COLLECT_NAMES
18398 ltmain="$ac_aux_dir/ltmain.sh"
18401 # We use sed instead of cat because bash on DJGPP gets confused if
18402 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18403 # text mode, it properly converts lines to CR/LF. This bash problem
18404 # is reportedly fixed, but why not run on old versions too?
18405 sed '$q' "$ltmain" >> "$cfgfile" \
18406 || (rm -f "$cfgfile"; exit 1)
18408 if test x"$xsi_shell" = xyes; then
18409 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18413 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18414 \ * ) func_dirname_result="${3}" ;;\
18416 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18417 && mv -f "$cfgfile.tmp" "$cfgfile" \
18418 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18419 test 0 -eq $? || _lt_function_replace_fail=:
18422 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18425 \ func_basename_result="${1##*/}"\
18426 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18427 && mv -f "$cfgfile.tmp" "$cfgfile" \
18428 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18429 test 0 -eq $? || _lt_function_replace_fail=:
18432 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18433 func_dirname_and_basename ()\
18436 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18437 \ * ) func_dirname_result="${3}" ;;\
18439 \ func_basename_result="${1##*/}"\
18440 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18441 && mv -f "$cfgfile.tmp" "$cfgfile" \
18442 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18443 test 0 -eq $? || _lt_function_replace_fail=:
18446 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18449 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18450 \ # positional parameters, so assign one to ordinary parameter first.\
18451 \ func_stripname_result=${3}\
18452 \ func_stripname_result=${func_stripname_result#"${1}"}\
18453 \ func_stripname_result=${func_stripname_result%"${2}"}\
18454 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18455 && mv -f "$cfgfile.tmp" "$cfgfile" \
18456 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18457 test 0 -eq $? || _lt_function_replace_fail=:
18460 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18461 func_split_long_opt ()\
18463 \ func_split_long_opt_name=${1%%=*}\
18464 \ func_split_long_opt_arg=${1#*=}\
18465 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18466 && mv -f "$cfgfile.tmp" "$cfgfile" \
18467 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18468 test 0 -eq $? || _lt_function_replace_fail=:
18471 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18472 func_split_short_opt ()\
18474 \ func_split_short_opt_arg=${1#??}\
18475 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18476 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18477 && mv -f "$cfgfile.tmp" "$cfgfile" \
18478 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18479 test 0 -eq $? || _lt_function_replace_fail=:
18482 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18486 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18487 \ *) func_lo2o_result=${1} ;;\
18489 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18490 && mv -f "$cfgfile.tmp" "$cfgfile" \
18491 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18492 test 0 -eq $? || _lt_function_replace_fail=:
18495 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18498 func_xform_result=${1%.*}.lo\
18499 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18500 && mv -f "$cfgfile.tmp" "$cfgfile" \
18501 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18502 test 0 -eq $? || _lt_function_replace_fail=:
18505 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18508 func_arith_result=$(( $* ))\
18509 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18510 && mv -f "$cfgfile.tmp" "$cfgfile" \
18511 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18512 test 0 -eq $? || _lt_function_replace_fail=:
18515 sed -e '/^func_len ()$/,/^} # func_len /c\
18518 func_len_result=${#1}\
18519 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18520 && mv -f "$cfgfile.tmp" "$cfgfile" \
18521 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18522 test 0 -eq $? || _lt_function_replace_fail=:
18526 if test x"$lt_shell_append" = xyes; then
18527 sed -e '/^func_append ()$/,/^} # func_append /c\
18530 eval "${1}+=\\${2}"\
18531 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18532 && mv -f "$cfgfile.tmp" "$cfgfile" \
18533 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18534 test 0 -eq $? || _lt_function_replace_fail=:
18537 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18538 func_append_quoted ()\
18540 \ func_quote_for_eval "${2}"\
18541 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18542 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18543 && mv -f "$cfgfile.tmp" "$cfgfile" \
18544 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18545 test 0 -eq $? || _lt_function_replace_fail=:
18548 # Save a `func_append' function call where possible by direct use of '+='
18549 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18550 && mv -f "$cfgfile.tmp" "$cfgfile" \
18551 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18552 test 0 -eq $? || _lt_function_replace_fail=:
18554 # Save a `func_append' function call even when '+=' is not available
18555 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18556 && mv -f "$cfgfile.tmp" "$cfgfile" \
18557 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18558 test 0 -eq $? || _lt_function_replace_fail=:
18561 if test x"$_lt_function_replace_fail" = x":"; then
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18563 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18567 mv -f "$cfgfile" "$ofile" ||
18568 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18572 "po-directories":C)
18573 for ac_file in $CONFIG_FILES; do
18574 # Support "outfile[:infile[:infile...]]"
18576 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18578 # PO directories have a Makefile.in generated from Makefile.in.in.
18579 case "$ac_file" in */Makefile.in)
18580 # Adjust a relative srcdir.
18581 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18582 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18583 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18584 # In autoconf-2.13 it is called $ac_given_srcdir.
18585 # In autoconf-2.50 it is called $srcdir.
18586 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18587 case "$ac_given_srcdir" in
18588 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18589 /*) top_srcdir="$ac_given_srcdir" ;;
18590 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18592 # Treat a directory as a PO directory if and only if it has a
18593 # POTFILES.in file. This allows packages to have multiple PO
18594 # directories under different names or in different locations.
18595 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18596 rm -f "$ac_dir/POTFILES"
18597 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18598 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18599 POMAKEFILEDEPS="POTFILES.in"
18600 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18601 # on $ac_dir but don't depend on user-specified configuration
18603 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18604 # The LINGUAS file contains the set of available languages.
18605 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18606 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18608 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18609 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18610 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18611 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18613 # The set of available languages was given in configure.in.
18614 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18615 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18618 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18619 # Compute UPDATEPOFILES
18620 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18621 # Compute DUMMYPOFILES
18622 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18624 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18625 case "$ac_given_srcdir" in
18627 *) srcdirpre='$(srcdir)/' ;;
18633 for lang in $ALL_LINGUAS; do
18634 POFILES="$POFILES $srcdirpre$lang.po"
18635 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18636 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18637 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18639 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18640 # environment variable.
18642 if test -n "$ALL_LINGUAS"; then
18643 for presentlang in $ALL_LINGUAS; do
18645 if test "%UNSET%" != "$LINGUAS"; then
18646 desiredlanguages="$LINGUAS"
18648 desiredlanguages="$ALL_LINGUAS"
18650 for desiredlang in $desiredlanguages; do
18651 # Use the presentlang catalog if desiredlang is
18652 # a. equal to presentlang, or
18653 # b. a variant of presentlang (because in this case,
18654 # presentlang can be used as a fallback for messages
18655 # which are not translated in the desiredlang catalog).
18656 case "$desiredlang" in
18657 "$presentlang"*) useit=yes;;
18660 if test $useit = yes; then
18661 INST_LINGUAS="$INST_LINGUAS $presentlang"
18666 if test -n "$INST_LINGUAS"; then
18667 for lang in $INST_LINGUAS; do
18668 CATALOGS="$CATALOGS $lang.gmo"
18671 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18672 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"
18673 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18674 if test -f "$f"; then
18676 *.orig | *.bak | *~) ;;
18677 *) cat "$f" >> "$ac_dir/Makefile" ;;
18692 ac_clean_files=$ac_clean_files_save
18694 test $ac_write_fail = 0 ||
18695 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18698 # configure is writing to config.log, and then calls config.status.
18699 # config.status does its own redirection, appending to config.log.
18700 # Unfortunately, on DOS this fails, as config.log is still kept open
18701 # by configure, so config.status won't be able to write to it; its
18702 # output is simply discarded. So we exec the FD to /dev/null,
18703 # effectively closing config.log, so it can be properly (re)opened and
18704 # appended to by config.status. When coming back to configure, we
18705 # need to make the FD available again.
18706 if test "$no_create" != yes; then
18708 ac_config_status_args=
18709 test "$silent" = yes &&
18710 ac_config_status_args="$ac_config_status_args --quiet"
18712 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18714 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18715 # would make configure fail if this is the last instruction.
18716 $ac_cs_success || as_fn_exit 1
18718 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18720 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}