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'
636 PACKAGE_URL='http://www.project-moonshot.org/'
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>.
1574 Moonshot-ui home page: <http://www.project-moonshot.org/>.
1579 if test "$ac_init_help" = "recursive"; then
1580 # If there are subdirs, report their specific --help.
1581 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1582 test -d "$ac_dir" ||
1583 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1591 # A ".." for each directory in $ac_dir_suffix.
1592 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1593 case $ac_top_builddir_sub in
1594 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1598 ac_abs_top_builddir=$ac_pwd
1599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1600 # for backward compatibility:
1601 ac_top_builddir=$ac_top_build_prefix
1604 .) # We are building in place.
1606 ac_top_srcdir=$ac_top_builddir_sub
1607 ac_abs_top_srcdir=$ac_pwd ;;
1608 [\\/]* | ?:[\\/]* ) # Absolute name.
1609 ac_srcdir=$srcdir$ac_dir_suffix;
1610 ac_top_srcdir=$srcdir
1611 ac_abs_top_srcdir=$srcdir ;;
1613 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1614 ac_top_srcdir=$ac_top_build_prefix$srcdir
1615 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1619 cd "$ac_dir" || { ac_status=$?; continue; }
1620 # Check for guested configure.
1621 if test -f "$ac_srcdir/configure.gnu"; then
1623 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1624 elif test -f "$ac_srcdir/configure"; then
1626 $SHELL "$ac_srcdir/configure" --help=recursive
1628 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1630 cd "$ac_pwd" || { ac_status=$?; break; }
1634 test -n "$ac_init_help" && exit $ac_status
1635 if $ac_init_version; then
1637 Moonshot-ui configure 0.1
1638 generated by GNU Autoconf 2.68
1640 Copyright (C) 2010 Free Software Foundation, Inc.
1641 This configure script is free software; the Free Software Foundation
1642 gives unlimited permission to copy, distribute and modify it.
1647 ## ------------------------ ##
1648 ## Autoconf initialization. ##
1649 ## ------------------------ ##
1651 # ac_fn_c_try_compile LINENO
1652 # --------------------------
1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_c_try_compile ()
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext
1658 if { { ac_try="$ac_compile"
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_compile") 2>conftest.err
1667 if test -s conftest.err; then
1668 grep -v '^ *+' conftest.err >conftest.er1
1669 cat conftest.er1 >&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest.$ac_objext; then :
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 as_fn_set_status $ac_retval
1687 } # ac_fn_c_try_compile
1689 # ac_fn_c_try_link LINENO
1690 # -----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 rm -f conftest.$ac_objext conftest$ac_exeext
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>conftest.err
1705 if test -s conftest.err; then
1706 grep -v '^ *+' conftest.err >conftest.er1
1707 cat conftest.er1 >&5
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && {
1712 test -z "$ac_c_werror_flag" ||
1713 test ! -s conftest.err
1714 } && test -s conftest$ac_exeext && {
1715 test "$cross_compiling" = yes ||
1716 $as_test_x conftest$ac_exeext
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1726 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1727 # interfere with the next link command; also delete a directory that is
1728 # left behind by Apple's compiler. We do this before executing the actions.
1729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 as_fn_set_status $ac_retval
1733 } # ac_fn_c_try_link
1735 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1736 # -------------------------------------------------------
1737 # Tests whether HEADER exists and can be compiled using the include files in
1738 # INCLUDES, setting the cache variable VAR accordingly.
1739 ac_fn_c_check_header_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \${$3+:} false; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1752 if ac_fn_c_try_compile "$LINENO"; then :
1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 } # ac_fn_c_check_header_compile
1766 # ac_fn_c_try_cpp LINENO
1767 # ----------------------
1768 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } > conftest.i && {
1788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 as_fn_set_status $ac_retval
1803 # ac_fn_c_try_run LINENO
1804 # ----------------------
1805 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1806 # that executables *can* be run.
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 if { { ac_try="$ac_link"
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_link") 2>&5
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1821 { { case "(($ac_try" in
1822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_try") 2>&5
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; }; }; then :
1833 $as_echo "$as_me: program exited with status $ac_status" >&5
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1837 ac_retval=$ac_status
1839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status $ac_retval
1845 # ac_fn_c_check_func LINENO FUNC VAR
1846 # ----------------------------------
1847 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1848 ac_fn_c_check_func ()
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if eval \${$3+:} false; then :
1854 $as_echo_n "(cached) " >&6
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1858 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1860 #define $2 innocuous_$2
1862 /* System header to define __stub macros and hopefully few prototypes,
1863 which can conflict with char $2 (); below.
1864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1865 <limits.h> exists even on freestanding compilers. */
1868 # include <limits.h>
1870 # include <assert.h>
1875 /* Override any GCC internal prototype to avoid an error.
1876 Use char because int might match the return type of a GCC
1877 builtin and then its argument prototype would still apply. */
1882 /* The GNU C library defines this for functions which it implements
1883 to always fail with ENOSYS. Some functions are actually named
1884 something starting with __ and the normal name is an alias. */
1885 #if defined __stub_$2 || defined __stub___$2
1897 if ac_fn_c_try_link "$LINENO"; then :
1902 rm -f core conftest.err conftest.$ac_objext \
1903 conftest$ac_exeext conftest.$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 } # ac_fn_c_check_func
1911 cat >config.log <<_ACEOF
1912 This file contains any messages produced by compilers while
1913 running configure, to aid debugging if configure makes a mistake.
1915 It was created by Moonshot-ui $as_me 0.1, which was
1916 generated by GNU Autoconf 2.68. Invocation command line was
1928 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1929 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1930 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1931 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1932 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1934 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1935 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1937 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1938 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1939 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1940 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1941 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1942 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1943 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1951 test -z "$as_dir" && as_dir=.
1952 $as_echo "PATH: $as_dir"
1968 # Keep a trace of the command line.
1969 # Strip out --no-create and --no-recursion so they do not pile up.
1970 # Strip out --silent because we don't want to record it for future runs.
1971 # Also quote any args containing shell meta-characters.
1972 # Make two passes to allow for proper duplicate-argument suppression.
1976 ac_must_keep_next=false
1982 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1983 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1984 | -silent | --silent | --silen | --sile | --sil)
1987 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1990 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1992 as_fn_append ac_configure_args1 " '$ac_arg'"
1993 if test $ac_must_keep_next = true; then
1994 ac_must_keep_next=false # Got value, back to normal.
1997 *=* | --config-cache | -C | -disable-* | --disable-* \
1998 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1999 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2000 | -with-* | --with-* | -without-* | --without-* | --x)
2001 case "$ac_configure_args0 " in
2002 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2005 -* ) ac_must_keep_next=true ;;
2008 as_fn_append ac_configure_args " '$ac_arg'"
2013 { ac_configure_args0=; unset ac_configure_args0;}
2014 { ac_configure_args1=; unset ac_configure_args1;}
2016 # When interrupted or exit'd, cleanup temporary files, and complete
2017 # config.log. We remove comments because anyway the quotes in there
2018 # would cause problems or look ugly.
2019 # WARNING: Use '\'' to represent an apostrophe within the trap.
2020 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2021 trap 'exit_status=$?
2022 # Save into config.log some information that might help in debugging.
2026 $as_echo "## ---------------- ##
2027 ## Cache variables. ##
2028 ## ---------------- ##"
2030 # The following way of writing the cache mishandles newlines in values,
2032 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2033 eval ac_val=\$$ac_var
2037 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2038 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2041 _ | IFS | as_nl) ;; #(
2042 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2043 *) { eval $ac_var=; unset $ac_var;} ;;
2048 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2049 *${as_nl}ac_space=\ *)
2051 "s/'\''/'\''\\\\'\'''\''/g;
2052 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2055 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2062 $as_echo "## ----------------- ##
2063 ## Output variables. ##
2064 ## ----------------- ##"
2066 for ac_var in $ac_subst_vars
2068 eval ac_val=\$$ac_var
2070 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2072 $as_echo "$ac_var='\''$ac_val'\''"
2076 if test -n "$ac_subst_files"; then
2077 $as_echo "## ------------------- ##
2078 ## File substitutions. ##
2079 ## ------------------- ##"
2081 for ac_var in $ac_subst_files
2083 eval ac_val=\$$ac_var
2085 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2087 $as_echo "$ac_var='\''$ac_val'\''"
2092 if test -s confdefs.h; then
2093 $as_echo "## ----------- ##
2100 test "$ac_signal" != 0 &&
2101 $as_echo "$as_me: caught signal $ac_signal"
2102 $as_echo "$as_me: exit $exit_status"
2104 rm -f core *.core core.conftest.* &&
2105 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2108 for ac_signal in 1 2 13 15; do
2109 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2113 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2114 rm -f -r conftest* confdefs.h
2116 $as_echo "/* confdefs.h */" > confdefs.h
2118 # Predefined preprocessor variables.
2120 cat >>confdefs.h <<_ACEOF
2121 #define PACKAGE_NAME "$PACKAGE_NAME"
2124 cat >>confdefs.h <<_ACEOF
2125 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2128 cat >>confdefs.h <<_ACEOF
2129 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2132 cat >>confdefs.h <<_ACEOF
2133 #define PACKAGE_STRING "$PACKAGE_STRING"
2136 cat >>confdefs.h <<_ACEOF
2137 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_URL "$PACKAGE_URL"
2145 # Let the site file select an alternate cache file if it wants to.
2146 # Prefer an explicitly selected file to automatically selected ones.
2149 if test -n "$CONFIG_SITE"; then
2150 # We do not want a PATH search for config.site.
2151 case $CONFIG_SITE in #((
2152 -*) ac_site_file1=./$CONFIG_SITE;;
2153 */*) ac_site_file1=$CONFIG_SITE;;
2154 *) ac_site_file1=./$CONFIG_SITE;;
2156 elif test "x$prefix" != xNONE; then
2157 ac_site_file1=$prefix/share/config.site
2158 ac_site_file2=$prefix/etc/config.site
2160 ac_site_file1=$ac_default_prefix/share/config.site
2161 ac_site_file2=$ac_default_prefix/etc/config.site
2163 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2165 test "x$ac_site_file" = xNONE && continue
2166 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2168 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2169 sed 's/^/| /' "$ac_site_file" >&5
2171 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2173 as_fn_error $? "failed to load site script $ac_site_file
2174 See \`config.log' for more details" "$LINENO" 5; }
2178 if test -r "$cache_file"; then
2179 # Some versions of bash will fail to source /dev/null (special files
2180 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2181 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2183 $as_echo "$as_me: loading cache $cache_file" >&6;}
2185 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2186 *) . "./$cache_file";;
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2191 $as_echo "$as_me: creating cache $cache_file" >&6;}
2195 gt_needs="$gt_needs "
2196 # Check that the precious variables saved in the cache have kept the same
2198 ac_cache_corrupted=false
2199 for ac_var in $ac_precious_vars; do
2200 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2201 eval ac_new_set=\$ac_env_${ac_var}_set
2202 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2203 eval ac_new_val=\$ac_env_${ac_var}_value
2204 case $ac_old_set,$ac_new_set in
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2207 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2208 ac_cache_corrupted=: ;;
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2211 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2212 ac_cache_corrupted=: ;;
2215 if test "x$ac_old_val" != "x$ac_new_val"; then
2216 # differences in whitespace do not lead to failure.
2217 ac_old_val_w=`echo x $ac_old_val`
2218 ac_new_val_w=`echo x $ac_new_val`
2219 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2221 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2222 ac_cache_corrupted=:
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2225 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2226 eval $ac_var=\$ac_old_val
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2229 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2231 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2234 # Pass precious variables to config.status.
2235 if test "$ac_new_set" = set; then
2237 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2238 *) ac_arg=$ac_var=$ac_new_val ;;
2240 case " $ac_configure_args " in
2241 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2242 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2246 if $ac_cache_corrupted; then
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2250 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2251 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2253 ## -------------------- ##
2254 ## Main body of script. ##
2255 ## -------------------- ##
2258 ac_cpp='$CPP $CPPFLAGS'
2259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2265 # Remove this when we can depend on autoconf >= 2.64
2266 PACKAGE_URL=http://www.project-moonshot.org/
2269 ac_config_headers="$ac_config_headers config.h"
2274 for ac_dir in build-aux "$srcdir"/build-aux; do
2275 if test -f "$ac_dir/install-sh"; then
2277 ac_install_sh="$ac_aux_dir/install-sh -c"
2279 elif test -f "$ac_dir/install.sh"; then
2281 ac_install_sh="$ac_aux_dir/install.sh -c"
2283 elif test -f "$ac_dir/shtool"; then
2285 ac_install_sh="$ac_aux_dir/shtool install -c"
2289 if test -z "$ac_aux_dir"; then
2290 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2293 # These three variables are undocumented and unsupported,
2294 # and are intended to be withdrawn in a future Autoconf release.
2295 # They can cause serious problems if a builder's source tree is in a directory
2296 # whose full name contains unusual characters.
2297 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2298 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2299 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2303 am__api_version='1.11'
2305 # Find a good install program. We prefer a C program (faster),
2306 # so one script is as good as another. But avoid the broken or
2307 # incompatible versions:
2308 # SysV /etc/install, /usr/sbin/install
2309 # SunOS /usr/etc/install
2310 # IRIX /sbin/install
2312 # AmigaOS /C/install, which installs bootblocks on floppy discs
2313 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2314 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2315 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2316 # OS/2's system install, which has a completely different semantic
2317 # ./install, which can be erroneously created by make from ./install.sh.
2318 # Reject install programs that cannot install multiple files.
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2320 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2321 if test -z "$INSTALL"; then
2322 if ${ac_cv_path_install+:} false; then :
2323 $as_echo_n "(cached) " >&6
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir=.
2330 # Account for people who put trailing slashes in PATH elements.
2331 case $as_dir/ in #((
2332 ./ | .// | /[cC]/* | \
2333 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2334 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2337 # OSF1 and SCO ODT 3.0 have their own names for install.
2338 # Don't use installbsd from OSF since it installs stuff as root
2340 for ac_prog in ginstall scoinst install; do
2341 for ac_exec_ext in '' $ac_executable_extensions; do
2342 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2343 if test $ac_prog = install &&
2344 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2345 # AIX install. It has an incompatible calling convention.
2347 elif test $ac_prog = install &&
2348 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2349 # program-specific install script used by HP pwplus--don't use.
2352 rm -rf conftest.one conftest.two conftest.dir
2353 echo one > conftest.one
2354 echo two > conftest.two
2356 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2357 test -s conftest.one && test -s conftest.two &&
2358 test -s conftest.dir/conftest.one &&
2359 test -s conftest.dir/conftest.two
2361 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2374 rm -rf conftest.one conftest.two conftest.dir
2377 if test "${ac_cv_path_install+set}" = set; then
2378 INSTALL=$ac_cv_path_install
2380 # As a last resort, use the slow shell script. Don't cache a
2381 # value for INSTALL within a source directory, because that will
2382 # break other packages using the cache if that directory is
2383 # removed, or if the value is a relative name.
2384 INSTALL=$ac_install_sh
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2388 $as_echo "$INSTALL" >&6; }
2390 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2391 # It thinks the first close brace ends the variable substitution.
2392 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2394 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2396 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2399 $as_echo_n "checking whether build environment is sane... " >&6; }
2402 echo timestamp > conftest.file
2403 # Reject unsafe characters in $srcdir or the absolute working directory
2404 # name. Accept space and tab only in the latter.
2408 *[\\\"\#\$\&\'\`$am_lf]*)
2409 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2412 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2413 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2416 # Do `set' in a subshell so we don't clobber the current shell's
2417 # arguments. Must try -L first in case configure is actually a
2418 # symlink; some systems play weird games with the mod time of symlinks
2419 # (eg FreeBSD returns the mod time of the symlink's containing
2422 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2423 if test "$*" = "X"; then
2425 set X `ls -t "$srcdir/configure" conftest.file`
2428 if test "$*" != "X $srcdir/configure conftest.file" \
2429 && test "$*" != "X conftest.file $srcdir/configure"; then
2431 # If neither matched, then we have a broken ls. This can happen
2432 # if, for instance, CONFIG_SHELL is bash and it inherits a
2433 # broken ls alias from the environment. This has actually
2434 # happened. Such a system could not be considered "sane".
2435 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2436 alias in your environment" "$LINENO" 5
2439 test "$2" = conftest.file
2445 as_fn_error $? "newly created file is older than distributed files!
2446 Check your system clock" "$LINENO" 5
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2449 $as_echo "yes" >&6; }
2450 test "$program_prefix" != NONE &&
2451 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2452 # Use a double $ so make ignores it.
2453 test "$program_suffix" != NONE &&
2454 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2455 # Double any \ or $.
2456 # By default was `s,x,x', remove it if useless.
2457 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2458 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2460 # expand $ac_aux_dir to an absolute path
2461 am_aux_dir=`cd $ac_aux_dir && pwd`
2463 if test x"${MISSING+set}" != xset; then
2466 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2468 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2471 # Use eval to expand $SHELL
2472 if eval "$MISSING --run true"; then
2473 am_missing_run="$MISSING --run "
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2477 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2480 if test x"${install_sh}" != xset; then
2483 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2485 install_sh="\${SHELL} $am_aux_dir/install-sh"
2489 # Installed binaries are usually stripped using `strip' when the user
2490 # run `make install-strip'. However `strip' might not be the right
2491 # tool to use in cross-compilation environments, therefore Automake
2492 # will honor the `STRIP' environment variable to overrule this program.
2493 if test "$cross_compiling" != no; then
2494 if test -n "$ac_tool_prefix"; then
2495 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2496 set dummy ${ac_tool_prefix}strip; ac_word=$2
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2498 $as_echo_n "checking for $ac_word... " >&6; }
2499 if ${ac_cv_prog_STRIP+:} false; then :
2500 $as_echo_n "(cached) " >&6
2502 if test -n "$STRIP"; then
2503 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir=.
2510 for ac_exec_ext in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2522 STRIP=$ac_cv_prog_STRIP
2523 if test -n "$STRIP"; then
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2525 $as_echo "$STRIP" >&6; }
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528 $as_echo "no" >&6; }
2533 if test -z "$ac_cv_prog_STRIP"; then
2535 # Extract the first word of "strip", so it can be a program name with args.
2536 set dummy strip; ac_word=$2
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2538 $as_echo_n "checking for $ac_word... " >&6; }
2539 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2540 $as_echo_n "(cached) " >&6
2542 if test -n "$ac_ct_STRIP"; then
2543 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549 test -z "$as_dir" && as_dir=.
2550 for ac_exec_ext in '' $ac_executable_extensions; do
2551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2552 ac_cv_prog_ac_ct_STRIP="strip"
2553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2563 if test -n "$ac_ct_STRIP"; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2565 $as_echo "$ac_ct_STRIP" >&6; }
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2568 $as_echo "no" >&6; }
2571 if test "x$ac_ct_STRIP" = x; then
2574 case $cross_compiling:$ac_tool_warned in
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2578 ac_tool_warned=yes ;;
2583 STRIP="$ac_cv_prog_STRIP"
2587 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2590 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2591 if test -z "$MKDIR_P"; then
2592 if ${ac_cv_path_mkdir+:} false; then :
2593 $as_echo_n "(cached) " >&6
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2599 test -z "$as_dir" && as_dir=.
2600 for ac_prog in mkdir gmkdir; do
2601 for ac_exec_ext in '' $ac_executable_extensions; do
2602 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2603 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2604 'mkdir (GNU coreutils) '* | \
2605 'mkdir (coreutils) '* | \
2606 'mkdir (fileutils) '4.1*)
2607 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2617 test -d ./--version && rmdir ./--version
2618 if test "${ac_cv_path_mkdir+set}" = set; then
2619 MKDIR_P="$ac_cv_path_mkdir -p"
2621 # As a last resort, use the slow shell script. Don't cache a
2622 # value for MKDIR_P within a source directory, because that will
2623 # break other packages using the cache if that directory is
2624 # removed, or if the value is a relative name.
2625 MKDIR_P="$ac_install_sh -d"
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2629 $as_echo "$MKDIR_P" >&6; }
2633 [\\/$]* | ?:[\\/]*) ;;
2634 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2637 for ac_prog in gawk mawk nawk awk
2639 # Extract the first word of "$ac_prog", so it can be a program name with args.
2640 set dummy $ac_prog; ac_word=$2
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2642 $as_echo_n "checking for $ac_word... " >&6; }
2643 if ${ac_cv_prog_AWK+:} false; then :
2644 $as_echo_n "(cached) " >&6
2646 if test -n "$AWK"; then
2647 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir=.
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2656 ac_cv_prog_AWK="$ac_prog"
2657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 if test -n "$AWK"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2669 $as_echo "$AWK" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672 $as_echo "no" >&6; }
2676 test -n "$AWK" && break
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2680 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2682 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2683 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2684 $as_echo_n "(cached) " >&6
2686 cat >conftest.make <<\_ACEOF
2689 @echo '@@@%%%=$(MAKE)=@@@%%%'
2691 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2692 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2694 eval ac_cv_prog_make_${ac_make}_set=yes;;
2696 eval ac_cv_prog_make_${ac_make}_set=no;;
2700 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2702 $as_echo "yes" >&6; }
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2706 $as_echo "no" >&6; }
2707 SET_MAKE="MAKE=${MAKE-make}"
2710 rm -rf .tst 2>/dev/null
2711 mkdir .tst 2>/dev/null
2712 if test -d .tst; then
2717 rmdir .tst 2>/dev/null
2719 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2720 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2721 # is not polluted with repeated "-I."
2722 am__isrc=' -I$(srcdir)'
2723 # test to see if srcdir already configured
2724 if test -f $srcdir/config.status; then
2725 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2729 # test whether we have cygpath
2730 if test -z "$CYGPATH_W"; then
2731 if (cygpath --version) >/dev/null 2>/dev/null; then
2732 CYGPATH_W='cygpath -w'
2739 # Define the identity of the package.
2740 PACKAGE='moonshot-ui'
2744 cat >>confdefs.h <<_ACEOF
2745 #define PACKAGE "$PACKAGE"
2749 cat >>confdefs.h <<_ACEOF
2750 #define VERSION "$VERSION"
2753 # Some tools Automake needs.
2755 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2758 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2761 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2764 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2767 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2769 # We need awk for the "check" target. The system "awk" is bad on
2771 # Always define AMTAR for backward compatibility.
2773 AMTAR=${AMTAR-"${am_missing_run}tar"}
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2777 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2778 # Loop over all known methods to create a tar archive until one works.
2779 _am_tools='gnutar pax cpio none'
2780 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2781 # Do not fold the above two line into one, because Tru64 sh and
2782 # Solaris sh will not grok spaces in the rhs of `-'.
2783 for _am_tool in $_am_tools
2787 for _am_tar in tar gnutar gtar;
2789 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2790 ($_am_tar --version) >&5 2>&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } && break
2795 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2796 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2797 am__untar="$_am_tar -xf -"
2800 # Must skip GNU tar: if it does not support --format= it doesn't create
2801 # ustar tarball either.
2802 (tar --version) >/dev/null 2>&1 && continue
2803 am__tar='tar chf - "$$tardir"'
2804 am__tar_='tar chf - "$tardir"'
2805 am__untar='tar xf -'
2808 am__tar='pax -L -x pax -w "$$tardir"'
2809 am__tar_='pax -L -x pax -w "$tardir"'
2813 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2814 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2815 am__untar='cpio -i -H pax -d'
2824 # If the value was cached, stop now. We just wanted to have am__tar
2825 # and am__untar set.
2826 test -n "${am_cv_prog_tar_pax}" && break
2828 # tar/untar a dummy directory, and stop if the command works
2831 echo GrepMe > conftest.dir/file
2832 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2833 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }
2838 if test -s conftest.tar; then
2839 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2840 ($am__untar <conftest.tar) >&5 2>&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }
2844 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2849 if ${am_cv_prog_tar_pax+:} false; then :
2850 $as_echo_n "(cached) " >&6
2852 am_cv_prog_tar_pax=$_am_tool
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2856 $as_echo "$am_cv_prog_tar_pax" >&6; }
2862 # Check whether --enable-silent-rules was given.
2863 if test "${enable_silent_rules+set}" = set; then :
2864 enableval=$enable_silent_rules;
2867 case $enable_silent_rules in
2868 yes) AM_DEFAULT_VERBOSITY=0;;
2869 no) AM_DEFAULT_VERBOSITY=1;;
2870 *) AM_DEFAULT_VERBOSITY=0;;
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2876 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2877 # Check whether --enable-maintainer-mode was given.
2878 if test "${enable_maintainer_mode+set}" = set; then :
2879 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2881 USE_MAINTAINER_MODE=yes
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2885 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2886 if test $USE_MAINTAINER_MODE = yes; then
2887 MAINTAINER_MODE_TRUE=
2888 MAINTAINER_MODE_FALSE='#'
2890 MAINTAINER_MODE_TRUE='#'
2891 MAINTAINER_MODE_FALSE=
2894 MAINT=$MAINTAINER_MODE_TRUE
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2902 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2907 macro_version='2.4.2'
2908 macro_revision='1.3337'
2922 ltmain="$ac_aux_dir/ltmain.sh"
2924 # Make sure we can run config.sub.
2925 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2926 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2929 $as_echo_n "checking build system type... " >&6; }
2930 if ${ac_cv_build+:} false; then :
2931 $as_echo_n "(cached) " >&6
2933 ac_build_alias=$build_alias
2934 test "x$ac_build_alias" = x &&
2935 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2936 test "x$ac_build_alias" = x &&
2937 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2938 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2939 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2943 $as_echo "$ac_cv_build" >&6; }
2944 case $ac_cv_build in
2946 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2949 ac_save_IFS=$IFS; IFS='-'
2955 # Remember, the first character of IFS is used to create $*,
2956 # except with old shells:
2959 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2963 $as_echo_n "checking host system type... " >&6; }
2964 if ${ac_cv_host+:} false; then :
2965 $as_echo_n "(cached) " >&6
2967 if test "x$host_alias" = x; then
2968 ac_cv_host=$ac_cv_build
2970 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2971 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2976 $as_echo "$ac_cv_host" >&6; }
2979 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2982 ac_save_IFS=$IFS; IFS='-'
2988 # Remember, the first character of IFS is used to create $*,
2989 # except with old shells:
2992 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2995 # Backslashify metacharacters that are still active within
2996 # double-quoted strings.
2997 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2999 # Same as above, but do not quote variable references.
3000 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3002 # Sed substitution to delay expansion of an escaped shell variable in a
3003 # double_quote_subst'ed string.
3004 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3006 # Sed substitution to delay expansion of an escaped single quote.
3007 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3009 # Sed substitution to avoid accidental globbing in evaled expressions
3010 no_glob_subst='s/\*/\\\*/g'
3012 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3013 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3014 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3017 $as_echo_n "checking how to print strings... " >&6; }
3018 # Test print first, because it will be a builtin if present.
3019 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3020 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3022 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3025 # Use this function as a fallback that always works.
3026 func_fallback_echo ()
3028 eval 'cat <<_LTECHO_EOF
3032 ECHO='func_fallback_echo'
3035 # func_echo_all arg...
3036 # Invoke $ECHO with all args, space-separated.
3043 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3044 $as_echo "printf" >&6; } ;;
3045 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3046 $as_echo "print -r" >&6; } ;;
3047 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3048 $as_echo "cat" >&6; } ;;
3064 DEPDIR="${am__leading_dot}deps"
3066 ac_config_commands="$ac_config_commands depfiles"
3069 am_make=${MAKE-make}
3070 cat > confinc << 'END'
3072 @echo this is the am__doit target
3075 # If we don't find an include directive, just comment out the code.
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3077 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3081 # First try GNU make style include.
3082 echo "include confinc" > confmf
3083 # Ignore all kinds of additional output from `make'.
3084 case `$am_make -s -f confmf 2> /dev/null` in #(
3085 *the\ am__doit\ target*)
3091 # Now try BSD make style include.
3092 if test "$am__include" = "#"; then
3093 echo '.include "confinc"' > confmf
3094 case `$am_make -s -f confmf 2> /dev/null` in #(
3095 *the\ am__doit\ target*)
3096 am__include=.include
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3105 $as_echo "$_am_result" >&6; }
3106 rm -f confinc confmf
3108 # Check whether --enable-dependency-tracking was given.
3109 if test "${enable_dependency_tracking+set}" = set; then :
3110 enableval=$enable_dependency_tracking;
3113 if test "x$enable_dependency_tracking" != xno; then
3114 am_depcomp="$ac_aux_dir/depcomp"
3118 if test "x$enable_dependency_tracking" != xno; then
3128 ac_cpp='$CPP $CPPFLAGS'
3129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3132 if test -n "$ac_tool_prefix"; then
3133 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3134 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if ${ac_cv_prog_CC+:} false; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$CC"; then
3141 ac_cv_prog_CC="$CC" # Let the user override the test.
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3150 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 if test -n "$CC"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3163 $as_echo "$CC" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3171 if test -z "$ac_cv_prog_CC"; then
3173 # Extract the first word of "gcc", so it can be a program name with args.
3174 set dummy gcc; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$ac_ct_CC"; then
3181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3190 ac_cv_prog_ac_ct_CC="gcc"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3201 if test -n "$ac_ct_CC"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3203 $as_echo "$ac_ct_CC" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3209 if test "x$ac_ct_CC" = x; then
3212 case $cross_compiling:$ac_tool_warned in
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3216 ac_tool_warned=yes ;;
3224 if test -z "$CC"; then
3225 if test -n "$ac_tool_prefix"; then
3226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3227 set dummy ${ac_tool_prefix}cc; ac_word=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if ${ac_cv_prog_CC+:} false; then :
3231 $as_echo_n "(cached) " >&6
3233 if test -n "$CC"; then
3234 ac_cv_prog_CC="$CC" # Let the user override the test.
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240 test -z "$as_dir" && as_dir=.
3241 for ac_exec_ext in '' $ac_executable_extensions; do
3242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3243 ac_cv_prog_CC="${ac_tool_prefix}cc"
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 if test -n "$CC"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3256 $as_echo "$CC" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3265 if test -z "$CC"; then
3266 # Extract the first word of "cc", so it can be a program name with args.
3267 set dummy cc; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if ${ac_cv_prog_CC+:} false; then :
3271 $as_echo_n "(cached) " >&6
3273 if test -n "$CC"; then
3274 ac_cv_prog_CC="$CC" # Let the user override the test.
3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 test -z "$as_dir" && as_dir=.
3282 for ac_exec_ext in '' $ac_executable_extensions; do
3283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3284 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3285 ac_prog_rejected=yes
3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296 if test $ac_prog_rejected = yes; then
3297 # We found a bogon in the path, so make sure we never use it.
3298 set dummy $ac_cv_prog_CC
3300 if test $# != 0; then
3301 # We chose a different compiler from the bogus one.
3302 # However, it has the same basename, so the bogon will be chosen
3303 # first if we set CC to just the basename; use the full file name.
3305 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3311 if test -n "$CC"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3313 $as_echo "$CC" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3321 if test -z "$CC"; then
3322 if test -n "$ac_tool_prefix"; then
3323 for ac_prog in cl.exe
3325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3326 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if ${ac_cv_prog_CC+:} false; then :
3330 $as_echo_n "(cached) " >&6
3332 if test -n "$CC"; then
3333 ac_cv_prog_CC="$CC" # Let the user override the test.
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353 if test -n "$CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3362 test -n "$CC" && break
3365 if test -z "$CC"; then
3367 for ac_prog in cl.exe
3369 # Extract the first word of "$ac_prog", so it can be a program name with args.
3370 set dummy $ac_prog; ac_word=$2
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372 $as_echo_n "checking for $ac_word... " >&6; }
3373 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3374 $as_echo_n "(cached) " >&6
3376 if test -n "$ac_ct_CC"; then
3377 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 test -z "$as_dir" && as_dir=.
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386 ac_cv_prog_ac_ct_CC="$ac_prog"
3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3397 if test -n "$ac_ct_CC"; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3399 $as_echo "$ac_ct_CC" >&6; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3406 test -n "$ac_ct_CC" && break
3409 if test "x$ac_ct_CC" = x; then
3412 case $cross_compiling:$ac_tool_warned in
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3416 ac_tool_warned=yes ;;
3425 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427 as_fn_error $? "no acceptable C compiler found in \$PATH
3428 See \`config.log' for more details" "$LINENO" 5; }
3430 # Provide some information about the compiler.
3431 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3434 for ac_option in --version -v -V -qversion; do
3435 { { ac_try="$ac_compiler $ac_option >&5"
3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3441 $as_echo "$ac_try_echo"; } >&5
3442 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3444 if test -s conftest.err; then
3446 ... rest of stderr output deleted ...
3447 10q' conftest.err >conftest.er1
3448 cat conftest.er1 >&5
3450 rm -f conftest.er1 conftest.err
3451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452 test $ac_status = 0; }
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3466 ac_clean_files_save=$ac_clean_files
3467 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3468 # Try to create an executable without -o first, disregard a.out.
3469 # It will help us diagnose broken compilers, and finding out an intuition
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3472 $as_echo_n "checking whether the C compiler works... " >&6; }
3473 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3475 # The possible output files:
3476 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3479 for ac_file in $ac_files
3482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3483 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3488 if { { ac_try="$ac_link_default"
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3494 $as_echo "$ac_try_echo"; } >&5
3495 (eval "$ac_link_default") 2>&5
3497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498 test $ac_status = 0; }; then :
3499 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3500 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3501 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3502 # so that the user can short-circuit this test for compilers unknown to
3504 for ac_file in $ac_files ''
3506 test -f "$ac_file" || continue
3508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3511 # We found the default executable, but exeext='' is most
3515 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3517 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3519 # We set ac_cv_exeext here because the later test for it is not
3520 # safe: cross compilers may not add the suffix if given an `-o'
3521 # argument, so we may need to know it at that point already.
3522 # Even if this section looks crufty: it has the advantage of
3529 test "$ac_cv_exeext" = no && ac_cv_exeext=
3534 if test -z "$ac_file"; then :
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3537 $as_echo "$as_me: failed program was:" >&5
3538 sed 's/^/| /' conftest.$ac_ext >&5
3540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542 as_fn_error 77 "C compiler cannot create executables
3543 See \`config.log' for more details" "$LINENO" 5; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3546 $as_echo "yes" >&6; }
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3549 $as_echo_n "checking for C compiler default output file name... " >&6; }
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3551 $as_echo "$ac_file" >&6; }
3552 ac_exeext=$ac_cv_exeext
3554 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3555 ac_clean_files=$ac_clean_files_save
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3557 $as_echo_n "checking for suffix of executables... " >&6; }
3558 if { { ac_try="$ac_link"
3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565 (eval "$ac_link") 2>&5
3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568 test $ac_status = 0; }; then :
3569 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3570 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3571 # work properly (i.e., refer to `conftest.exe'), while it won't with
3573 for ac_file in conftest.exe conftest conftest.*; do
3574 test -f "$ac_file" || continue
3576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3577 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3585 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3586 See \`config.log' for more details" "$LINENO" 5; }
3588 rm -f conftest conftest$ac_cv_exeext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3590 $as_echo "$ac_cv_exeext" >&6; }
3592 rm -f conftest.$ac_ext
3593 EXEEXT=$ac_cv_exeext
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3601 FILE *f = fopen ("conftest.out", "w");
3602 return ferror (f) || fclose (f) != 0;
3608 ac_clean_files="$ac_clean_files conftest.out"
3609 # Check that the compiler produces executables we can run. If not, either
3610 # the compiler is broken, or we cross compile.
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3612 $as_echo_n "checking whether we are cross compiling... " >&6; }
3613 if test "$cross_compiling" != yes; then
3614 { { ac_try="$ac_link"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620 $as_echo "$ac_try_echo"; } >&5
3621 (eval "$ac_link") 2>&5
3623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624 test $ac_status = 0; }
3625 if { ac_try='./conftest$ac_cv_exeext'
3626 { { case "(($ac_try" in
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631 $as_echo "$ac_try_echo"; } >&5
3632 (eval "$ac_try") 2>&5
3634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635 test $ac_status = 0; }; }; then
3638 if test "$cross_compiling" = maybe; then
3641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3643 as_fn_error $? "cannot run C compiled programs.
3644 If you meant to cross compile, use \`--host'.
3645 See \`config.log' for more details" "$LINENO" 5; }
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3650 $as_echo "$cross_compiling" >&6; }
3652 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3653 ac_clean_files=$ac_clean_files_save
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3655 $as_echo_n "checking for suffix of object files... " >&6; }
3656 if ${ac_cv_objext+:} false; then :
3657 $as_echo_n "(cached) " >&6
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3670 rm -f conftest.o conftest.obj
3671 if { { ac_try="$ac_compile"
3673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674 *) ac_try_echo=$ac_try;;
3676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3677 $as_echo "$ac_try_echo"; } >&5
3678 (eval "$ac_compile") 2>&5
3680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3681 test $ac_status = 0; }; then :
3682 for ac_file in conftest.o conftest.obj conftest.*; do
3683 test -f "$ac_file" || continue;
3685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3686 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3691 $as_echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.$ac_ext >&5
3694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696 as_fn_error $? "cannot compute suffix of object files: cannot compile
3697 See \`config.log' for more details" "$LINENO" 5; }
3699 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3702 $as_echo "$ac_cv_objext" >&6; }
3703 OBJEXT=$ac_cv_objext
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3706 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3707 if ${ac_cv_c_compiler_gnu+:} false; then :
3708 $as_echo_n "(cached) " >&6
3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */
3724 if ac_fn_c_try_compile "$LINENO"; then :
3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3730 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3734 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3735 if test $ac_compiler_gnu = yes; then
3740 ac_test_CFLAGS=${CFLAGS+set}
3741 ac_save_CFLAGS=$CFLAGS
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3743 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3744 if ${ac_cv_prog_cc_g+:} false; then :
3745 $as_echo_n "(cached) " >&6
3747 ac_save_c_werror_flag=$ac_c_werror_flag
3748 ac_c_werror_flag=yes
3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3762 if ac_fn_c_try_compile "$LINENO"; then :
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3777 if ac_fn_c_try_compile "$LINENO"; then :
3780 ac_c_werror_flag=$ac_save_c_werror_flag
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3793 if ac_fn_c_try_compile "$LINENO"; then :
3796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801 ac_c_werror_flag=$ac_save_c_werror_flag
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3804 $as_echo "$ac_cv_prog_cc_g" >&6; }
3805 if test "$ac_test_CFLAGS" = set; then
3806 CFLAGS=$ac_save_CFLAGS
3807 elif test $ac_cv_prog_cc_g = yes; then
3808 if test "$GCC" = yes; then
3814 if test "$GCC" = yes; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3821 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3822 if ${ac_cv_prog_cc_c89+:} false; then :
3823 $as_echo_n "(cached) " >&6
3825 ac_cv_prog_cc_c89=no
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3831 #include <sys/types.h>
3832 #include <sys/stat.h>
3833 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3834 struct buf { int x; };
3835 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3836 static char *e (p, i)
3842 static char *f (char * (*g) (char **, int), char **p, ...)
3847 s = g (p, va_arg (v,int));
3852 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3853 function prototypes and stuff, but not '\xHH' hex character constants.
3854 These don't provoke an error unfortunately, instead are silently treated
3855 as 'x'. The following induces an error, until -std is added to get
3856 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3857 array size at least. It's necessary to write '\x00'==0 to get something
3858 that's true only with -std. */
3859 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3861 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3862 inside strings and character constants. */
3864 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3866 int test (int i, double x);
3867 struct s1 {int (*f) (int a);};
3868 struct s2 {int (*f) (double a);};
3869 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3875 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3880 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3881 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3883 CC="$ac_save_CC $ac_arg"
3884 if ac_fn_c_try_compile "$LINENO"; then :
3885 ac_cv_prog_cc_c89=$ac_arg
3887 rm -f core conftest.err conftest.$ac_objext
3888 test "x$ac_cv_prog_cc_c89" != "xno" && break
3890 rm -f conftest.$ac_ext
3895 case "x$ac_cv_prog_cc_c89" in
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3898 $as_echo "none needed" >&6; } ;;
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3901 $as_echo "unsupported" >&6; } ;;
3903 CC="$CC $ac_cv_prog_cc_c89"
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3905 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3907 if test "x$ac_cv_prog_cc_c89" != xno; then :
3912 ac_cpp='$CPP $CPPFLAGS'
3913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3917 depcc="$CC" am_compiler_list=
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3920 $as_echo_n "checking dependency style of $depcc... " >&6; }
3921 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3922 $as_echo_n "(cached) " >&6
3924 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3925 # We make a subdir and do the tests there. Otherwise we can end up
3926 # making bogus files that we don't know about and never remove. For
3927 # instance it was reported that on HP-UX the gcc test will end up
3928 # making a dummy file named `D' -- because `-MD' means `put the output
3932 # Copy depcomp to subdir because otherwise we won't find it if we're
3933 # using a relative directory.
3934 cp "$am_depcomp" conftest.dir
3936 # We will build objects and dependencies in a subdirectory because
3937 # it helps to detect inapplicable dependency modes. For instance
3938 # both Tru64's cc and ICC support -MD to output dependencies as a
3939 # side effect of compilation, but ICC will put the dependencies in
3940 # the current directory while Tru64 will put them in the object
3944 am_cv_CC_dependencies_compiler_type=none
3945 if test "$am_compiler_list" = ""; then
3946 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3949 case " $depcc " in #(
3950 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3953 for depmode in $am_compiler_list; do
3954 # Setup a source with many dependencies, because some compilers
3955 # like to wrap large dependency lists on column 80 (with \), and
3956 # we should not choose a depcomp mode which is confused by this.
3958 # We need to recreate these files for each test, as the compiler may
3959 # overwrite some of them when testing with obscure command lines.
3960 # This happens at least with the AIX C compiler.
3962 for i in 1 2 3 4 5 6; do
3963 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3964 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3965 # Solaris 8's {/usr,}/bin/sh.
3966 touch sub/conftst$i.h
3968 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3970 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3971 # mode. It turns out that the SunPro C++ compiler does not properly
3972 # handle `-M -o', and we need to detect this. Also, some Intel
3973 # versions had trouble with output in subdirs
3974 am__obj=sub/conftest.${OBJEXT-o}
3975 am__minus_obj="-o $am__obj"
3978 # This depmode causes a compiler race in universal mode.
3979 test "$am__universal" = false || continue
3982 # after this tag, mechanisms are not by side-effect, so they'll
3983 # only be used when explicitly requested
3984 if test "x$enable_dependency_tracking" = xyes; then
3990 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3991 # This compiler won't grok `-c -o', but also, the minuso test has
3992 # not run yet. These depmodes are late enough in the game, and
3993 # so weak that their functioning should not be impacted.
3994 am__obj=conftest.${OBJEXT-o}
3999 if depmode=$depmode \
4000 source=sub/conftest.c object=$am__obj \
4001 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4002 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4003 >/dev/null 2>conftest.err &&
4004 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4005 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4006 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4007 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4008 # icc doesn't choke on unknown options, it will just issue warnings
4009 # or remarks (even with -Werror). So we grep stderr for any message
4010 # that says an option was ignored or not supported.
4011 # When given -MP, icc 7.0 and 7.1 complain thusly:
4012 # icc: Command line warning: ignoring option '-M'; no argument required
4013 # The diagnosis changed in icc 8.0:
4014 # icc: Command line remark: option '-MP' not supported
4015 if (grep 'ignoring option' conftest.err ||
4016 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4017 am_cv_CC_dependencies_compiler_type=$depmode
4026 am_cv_CC_dependencies_compiler_type=none
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4031 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4032 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4035 test "x$enable_dependency_tracking" != xno \
4036 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4038 am__fastdepCC_FALSE='#'
4040 am__fastdepCC_TRUE='#'
4041 am__fastdepCC_FALSE=
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4046 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4047 if ${ac_cv_path_SED+:} false; then :
4048 $as_echo_n "(cached) " >&6
4050 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4051 for ac_i in 1 2 3 4 5 6 7; do
4052 ac_script="$ac_script$as_nl$ac_script"
4054 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4055 { ac_script=; unset ac_script;}
4056 if test -z "$SED"; then
4057 ac_path_SED_found=false
4058 # Loop through the user's path and test for each of PROGNAME-LIST
4059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4063 test -z "$as_dir" && as_dir=.
4064 for ac_prog in sed gsed; do
4065 for ac_exec_ext in '' $ac_executable_extensions; do
4066 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4067 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4068 # Check for GNU ac_path_SED and select it if it is found.
4069 # Check for GNU $ac_path_SED
4070 case `"$ac_path_SED" --version 2>&1` in
4072 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4075 $as_echo_n 0123456789 >"conftest.in"
4078 cat "conftest.in" "conftest.in" >"conftest.tmp"
4079 mv "conftest.tmp" "conftest.in"
4080 cp "conftest.in" "conftest.nl"
4081 $as_echo '' >> "conftest.nl"
4082 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4083 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4084 as_fn_arith $ac_count + 1 && ac_count=$as_val
4085 if test $ac_count -gt ${ac_path_SED_max-0}; then
4086 # Best one so far, save it but keep looking for a better one
4087 ac_cv_path_SED="$ac_path_SED"
4088 ac_path_SED_max=$ac_count
4090 # 10*(2^10) chars as input seems more than enough
4091 test $ac_count -gt 10 && break
4093 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4096 $ac_path_SED_found && break 3
4101 if test -z "$ac_cv_path_SED"; then
4102 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4110 $as_echo "$ac_cv_path_SED" >&6; }
4111 SED="$ac_cv_path_SED"
4114 test -z "$SED" && SED=sed
4115 Xsed="$SED -e 1s/^X//"
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4128 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4129 if ${ac_cv_path_GREP+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 if test -z "$GREP"; then
4133 ac_path_GREP_found=false
4134 # Loop through the user's path and test for each of PROGNAME-LIST
4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4136 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4139 test -z "$as_dir" && as_dir=.
4140 for ac_prog in grep ggrep; do
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4143 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4144 # Check for GNU ac_path_GREP and select it if it is found.
4145 # Check for GNU $ac_path_GREP
4146 case `"$ac_path_GREP" --version 2>&1` in
4148 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4151 $as_echo_n 0123456789 >"conftest.in"
4154 cat "conftest.in" "conftest.in" >"conftest.tmp"
4155 mv "conftest.tmp" "conftest.in"
4156 cp "conftest.in" "conftest.nl"
4157 $as_echo 'GREP' >> "conftest.nl"
4158 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4159 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4160 as_fn_arith $ac_count + 1 && ac_count=$as_val
4161 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4162 # Best one so far, save it but keep looking for a better one
4163 ac_cv_path_GREP="$ac_path_GREP"
4164 ac_path_GREP_max=$ac_count
4166 # 10*(2^10) chars as input seems more than enough
4167 test $ac_count -gt 10 && break
4169 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4172 $ac_path_GREP_found && break 3
4177 if test -z "$ac_cv_path_GREP"; then
4178 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4181 ac_cv_path_GREP=$GREP
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4186 $as_echo "$ac_cv_path_GREP" >&6; }
4187 GREP="$ac_cv_path_GREP"
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4191 $as_echo_n "checking for egrep... " >&6; }
4192 if ${ac_cv_path_EGREP+:} false; then :
4193 $as_echo_n "(cached) " >&6
4195 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4196 then ac_cv_path_EGREP="$GREP -E"
4198 if test -z "$EGREP"; then
4199 ac_path_EGREP_found=false
4200 # Loop through the user's path and test for each of PROGNAME-LIST
4201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4202 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4205 test -z "$as_dir" && as_dir=.
4206 for ac_prog in egrep; do
4207 for ac_exec_ext in '' $ac_executable_extensions; do
4208 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4209 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4210 # Check for GNU ac_path_EGREP and select it if it is found.
4211 # Check for GNU $ac_path_EGREP
4212 case `"$ac_path_EGREP" --version 2>&1` in
4214 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4217 $as_echo_n 0123456789 >"conftest.in"
4220 cat "conftest.in" "conftest.in" >"conftest.tmp"
4221 mv "conftest.tmp" "conftest.in"
4222 cp "conftest.in" "conftest.nl"
4223 $as_echo 'EGREP' >> "conftest.nl"
4224 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4225 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4226 as_fn_arith $ac_count + 1 && ac_count=$as_val
4227 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4228 # Best one so far, save it but keep looking for a better one
4229 ac_cv_path_EGREP="$ac_path_EGREP"
4230 ac_path_EGREP_max=$ac_count
4232 # 10*(2^10) chars as input seems more than enough
4233 test $ac_count -gt 10 && break
4235 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4238 $ac_path_EGREP_found && break 3
4243 if test -z "$ac_cv_path_EGREP"; then
4244 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4247 ac_cv_path_EGREP=$EGREP
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4253 $as_echo "$ac_cv_path_EGREP" >&6; }
4254 EGREP="$ac_cv_path_EGREP"
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4258 $as_echo_n "checking for fgrep... " >&6; }
4259 if ${ac_cv_path_FGREP+:} false; then :
4260 $as_echo_n "(cached) " >&6
4262 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4263 then ac_cv_path_FGREP="$GREP -F"
4265 if test -z "$FGREP"; then
4266 ac_path_FGREP_found=false
4267 # Loop through the user's path and test for each of PROGNAME-LIST
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4272 test -z "$as_dir" && as_dir=.
4273 for ac_prog in fgrep; do
4274 for ac_exec_ext in '' $ac_executable_extensions; do
4275 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4276 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4277 # Check for GNU ac_path_FGREP and select it if it is found.
4278 # Check for GNU $ac_path_FGREP
4279 case `"$ac_path_FGREP" --version 2>&1` in
4281 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4284 $as_echo_n 0123456789 >"conftest.in"
4287 cat "conftest.in" "conftest.in" >"conftest.tmp"
4288 mv "conftest.tmp" "conftest.in"
4289 cp "conftest.in" "conftest.nl"
4290 $as_echo 'FGREP' >> "conftest.nl"
4291 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4292 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4293 as_fn_arith $ac_count + 1 && ac_count=$as_val
4294 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4295 # Best one so far, save it but keep looking for a better one
4296 ac_cv_path_FGREP="$ac_path_FGREP"
4297 ac_path_FGREP_max=$ac_count
4299 # 10*(2^10) chars as input seems more than enough
4300 test $ac_count -gt 10 && break
4302 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4305 $ac_path_FGREP_found && break 3
4310 if test -z "$ac_cv_path_FGREP"; then
4311 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4314 ac_cv_path_FGREP=$FGREP
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4320 $as_echo "$ac_cv_path_FGREP" >&6; }
4321 FGREP="$ac_cv_path_FGREP"
4324 test -z "$GREP" && GREP=grep
4344 # Check whether --with-gnu-ld was given.
4345 if test "${with_gnu_ld+set}" = set; then :
4346 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4352 if test "$GCC" = yes; then
4353 # Check if gcc -print-prog-name=ld gives a path.
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4355 $as_echo_n "checking for ld used by $CC... " >&6; }
4358 # gcc leaves a trailing carriage return which upsets mingw
4359 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4361 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4364 # Accept absolute paths.
4366 re_direlt='/[^/][^/]*/\.\./'
4367 # Canonicalize the pathname of ld
4368 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4369 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4370 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4372 test -z "$LD" && LD="$ac_prog"
4375 # If it fails, then pretend we aren't using GCC.
4379 # If it is relative, then search for the first ld in PATH.
4383 elif test "$with_gnu_ld" = yes; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4385 $as_echo_n "checking for GNU ld... " >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4388 $as_echo_n "checking for non-GNU ld... " >&6; }
4390 if ${lt_cv_path_LD+:} false; then :
4391 $as_echo_n "(cached) " >&6
4393 if test -z "$LD"; then
4394 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4395 for ac_dir in $PATH; do
4397 test -z "$ac_dir" && ac_dir=.
4398 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4399 lt_cv_path_LD="$ac_dir/$ac_prog"
4400 # Check to see if the program is GNU ld. I'd rather use --version,
4401 # but apparently some variants of GNU ld only accept -v.
4402 # Break only if it was the GNU/non-GNU ld that we prefer.
4403 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4404 *GNU* | *'with BFD'*)
4405 test "$with_gnu_ld" != no && break
4408 test "$with_gnu_ld" != yes && break
4415 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4420 if test -n "$LD"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4422 $as_echo "$LD" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4427 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4429 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4430 if ${lt_cv_prog_gnu_ld+:} false; then :
4431 $as_echo_n "(cached) " >&6
4433 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4434 case `$LD -v 2>&1 </dev/null` in
4435 *GNU* | *'with BFD'*)
4436 lt_cv_prog_gnu_ld=yes
4439 lt_cv_prog_gnu_ld=no
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4444 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4445 with_gnu_ld=$lt_cv_prog_gnu_ld
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4456 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4457 if ${lt_cv_path_NM+:} false; then :
4458 $as_echo_n "(cached) " >&6
4460 if test -n "$NM"; then
4461 # Let the user override the test.
4464 lt_nm_to_check="${ac_tool_prefix}nm"
4465 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4466 lt_nm_to_check="$lt_nm_to_check nm"
4468 for lt_tmp_nm in $lt_nm_to_check; do
4469 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4470 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4472 test -z "$ac_dir" && ac_dir=.
4473 tmp_nm="$ac_dir/$lt_tmp_nm"
4474 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4475 # Check to see if the nm accepts a BSD-compat flag.
4476 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4477 # nm: unknown option "B" ignored
4478 # Tru64's nm complains that /dev/null is an invalid object file
4479 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4480 */dev/null* | *'Invalid file or object type'*)
4481 lt_cv_path_NM="$tmp_nm -B"
4485 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4487 lt_cv_path_NM="$tmp_nm -p"
4491 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4492 continue # so that we can try to find one that supports BSD flags
4501 : ${lt_cv_path_NM=no}
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4505 $as_echo "$lt_cv_path_NM" >&6; }
4506 if test "$lt_cv_path_NM" != "no"; then
4509 # Didn't find any BSD compatible name lister, look for dumpbin.
4510 if test -n "$DUMPBIN"; then :
4511 # Let the user override the test.
4513 if test -n "$ac_tool_prefix"; then
4514 for ac_prog in dumpbin "link -dump"
4516 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4519 $as_echo_n "checking for $ac_word... " >&6; }
4520 if ${ac_cv_prog_DUMPBIN+:} false; then :
4521 $as_echo_n "(cached) " >&6
4523 if test -n "$DUMPBIN"; then
4524 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir=.
4531 for ac_exec_ext in '' $ac_executable_extensions; do
4532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4533 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 DUMPBIN=$ac_cv_prog_DUMPBIN
4544 if test -n "$DUMPBIN"; then
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4546 $as_echo "$DUMPBIN" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4549 $as_echo "no" >&6; }
4553 test -n "$DUMPBIN" && break
4556 if test -z "$DUMPBIN"; then
4557 ac_ct_DUMPBIN=$DUMPBIN
4558 for ac_prog in dumpbin "link -dump"
4560 # Extract the first word of "$ac_prog", so it can be a program name with args.
4561 set dummy $ac_prog; ac_word=$2
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4563 $as_echo_n "checking for $ac_word... " >&6; }
4564 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4565 $as_echo_n "(cached) " >&6
4567 if test -n "$ac_ct_DUMPBIN"; then
4568 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4574 test -z "$as_dir" && as_dir=.
4575 for ac_exec_ext in '' $ac_executable_extensions; do
4576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4577 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4588 if test -n "$ac_ct_DUMPBIN"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4590 $as_echo "$ac_ct_DUMPBIN" >&6; }
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 $as_echo "no" >&6; }
4597 test -n "$ac_ct_DUMPBIN" && break
4600 if test "x$ac_ct_DUMPBIN" = x; then
4603 case $cross_compiling:$ac_tool_warned in
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4607 ac_tool_warned=yes ;;
4609 DUMPBIN=$ac_ct_DUMPBIN
4613 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4615 DUMPBIN="$DUMPBIN -symbols"
4623 if test "$DUMPBIN" != ":"; then
4627 test -z "$NM" && NM=nm
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4635 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4636 if ${lt_cv_nm_interface+:} false; then :
4637 $as_echo_n "(cached) " >&6
4639 lt_cv_nm_interface="BSD nm"
4640 echo "int some_variable = 0;" > conftest.$ac_ext
4641 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4642 (eval "$ac_compile" 2>conftest.err)
4643 cat conftest.err >&5
4644 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4645 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4646 cat conftest.err >&5
4647 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4648 cat conftest.out >&5
4649 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4650 lt_cv_nm_interface="MS dumpbin"
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4655 $as_echo "$lt_cv_nm_interface" >&6; }
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4658 $as_echo_n "checking whether ln -s works... " >&6; }
4660 if test "$LN_S" = "ln -s"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4662 $as_echo "yes" >&6; }
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4665 $as_echo "no, using $LN_S" >&6; }
4668 # find the maximum length of command line arguments
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4670 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4671 if ${lt_cv_sys_max_cmd_len+:} false; then :
4672 $as_echo_n "(cached) " >&6
4679 # On DJGPP, this test can blow up pretty badly due to problems in libc
4680 # (any single argument exceeding 2000 bytes causes a buffer overrun
4681 # during glob expansion). Even if it were fixed, the result of this
4682 # check would be larger than it should be.
4683 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4687 # Under GNU Hurd, this test is not required because there is
4688 # no limit to the length of command line arguments.
4689 # Libtool will interpret -1 as no limit whatsoever
4690 lt_cv_sys_max_cmd_len=-1;
4693 cygwin* | mingw* | cegcc*)
4694 # On Win9x/ME, this test blows up -- it succeeds, but takes
4695 # about 5 minutes as the teststring grows exponentially.
4696 # Worse, since 9x/ME are not pre-emptively multitasking,
4697 # you end up with a "frozen" computer, even though with patience
4698 # the test eventually succeeds (with a max line length of 256k).
4699 # Instead, let's just punt: use the minimum linelength reported by
4700 # all of the supported platforms: 8192 (on NT/2K/XP).
4701 lt_cv_sys_max_cmd_len=8192;
4705 # On MiNT this can take a long time and run out of memory.
4706 lt_cv_sys_max_cmd_len=8192;
4710 # On AmigaOS with pdksh, this test takes hours, literally.
4711 # So we just punt and use a minimum line length of 8192.
4712 lt_cv_sys_max_cmd_len=8192;
4715 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4716 # This has been around since 386BSD, at least. Likely further.
4717 if test -x /sbin/sysctl; then
4718 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4719 elif test -x /usr/sbin/sysctl; then
4720 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4722 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4724 # And add a safety zone
4725 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4726 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4730 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4731 lt_cv_sys_max_cmd_len=196608
4735 # The test takes a long time on OS/2.
4736 lt_cv_sys_max_cmd_len=8192
4740 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4741 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4742 # nice to cause kernel panics so lets avoid the loop below.
4743 # First set a reasonable default.
4744 lt_cv_sys_max_cmd_len=16384
4746 if test -x /sbin/sysconfig; then
4747 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4748 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4753 lt_cv_sys_max_cmd_len=102400
4755 sysv5* | sco5v6* | sysv4.2uw2*)
4756 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4757 if test -n "$kargmax"; then
4758 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4760 lt_cv_sys_max_cmd_len=32768
4764 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4765 if test -n "$lt_cv_sys_max_cmd_len"; then
4766 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4767 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4769 # Make teststring a little bigger before we do anything with it.
4770 # a 1K string should be a reasonable start.
4771 for i in 1 2 3 4 5 6 7 8 ; do
4772 teststring=$teststring$teststring
4774 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4775 # If test is not a shell built-in, we'll probably end up computing a
4776 # maximum length that is only half of the actual maximum length, but
4778 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4779 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4780 test $i != 17 # 1/2 MB should be enough
4783 teststring=$teststring$teststring
4785 # Only check the string length outside the loop.
4786 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4788 # Add a significant safety factor because C++ compilers can tack on
4789 # massive amounts of additional arguments before passing them to the
4790 # linker. It appears as though 1/2 is a usable value.
4791 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4798 if test -n $lt_cv_sys_max_cmd_len ; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4800 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4803 $as_echo "none" >&6; }
4805 max_cmd_len=$lt_cv_sys_max_cmd_len
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4817 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4818 # Try some XSI features
4821 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4823 && eval 'test $(( 1 + 1 )) -eq 2 \
4824 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4827 $as_echo "$xsi_shell" >&6; }
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4831 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4833 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4835 && lt_shell_append=yes
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4837 $as_echo "$lt_shell_append" >&6; }
4840 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4850 # test EBCDIC or ASCII
4851 case `echo X|tr X '\101'` in
4852 A) # ASCII based system
4853 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4854 lt_SP2NL='tr \040 \012'
4855 lt_NL2SP='tr \015\012 \040\040'
4857 *) # EBCDIC based system
4858 lt_SP2NL='tr \100 \n'
4859 lt_NL2SP='tr \r\n \100\100'
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4872 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4873 if ${lt_cv_to_host_file_cmd+:} false; then :
4874 $as_echo_n "(cached) " >&6
4879 *-*-mingw* ) # actually msys
4880 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4883 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4885 * ) # otherwise, assume *nix
4886 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4892 *-*-mingw* ) # actually msys
4893 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4896 lt_cv_to_host_file_cmd=func_convert_file_noop
4898 * ) # otherwise, assume *nix
4899 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4903 * ) # unhandled hosts (and "normal" native builds)
4904 lt_cv_to_host_file_cmd=func_convert_file_noop
4910 to_host_file_cmd=$lt_cv_to_host_file_cmd
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4912 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4919 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4920 if ${lt_cv_to_tool_file_cmd+:} false; then :
4921 $as_echo_n "(cached) " >&6
4923 #assume ordinary cross tools, or native build.
4924 lt_cv_to_tool_file_cmd=func_convert_file_noop
4928 *-*-mingw* ) # actually msys
4929 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4937 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4939 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4946 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4947 if ${lt_cv_ld_reload_flag+:} false; then :
4948 $as_echo_n "(cached) " >&6
4950 lt_cv_ld_reload_flag='-r'
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4953 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4954 reload_flag=$lt_cv_ld_reload_flag
4955 case $reload_flag in
4957 *) reload_flag=" $reload_flag" ;;
4959 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4961 cygwin* | mingw* | pw32* | cegcc*)
4962 if test "$GCC" != yes; then
4967 if test "$GCC" = yes; then
4968 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4970 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4983 if test -n "$ac_tool_prefix"; then
4984 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4985 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_OBJDUMP+:} false; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -n "$OBJDUMP"; then
4992 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir=.
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5001 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 OBJDUMP=$ac_cv_prog_OBJDUMP
5012 if test -n "$OBJDUMP"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5014 $as_echo "$OBJDUMP" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5022 if test -z "$ac_cv_prog_OBJDUMP"; then
5023 ac_ct_OBJDUMP=$OBJDUMP
5024 # Extract the first word of "objdump", so it can be a program name with args.
5025 set dummy objdump; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5029 $as_echo_n "(cached) " >&6
5031 if test -n "$ac_ct_OBJDUMP"; then
5032 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5052 if test -n "$ac_ct_OBJDUMP"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5054 $as_echo "$ac_ct_OBJDUMP" >&6; }
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5060 if test "x$ac_ct_OBJDUMP" = x; then
5063 case $cross_compiling:$ac_tool_warned in
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5067 ac_tool_warned=yes ;;
5069 OBJDUMP=$ac_ct_OBJDUMP
5072 OBJDUMP="$ac_cv_prog_OBJDUMP"
5075 test -z "$OBJDUMP" && OBJDUMP=objdump
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5083 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5084 if ${lt_cv_deplibs_check_method+:} false; then :
5085 $as_echo_n "(cached) " >&6
5087 lt_cv_file_magic_cmd='$MAGIC_CMD'
5088 lt_cv_file_magic_test_file=
5089 lt_cv_deplibs_check_method='unknown'
5090 # Need to set the preceding variable on all platforms that support
5091 # interlibrary dependencies.
5092 # 'none' -- dependencies not supported.
5093 # `unknown' -- same as none, but documents that we really don't know.
5094 # 'pass_all' -- all dependencies passed with no checks.
5095 # 'test_compile' -- check by making test program.
5096 # 'file_magic [[regex]]' -- check by looking for files in library path
5097 # which responds to the $file_magic_cmd with a given extended regex.
5098 # If you have `file' or equivalent on your system and you're not sure
5099 # whether `pass_all' will *always* work, you probably want this one.
5103 lt_cv_deplibs_check_method=pass_all
5107 lt_cv_deplibs_check_method=pass_all
5111 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5112 lt_cv_file_magic_cmd='/usr/bin/file -L'
5113 lt_cv_file_magic_test_file=/shlib/libc.so
5117 # func_win32_libid is a shell function defined in ltmain.sh
5118 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5119 lt_cv_file_magic_cmd='func_win32_libid'
5123 # Base MSYS/MinGW do not provide the 'file' command needed by
5124 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5125 # unless we find 'file', for example because we are cross-compiling.
5126 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5127 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5128 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5129 lt_cv_file_magic_cmd='func_win32_libid'
5131 # Keep this pattern in sync with the one in func_win32_libid.
5132 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5133 lt_cv_file_magic_cmd='$OBJDUMP -f'
5138 # use the weaker test based on 'objdump'. See mingw*.
5139 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5140 lt_cv_file_magic_cmd='$OBJDUMP -f'
5143 darwin* | rhapsody*)
5144 lt_cv_deplibs_check_method=pass_all
5147 freebsd* | dragonfly*)
5148 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5151 # Not sure whether the presence of OpenBSD here was a mistake.
5152 # Let's accept both of them until this is cleared up.
5153 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5154 lt_cv_file_magic_cmd=/usr/bin/file
5155 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5159 lt_cv_deplibs_check_method=pass_all
5164 lt_cv_deplibs_check_method=pass_all
5168 lt_cv_deplibs_check_method=pass_all
5171 hpux10.20* | hpux11*)
5172 lt_cv_file_magic_cmd=/usr/bin/file
5175 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5176 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5179 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]'
5180 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5183 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5184 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5190 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5191 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5194 irix5* | irix6* | nonstopux*)
5196 *-32|*"-32 ") libmagic=32-bit;;
5197 *-n32|*"-n32 ") libmagic=N32;;
5198 *-64|*"-64 ") libmagic=64-bit;;
5199 *) libmagic=never-match;;
5201 lt_cv_deplibs_check_method=pass_all
5204 # This must be glibc/ELF.
5205 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5206 lt_cv_deplibs_check_method=pass_all
5209 netbsd* | netbsdelf*-gnu)
5210 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5211 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5213 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5219 lt_cv_file_magic_cmd=/usr/bin/file
5220 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5224 lt_cv_deplibs_check_method=pass_all
5228 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5229 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5231 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5235 osf3* | osf4* | osf5*)
5236 lt_cv_deplibs_check_method=pass_all
5240 lt_cv_deplibs_check_method=pass_all
5244 lt_cv_deplibs_check_method=pass_all
5247 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5248 lt_cv_deplibs_check_method=pass_all
5252 case $host_vendor in
5254 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]'
5255 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5258 lt_cv_deplibs_check_method=pass_all
5261 lt_cv_file_magic_cmd='/bin/file'
5262 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5265 lt_cv_file_magic_cmd='/bin/file'
5266 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5267 lt_cv_file_magic_test_file=/lib/libc.so
5270 lt_cv_deplibs_check_method=pass_all
5273 lt_cv_deplibs_check_method=pass_all
5279 lt_cv_deplibs_check_method=pass_all
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5285 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5289 if test "$build" = "$host"; then
5292 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5295 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5301 file_magic_cmd=$lt_cv_file_magic_cmd
5302 deplibs_check_method=$lt_cv_deplibs_check_method
5303 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5326 if test -n "$ac_tool_prefix"; then
5327 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5328 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_DLLTOOL+:} false; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$DLLTOOL"; then
5335 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir=.
5342 for ac_exec_ext in '' $ac_executable_extensions; do
5343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 DLLTOOL=$ac_cv_prog_DLLTOOL
5355 if test -n "$DLLTOOL"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5357 $as_echo "$DLLTOOL" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5365 if test -z "$ac_cv_prog_DLLTOOL"; then
5366 ac_ct_DLLTOOL=$DLLTOOL
5367 # Extract the first word of "dlltool", so it can be a program name with args.
5368 set dummy dlltool; ac_word=$2
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370 $as_echo_n "checking for $ac_word... " >&6; }
5371 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5372 $as_echo_n "(cached) " >&6
5374 if test -n "$ac_ct_DLLTOOL"; then
5375 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir=.
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5384 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5395 if test -n "$ac_ct_DLLTOOL"; then
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5397 $as_echo "$ac_ct_DLLTOOL" >&6; }
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400 $as_echo "no" >&6; }
5403 if test "x$ac_ct_DLLTOOL" = x; then
5406 case $cross_compiling:$ac_tool_warned in
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5410 ac_tool_warned=yes ;;
5412 DLLTOOL=$ac_ct_DLLTOOL
5415 DLLTOOL="$ac_cv_prog_DLLTOOL"
5418 test -z "$DLLTOOL" && DLLTOOL=dlltool
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5427 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5428 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5429 $as_echo_n "(cached) " >&6
5431 lt_cv_sharedlib_from_linklib_cmd='unknown'
5434 cygwin* | mingw* | pw32* | cegcc*)
5435 # two different shell functions defined in ltmain.sh
5436 # decide which to use based on capabilities of $DLLTOOL
5437 case `$DLLTOOL --help 2>&1` in
5438 *--identify-strict*)
5439 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5442 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5447 # fallback: assume linklib IS sharedlib
5448 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5454 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5455 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5456 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5465 if test -n "$ac_tool_prefix"; then
5468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_AR+:} false; then :
5473 $as_echo_n "(cached) " >&6
5475 if test -n "$AR"; then
5476 ac_cv_prog_AR="$AR" # Let the user override the test.
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5485 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 if test -n "$AR"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5498 $as_echo "$AR" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5505 test -n "$AR" && break
5508 if test -z "$AR"; then
5512 # Extract the first word of "$ac_prog", so it can be a program name with args.
5513 set dummy $ac_prog; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5517 $as_echo_n "(cached) " >&6
5519 if test -n "$ac_ct_AR"; then
5520 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5529 ac_cv_prog_ac_ct_AR="$ac_prog"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5540 if test -n "$ac_ct_AR"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5542 $as_echo "$ac_ct_AR" >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5549 test -n "$ac_ct_AR" && break
5552 if test "x$ac_ct_AR" = x; then
5555 case $cross_compiling:$ac_tool_warned in
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5559 ac_tool_warned=yes ;;
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5579 $as_echo_n "checking for archiver @FILE support... " >&6; }
5580 if ${lt_cv_ar_at_file+:} false; then :
5581 $as_echo_n "(cached) " >&6
5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5595 if ac_fn_c_try_compile "$LINENO"; then :
5596 echo conftest.$ac_objext > conftest.lst
5597 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5598 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5599 (eval $lt_ar_try) 2>&5
5601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5602 test $ac_status = 0; }
5603 if test "$ac_status" -eq 0; then
5604 # Ensure the archiver fails upon bogus file names.
5605 rm -f conftest.$ac_objext libconftest.a
5606 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5607 (eval $lt_ar_try) 2>&5
5609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5610 test $ac_status = 0; }
5611 if test "$ac_status" -ne 0; then
5615 rm -f conftest.* libconftest.a
5618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5622 $as_echo "$lt_cv_ar_at_file" >&6; }
5624 if test "x$lt_cv_ar_at_file" = xno; then
5627 archiver_list_spec=$lt_cv_ar_at_file
5636 if test -n "$ac_tool_prefix"; then
5637 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5638 set dummy ${ac_tool_prefix}strip; ac_word=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_STRIP+:} false; then :
5642 $as_echo_n "(cached) " >&6
5644 if test -n "$STRIP"; then
5645 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651 test -z "$as_dir" && as_dir=.
5652 for ac_exec_ext in '' $ac_executable_extensions; do
5653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5654 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 STRIP=$ac_cv_prog_STRIP
5665 if test -n "$STRIP"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5667 $as_echo "$STRIP" >&6; }
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5675 if test -z "$ac_cv_prog_STRIP"; then
5677 # Extract the first word of "strip", so it can be a program name with args.
5678 set dummy strip; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5682 $as_echo_n "(cached) " >&6
5684 if test -n "$ac_ct_STRIP"; then
5685 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5694 ac_cv_prog_ac_ct_STRIP="strip"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5705 if test -n "$ac_ct_STRIP"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5707 $as_echo "$ac_ct_STRIP" >&6; }
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5713 if test "x$ac_ct_STRIP" = x; then
5716 case $cross_compiling:$ac_tool_warned in
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5720 ac_tool_warned=yes ;;
5725 STRIP="$ac_cv_prog_STRIP"
5728 test -z "$STRIP" && STRIP=:
5735 if test -n "$ac_tool_prefix"; then
5736 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5737 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_RANLIB+:} false; then :
5741 $as_echo_n "(cached) " >&6
5743 if test -n "$RANLIB"; then
5744 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5753 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 RANLIB=$ac_cv_prog_RANLIB
5764 if test -n "$RANLIB"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5766 $as_echo "$RANLIB" >&6; }
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5774 if test -z "$ac_cv_prog_RANLIB"; then
5775 ac_ct_RANLIB=$RANLIB
5776 # Extract the first word of "ranlib", so it can be a program name with args.
5777 set dummy ranlib; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5781 $as_echo_n "(cached) " >&6
5783 if test -n "$ac_ct_RANLIB"; then
5784 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_RANLIB="ranlib"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5804 if test -n "$ac_ct_RANLIB"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5806 $as_echo "$ac_ct_RANLIB" >&6; }
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5812 if test "x$ac_ct_RANLIB" = x; then
5815 case $cross_compiling:$ac_tool_warned in
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5819 ac_tool_warned=yes ;;
5821 RANLIB=$ac_ct_RANLIB
5824 RANLIB="$ac_cv_prog_RANLIB"
5827 test -z "$RANLIB" && RANLIB=:
5834 # Determine commands to create old-style static archives.
5835 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5836 old_postinstall_cmds='chmod 644 $oldlib'
5837 old_postuninstall_cmds=
5839 if test -n "$RANLIB"; then
5842 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5845 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5848 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5853 lock_old_archive_extraction=yes ;;
5855 lock_old_archive_extraction=no ;;
5896 # If no C compiler was specified, use CC.
5899 # If no C compiler flags were specified, use CFLAGS.
5900 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5902 # Allow CC to be a program name with arguments.
5906 # Check for command to grab the raw symbol name followed by C symbol from nm.
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5908 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5909 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5910 $as_echo_n "(cached) " >&6
5913 # These are sane defaults that work on at least a few old systems.
5914 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5916 # Character class describing NM global symbol codes.
5917 symcode='[BCDEGRST]'
5919 # Regexp to match symbols that can be accessed directly from C.
5920 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5922 # Define system-specific variables.
5927 cygwin* | mingw* | pw32* | cegcc*)
5928 symcode='[ABCDGISTW]'
5931 if test "$host_cpu" = ia64; then
5932 symcode='[ABCDEGRST]'
5936 symcode='[BCDEGRST]'
5939 symcode='[BCDEGQRST]'
5950 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5958 # If we're using GNU nm, then use its standard symbol codes.
5959 case `$NM -V 2>&1` in
5960 *GNU* | *'with BFD'*)
5961 symcode='[ABCDGIRSTW]' ;;
5964 # Transform an extracted symbol line into a proper C declaration.
5965 # Some systems (esp. on ia64) link data and code symbols differently,
5966 # so use this general approach.
5967 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5969 # Transform an extracted symbol line into symbol name and symbol address
5970 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5971 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'"
5973 # Handle CRLF in mingw tool chain
5977 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5981 # Try without a prefix underscore, then with it.
5982 for ac_symprfx in "" "_"; do
5984 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5985 symxfrm="\\1 $ac_symprfx\\2 \\2"
5987 # Write the raw and C identifiers.
5988 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5989 # Fake it for dumpbin and say T for any non-static function
5990 # and D for any global variable.
5991 # Also find C++ and __fastcall symbols from MSVC++,
5992 # which start with @ or ?.
5993 lt_cv_sys_global_symbol_pipe="$AWK '"\
5994 " {last_section=section; section=\$ 3};"\
5995 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5996 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5997 " \$ 0!~/External *\|/{next};"\
5998 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5999 " {if(hide[section]) next};"\
6000 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6001 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6002 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6003 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6004 " ' prfx=^$ac_symprfx"
6006 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6008 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6010 # Check to see that the pipe works correctly.
6014 cat > conftest.$ac_ext <<_LT_EOF
6019 void nm_test_func(void);
6020 void nm_test_func(void){}
6024 int main(){nm_test_var='a';nm_test_func();return(0);}
6027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6028 (eval $ac_compile) 2>&5
6030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6031 test $ac_status = 0; }; then
6032 # Now try to grab the symbols.
6034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6035 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6038 test $ac_status = 0; } && test -s "$nlist"; then
6039 # Try sorting and uniquifying the output.
6040 if sort "$nlist" | uniq > "$nlist"T; then
6041 mv -f "$nlist"T "$nlist"
6046 # Make sure that we snagged all the symbols we need.
6047 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6048 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6049 cat <<_LT_EOF > conftest.$ac_ext
6050 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6051 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6052 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6053 relocations are performed -- see ld's documentation on pseudo-relocs. */
6054 # define LT_DLSYM_CONST
6055 #elif defined(__osf__)
6056 /* This system does not cope well with relocations in const data. */
6057 # define LT_DLSYM_CONST
6059 # define LT_DLSYM_CONST const
6067 # Now generate the symbol file.
6068 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6070 cat <<_LT_EOF >> conftest.$ac_ext
6072 /* The mapping between symbol names and symbols. */
6073 LT_DLSYM_CONST struct {
6077 lt__PROGRAM__LTX_preloaded_symbols[] =
6079 { "@PROGRAM@", (void *) 0 },
6081 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6082 cat <<\_LT_EOF >> conftest.$ac_ext
6086 /* This works around a problem in FreeBSD linker */
6087 #ifdef FREEBSD_WORKAROUND
6088 static const void *lt_preloaded_setup() {
6089 return lt__PROGRAM__LTX_preloaded_symbols;
6097 # Now try linking the two files.
6098 mv conftest.$ac_objext conftstm.$ac_objext
6099 lt_globsym_save_LIBS=$LIBS
6100 lt_globsym_save_CFLAGS=$CFLAGS
6101 LIBS="conftstm.$ac_objext"
6102 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6103 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6104 (eval $ac_link) 2>&5
6106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6107 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6110 LIBS=$lt_globsym_save_LIBS
6111 CFLAGS=$lt_globsym_save_CFLAGS
6113 echo "cannot find nm_test_func in $nlist" >&5
6116 echo "cannot find nm_test_var in $nlist" >&5
6119 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6122 echo "$progname: failed program was:" >&5
6123 cat conftest.$ac_ext >&5
6125 rm -rf conftest* conftst*
6127 # Do not use the global_symbol_pipe unless it works.
6128 if test "$pipe_works" = yes; then
6131 lt_cv_sys_global_symbol_pipe=
6137 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6138 lt_cv_sys_global_symbol_to_cdecl=
6140 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6142 $as_echo "failed" >&6; }
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6145 $as_echo "ok" >&6; }
6148 # Response file support.
6149 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6150 nm_file_list_spec='@'
6151 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6152 nm_file_list_spec='@'
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6182 $as_echo_n "checking for sysroot... " >&6; }
6184 # Check whether --with-sysroot was given.
6185 if test "${with_sysroot+set}" = set; then :
6186 withval=$with_sysroot;
6193 case ${with_sysroot} in #(
6195 if test "$GCC" = yes; then
6196 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6200 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6206 $as_echo "${with_sysroot}" >&6; }
6207 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6212 $as_echo "${lt_sysroot:-no}" >&6; }
6218 # Check whether --enable-libtool-lock was given.
6219 if test "${enable_libtool_lock+set}" = set; then :
6220 enableval=$enable_libtool_lock;
6223 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6225 # Some flags need to be propagated to the compiler or linker for good
6229 # Find out which ABI we are using.
6230 echo 'int i;' > conftest.$ac_ext
6231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6232 (eval $ac_compile) 2>&5
6234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6235 test $ac_status = 0; }; then
6236 case `/usr/bin/file conftest.$ac_objext` in
6248 # Find out which ABI we are using.
6249 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6250 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6251 (eval $ac_compile) 2>&5
6253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6254 test $ac_status = 0; }; then
6255 if test "$lt_cv_prog_gnu_ld" = yes; then
6256 case `/usr/bin/file conftest.$ac_objext` in
6258 LD="${LD-ld} -melf32bsmip"
6261 LD="${LD-ld} -melf32bmipn32"
6264 LD="${LD-ld} -melf64bmip"
6268 case `/usr/bin/file conftest.$ac_objext` in
6284 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6285 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6286 # Find out which ABI we are using.
6287 echo 'int i;' > conftest.$ac_ext
6288 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6289 (eval $ac_compile) 2>&5
6291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6292 test $ac_status = 0; }; then
6293 case `/usr/bin/file conftest.o` in
6296 x86_64-*kfreebsd*-gnu)
6297 LD="${LD-ld} -m elf_i386_fbsd"
6300 LD="${LD-ld} -m elf_i386"
6302 ppc64-*linux*|powerpc64-*linux*)
6303 LD="${LD-ld} -m elf32ppclinux"
6306 LD="${LD-ld} -m elf_s390"
6309 LD="${LD-ld} -m elf32_sparc"
6315 x86_64-*kfreebsd*-gnu)
6316 LD="${LD-ld} -m elf_x86_64_fbsd"
6319 LD="${LD-ld} -m elf_x86_64"
6321 ppc*-*linux*|powerpc*-*linux*)
6322 LD="${LD-ld} -m elf64ppc"
6324 s390*-*linux*|s390*-*tpf*)
6325 LD="${LD-ld} -m elf64_s390"
6328 LD="${LD-ld} -m elf64_sparc"
6338 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6339 SAVE_CFLAGS="$CFLAGS"
6340 CFLAGS="$CFLAGS -belf"
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6342 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6343 if ${lt_cv_cc_needs_belf+:} false; then :
6344 $as_echo_n "(cached) " >&6
6347 ac_cpp='$CPP $CPPFLAGS'
6348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6363 if ac_fn_c_try_link "$LINENO"; then :
6364 lt_cv_cc_needs_belf=yes
6366 lt_cv_cc_needs_belf=no
6368 rm -f core conftest.err conftest.$ac_objext \
6369 conftest$ac_exeext conftest.$ac_ext
6371 ac_cpp='$CPP $CPPFLAGS'
6372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6378 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6379 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6380 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6381 CFLAGS="$SAVE_CFLAGS"
6385 # Find out which ABI we are using.
6386 echo 'int i;' > conftest.$ac_ext
6387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6388 (eval $ac_compile) 2>&5
6390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6391 test $ac_status = 0; }; then
6392 case `/usr/bin/file conftest.o` in
6394 case $lt_cv_prog_gnu_ld in
6398 LD="${LD-ld} -m elf_x86_64"
6401 LD="${LD-ld} -m elf64_sparc"
6404 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6405 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6410 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6422 need_locks="$enable_libtool_lock"
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}mt; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6430 $as_echo_n "(cached) " >&6
6432 if test -n "$MANIFEST_TOOL"; then
6433 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6452 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6453 if test -n "$MANIFEST_TOOL"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6455 $as_echo "$MANIFEST_TOOL" >&6; }
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6463 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6464 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6465 # Extract the first word of "mt", so it can be a program name with args.
6466 set dummy mt; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6470 $as_echo_n "(cached) " >&6
6472 if test -n "$ac_ct_MANIFEST_TOOL"; then
6473 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6492 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6493 if test -n "$ac_ct_MANIFEST_TOOL"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6495 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6501 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6504 case $cross_compiling:$ac_tool_warned in
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6510 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6513 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6516 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6518 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6519 if ${lt_cv_path_mainfest_tool+:} false; then :
6520 $as_echo_n "(cached) " >&6
6522 lt_cv_path_mainfest_tool=no
6523 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6524 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6525 cat conftest.err >&5
6526 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6527 lt_cv_path_mainfest_tool=yes
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6532 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6533 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6543 rhapsody* | darwin*)
6544 if test -n "$ac_tool_prefix"; then
6545 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6546 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6548 $as_echo_n "checking for $ac_word... " >&6; }
6549 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6550 $as_echo_n "(cached) " >&6
6552 if test -n "$DSYMUTIL"; then
6553 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 test -z "$as_dir" && as_dir=.
6560 for ac_exec_ext in '' $ac_executable_extensions; do
6561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6562 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6573 if test -n "$DSYMUTIL"; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6575 $as_echo "$DSYMUTIL" >&6; }
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 $as_echo "no" >&6; }
6583 if test -z "$ac_cv_prog_DSYMUTIL"; then
6584 ac_ct_DSYMUTIL=$DSYMUTIL
6585 # Extract the first word of "dsymutil", so it can be a program name with args.
6586 set dummy dsymutil; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6590 $as_echo_n "(cached) " >&6
6592 if test -n "$ac_ct_DSYMUTIL"; then
6593 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6602 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6612 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6613 if test -n "$ac_ct_DSYMUTIL"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6615 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6621 if test "x$ac_ct_DSYMUTIL" = x; then
6624 case $cross_compiling:$ac_tool_warned in
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6628 ac_tool_warned=yes ;;
6630 DSYMUTIL=$ac_ct_DSYMUTIL
6633 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6636 if test -n "$ac_tool_prefix"; then
6637 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6638 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640 $as_echo_n "checking for $ac_word... " >&6; }
6641 if ${ac_cv_prog_NMEDIT+:} false; then :
6642 $as_echo_n "(cached) " >&6
6644 if test -n "$NMEDIT"; then
6645 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 test -z "$as_dir" && as_dir=.
6652 for ac_exec_ext in '' $ac_executable_extensions; do
6653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 NMEDIT=$ac_cv_prog_NMEDIT
6665 if test -n "$NMEDIT"; then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6667 $as_echo "$NMEDIT" >&6; }
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 $as_echo "no" >&6; }
6675 if test -z "$ac_cv_prog_NMEDIT"; then
6676 ac_ct_NMEDIT=$NMEDIT
6677 # Extract the first word of "nmedit", so it can be a program name with args.
6678 set dummy nmedit; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6682 $as_echo_n "(cached) " >&6
6684 if test -n "$ac_ct_NMEDIT"; then
6685 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6705 if test -n "$ac_ct_NMEDIT"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6707 $as_echo "$ac_ct_NMEDIT" >&6; }
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6713 if test "x$ac_ct_NMEDIT" = x; then
6716 case $cross_compiling:$ac_tool_warned in
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720 ac_tool_warned=yes ;;
6722 NMEDIT=$ac_ct_NMEDIT
6725 NMEDIT="$ac_cv_prog_NMEDIT"
6728 if test -n "$ac_tool_prefix"; then
6729 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6730 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if ${ac_cv_prog_LIPO+:} false; then :
6734 $as_echo_n "(cached) " >&6
6736 if test -n "$LIPO"; then
6737 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6746 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6756 LIPO=$ac_cv_prog_LIPO
6757 if test -n "$LIPO"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6759 $as_echo "$LIPO" >&6; }
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6767 if test -z "$ac_cv_prog_LIPO"; then
6769 # Extract the first word of "lipo", so it can be a program name with args.
6770 set dummy lipo; ac_word=$2
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6772 $as_echo_n "checking for $ac_word... " >&6; }
6773 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6774 $as_echo_n "(cached) " >&6
6776 if test -n "$ac_ct_LIPO"; then
6777 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 test -z "$as_dir" && as_dir=.
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6786 ac_cv_prog_ac_ct_LIPO="lipo"
6787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6796 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6797 if test -n "$ac_ct_LIPO"; then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6799 $as_echo "$ac_ct_LIPO" >&6; }
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 $as_echo "no" >&6; }
6805 if test "x$ac_ct_LIPO" = x; then
6808 case $cross_compiling:$ac_tool_warned in
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6812 ac_tool_warned=yes ;;
6817 LIPO="$ac_cv_prog_LIPO"
6820 if test -n "$ac_tool_prefix"; then
6821 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6822 set dummy ${ac_tool_prefix}otool; ac_word=$2
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824 $as_echo_n "checking for $ac_word... " >&6; }
6825 if ${ac_cv_prog_OTOOL+:} false; then :
6826 $as_echo_n "(cached) " >&6
6828 if test -n "$OTOOL"; then
6829 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 test -z "$as_dir" && as_dir=.
6836 for ac_exec_ext in '' $ac_executable_extensions; do
6837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6838 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6848 OTOOL=$ac_cv_prog_OTOOL
6849 if test -n "$OTOOL"; then
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6851 $as_echo "$OTOOL" >&6; }
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854 $as_echo "no" >&6; }
6859 if test -z "$ac_cv_prog_OTOOL"; then
6861 # Extract the first word of "otool", so it can be a program name with args.
6862 set dummy otool; ac_word=$2
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6864 $as_echo_n "checking for $ac_word... " >&6; }
6865 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6866 $as_echo_n "(cached) " >&6
6868 if test -n "$ac_ct_OTOOL"; then
6869 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 test -z "$as_dir" && as_dir=.
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6878 ac_cv_prog_ac_ct_OTOOL="otool"
6879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6888 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6889 if test -n "$ac_ct_OTOOL"; then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6891 $as_echo "$ac_ct_OTOOL" >&6; }
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 $as_echo "no" >&6; }
6897 if test "x$ac_ct_OTOOL" = x; then
6900 case $cross_compiling:$ac_tool_warned in
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904 ac_tool_warned=yes ;;
6909 OTOOL="$ac_cv_prog_OTOOL"
6912 if test -n "$ac_tool_prefix"; then
6913 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6914 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6916 $as_echo_n "checking for $ac_word... " >&6; }
6917 if ${ac_cv_prog_OTOOL64+:} false; then :
6918 $as_echo_n "(cached) " >&6
6920 if test -n "$OTOOL64"; then
6921 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 test -z "$as_dir" && as_dir=.
6928 for ac_exec_ext in '' $ac_executable_extensions; do
6929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6930 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6940 OTOOL64=$ac_cv_prog_OTOOL64
6941 if test -n "$OTOOL64"; then
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6943 $as_echo "$OTOOL64" >&6; }
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6946 $as_echo "no" >&6; }
6951 if test -z "$ac_cv_prog_OTOOL64"; then
6952 ac_ct_OTOOL64=$OTOOL64
6953 # Extract the first word of "otool64", so it can be a program name with args.
6954 set dummy otool64; ac_word=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6956 $as_echo_n "checking for $ac_word... " >&6; }
6957 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6958 $as_echo_n "(cached) " >&6
6960 if test -n "$ac_ct_OTOOL64"; then
6961 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 test -z "$as_dir" && as_dir=.
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6970 ac_cv_prog_ac_ct_OTOOL64="otool64"
6971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6981 if test -n "$ac_ct_OTOOL64"; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6983 $as_echo "$ac_ct_OTOOL64" >&6; }
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6986 $as_echo "no" >&6; }
6989 if test "x$ac_ct_OTOOL64" = x; then
6992 case $cross_compiling:$ac_tool_warned in
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6996 ac_tool_warned=yes ;;
6998 OTOOL64=$ac_ct_OTOOL64
7001 OTOOL64="$ac_cv_prog_OTOOL64"
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7031 $as_echo_n "checking for -single_module linker flag... " >&6; }
7032 if ${lt_cv_apple_cc_single_mod+:} false; then :
7033 $as_echo_n "(cached) " >&6
7035 lt_cv_apple_cc_single_mod=no
7036 if test -z "${LT_MULTI_MODULE}"; then
7037 # By default we will add the -single_module flag. You can override
7038 # by either setting the environment variable LT_MULTI_MODULE
7039 # non-empty at configure time, or by adding -multi_module to the
7041 rm -rf libconftest.dylib*
7042 echo "int foo(void){return 1;}" > conftest.c
7043 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7044 -dynamiclib -Wl,-single_module conftest.c" >&5
7045 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7046 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7048 # If there is a non-empty error log, and "single_module"
7049 # appears in it, assume the flag caused a linker warning
7050 if test -s conftest.err && $GREP single_module conftest.err; then
7051 cat conftest.err >&5
7052 # Otherwise, if the output was created with a 0 exit code from
7053 # the compiler, it worked.
7054 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7055 lt_cv_apple_cc_single_mod=yes
7057 cat conftest.err >&5
7059 rm -rf libconftest.dylib*
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7064 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7067 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7068 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7069 $as_echo_n "(cached) " >&6
7071 lt_cv_ld_exported_symbols_list=no
7072 save_LDFLAGS=$LDFLAGS
7073 echo "_main" > conftest.sym
7074 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7076 /* end confdefs.h. */
7086 if ac_fn_c_try_link "$LINENO"; then :
7087 lt_cv_ld_exported_symbols_list=yes
7089 lt_cv_ld_exported_symbols_list=no
7091 rm -f core conftest.err conftest.$ac_objext \
7092 conftest$ac_exeext conftest.$ac_ext
7093 LDFLAGS="$save_LDFLAGS"
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7097 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7100 $as_echo_n "checking for -force_load linker flag... " >&6; }
7101 if ${lt_cv_ld_force_load+:} false; then :
7102 $as_echo_n "(cached) " >&6
7104 lt_cv_ld_force_load=no
7105 cat > conftest.c << _LT_EOF
7106 int forced_loaded() { return 2;}
7108 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7109 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7110 echo "$AR cru libconftest.a conftest.o" >&5
7111 $AR cru libconftest.a conftest.o 2>&5
7112 echo "$RANLIB libconftest.a" >&5
7113 $RANLIB libconftest.a 2>&5
7114 cat > conftest.c << _LT_EOF
7115 int main() { return 0;}
7117 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7118 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7120 if test -s conftest.err && $GREP force_load conftest.err; then
7121 cat conftest.err >&5
7122 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7123 lt_cv_ld_force_load=yes
7125 cat conftest.err >&5
7127 rm -f conftest.err libconftest.a conftest conftest.c
7128 rm -rf conftest.dSYM
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7132 $as_echo "$lt_cv_ld_force_load" >&6; }
7134 rhapsody* | darwin1.[012])
7135 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7137 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7138 darwin*) # darwin 5.x on
7139 # if running on 10.5 or later, the deployment target defaults
7140 # to the OS version, if on x86, and 10.4, the deployment
7141 # target defaults to 10.4. Don't you love it?
7142 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7143 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7144 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7146 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7148 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7152 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7153 _lt_dar_single_mod='$single_module'
7155 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7156 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7158 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7160 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7161 _lt_dsymutil='~$DSYMUTIL $lib || :'
7169 ac_cpp='$CPP $CPPFLAGS'
7170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7174 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7175 # On Suns, sometimes $CPP names a directory.
7176 if test -n "$CPP" && test -d "$CPP"; then
7179 if test -z "$CPP"; then
7180 if ${ac_cv_prog_CPP+:} false; then :
7181 $as_echo_n "(cached) " >&6
7183 # Double quotes because CPP needs to be expanded
7184 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7187 for ac_c_preproc_warn_flag in '' yes
7189 # Use a header file that comes with gcc, so configuring glibc
7190 # with a fresh cross-compiler works.
7191 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7192 # <limits.h> exists even on freestanding compilers.
7193 # On the NeXT, cc -E runs the code through the compiler's parser,
7194 # not just through cpp. "Syntax error" is here to catch this case.
7195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7198 # include <limits.h>
7200 # include <assert.h>
7204 if ac_fn_c_try_cpp "$LINENO"; then :
7207 # Broken: fails on valid input.
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7212 # OK, works on sane cases. Now check whether nonexistent headers
7213 # can be detected and how.
7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7215 /* end confdefs.h. */
7216 #include <ac_nonexistent.h>
7218 if ac_fn_c_try_cpp "$LINENO"; then :
7219 # Broken: success on invalid input.
7222 # Passes both tests.
7226 rm -f conftest.err conftest.i conftest.$ac_ext
7229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7230 rm -f conftest.i conftest.err conftest.$ac_ext
7231 if $ac_preproc_ok; then :
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7244 $as_echo "$CPP" >&6; }
7246 for ac_c_preproc_warn_flag in '' yes
7248 # Use a header file that comes with gcc, so configuring glibc
7249 # with a fresh cross-compiler works.
7250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7251 # <limits.h> exists even on freestanding compilers.
7252 # On the NeXT, cc -E runs the code through the compiler's parser,
7253 # not just through cpp. "Syntax error" is here to catch this case.
7254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7257 # include <limits.h>
7259 # include <assert.h>
7263 if ac_fn_c_try_cpp "$LINENO"; then :
7266 # Broken: fails on valid input.
7269 rm -f conftest.err conftest.i conftest.$ac_ext
7271 # OK, works on sane cases. Now check whether nonexistent headers
7272 # can be detected and how.
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7275 #include <ac_nonexistent.h>
7277 if ac_fn_c_try_cpp "$LINENO"; then :
7278 # Broken: success on invalid input.
7281 # Passes both tests.
7285 rm -f conftest.err conftest.i conftest.$ac_ext
7288 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7289 rm -f conftest.i conftest.err conftest.$ac_ext
7290 if $ac_preproc_ok; then :
7293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7295 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7296 See \`config.log' for more details" "$LINENO" 5; }
7300 ac_cpp='$CPP $CPPFLAGS'
7301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7307 $as_echo_n "checking for ANSI C header files... " >&6; }
7308 if ${ac_cv_header_stdc+:} false; then :
7309 $as_echo_n "(cached) " >&6
7311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7312 /* end confdefs.h. */
7326 if ac_fn_c_try_compile "$LINENO"; then :
7327 ac_cv_header_stdc=yes
7329 ac_cv_header_stdc=no
7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333 if test $ac_cv_header_stdc = yes; then
7334 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7336 /* end confdefs.h. */
7340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7341 $EGREP "memchr" >/dev/null 2>&1; then :
7344 ac_cv_header_stdc=no
7350 if test $ac_cv_header_stdc = yes; then
7351 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7353 /* end confdefs.h. */
7357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7358 $EGREP "free" >/dev/null 2>&1; then :
7361 ac_cv_header_stdc=no
7367 if test $ac_cv_header_stdc = yes; then
7368 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7369 if test "$cross_compiling" = yes; then :
7372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7373 /* end confdefs.h. */
7376 #if ((' ' & 0x0FF) == 0x020)
7377 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7378 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7380 # define ISLOWER(c) \
7381 (('a' <= (c) && (c) <= 'i') \
7382 || ('j' <= (c) && (c) <= 'r') \
7383 || ('s' <= (c) && (c) <= 'z'))
7384 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7387 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7392 for (i = 0; i < 256; i++)
7393 if (XOR (islower (i), ISLOWER (i))
7394 || toupper (i) != TOUPPER (i))
7399 if ac_fn_c_try_run "$LINENO"; then :
7402 ac_cv_header_stdc=no
7404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7405 conftest.$ac_objext conftest.beam conftest.$ac_ext
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7411 $as_echo "$ac_cv_header_stdc" >&6; }
7412 if test $ac_cv_header_stdc = yes; then
7414 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7418 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7419 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7420 inttypes.h stdint.h unistd.h
7422 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7423 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7425 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7426 cat >>confdefs.h <<_ACEOF
7427 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7435 for ac_header in dlfcn.h
7437 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7439 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7440 cat >>confdefs.h <<_ACEOF
7441 #define HAVE_DLFCN_H 1
7453 enable_win32_dll=yes
7456 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7457 if test -n "$ac_tool_prefix"; then
7458 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7459 set dummy ${ac_tool_prefix}as; ac_word=$2
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7461 $as_echo_n "checking for $ac_word... " >&6; }
7462 if ${ac_cv_prog_AS+:} false; then :
7463 $as_echo_n "(cached) " >&6
7465 if test -n "$AS"; then
7466 ac_cv_prog_AS="$AS" # Let the user override the test.
7468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7472 test -z "$as_dir" && as_dir=.
7473 for ac_exec_ext in '' $ac_executable_extensions; do
7474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7475 ac_cv_prog_AS="${ac_tool_prefix}as"
7476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 if test -n "$AS"; then
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7488 $as_echo "$AS" >&6; }
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7491 $as_echo "no" >&6; }
7496 if test -z "$ac_cv_prog_AS"; then
7498 # Extract the first word of "as", so it can be a program name with args.
7499 set dummy as; ac_word=$2
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7501 $as_echo_n "checking for $ac_word... " >&6; }
7502 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7503 $as_echo_n "(cached) " >&6
7505 if test -n "$ac_ct_AS"; then
7506 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7512 test -z "$as_dir" && as_dir=.
7513 for ac_exec_ext in '' $ac_executable_extensions; do
7514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7515 ac_cv_prog_ac_ct_AS="as"
7516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7526 if test -n "$ac_ct_AS"; then
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7528 $as_echo "$ac_ct_AS" >&6; }
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7531 $as_echo "no" >&6; }
7534 if test "x$ac_ct_AS" = x; then
7537 case $cross_compiling:$ac_tool_warned in
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7541 ac_tool_warned=yes ;;
7549 if test -n "$ac_tool_prefix"; then
7550 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7551 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7553 $as_echo_n "checking for $ac_word... " >&6; }
7554 if ${ac_cv_prog_DLLTOOL+:} false; then :
7555 $as_echo_n "(cached) " >&6
7557 if test -n "$DLLTOOL"; then
7558 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7564 test -z "$as_dir" && as_dir=.
7565 for ac_exec_ext in '' $ac_executable_extensions; do
7566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7567 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7577 DLLTOOL=$ac_cv_prog_DLLTOOL
7578 if test -n "$DLLTOOL"; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7580 $as_echo "$DLLTOOL" >&6; }
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7583 $as_echo "no" >&6; }
7588 if test -z "$ac_cv_prog_DLLTOOL"; then
7589 ac_ct_DLLTOOL=$DLLTOOL
7590 # Extract the first word of "dlltool", so it can be a program name with args.
7591 set dummy dlltool; ac_word=$2
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7593 $as_echo_n "checking for $ac_word... " >&6; }
7594 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7595 $as_echo_n "(cached) " >&6
7597 if test -n "$ac_ct_DLLTOOL"; then
7598 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604 test -z "$as_dir" && as_dir=.
7605 for ac_exec_ext in '' $ac_executable_extensions; do
7606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7607 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7617 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7618 if test -n "$ac_ct_DLLTOOL"; then
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7620 $as_echo "$ac_ct_DLLTOOL" >&6; }
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7623 $as_echo "no" >&6; }
7626 if test "x$ac_ct_DLLTOOL" = x; then
7629 case $cross_compiling:$ac_tool_warned in
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7633 ac_tool_warned=yes ;;
7635 DLLTOOL=$ac_ct_DLLTOOL
7638 DLLTOOL="$ac_cv_prog_DLLTOOL"
7641 if test -n "$ac_tool_prefix"; then
7642 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7643 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7645 $as_echo_n "checking for $ac_word... " >&6; }
7646 if ${ac_cv_prog_OBJDUMP+:} false; then :
7647 $as_echo_n "(cached) " >&6
7649 if test -n "$OBJDUMP"; then
7650 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656 test -z "$as_dir" && as_dir=.
7657 for ac_exec_ext in '' $ac_executable_extensions; do
7658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7659 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7669 OBJDUMP=$ac_cv_prog_OBJDUMP
7670 if test -n "$OBJDUMP"; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7672 $as_echo "$OBJDUMP" >&6; }
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7675 $as_echo "no" >&6; }
7680 if test -z "$ac_cv_prog_OBJDUMP"; then
7681 ac_ct_OBJDUMP=$OBJDUMP
7682 # Extract the first word of "objdump", so it can be a program name with args.
7683 set dummy objdump; ac_word=$2
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7685 $as_echo_n "checking for $ac_word... " >&6; }
7686 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7687 $as_echo_n "(cached) " >&6
7689 if test -n "$ac_ct_OBJDUMP"; then
7690 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7696 test -z "$as_dir" && as_dir=.
7697 for ac_exec_ext in '' $ac_executable_extensions; do
7698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7699 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7709 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7710 if test -n "$ac_ct_OBJDUMP"; then
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7712 $as_echo "$ac_ct_OBJDUMP" >&6; }
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7715 $as_echo "no" >&6; }
7718 if test "x$ac_ct_OBJDUMP" = x; then
7721 case $cross_compiling:$ac_tool_warned in
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7725 ac_tool_warned=yes ;;
7727 OBJDUMP=$ac_ct_OBJDUMP
7730 OBJDUMP="$ac_cv_prog_OBJDUMP"
7736 test -z "$AS" && AS=as
7742 test -z "$DLLTOOL" && DLLTOOL=dlltool
7748 test -z "$OBJDUMP" && OBJDUMP=objdump
7760 # Check whether --enable-shared was given.
7761 if test "${enable_shared+set}" = set; then :
7762 enableval=$enable_shared; p=${PACKAGE-default}
7764 yes) enable_shared=yes ;;
7765 no) enable_shared=no ;;
7768 # Look at the argument we got. We use all the common list separators.
7769 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7770 for pkg in $enableval; do
7772 if test "X$pkg" = "X$p"; then
7791 # Check whether --enable-static was given.
7792 if test "${enable_static+set}" = set; then :
7793 enableval=$enable_static; p=${PACKAGE-default}
7795 yes) enable_static=yes ;;
7796 no) enable_static=no ;;
7799 # Look at the argument we got. We use all the common list separators.
7800 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7801 for pkg in $enableval; do
7803 if test "X$pkg" = "X$p"; then
7823 # Check whether --with-pic was given.
7824 if test "${with_pic+set}" = set; then :
7825 withval=$with_pic; lt_p=${PACKAGE-default}
7827 yes|no) pic_mode=$withval ;;
7830 # Look at the argument we got. We use all the common list separators.
7831 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7832 for lt_pkg in $withval; do
7834 if test "X$lt_pkg" = "X$lt_p"; then
7846 test -z "$pic_mode" && pic_mode=default
7854 # Check whether --enable-fast-install was given.
7855 if test "${enable_fast_install+set}" = set; then :
7856 enableval=$enable_fast_install; p=${PACKAGE-default}
7858 yes) enable_fast_install=yes ;;
7859 no) enable_fast_install=no ;;
7861 enable_fast_install=no
7862 # Look at the argument we got. We use all the common list separators.
7863 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7864 for pkg in $enableval; do
7866 if test "X$pkg" = "X$p"; then
7867 enable_fast_install=yes
7874 enable_fast_install=yes
7887 # This can be used to rebuild libtool when needed
7888 LIBTOOL_DEPS="$ltmain"
7890 # Always use our own libtool.
7891 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7922 test -z "$LN_S" && LN_S="ln -s"
7937 if test -n "${ZSH_VERSION+set}" ; then
7938 setopt NO_GLOB_SUBST
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7942 $as_echo_n "checking for objdir... " >&6; }
7943 if ${lt_cv_objdir+:} false; then :
7944 $as_echo_n "(cached) " >&6
7946 rm -f .libs 2>/dev/null
7947 mkdir .libs 2>/dev/null
7948 if test -d .libs; then
7951 # MS-DOS does not allow filenames that begin with a dot.
7954 rmdir .libs 2>/dev/null
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7957 $as_echo "$lt_cv_objdir" >&6; }
7958 objdir=$lt_cv_objdir
7964 cat >>confdefs.h <<_ACEOF
7965 #define LT_OBJDIR "$lt_cv_objdir/"
7973 # AIX sometimes has problems with the GCC collect2 program. For some
7974 # reason, if we set the COLLECT_NAMES environment variable, the problems
7975 # vanish in a puff of smoke.
7976 if test "X${COLLECT_NAMES+set}" != Xset; then
7978 export COLLECT_NAMES
7985 can_build_shared=yes
7987 # All known linkers require a `.a' archive for static linking (except MSVC,
7988 # which needs '.lib').
7991 with_gnu_ld="$lt_cv_prog_gnu_ld"
7994 old_CFLAGS="$CFLAGS"
7996 # Set sane defaults for various variables
7997 test -z "$CC" && CC=cc
7998 test -z "$LTCC" && LTCC=$CC
7999 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8000 test -z "$LD" && LD=ld
8001 test -z "$ac_objext" && ac_objext=o
8003 for cc_temp in $compiler""; do
8005 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8006 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8011 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8014 # Only perform the check for file, if the check method requires it
8015 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8016 case $deplibs_check_method in
8018 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8020 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8021 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8022 $as_echo_n "(cached) " >&6
8026 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8029 lt_save_MAGIC_CMD="$MAGIC_CMD"
8030 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8031 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8032 for ac_dir in $ac_dummy; do
8034 test -z "$ac_dir" && ac_dir=.
8035 if test -f $ac_dir/${ac_tool_prefix}file; then
8036 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8037 if test -n "$file_magic_test_file"; then
8038 case $deplibs_check_method in
8040 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8041 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8042 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8043 $EGREP "$file_magic_regex" > /dev/null; then
8048 *** Warning: the command libtool uses to detect shared libraries,
8049 *** $file_magic_cmd, produces output that libtool cannot recognize.
8050 *** The result is that libtool may fail to recognize shared libraries
8051 *** as such. This will affect the creation of libtool libraries that
8052 *** depend on shared libraries, but programs linked with such libtool
8053 *** libraries will work regardless of this problem. Nevertheless, you
8054 *** may want to report the problem to your system manager and/or to
8055 *** bug-libtool@gnu.org
8065 MAGIC_CMD="$lt_save_MAGIC_CMD"
8070 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8071 if test -n "$MAGIC_CMD"; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8073 $as_echo "$MAGIC_CMD" >&6; }
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 $as_echo "no" >&6; }
8083 if test -z "$lt_cv_path_MAGIC_CMD"; then
8084 if test -n "$ac_tool_prefix"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8086 $as_echo_n "checking for file... " >&6; }
8087 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8088 $as_echo_n "(cached) " >&6
8092 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8095 lt_save_MAGIC_CMD="$MAGIC_CMD"
8096 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8097 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8098 for ac_dir in $ac_dummy; do
8100 test -z "$ac_dir" && ac_dir=.
8101 if test -f $ac_dir/file; then
8102 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8103 if test -n "$file_magic_test_file"; then
8104 case $deplibs_check_method in
8106 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8107 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8108 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8109 $EGREP "$file_magic_regex" > /dev/null; then
8114 *** Warning: the command libtool uses to detect shared libraries,
8115 *** $file_magic_cmd, produces output that libtool cannot recognize.
8116 *** The result is that libtool may fail to recognize shared libraries
8117 *** as such. This will affect the creation of libtool libraries that
8118 *** depend on shared libraries, but programs linked with such libtool
8119 *** libraries will work regardless of this problem. Nevertheless, you
8120 *** may want to report the problem to your system manager and/or to
8121 *** bug-libtool@gnu.org
8131 MAGIC_CMD="$lt_save_MAGIC_CMD"
8136 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8137 if test -n "$MAGIC_CMD"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8139 $as_echo "$MAGIC_CMD" >&6; }
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8142 $as_echo "no" >&6; }
8155 # Use C for the default configuration in the libtool script
8159 ac_cpp='$CPP $CPPFLAGS'
8160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8165 # Source file extension for C test sources.
8168 # Object file extension for compiled C test sources.
8172 # Code to be used in simple compile tests
8173 lt_simple_compile_test_code="int some_variable = 0;"
8175 # Code to be used in simple link tests
8176 lt_simple_link_test_code='int main(){return(0);}'
8184 # If no C compiler was specified, use CC.
8187 # If no C compiler flags were specified, use CFLAGS.
8188 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8190 # Allow CC to be a program name with arguments.
8193 # Save the default compiler, since it gets overwritten when the other
8194 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8195 compiler_DEFAULT=$CC
8197 # save warnings/boilerplate of simple test code
8198 ac_outfile=conftest.$ac_objext
8199 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8200 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8201 _lt_compiler_boilerplate=`cat conftest.err`
8204 ac_outfile=conftest.$ac_objext
8205 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8206 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8207 _lt_linker_boilerplate=`cat conftest.err`
8212 ## There is no encapsulation within the following macros, do not change
8213 ## the running order or otherwise move them around unless you know exactly
8214 ## what you are doing...
8215 if test -n "$compiler"; then
8217 lt_prog_compiler_no_builtin_flag=
8219 if test "$GCC" = yes; then
8220 case $cc_basename in
8222 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8224 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8228 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8229 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8230 $as_echo_n "(cached) " >&6
8232 lt_cv_prog_compiler_rtti_exceptions=no
8233 ac_outfile=conftest.$ac_objext
8234 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8235 lt_compiler_flag="-fno-rtti -fno-exceptions"
8236 # Insert the option either (1) after the last *FLAGS variable, or
8237 # (2) before a word containing "conftest.", or (3) at the end.
8238 # Note that $ac_compile itself does not contain backslashes and begins
8239 # with a dollar sign (not a hyphen), so the echo should work correctly.
8240 # The option is referenced via a variable to avoid confusing sed.
8241 lt_compile=`echo "$ac_compile" | $SED \
8242 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8244 -e 's:$: $lt_compiler_flag:'`
8245 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8246 (eval "$lt_compile" 2>conftest.err)
8248 cat conftest.err >&5
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 if (exit $ac_status) && test -s "$ac_outfile"; then
8251 # The compiler can only warn and ignore the option if not recognized
8252 # So say no if there are warnings other than the usual output.
8253 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8254 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8255 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8256 lt_cv_prog_compiler_rtti_exceptions=yes
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8263 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8265 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8266 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8278 lt_prog_compiler_wl=
8279 lt_prog_compiler_pic=
8280 lt_prog_compiler_static=
8283 if test "$GCC" = yes; then
8284 lt_prog_compiler_wl='-Wl,'
8285 lt_prog_compiler_static='-static'
8289 # All AIX code is PIC.
8290 if test "$host_cpu" = ia64; then
8291 # AIX 5 now supports IA64 processor
8292 lt_prog_compiler_static='-Bstatic'
8299 # see comment about AmigaOS4 .so support
8300 lt_prog_compiler_pic='-fPIC'
8303 # FIXME: we need at least 68020 code to build shared libraries, but
8304 # adding the `-m68020' flag to GCC prevents building anything better,
8306 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8311 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8312 # PIC is the default for these OSes.
8315 mingw* | cygwin* | pw32* | os2* | cegcc*)
8316 # This hack is so that the source file can tell whether it is being
8317 # built for inclusion in a dll (and should export symbols for example).
8318 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8319 # (--disable-auto-import) libraries
8320 lt_prog_compiler_pic='-DDLL_EXPORT'
8323 darwin* | rhapsody*)
8324 # PIC is the default on this platform
8325 # Common symbols not allowed in MH_DYLIB files
8326 lt_prog_compiler_pic='-fno-common'
8330 # PIC is the default for Haiku.
8331 # The "-static" flag exists, but is broken.
8332 lt_prog_compiler_static=
8336 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8337 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8338 # sets the default TLS model and affects inlining.
8344 lt_prog_compiler_pic='-fPIC'
8350 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8351 # Instead, we relocate shared libraries at runtime.
8355 # Just because we use GCC doesn't mean we suddenly get shared libraries
8356 # on systems that don't support them.
8357 lt_prog_compiler_can_build_shared=no
8362 # QNX uses GNU C++, but need to define -shared option too, otherwise
8364 lt_prog_compiler_pic='-fPIC -shared'
8368 if test -d /usr/nec; then
8369 lt_prog_compiler_pic=-Kconform_pic
8374 lt_prog_compiler_pic='-fPIC'
8378 case $cc_basename in
8379 nvcc*) # Cuda Compiler Driver 2.2
8380 lt_prog_compiler_wl='-Xlinker '
8381 if test -n "$lt_prog_compiler_pic"; then
8382 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8387 # PORTME Check for flag to pass linker flags through the system compiler.
8390 lt_prog_compiler_wl='-Wl,'
8391 if test "$host_cpu" = ia64; then
8392 # AIX 5 now supports IA64 processor
8393 lt_prog_compiler_static='-Bstatic'
8395 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8399 mingw* | cygwin* | pw32* | os2* | cegcc*)
8400 # This hack is so that the source file can tell whether it is being
8401 # built for inclusion in a dll (and should export symbols for example).
8402 lt_prog_compiler_pic='-DDLL_EXPORT'
8405 hpux9* | hpux10* | hpux11*)
8406 lt_prog_compiler_wl='-Wl,'
8407 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8414 lt_prog_compiler_pic='+Z'
8417 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8418 lt_prog_compiler_static='${wl}-a ${wl}archive'
8421 irix5* | irix6* | nonstopux*)
8422 lt_prog_compiler_wl='-Wl,'
8423 # PIC (with -KPIC) is the default.
8424 lt_prog_compiler_static='-non_shared'
8427 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8428 case $cc_basename in
8429 # old Intel for x86_64 which still supported -KPIC.
8431 lt_prog_compiler_wl='-Wl,'
8432 lt_prog_compiler_pic='-KPIC'
8433 lt_prog_compiler_static='-static'
8435 # icc used to be incompatible with GCC.
8436 # ICC 10 doesn't accept -KPIC any more.
8438 lt_prog_compiler_wl='-Wl,'
8439 lt_prog_compiler_pic='-fPIC'
8440 lt_prog_compiler_static='-static'
8442 # Lahey Fortran 8.1.
8444 lt_prog_compiler_wl='-Wl,'
8445 lt_prog_compiler_pic='--shared'
8446 lt_prog_compiler_static='--static'
8449 # NAG Fortran compiler
8450 lt_prog_compiler_wl='-Wl,-Wl,,'
8451 lt_prog_compiler_pic='-PIC'
8452 lt_prog_compiler_static='-Bstatic'
8454 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8455 # Portland Group compilers (*not* the Pentium gcc compiler,
8456 # which looks to be a dead project)
8457 lt_prog_compiler_wl='-Wl,'
8458 lt_prog_compiler_pic='-fpic'
8459 lt_prog_compiler_static='-Bstatic'
8462 lt_prog_compiler_wl='-Wl,'
8463 # All Alpha code is PIC.
8464 lt_prog_compiler_static='-non_shared'
8466 xl* | bgxl* | bgf* | mpixl*)
8467 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8468 lt_prog_compiler_wl='-Wl,'
8469 lt_prog_compiler_pic='-qpic'
8470 lt_prog_compiler_static='-qstaticlink'
8473 case `$CC -V 2>&1 | sed 5q` in
8474 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8475 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8476 lt_prog_compiler_pic='-KPIC'
8477 lt_prog_compiler_static='-Bstatic'
8478 lt_prog_compiler_wl=''
8480 *Sun\ F* | *Sun*Fortran*)
8481 lt_prog_compiler_pic='-KPIC'
8482 lt_prog_compiler_static='-Bstatic'
8483 lt_prog_compiler_wl='-Qoption ld '
8487 lt_prog_compiler_pic='-KPIC'
8488 lt_prog_compiler_static='-Bstatic'
8489 lt_prog_compiler_wl='-Wl,'
8491 *Intel*\ [CF]*Compiler*)
8492 lt_prog_compiler_wl='-Wl,'
8493 lt_prog_compiler_pic='-fPIC'
8494 lt_prog_compiler_static='-static'
8497 lt_prog_compiler_wl='-Wl,'
8498 lt_prog_compiler_pic='-fpic'
8499 lt_prog_compiler_static='-Bstatic'
8507 lt_prog_compiler_pic='-KPIC'
8508 lt_prog_compiler_static='-Bstatic'
8512 # QNX uses GNU C++, but need to define -shared option too, otherwise
8514 lt_prog_compiler_pic='-fPIC -shared'
8517 osf3* | osf4* | osf5*)
8518 lt_prog_compiler_wl='-Wl,'
8519 # All OSF/1 code is PIC.
8520 lt_prog_compiler_static='-non_shared'
8524 lt_prog_compiler_static='-non_shared'
8528 lt_prog_compiler_pic='-KPIC'
8529 lt_prog_compiler_static='-Bstatic'
8530 case $cc_basename in
8531 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8532 lt_prog_compiler_wl='-Qoption ld ';;
8534 lt_prog_compiler_wl='-Wl,';;
8539 lt_prog_compiler_wl='-Qoption ld '
8540 lt_prog_compiler_pic='-PIC'
8541 lt_prog_compiler_static='-Bstatic'
8544 sysv4 | sysv4.2uw2* | sysv4.3*)
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_pic='-KPIC'
8547 lt_prog_compiler_static='-Bstatic'
8551 if test -d /usr/nec ;then
8552 lt_prog_compiler_pic='-Kconform_pic'
8553 lt_prog_compiler_static='-Bstatic'
8557 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8558 lt_prog_compiler_wl='-Wl,'
8559 lt_prog_compiler_pic='-KPIC'
8560 lt_prog_compiler_static='-Bstatic'
8564 lt_prog_compiler_wl='-Wl,'
8565 lt_prog_compiler_can_build_shared=no
8569 lt_prog_compiler_pic='-pic'
8570 lt_prog_compiler_static='-Bstatic'
8574 lt_prog_compiler_can_build_shared=no
8580 # For platforms which do not support PIC, -DPIC is meaningless:
8582 lt_prog_compiler_pic=
8585 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8590 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8591 if ${lt_cv_prog_compiler_pic+:} false; then :
8592 $as_echo_n "(cached) " >&6
8594 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8597 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8598 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8601 # Check to make sure the PIC flag actually works.
8603 if test -n "$lt_prog_compiler_pic"; then
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8605 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8606 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8607 $as_echo_n "(cached) " >&6
8609 lt_cv_prog_compiler_pic_works=no
8610 ac_outfile=conftest.$ac_objext
8611 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8612 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8613 # Insert the option either (1) after the last *FLAGS variable, or
8614 # (2) before a word containing "conftest.", or (3) at the end.
8615 # Note that $ac_compile itself does not contain backslashes and begins
8616 # with a dollar sign (not a hyphen), so the echo should work correctly.
8617 # The option is referenced via a variable to avoid confusing sed.
8618 lt_compile=`echo "$ac_compile" | $SED \
8619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8621 -e 's:$: $lt_compiler_flag:'`
8622 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8623 (eval "$lt_compile" 2>conftest.err)
8625 cat conftest.err >&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 if (exit $ac_status) && test -s "$ac_outfile"; then
8628 # The compiler can only warn and ignore the option if not recognized
8629 # So say no if there are warnings other than the usual output.
8630 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8631 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8632 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8633 lt_cv_prog_compiler_pic_works=yes
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8640 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8642 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8643 case $lt_prog_compiler_pic in
8645 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8648 lt_prog_compiler_pic=
8649 lt_prog_compiler_can_build_shared=no
8665 # Check to make sure the static flag actually works.
8667 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8669 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8670 if ${lt_cv_prog_compiler_static_works+:} false; then :
8671 $as_echo_n "(cached) " >&6
8673 lt_cv_prog_compiler_static_works=no
8674 save_LDFLAGS="$LDFLAGS"
8675 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8676 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8677 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8678 # The linker can only warn and ignore the option if not recognized
8679 # So say no if there are warnings
8680 if test -s conftest.err; then
8681 # Append any errors to the config.log.
8682 cat conftest.err 1>&5
8683 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8685 if diff conftest.exp conftest.er2 >/dev/null; then
8686 lt_cv_prog_compiler_static_works=yes
8689 lt_cv_prog_compiler_static_works=yes
8693 LDFLAGS="$save_LDFLAGS"
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8697 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8699 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8702 lt_prog_compiler_static=
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8712 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8713 if ${lt_cv_prog_compiler_c_o+:} false; then :
8714 $as_echo_n "(cached) " >&6
8716 lt_cv_prog_compiler_c_o=no
8717 $RM -r conftest 2>/dev/null
8721 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8723 lt_compiler_flag="-o out/conftest2.$ac_objext"
8724 # Insert the option either (1) after the last *FLAGS variable, or
8725 # (2) before a word containing "conftest.", or (3) at the end.
8726 # Note that $ac_compile itself does not contain backslashes and begins
8727 # with a dollar sign (not a hyphen), so the echo should work correctly.
8728 lt_compile=`echo "$ac_compile" | $SED \
8729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8731 -e 's:$: $lt_compiler_flag:'`
8732 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8733 (eval "$lt_compile" 2>out/conftest.err)
8735 cat out/conftest.err >&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8739 # The compiler can only warn and ignore the option if not recognized
8740 # So say no if there are warnings
8741 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8742 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8743 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8744 lt_cv_prog_compiler_c_o=yes
8749 # SGI C++ compiler will create directory out/ii_files/ for
8750 # template instantiation
8751 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8752 $RM out/* && rmdir out
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8759 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8767 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8768 if ${lt_cv_prog_compiler_c_o+:} false; then :
8769 $as_echo_n "(cached) " >&6
8771 lt_cv_prog_compiler_c_o=no
8772 $RM -r conftest 2>/dev/null
8776 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8778 lt_compiler_flag="-o out/conftest2.$ac_objext"
8779 # Insert the option either (1) after the last *FLAGS variable, or
8780 # (2) before a word containing "conftest.", or (3) at the end.
8781 # Note that $ac_compile itself does not contain backslashes and begins
8782 # with a dollar sign (not a hyphen), so the echo should work correctly.
8783 lt_compile=`echo "$ac_compile" | $SED \
8784 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8785 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8786 -e 's:$: $lt_compiler_flag:'`
8787 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8788 (eval "$lt_compile" 2>out/conftest.err)
8790 cat out/conftest.err >&5
8791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8794 # The compiler can only warn and ignore the option if not recognized
8795 # So say no if there are warnings
8796 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8797 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8798 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8799 lt_cv_prog_compiler_c_o=yes
8804 # SGI C++ compiler will create directory out/ii_files/ for
8805 # template instantiation
8806 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8807 $RM out/* && rmdir out
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8814 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8819 hard_links="nottested"
8820 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8821 # do not overwrite the value of need_locks provided by the user
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8823 $as_echo_n "checking if we can lock with hard links... " >&6; }
8826 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8828 ln conftest.a conftest.b 2>&5 || hard_links=no
8829 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8831 $as_echo "$hard_links" >&6; }
8832 if test "$hard_links" = no; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8834 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8847 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8850 allow_undefined_flag=
8851 always_export_symbols=no
8853 archive_expsym_cmds=
8854 compiler_needs_object=no
8855 enable_shared_with_static_runtimes=no
8856 export_dynamic_flag_spec=
8857 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8858 hardcode_automatic=no
8860 hardcode_direct_absolute=no
8861 hardcode_libdir_flag_spec=
8862 hardcode_libdir_separator=
8864 hardcode_shlibpath_var=unsupported
8866 link_all_deplibs=unknown
8869 old_archive_from_new_cmds=
8870 old_archive_from_expsyms_cmds=
8871 thread_safe_flag_spec=
8872 whole_archive_flag_spec=
8873 # include_expsyms should be a list of space-separated symbols to be *always*
8874 # included in the symbol list
8876 # exclude_expsyms can be an extended regexp of symbols to exclude
8877 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8878 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8879 # as well as any symbol that contains `d'.
8880 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8881 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8882 # platforms (ab)use it in PIC code, but their linkers get confused if
8883 # the symbol is explicitly referenced. Since portable code cannot
8884 # rely on this symbol name, it's probably fine to never include it in
8885 # preloaded symbol tables.
8886 # Exclude shared library initialization/finalization symbols.
8887 extract_expsyms_cmds=
8890 cygwin* | mingw* | pw32* | cegcc*)
8891 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8892 # When not using gcc, we currently assume that we are using
8893 # Microsoft Visual C++.
8894 if test "$GCC" != yes; then
8899 # we just hope/assume this is gcc and not c89 (= MSVC++)
8905 linux* | k*bsd*-gnu | gnu*)
8912 # On some targets, GNU ld is compatible enough with the native linker
8913 # that we're better off using the native interface for both.
8914 lt_use_gnu_ld_interface=no
8915 if test "$with_gnu_ld" = yes; then
8918 # The AIX port of GNU ld has always aspired to compatibility
8919 # with the native linker. However, as the warning in the GNU ld
8920 # block says, versions before 2.19.5* couldn't really create working
8921 # shared libraries, regardless of the interface used.
8922 case `$LD -v 2>&1` in
8923 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8924 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8925 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8927 lt_use_gnu_ld_interface=yes
8932 lt_use_gnu_ld_interface=yes
8937 if test "$lt_use_gnu_ld_interface" = yes; then
8938 # If archive_cmds runs LD, not CC, wlarc should be empty
8941 # Set some defaults for GNU ld with shared library support. These
8942 # are reset later if shared libraries are not supported. Putting them
8943 # here allows them to be overridden if necessary.
8944 runpath_var=LD_RUN_PATH
8945 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8946 export_dynamic_flag_spec='${wl}--export-dynamic'
8947 # ancient GNU ld didn't support --whole-archive et. al.
8948 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8949 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8951 whole_archive_flag_spec=
8953 supports_anon_versioning=no
8954 case `$LD -v 2>&1` in
8955 *GNU\ gold*) supports_anon_versioning=yes ;;
8956 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8957 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8958 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8959 *\ 2.11.*) ;; # other 2.11 versions
8960 *) supports_anon_versioning=yes ;;
8963 # See if GNU ld supports shared libraries.
8966 # On AIX/PPC, the GNU linker is very broken
8967 if test "$host_cpu" != ia64; then
8971 *** Warning: the GNU linker, at least up to release 2.19, is reported
8972 *** to be unable to reliably create shared libraries on AIX.
8973 *** Therefore, libtool is disabling shared libraries support. If you
8974 *** really care for shared libraries, you may want to install binutils
8975 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8976 *** You will then need to restart the configuration process.
8985 # see comment about AmigaOS4 .so support
8986 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 archive_expsym_cmds=''
8990 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)'
8991 hardcode_libdir_flag_spec='-L$libdir'
8992 hardcode_minus_L=yes
8998 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8999 allow_undefined_flag=unsupported
9000 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9001 # support --undefined. This deserves some investigation. FIXME
9002 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 cygwin* | mingw* | pw32* | cegcc*)
9009 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9010 # as there is no search path for DLLs.
9011 hardcode_libdir_flag_spec='-L$libdir'
9012 export_dynamic_flag_spec='${wl}--export-all-symbols'
9013 allow_undefined_flag=unsupported
9014 always_export_symbols=no
9015 enable_shared_with_static_runtimes=yes
9016 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'
9017 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9019 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9020 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9021 # If the export-symbols file already is a .def file (1st line
9022 # is EXPORTS), use it as is; otherwise, prepend...
9023 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9024 cp $export_symbols $output_objdir/$soname.def;
9026 echo EXPORTS > $output_objdir/$soname.def;
9027 cat $export_symbols >> $output_objdir/$soname.def;
9029 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9036 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037 link_all_deplibs=yes
9042 hardcode_shlibpath_var=no
9043 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9044 export_dynamic_flag_spec='${wl}-E'
9045 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9046 # Instead, shared libraries are loaded at an image base (0x10000000 by
9047 # default) and relocated if they conflict, which is a slow very memory
9048 # consuming and fragmenting process. To avoid this, we pick a random,
9049 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9050 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9051 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9052 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'
9055 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9057 if test "$host_os" = linux-dietlibc; then
9058 case $cc_basename in
9059 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9062 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9063 && test "$tmp_diet" = no
9065 tmp_addflag=' $pic_flag'
9066 tmp_sharedflag='-shared'
9067 case $cc_basename,$host_cpu in
9068 pgcc*) # Portland Group C compiler
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'
9072 pgf77* | pgf90* | pgf95* | pgfortran*)
9073 # Portland Group f77 and f90 compilers
9074 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'
9075 tmp_addflag=' $pic_flag -Mnomain' ;;
9076 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9077 tmp_addflag=' -i_dynamic' ;;
9078 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9079 tmp_addflag=' -i_dynamic -nofor_main' ;;
9080 ifc* | ifort*) # Intel Fortran compiler
9081 tmp_addflag=' -nofor_main' ;;
9082 lf95*) # Lahey Fortran 8.1
9083 whole_archive_flag_spec=
9084 tmp_sharedflag='--shared' ;;
9085 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9086 tmp_sharedflag='-qmkshrobj'
9088 nvcc*) # Cuda Compiler Driver 2.2
9089 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'
9090 compiler_needs_object=yes
9093 case `$CC -V 2>&1 | sed 5q` in
9094 *Sun\ C*) # Sun C 5.9
9095 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'
9096 compiler_needs_object=yes
9097 tmp_sharedflag='-G' ;;
9098 *Sun\ F*) # Sun Fortran 8.3
9099 tmp_sharedflag='-G' ;;
9101 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9103 if test "x$supports_anon_versioning" = xyes; then
9104 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9105 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9106 echo "local: *; };" >> $output_objdir/$libname.ver~
9107 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9110 case $cc_basename in
9111 xlf* | bgf* | bgxlf* | mpixlf*)
9112 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9113 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9114 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9115 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9116 if test "x$supports_anon_versioning" = xyes; then
9117 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9118 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9119 echo "local: *; };" >> $output_objdir/$libname.ver~
9120 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9129 netbsd* | netbsdelf*-gnu)
9130 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9131 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9134 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9140 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9144 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9145 *** create shared libraries on Solaris systems. Therefore, libtool
9146 *** is disabling shared libraries support. We urge you to upgrade GNU
9147 *** binutils to release 2.9.1 or newer. Another option is to modify
9148 *** your PATH or compiler configuration so that the native linker is
9149 *** used, and then restart.
9152 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9153 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9154 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9160 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9161 case `$LD -v 2>&1` in
9162 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9166 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9167 *** reliably create shared libraries on SCO systems. Therefore, libtool
9168 *** is disabling shared libraries support. We urge you to upgrade GNU
9169 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9170 *** your PATH or compiler configuration so that the native linker is
9171 *** used, and then restart.
9176 # For security reasons, it is highly recommended that you always
9177 # use absolute paths for naming shared libraries, and exclude the
9178 # DT_RUNPATH tag from executables and libraries. But doing so
9179 # requires that you compile everything twice, which is a pain.
9180 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9181 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9182 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9183 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9192 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9195 hardcode_shlibpath_var=no
9199 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9200 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9208 if test "$ld_shlibs" = no; then
9210 hardcode_libdir_flag_spec=
9211 export_dynamic_flag_spec=
9212 whole_archive_flag_spec=
9215 # PORTME fill in a description of your system's linker (not GNU ld)
9218 allow_undefined_flag=unsupported
9219 always_export_symbols=yes
9220 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'
9221 # Note: this linker hardcodes the directories in LIBPATH if there
9222 # are no directories specified by -L.
9223 hardcode_minus_L=yes
9224 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9225 # Neither direct hardcoding nor static linking is supported with a
9227 hardcode_direct=unsupported
9232 if test "$host_cpu" = ia64; then
9233 # On IA64, the linker does run time linking by default, so we don't
9234 # have to do anything special.
9235 aix_use_runtimelinking=no
9236 exp_sym_flag='-Bexport'
9239 # If we're using GNU nm, then we don't want the "-C" option.
9240 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9241 # Also, AIX nm treats weak defined symbols like other global
9242 # defined symbols, whereas GNU nm marks them as "W".
9243 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9244 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'
9246 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'
9248 aix_use_runtimelinking=no
9250 # Test if we are trying to use run time linking or normal
9251 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9252 # need to do runtime linking.
9253 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9254 for ld_flag in $LDFLAGS; do
9255 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9256 aix_use_runtimelinking=yes
9263 exp_sym_flag='-bexport'
9264 no_entry_flag='-bnoentry'
9267 # When large executables or shared objects are built, AIX ld can
9268 # have problems creating the table of contents. If linking a library
9269 # or program results in "error TOC overflow" add -mminimal-toc to
9270 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9271 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9275 hardcode_direct_absolute=yes
9276 hardcode_libdir_separator=':'
9277 link_all_deplibs=yes
9278 file_list_spec='${wl}-f,'
9280 if test "$GCC" = yes; then
9281 case $host_os in aix4.[012]|aix4.[012].*)
9282 # We only want to do this on AIX 4.2 and lower, the check
9283 # below for broken collect2 doesn't work under 4.3+
9284 collect2name=`${CC} -print-prog-name=collect2`
9285 if test -f "$collect2name" &&
9286 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9288 # We have reworked collect2
9291 # We have old collect2
9292 hardcode_direct=unsupported
9293 # It fails to find uninstalled libraries when the uninstalled
9294 # path is not listed in the libpath. Setting hardcode_minus_L
9295 # to unsupported forces relinking
9296 hardcode_minus_L=yes
9297 hardcode_libdir_flag_spec='-L$libdir'
9298 hardcode_libdir_separator=
9302 shared_flag='-shared'
9303 if test "$aix_use_runtimelinking" = yes; then
9304 shared_flag="$shared_flag "'${wl}-G'
9309 if test "$host_cpu" = ia64; then
9310 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9311 # chokes on -Wl,-G. The following line is correct:
9314 if test "$aix_use_runtimelinking" = yes; then
9315 shared_flag='${wl}-G'
9317 shared_flag='${wl}-bM:SRE'
9322 export_dynamic_flag_spec='${wl}-bexpall'
9323 # It seems that -bexpall does not export symbols beginning with
9324 # underscore (_), so it is better to generate a list of symbols to export.
9325 always_export_symbols=yes
9326 if test "$aix_use_runtimelinking" = yes; then
9327 # Warning - without using the other runtime loading flags (-brtl),
9328 # -berok will link without error, but may produce a broken library.
9329 allow_undefined_flag='-berok'
9330 # Determine the default libpath from the value encoded in an
9332 if test "${lt_cv_aix_libpath+set}" = set; then
9333 aix_libpath=$lt_cv_aix_libpath
9335 if ${lt_cv_aix_libpath_+:} false; then :
9336 $as_echo_n "(cached) " >&6
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9349 if ac_fn_c_try_link "$LINENO"; then :
9351 lt_aix_libpath_sed='
9352 /Import File Strings/,/^$/ {
9354 s/^0 *\([^ ]*\) *$/\1/
9358 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9359 # Check for a 64-bit object if we didn't find anything.
9360 if test -z "$lt_cv_aix_libpath_"; then
9361 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9364 rm -f core conftest.err conftest.$ac_objext \
9365 conftest$ac_exeext conftest.$ac_ext
9366 if test -z "$lt_cv_aix_libpath_"; then
9367 lt_cv_aix_libpath_="/usr/lib:/lib"
9372 aix_libpath=$lt_cv_aix_libpath_
9375 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9376 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"
9378 if test "$host_cpu" = ia64; then
9379 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9380 allow_undefined_flag="-z nodefs"
9381 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"
9383 # Determine the default libpath from the value encoded in an
9385 if test "${lt_cv_aix_libpath+set}" = set; then
9386 aix_libpath=$lt_cv_aix_libpath
9388 if ${lt_cv_aix_libpath_+:} false; then :
9389 $as_echo_n "(cached) " >&6
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9402 if ac_fn_c_try_link "$LINENO"; then :
9404 lt_aix_libpath_sed='
9405 /Import File Strings/,/^$/ {
9407 s/^0 *\([^ ]*\) *$/\1/
9411 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9412 # Check for a 64-bit object if we didn't find anything.
9413 if test -z "$lt_cv_aix_libpath_"; then
9414 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 if test -z "$lt_cv_aix_libpath_"; then
9420 lt_cv_aix_libpath_="/usr/lib:/lib"
9425 aix_libpath=$lt_cv_aix_libpath_
9428 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9429 # Warning - without using the other run time loading flags,
9430 # -berok will link without error, but may produce a broken library.
9431 no_undefined_flag=' ${wl}-bernotok'
9432 allow_undefined_flag=' ${wl}-berok'
9433 if test "$with_gnu_ld" = yes; then
9434 # We only use this code for GNU lds that support --whole-archive.
9435 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9437 # Exported symbols can be pulled into shared objects from archives
9438 whole_archive_flag_spec='$convenience'
9440 archive_cmds_need_lc=yes
9441 # This is similar to how AIX traditionally builds its shared libraries.
9442 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'
9450 # see comment about AmigaOS4 .so support
9451 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 archive_expsym_cmds=''
9455 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)'
9456 hardcode_libdir_flag_spec='-L$libdir'
9457 hardcode_minus_L=yes
9463 export_dynamic_flag_spec=-rdynamic
9466 cygwin* | mingw* | pw32* | cegcc*)
9467 # When not using gcc, we currently assume that we are using
9468 # Microsoft Visual C++.
9469 # hardcode_libdir_flag_spec is actually meaningless, as there is
9470 # no search path for DLLs.
9471 case $cc_basename in
9474 hardcode_libdir_flag_spec=' '
9475 allow_undefined_flag=unsupported
9476 always_export_symbols=yes
9478 # Tell ltmain to make .lib files, not .a files.
9480 # Tell ltmain to make .dll files, not .so files.
9482 # FIXME: Setting linknames here is a bad hack.
9483 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9484 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9485 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9487 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9489 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9491 # The linker will not automatically build a static lib if we build a DLL.
9492 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9493 enable_shared_with_static_runtimes=yes
9494 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9495 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9497 old_postinstall_cmds='chmod 644 $oldlib'
9498 postlink_cmds='lt_outputfile="@OUTPUT@"~
9499 lt_tool_outputfile="@TOOL_OUTPUT@"~
9500 case $lt_outputfile in
9503 lt_outputfile="$lt_outputfile.exe"
9504 lt_tool_outputfile="$lt_tool_outputfile.exe"
9507 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9508 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9509 $RM "$lt_outputfile.manifest";
9513 # Assume MSVC wrapper
9514 hardcode_libdir_flag_spec=' '
9515 allow_undefined_flag=unsupported
9516 # Tell ltmain to make .lib files, not .a files.
9518 # Tell ltmain to make .dll files, not .so files.
9520 # FIXME: Setting linknames here is a bad hack.
9521 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9522 # The linker will automatically build a .lib file if we build a DLL.
9523 old_archive_from_new_cmds='true'
9524 # FIXME: Should let the user specify the lib program.
9525 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9526 enable_shared_with_static_runtimes=yes
9531 darwin* | rhapsody*)
9534 archive_cmds_need_lc=no
9536 hardcode_automatic=yes
9537 hardcode_shlibpath_var=unsupported
9538 if test "$lt_cv_ld_force_load" = "yes"; then
9539 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\"`'
9542 whole_archive_flag_spec=''
9544 link_all_deplibs=yes
9545 allow_undefined_flag="$_lt_dar_allow_undefined"
9546 case $cc_basename in
9547 ifort*) _lt_dar_can_shared=yes ;;
9548 *) _lt_dar_can_shared=$GCC ;;
9550 if test "$_lt_dar_can_shared" = "yes"; then
9551 output_verbose_link_cmd=func_echo_all
9552 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9553 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9554 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}"
9555 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}"
9564 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9565 hardcode_libdir_flag_spec='-L$libdir'
9566 hardcode_shlibpath_var=no
9569 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9570 # support. Future versions do this automatically, but an explicit c++rt0.o
9571 # does not break anything, and helps significantly (at the cost of a little
9574 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9575 hardcode_libdir_flag_spec='-R$libdir'
9577 hardcode_shlibpath_var=no
9580 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9582 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9584 hardcode_minus_L=yes
9585 hardcode_shlibpath_var=no
9588 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9589 freebsd* | dragonfly*)
9590 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9591 hardcode_libdir_flag_spec='-R$libdir'
9593 hardcode_shlibpath_var=no
9597 if test "$GCC" = yes; then
9598 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'
9600 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'
9602 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9603 hardcode_libdir_separator=:
9606 # hardcode_minus_L: Not really in the search PATH,
9607 # but as the default location of the library.
9608 hardcode_minus_L=yes
9609 export_dynamic_flag_spec='${wl}-E'
9613 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9614 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9616 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9618 if test "$with_gnu_ld" = no; then
9619 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9620 hardcode_libdir_separator=:
9622 hardcode_direct_absolute=yes
9623 export_dynamic_flag_spec='${wl}-E'
9624 # hardcode_minus_L: Not really in the search PATH,
9625 # but as the default location of the library.
9626 hardcode_minus_L=yes
9631 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9634 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9637 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9640 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9649 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9653 # Older versions of the 11.00 compiler do not understand -b yet
9654 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9656 $as_echo_n "checking if $CC understands -b... " >&6; }
9657 if ${lt_cv_prog_compiler__b+:} false; then :
9658 $as_echo_n "(cached) " >&6
9660 lt_cv_prog_compiler__b=no
9661 save_LDFLAGS="$LDFLAGS"
9662 LDFLAGS="$LDFLAGS -b"
9663 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9664 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9665 # The linker can only warn and ignore the option if not recognized
9666 # So say no if there are warnings
9667 if test -s conftest.err; then
9668 # Append any errors to the config.log.
9669 cat conftest.err 1>&5
9670 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9671 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9672 if diff conftest.exp conftest.er2 >/dev/null; then
9673 lt_cv_prog_compiler__b=yes
9676 lt_cv_prog_compiler__b=yes
9680 LDFLAGS="$save_LDFLAGS"
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9684 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9686 if test x"$lt_cv_prog_compiler__b" = xyes; then
9687 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9689 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9695 if test "$with_gnu_ld" = no; then
9696 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9697 hardcode_libdir_separator=:
9702 hardcode_shlibpath_var=no
9706 hardcode_direct_absolute=yes
9707 export_dynamic_flag_spec='${wl}-E'
9709 # hardcode_minus_L: Not really in the search PATH,
9710 # but as the default location of the library.
9711 hardcode_minus_L=yes
9717 irix5* | irix6* | nonstopux*)
9718 if test "$GCC" = yes; then
9719 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'
9720 # Try to use the -exported_symbol ld option, if it does not
9721 # work, assume that -exports_file does not work either and
9722 # implicitly export all symbols.
9723 # This should be the same for all languages, so no per-tag cache variable.
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9725 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9726 if ${lt_cv_irix_exported_symbol+:} false; then :
9727 $as_echo_n "(cached) " >&6
9729 save_LDFLAGS="$LDFLAGS"
9730 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9733 int foo (void) { return 0; }
9735 if ac_fn_c_try_link "$LINENO"; then :
9736 lt_cv_irix_exported_symbol=yes
9738 lt_cv_irix_exported_symbol=no
9740 rm -f core conftest.err conftest.$ac_objext \
9741 conftest$ac_exeext conftest.$ac_ext
9742 LDFLAGS="$save_LDFLAGS"
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9745 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9746 if test "$lt_cv_irix_exported_symbol" = yes; then
9747 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'
9750 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'
9751 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'
9753 archive_cmds_need_lc='no'
9754 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9755 hardcode_libdir_separator=:
9757 link_all_deplibs=yes
9760 netbsd* | netbsdelf*-gnu)
9761 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9762 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9764 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9766 hardcode_libdir_flag_spec='-R$libdir'
9768 hardcode_shlibpath_var=no
9772 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9774 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9775 hardcode_libdir_separator=:
9776 hardcode_shlibpath_var=no
9783 if test -f /usr/libexec/ld.so; then
9785 hardcode_shlibpath_var=no
9786 hardcode_direct_absolute=yes
9787 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9788 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9789 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9790 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9791 export_dynamic_flag_spec='${wl}-E'
9794 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9795 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9796 hardcode_libdir_flag_spec='-R$libdir'
9799 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9800 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9810 hardcode_libdir_flag_spec='-L$libdir'
9811 hardcode_minus_L=yes
9812 allow_undefined_flag=unsupported
9813 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'
9814 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9818 if test "$GCC" = yes; then
9819 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9820 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'
9822 allow_undefined_flag=' -expect_unresolved \*'
9823 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'
9825 archive_cmds_need_lc='no'
9826 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9827 hardcode_libdir_separator=:
9830 osf4* | osf5*) # as osf3* with the addition of -msym flag
9831 if test "$GCC" = yes; then
9832 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9833 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'
9834 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9836 allow_undefined_flag=' -expect_unresolved \*'
9837 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'
9838 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~
9839 $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'
9841 # Both c and cxx compiler support -rpath directly
9842 hardcode_libdir_flag_spec='-rpath $libdir'
9844 archive_cmds_need_lc='no'
9845 hardcode_libdir_separator=:
9849 no_undefined_flag=' -z defs'
9850 if test "$GCC" = yes; then
9852 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9853 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9854 $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'
9856 case `$CC -V 2>&1` in
9859 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9860 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9861 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9865 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9866 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9867 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9871 hardcode_libdir_flag_spec='-R$libdir'
9872 hardcode_shlibpath_var=no
9874 solaris2.[0-5] | solaris2.[0-5].*) ;;
9876 # The compiler driver will combine and reorder linker options,
9877 # but understands `-z linker_flag'. GCC discards it without `$wl',
9878 # but is careful enough not to reorder.
9879 # Supported since Solaris 2.6 (maybe 2.5.1?)
9880 if test "$GCC" = yes; then
9881 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9883 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9887 link_all_deplibs=yes
9891 if test "x$host_vendor" = xsequent; then
9892 # Use $CC to link under sequent, because it throws in some extra .o
9893 # files that make .init and .fini sections work.
9894 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9896 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9898 hardcode_libdir_flag_spec='-L$libdir'
9900 hardcode_minus_L=yes
9901 hardcode_shlibpath_var=no
9905 case $host_vendor in
9907 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9908 hardcode_direct=yes # is this really true???
9911 ## LD is ld it makes a PLAMLIB
9912 ## CC just makes a GrossModule.
9913 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9914 reload_cmds='$CC -r -o $output$reload_objs'
9918 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9922 runpath_var='LD_RUN_PATH'
9923 hardcode_shlibpath_var=no
9927 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9928 hardcode_shlibpath_var=no
9929 export_dynamic_flag_spec='-Bexport'
9933 if test -d /usr/nec; then
9934 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9935 hardcode_shlibpath_var=no
9936 runpath_var=LD_RUN_PATH
9937 hardcode_runpath_var=yes
9942 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9943 no_undefined_flag='${wl}-z,text'
9944 archive_cmds_need_lc=no
9945 hardcode_shlibpath_var=no
9946 runpath_var='LD_RUN_PATH'
9948 if test "$GCC" = yes; then
9949 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9950 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9952 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9957 sysv5* | sco3.2v5* | sco5v6*)
9958 # Note: We can NOT use -z defs as we might desire, because we do not
9959 # link with -lc, and that would cause any symbols used from libc to
9960 # always be unresolved, which means just about no library would
9961 # ever link correctly. If we're not using GNU ld we use -z text
9962 # though, which does catch some bad symbols but isn't as heavy-handed
9964 no_undefined_flag='${wl}-z,text'
9965 allow_undefined_flag='${wl}-z,nodefs'
9966 archive_cmds_need_lc=no
9967 hardcode_shlibpath_var=no
9968 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9969 hardcode_libdir_separator=':'
9970 link_all_deplibs=yes
9971 export_dynamic_flag_spec='${wl}-Bexport'
9972 runpath_var='LD_RUN_PATH'
9974 if test "$GCC" = yes; then
9975 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9976 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9978 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9979 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9984 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985 hardcode_libdir_flag_spec='-L$libdir'
9986 hardcode_shlibpath_var=no
9994 if test x$host_vendor = xsni; then
9996 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9997 export_dynamic_flag_spec='${wl}-Blargedynsym'
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10004 $as_echo "$ld_shlibs" >&6; }
10005 test "$ld_shlibs" = no && can_build_shared=no
10007 with_gnu_ld=$with_gnu_ld
10024 # Do we need to explicitly link libc?
10026 case "x$archive_cmds_need_lc" in
10028 # Assume -lc should be added
10029 archive_cmds_need_lc=yes
10031 if test "$enable_shared" = yes && test "$GCC" = yes; then
10032 case $archive_cmds in
10034 # FIXME: we may have to deal with multi-command sequences.
10037 # Test whether the compiler implicitly links with -lc since on some
10038 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10039 # to ld, don't add -lc before -lgcc.
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10041 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10042 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10043 $as_echo_n "(cached) " >&6
10046 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10049 (eval $ac_compile) 2>&5
10051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10052 test $ac_status = 0; } 2>conftest.err; then
10055 libobjs=conftest.$ac_objext
10057 wl=$lt_prog_compiler_wl
10058 pic_flag=$lt_prog_compiler_pic
10064 lt_save_allow_undefined_flag=$allow_undefined_flag
10065 allow_undefined_flag=
10066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10067 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10070 test $ac_status = 0; }
10072 lt_cv_archive_cmds_need_lc=no
10074 lt_cv_archive_cmds_need_lc=yes
10076 allow_undefined_flag=$lt_save_allow_undefined_flag
10078 cat conftest.err 1>&5
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10084 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10085 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10244 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10246 if test "$GCC" = yes; then
10248 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10249 *) lt_awk_arg="/^libraries:/" ;;
10252 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10253 *) lt_sed_strip_eq="s,=/,/,g" ;;
10255 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10256 case $lt_search_path_spec in
10258 # if the path contains ";" then we assume it to be the separator
10259 # otherwise default to the standard path separator (i.e. ":") - it is
10260 # assumed that no part of a normal pathname contains ";" but that should
10261 # okay in the real world where ";" in dirpaths is itself problematic.
10262 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10265 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10268 # Ok, now we have the path, separated by spaces, we can step through it
10269 # and add multilib dir if necessary.
10270 lt_tmp_lt_search_path_spec=
10271 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10272 for lt_sys_path in $lt_search_path_spec; do
10273 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10274 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10276 test -d "$lt_sys_path" && \
10277 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10280 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10281 BEGIN {RS=" "; FS="/|\n";} {
10284 for (lt_i = NF; lt_i > 0; lt_i--) {
10285 if ($lt_i != "" && $lt_i != ".") {
10286 if ($lt_i == "..") {
10289 if (lt_count == 0) {
10290 lt_foo="/" $lt_i lt_foo;
10297 if (lt_foo != "") { lt_freq[lt_foo]++; }
10298 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10300 # AWK program above erroneously prepends '/' to C:/dos/paths
10303 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10304 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10306 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10308 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10310 library_names_spec=
10311 libname_spec='lib$name'
10315 postuninstall_cmds=
10319 shlibpath_overrides_runpath=unknown
10321 dynamic_linker="$host_os ld.so"
10322 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10323 need_lib_prefix=unknown
10324 hardcode_into_libs=no
10326 # when you set need_version to no, make sure it does not cause -set_version
10327 # flags to be left without arguments
10328 need_version=unknown
10332 version_type=linux # correct to gnu/linux during the next big refactor
10333 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10334 shlibpath_var=LIBPATH
10336 # AIX 3 has no versioning support, so we append a major version to the name.
10337 soname_spec='${libname}${release}${shared_ext}$major'
10341 version_type=linux # correct to gnu/linux during the next big refactor
10344 hardcode_into_libs=yes
10345 if test "$host_cpu" = ia64; then
10346 # AIX 5 supports IA64
10347 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10348 shlibpath_var=LD_LIBRARY_PATH
10350 # With GCC up to 2.95.x, collect2 would create an import file
10351 # for dependence libraries. The import file would start with
10352 # the line `#! .'. This would cause the generated library to
10353 # depend on `.', always an invalid library. This was fixed in
10354 # development snapshots of GCC prior to 3.0.
10356 aix4 | aix4.[01] | aix4.[01].*)
10357 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10359 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10362 can_build_shared=no
10366 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10367 # soname into executable. Probably we can add versioning support to
10368 # collect2, so additional links can be useful in future.
10369 if test "$aix_use_runtimelinking" = yes; then
10370 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10371 # instead of lib<name>.a to let people know that these are not
10372 # typical AIX shared libraries.
10373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10375 # We preserve .a as extension for shared libraries through AIX4.2
10376 # and later when we are not doing run time linking.
10377 library_names_spec='${libname}${release}.a $libname.a'
10378 soname_spec='${libname}${release}${shared_ext}$major'
10380 shlibpath_var=LIBPATH
10387 # Since July 2007 AmigaOS4 officially supports .so libraries.
10388 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10392 library_names_spec='$libname.ixlibrary $libname.a'
10393 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10394 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'
10400 library_names_spec='${libname}${shared_ext}'
10401 dynamic_linker="$host_os ld.so"
10402 shlibpath_var=LIBRARY_PATH
10406 version_type=linux # correct to gnu/linux during the next big refactor
10408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10409 soname_spec='${libname}${release}${shared_ext}$major'
10410 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10411 shlibpath_var=LD_LIBRARY_PATH
10412 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10413 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10414 # the default ld.so.conf also contains /usr/contrib/lib and
10415 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10416 # libtool to hard-code these into programs
10419 cygwin* | mingw* | pw32* | cegcc*)
10420 version_type=windows
10425 case $GCC,$cc_basename in
10428 library_names_spec='$libname.dll.a'
10429 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10430 postinstall_cmds='base_file=`basename \${file}`~
10431 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10432 dldir=$destdir/`dirname \$dlpath`~
10433 test -d \$dldir || mkdir -p \$dldir~
10434 $install_prog $dir/$dlname \$dldir/$dlname~
10435 chmod a+x \$dldir/$dlname~
10436 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10437 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10439 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10440 dlpath=$dir/\$dldll~
10442 shlibpath_overrides_runpath=yes
10446 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10447 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10449 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10452 # MinGW DLLs use traditional 'lib' prefix
10453 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10456 # pw32 DLLs use 'pw' prefix rather than 'lib'
10457 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10460 dynamic_linker='Win32 ld.exe'
10465 libname_spec='$name'
10466 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10467 library_names_spec='${libname}.dll.lib'
10471 sys_lib_search_path_spec=
10474 for lt_path in $LIB
10477 # Let DOS variable expansion print the short 8.3 style file name.
10478 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10479 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10482 # Convert to MSYS style.
10483 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10486 # Convert to unix form, then to dos form, then back to unix form
10487 # but this time dos style (no spaces!) so that the unix form looks
10488 # like /cygdrive/c/PROGRA~1:/cygdr...
10489 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10490 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10491 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10494 sys_lib_search_path_spec="$LIB"
10495 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10496 # It is most probably a Windows format PATH.
10497 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10499 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10501 # FIXME: find the short name or the path components, as spaces are
10502 # common. (e.g. "Program Files" -> "PROGRA~1")
10506 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10507 postinstall_cmds='base_file=`basename \${file}`~
10508 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10509 dldir=$destdir/`dirname \$dlpath`~
10510 test -d \$dldir || mkdir -p \$dldir~
10511 $install_prog $dir/$dlname \$dldir/$dlname'
10512 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10513 dlpath=$dir/\$dldll~
10515 shlibpath_overrides_runpath=yes
10516 dynamic_linker='Win32 link.exe'
10520 # Assume MSVC wrapper
10521 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10522 dynamic_linker='Win32 ld.exe'
10525 # FIXME: first we should search . and the directory the executable is in
10529 darwin* | rhapsody*)
10530 dynamic_linker="$host_os dyld"
10531 version_type=darwin
10534 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10535 soname_spec='${libname}${release}${major}$shared_ext'
10536 shlibpath_overrides_runpath=yes
10537 shlibpath_var=DYLD_LIBRARY_PATH
10538 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10540 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10541 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10545 version_type=linux # correct to gnu/linux during the next big refactor
10548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10549 soname_spec='${libname}${release}${shared_ext}$major'
10550 shlibpath_var=LD_LIBRARY_PATH
10553 freebsd* | dragonfly*)
10554 # DragonFly does not have aout. When/if they implement a new
10555 # versioning mechanism, adjust this.
10556 if test -x /usr/bin/objformat; then
10557 objformat=`/usr/bin/objformat`
10560 freebsd[23].*) objformat=aout ;;
10561 *) objformat=elf ;;
10564 version_type=freebsd-$objformat
10565 case $version_type in
10567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10576 shlibpath_var=LD_LIBRARY_PATH
10579 shlibpath_overrides_runpath=yes
10581 freebsd3.[01]* | freebsdelf3.[01]*)
10582 shlibpath_overrides_runpath=yes
10583 hardcode_into_libs=yes
10585 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10586 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10587 shlibpath_overrides_runpath=no
10588 hardcode_into_libs=yes
10590 *) # from 4.6 on, and DragonFly
10591 shlibpath_overrides_runpath=yes
10592 hardcode_into_libs=yes
10598 version_type=linux # correct to gnu/linux during the next big refactor
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10602 soname_spec='${libname}${release}${shared_ext}$major'
10603 shlibpath_var=LD_LIBRARY_PATH
10604 shlibpath_overrides_runpath=no
10605 hardcode_into_libs=yes
10609 version_type=linux # correct to gnu/linux during the next big refactor
10612 dynamic_linker="$host_os runtime_loader"
10613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10614 soname_spec='${libname}${release}${shared_ext}$major'
10615 shlibpath_var=LIBRARY_PATH
10616 shlibpath_overrides_runpath=yes
10617 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10618 hardcode_into_libs=yes
10621 hpux9* | hpux10* | hpux11*)
10622 # Give a soname corresponding to the major version so that dld.sl refuses to
10623 # link against other versions.
10630 hardcode_into_libs=yes
10631 dynamic_linker="$host_os dld.so"
10632 shlibpath_var=LD_LIBRARY_PATH
10633 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 if test "X$HPUX_IA64_MODE" = X32; then
10637 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10639 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10641 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10645 hardcode_into_libs=yes
10646 dynamic_linker="$host_os dld.sl"
10647 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10648 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650 soname_spec='${libname}${release}${shared_ext}$major'
10651 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10652 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10656 dynamic_linker="$host_os dld.sl"
10657 shlibpath_var=SHLIB_PATH
10658 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10660 soname_spec='${libname}${release}${shared_ext}$major'
10663 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10664 postinstall_cmds='chmod 555 $lib'
10665 # or fails outright, so override atomically:
10666 install_override_mode=555
10670 version_type=linux # correct to gnu/linux during the next big refactor
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10676 shlibpath_var=LD_LIBRARY_PATH
10677 shlibpath_overrides_runpath=no
10678 hardcode_into_libs=yes
10681 irix5* | irix6* | nonstopux*)
10683 nonstopux*) version_type=nonstopux ;;
10685 if test "$lt_cv_prog_gnu_ld" = yes; then
10686 version_type=linux # correct to gnu/linux during the next big refactor
10693 soname_spec='${libname}${release}${shared_ext}$major'
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10696 irix5* | nonstopux*)
10697 libsuff= shlibsuff=
10700 case $LD in # libtool.m4 will add one of these switches to LD
10701 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10702 libsuff= shlibsuff= libmagic=32-bit;;
10703 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10704 libsuff=32 shlibsuff=N32 libmagic=N32;;
10705 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10706 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10707 *) libsuff= shlibsuff= libmagic=never-match;;
10711 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10712 shlibpath_overrides_runpath=no
10713 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10714 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10715 hardcode_into_libs=yes
10718 # No shared lib support for Linux oldld, aout, or coff.
10719 linux*oldld* | linux*aout* | linux*coff*)
10723 # This must be glibc/ELF.
10724 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10725 version_type=linux # correct to gnu/linux during the next big refactor
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10731 shlibpath_var=LD_LIBRARY_PATH
10732 shlibpath_overrides_runpath=no
10734 # Some binutils ld are patched to set DT_RUNPATH
10735 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10736 $as_echo_n "(cached) " >&6
10738 lt_cv_shlibpath_overrides_runpath=no
10739 save_LDFLAGS=$LDFLAGS
10740 save_libdir=$libdir
10741 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10742 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10744 /* end confdefs.h. */
10754 if ac_fn_c_try_link "$LINENO"; then :
10755 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10756 lt_cv_shlibpath_overrides_runpath=yes
10759 rm -f core conftest.err conftest.$ac_objext \
10760 conftest$ac_exeext conftest.$ac_ext
10761 LDFLAGS=$save_LDFLAGS
10762 libdir=$save_libdir
10766 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10768 # This implies no fast_install, which is unacceptable.
10769 # Some rework will be needed to allow for fast_install
10770 # before this can be enabled.
10771 hardcode_into_libs=yes
10773 # Append ld.so.conf contents to the search path
10774 if test -f /etc/ld.so.conf; then
10775 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' ' '`
10776 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10779 # We used to test for /lib/ld.so.1 and disable shared libraries on
10780 # powerpc, because MkLinux only supported shared libraries with the
10781 # GNU dynamic linker. Since this was broken with cross compilers,
10782 # most powerpc-linux boxes support dynamic linking these days and
10783 # people can always --disable-shared, the test was removed, and we
10784 # assume the GNU/Linux dynamic linker is in use.
10785 dynamic_linker='GNU/Linux ld.so'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 shlibpath_var=LD_LIBRARY_PATH
10795 shlibpath_overrides_runpath=no
10796 hardcode_into_libs=yes
10797 dynamic_linker='NetBSD ld.elf_so'
10804 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10806 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10807 dynamic_linker='NetBSD (a.out) ld.so'
10809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10810 soname_spec='${libname}${release}${shared_ext}$major'
10811 dynamic_linker='NetBSD ld.elf_so'
10813 shlibpath_var=LD_LIBRARY_PATH
10814 shlibpath_overrides_runpath=yes
10815 hardcode_into_libs=yes
10819 version_type=linux # correct to gnu/linux during the next big refactor
10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10821 shlibpath_var=LD_LIBRARY_PATH
10822 shlibpath_overrides_runpath=yes
10829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10830 soname_spec='${libname}${release}${shared_ext}$major'
10831 shlibpath_var=LD_LIBRARY_PATH
10832 shlibpath_overrides_runpath=no
10833 hardcode_into_libs=yes
10834 dynamic_linker='ldqnx.so'
10839 sys_lib_dlsearch_path_spec="/usr/lib"
10841 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10843 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10844 *) need_version=no ;;
10846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10847 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10848 shlibpath_var=LD_LIBRARY_PATH
10849 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10851 openbsd2.[89] | openbsd2.[89].*)
10852 shlibpath_overrides_runpath=no
10855 shlibpath_overrides_runpath=yes
10859 shlibpath_overrides_runpath=yes
10864 libname_spec='$name'
10867 library_names_spec='$libname${shared_ext} $libname.a'
10868 dynamic_linker='OS/2 ld.exe'
10869 shlibpath_var=LIBPATH
10872 osf3* | osf4* | osf5*)
10876 soname_spec='${libname}${release}${shared_ext}$major'
10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10878 shlibpath_var=LD_LIBRARY_PATH
10879 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10880 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10888 version_type=linux # correct to gnu/linux during the next big refactor
10891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10892 soname_spec='${libname}${release}${shared_ext}$major'
10893 shlibpath_var=LD_LIBRARY_PATH
10894 shlibpath_overrides_runpath=yes
10895 hardcode_into_libs=yes
10896 # ldd complains unless libraries are executable
10897 postinstall_cmds='chmod +x $lib'
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10903 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10904 shlibpath_var=LD_LIBRARY_PATH
10905 shlibpath_overrides_runpath=yes
10906 if test "$with_gnu_ld" = yes; then
10913 version_type=linux # correct to gnu/linux during the next big refactor
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 soname_spec='${libname}${release}${shared_ext}$major'
10916 shlibpath_var=LD_LIBRARY_PATH
10917 case $host_vendor in
10919 shlibpath_overrides_runpath=no
10921 runpath_var=LD_RUN_PATH
10929 shlibpath_overrides_runpath=no
10930 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10936 if test -d /usr/nec ;then
10937 version_type=linux # correct to gnu/linux during the next big refactor
10938 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10939 soname_spec='$libname${shared_ext}.$major'
10940 shlibpath_var=LD_LIBRARY_PATH
10944 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10945 version_type=freebsd-elf
10948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10949 soname_spec='${libname}${release}${shared_ext}$major'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 shlibpath_overrides_runpath=yes
10952 hardcode_into_libs=yes
10953 if test "$with_gnu_ld" = yes; then
10954 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10956 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10959 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10963 sys_lib_dlsearch_path_spec='/usr/lib'
10967 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10968 version_type=linux # correct to gnu/linux during the next big refactor
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 shlibpath_overrides_runpath=no
10974 hardcode_into_libs=yes
10978 version_type=linux # correct to gnu/linux during the next big refactor
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 shlibpath_var=LD_LIBRARY_PATH
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10989 $as_echo "$dynamic_linker" >&6; }
10990 test "$dynamic_linker" = no && can_build_shared=no
10992 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10993 if test "$GCC" = yes; then
10994 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10997 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10998 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11000 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11001 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11096 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11098 if test -n "$hardcode_libdir_flag_spec" ||
11099 test -n "$runpath_var" ||
11100 test "X$hardcode_automatic" = "Xyes" ; then
11102 # We can hardcode non-existent directories.
11103 if test "$hardcode_direct" != no &&
11104 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11105 # have to relink, otherwise we might link with an installed library
11106 # when we should be linking with a yet-to-be-installed one
11107 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11108 test "$hardcode_minus_L" != no; then
11109 # Linking always hardcodes the temporary library directory.
11110 hardcode_action=relink
11112 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11113 hardcode_action=immediate
11116 # We cannot hardcode anything, or else we can only hardcode existing
11118 hardcode_action=unsupported
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11121 $as_echo "$hardcode_action" >&6; }
11123 if test "$hardcode_action" = relink ||
11124 test "$inherit_rpath" = yes; then
11125 # Fast installation is not supported
11126 enable_fast_install=no
11127 elif test "$shlibpath_overrides_runpath" = yes ||
11128 test "$enable_shared" = no; then
11129 # Fast installation is not necessary
11130 enable_fast_install=needless
11138 if test "x$enable_dlopen" != xyes; then
11139 enable_dlopen=unknown
11140 enable_dlopen_self=unknown
11141 enable_dlopen_self_static=unknown
11148 lt_cv_dlopen="load_add_on"
11150 lt_cv_dlopen_self=yes
11153 mingw* | pw32* | cegcc*)
11154 lt_cv_dlopen="LoadLibrary"
11159 lt_cv_dlopen="dlopen"
11164 # if libdl is installed we need to link against it
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11166 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11167 if ${ac_cv_lib_dl_dlopen+:} false; then :
11168 $as_echo_n "(cached) " >&6
11170 ac_check_lib_save_LIBS=$LIBS
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11190 if ac_fn_c_try_link "$LINENO"; then :
11191 ac_cv_lib_dl_dlopen=yes
11193 ac_cv_lib_dl_dlopen=no
11195 rm -f core conftest.err conftest.$ac_objext \
11196 conftest$ac_exeext conftest.$ac_ext
11197 LIBS=$ac_check_lib_save_LIBS
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11200 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11201 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11202 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11205 lt_cv_dlopen="dyld"
11207 lt_cv_dlopen_self=yes
11214 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11215 if test "x$ac_cv_func_shl_load" = xyes; then :
11216 lt_cv_dlopen="shl_load"
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11219 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11220 if ${ac_cv_lib_dld_shl_load+:} false; then :
11221 $as_echo_n "(cached) " >&6
11223 ac_check_lib_save_LIBS=$LIBS
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11238 return shl_load ();
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_dld_shl_load=yes
11246 ac_cv_lib_dld_shl_load=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11253 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11254 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11255 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11257 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11258 if test "x$ac_cv_func_dlopen" = xyes; then :
11259 lt_cv_dlopen="dlopen"
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11262 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11263 if ${ac_cv_lib_dl_dlopen+:} false; then :
11264 $as_echo_n "(cached) " >&6
11266 ac_check_lib_save_LIBS=$LIBS
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11271 /* Override any GCC internal prototype to avoid an error.
11272 Use char because int might match the return type of a GCC
11273 builtin and then its argument prototype would still apply. */
11286 if ac_fn_c_try_link "$LINENO"; then :
11287 ac_cv_lib_dl_dlopen=yes
11289 ac_cv_lib_dl_dlopen=no
11291 rm -f core conftest.err conftest.$ac_objext \
11292 conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_lib_save_LIBS
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11296 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11297 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11298 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11301 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11302 if ${ac_cv_lib_svld_dlopen+:} false; then :
11303 $as_echo_n "(cached) " >&6
11305 ac_check_lib_save_LIBS=$LIBS
11306 LIBS="-lsvld $LIBS"
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_svld_dlopen=yes
11328 ac_cv_lib_svld_dlopen=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11335 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11336 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11337 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11340 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11341 if ${ac_cv_lib_dld_dld_link+:} false; then :
11342 $as_echo_n "(cached) " >&6
11344 ac_check_lib_save_LIBS=$LIBS
11346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11349 /* Override any GCC internal prototype to avoid an error.
11350 Use char because int might match the return type of a GCC
11351 builtin and then its argument prototype would still apply. */
11359 return dld_link ();
11364 if ac_fn_c_try_link "$LINENO"; then :
11365 ac_cv_lib_dld_dld_link=yes
11367 ac_cv_lib_dld_dld_link=no
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_lib_save_LIBS
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11374 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11375 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11376 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11397 if test "x$lt_cv_dlopen" != xno; then
11403 case $lt_cv_dlopen in
11405 save_CPPFLAGS="$CPPFLAGS"
11406 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11408 save_LDFLAGS="$LDFLAGS"
11409 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11412 LIBS="$lt_cv_dlopen_libs $LIBS"
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11415 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11416 if ${lt_cv_dlopen_self+:} false; then :
11417 $as_echo_n "(cached) " >&6
11419 if test "$cross_compiling" = yes; then :
11420 lt_cv_dlopen_self=cross
11422 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11423 lt_status=$lt_dlunknown
11424 cat > conftest.$ac_ext <<_LT_EOF
11425 #line $LINENO "configure"
11426 #include "confdefs.h"
11435 # define LT_DLGLOBAL RTLD_GLOBAL
11438 # define LT_DLGLOBAL DL_GLOBAL
11440 # define LT_DLGLOBAL 0
11444 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11445 find out it does not work in some platform. */
11446 #ifndef LT_DLLAZY_OR_NOW
11448 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11451 # define LT_DLLAZY_OR_NOW DL_LAZY
11454 # define LT_DLLAZY_OR_NOW RTLD_NOW
11457 # define LT_DLLAZY_OR_NOW DL_NOW
11459 # define LT_DLLAZY_OR_NOW 0
11466 /* When -fvisbility=hidden is used, assume the code has been annotated
11467 correspondingly for the symbols needed. */
11468 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11469 int fnord () __attribute__((visibility("default")));
11472 int fnord () { return 42; }
11475 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11476 int status = $lt_dlunknown;
11480 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11483 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11484 else puts (dlerror ());
11486 /* dlclose (self); */
11494 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11495 (eval $ac_link) 2>&5
11497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11498 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11499 (./conftest; exit; ) >&5 2>/dev/null
11501 case x$lt_status in
11502 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11503 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11504 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11507 # compilation failed
11508 lt_cv_dlopen_self=no
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11516 $as_echo "$lt_cv_dlopen_self" >&6; }
11518 if test "x$lt_cv_dlopen_self" = xyes; then
11519 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11521 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11522 if ${lt_cv_dlopen_self_static+:} false; then :
11523 $as_echo_n "(cached) " >&6
11525 if test "$cross_compiling" = yes; then :
11526 lt_cv_dlopen_self_static=cross
11528 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11529 lt_status=$lt_dlunknown
11530 cat > conftest.$ac_ext <<_LT_EOF
11531 #line $LINENO "configure"
11532 #include "confdefs.h"
11541 # define LT_DLGLOBAL RTLD_GLOBAL
11544 # define LT_DLGLOBAL DL_GLOBAL
11546 # define LT_DLGLOBAL 0
11550 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11551 find out it does not work in some platform. */
11552 #ifndef LT_DLLAZY_OR_NOW
11554 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11557 # define LT_DLLAZY_OR_NOW DL_LAZY
11560 # define LT_DLLAZY_OR_NOW RTLD_NOW
11563 # define LT_DLLAZY_OR_NOW DL_NOW
11565 # define LT_DLLAZY_OR_NOW 0
11572 /* When -fvisbility=hidden is used, assume the code has been annotated
11573 correspondingly for the symbols needed. */
11574 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11575 int fnord () __attribute__((visibility("default")));
11578 int fnord () { return 42; }
11581 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11582 int status = $lt_dlunknown;
11586 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11589 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11590 else puts (dlerror ());
11592 /* dlclose (self); */
11600 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11601 (eval $ac_link) 2>&5
11603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11604 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11605 (./conftest; exit; ) >&5 2>/dev/null
11607 case x$lt_status in
11608 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11609 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11610 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11613 # compilation failed
11614 lt_cv_dlopen_self_static=no
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11622 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11625 CPPFLAGS="$save_CPPFLAGS"
11626 LDFLAGS="$save_LDFLAGS"
11631 case $lt_cv_dlopen_self in
11632 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11633 *) enable_dlopen_self=unknown ;;
11636 case $lt_cv_dlopen_self_static in
11637 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11638 *) enable_dlopen_self_static=unknown ;;
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11661 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11662 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11663 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11664 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11666 $as_echo "yes" >&6; }
11668 # FIXME - insert some real tests, host_os isn't really good enough
11671 if test -n "$STRIP" ; then
11672 striplib="$STRIP -x"
11673 old_striplib="$STRIP -S"
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11675 $as_echo "yes" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11678 $as_echo "no" >&6; }
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11683 $as_echo "no" >&6; }
11699 # Report which library types will actually be built
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11701 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11703 $as_echo "$can_build_shared" >&6; }
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11706 $as_echo_n "checking whether to build shared libraries... " >&6; }
11707 test "$can_build_shared" = "no" && enable_shared=no
11709 # On AIX, shared libraries and static libraries use the same namespace, and
11710 # are all built from PIC.
11713 test "$enable_shared" = yes && enable_static=no
11714 if test -n "$RANLIB"; then
11715 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11716 postinstall_cmds='$RANLIB $lib'
11721 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11722 test "$enable_shared" = yes && enable_static=no
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11727 $as_echo "$enable_shared" >&6; }
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11730 $as_echo_n "checking whether to build static libraries... " >&6; }
11731 # Make sure either enable_shared or enable_static is yes.
11732 test "$enable_shared" = yes || enable_static=yes
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11734 $as_echo "$enable_static" >&6; }
11741 ac_cpp='$CPP $CPPFLAGS'
11742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11762 ac_config_commands="$ac_config_commands libtool"
11767 # Only expand once:
11771 # Checks for programs.
11779 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11780 if test -n "$ac_tool_prefix"; then
11781 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11782 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11784 $as_echo_n "checking for $ac_word... " >&6; }
11785 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11786 $as_echo_n "(cached) " >&6
11788 case $PKG_CONFIG in
11790 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11794 for as_dir in $PATH
11797 test -z "$as_dir" && as_dir=.
11798 for ac_exec_ext in '' $ac_executable_extensions; do
11799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11800 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11811 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11812 if test -n "$PKG_CONFIG"; then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11814 $as_echo "$PKG_CONFIG" >&6; }
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11817 $as_echo "no" >&6; }
11822 if test -z "$ac_cv_path_PKG_CONFIG"; then
11823 ac_pt_PKG_CONFIG=$PKG_CONFIG
11824 # Extract the first word of "pkg-config", so it can be a program name with args.
11825 set dummy pkg-config; ac_word=$2
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11827 $as_echo_n "checking for $ac_word... " >&6; }
11828 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11829 $as_echo_n "(cached) " >&6
11831 case $ac_pt_PKG_CONFIG in
11833 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11837 for as_dir in $PATH
11840 test -z "$as_dir" && as_dir=.
11841 for ac_exec_ext in '' $ac_executable_extensions; do
11842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11843 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11854 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11855 if test -n "$ac_pt_PKG_CONFIG"; then
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11857 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860 $as_echo "no" >&6; }
11863 if test "x$ac_pt_PKG_CONFIG" = x; then
11866 case $cross_compiling:$ac_tool_warned in
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11870 ac_tool_warned=yes ;;
11872 PKG_CONFIG=$ac_pt_PKG_CONFIG
11875 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11879 if test -n "$PKG_CONFIG"; then
11880 _pkg_min_version=0.23
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11882 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11883 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11885 $as_echo "yes" >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11888 $as_echo "no" >&6; }
11893 ac_cpp='$CPP $CPPFLAGS'
11894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11897 if test -n "$ac_tool_prefix"; then
11898 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11899 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11901 $as_echo_n "checking for $ac_word... " >&6; }
11902 if ${ac_cv_prog_CC+:} false; then :
11903 $as_echo_n "(cached) " >&6
11905 if test -n "$CC"; then
11906 ac_cv_prog_CC="$CC" # Let the user override the test.
11908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11909 for as_dir in $PATH
11912 test -z "$as_dir" && as_dir=.
11913 for ac_exec_ext in '' $ac_executable_extensions; do
11914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11915 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11926 if test -n "$CC"; then
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11928 $as_echo "$CC" >&6; }
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11931 $as_echo "no" >&6; }
11936 if test -z "$ac_cv_prog_CC"; then
11938 # Extract the first word of "gcc", so it can be a program name with args.
11939 set dummy gcc; ac_word=$2
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11941 $as_echo_n "checking for $ac_word... " >&6; }
11942 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11943 $as_echo_n "(cached) " >&6
11945 if test -n "$ac_ct_CC"; then
11946 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11949 for as_dir in $PATH
11952 test -z "$as_dir" && as_dir=.
11953 for ac_exec_ext in '' $ac_executable_extensions; do
11954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11955 ac_cv_prog_ac_ct_CC="gcc"
11956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11965 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11966 if test -n "$ac_ct_CC"; then
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11968 $as_echo "$ac_ct_CC" >&6; }
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11971 $as_echo "no" >&6; }
11974 if test "x$ac_ct_CC" = x; then
11977 case $cross_compiling:$ac_tool_warned in
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11981 ac_tool_warned=yes ;;
11986 CC="$ac_cv_prog_CC"
11989 if test -z "$CC"; then
11990 if test -n "$ac_tool_prefix"; then
11991 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11992 set dummy ${ac_tool_prefix}cc; ac_word=$2
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11994 $as_echo_n "checking for $ac_word... " >&6; }
11995 if ${ac_cv_prog_CC+:} false; then :
11996 $as_echo_n "(cached) " >&6
11998 if test -n "$CC"; then
11999 ac_cv_prog_CC="$CC" # Let the user override the test.
12001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12002 for as_dir in $PATH
12005 test -z "$as_dir" && as_dir=.
12006 for ac_exec_ext in '' $ac_executable_extensions; do
12007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12008 ac_cv_prog_CC="${ac_tool_prefix}cc"
12009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12019 if test -n "$CC"; then
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12021 $as_echo "$CC" >&6; }
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12024 $as_echo "no" >&6; }
12030 if test -z "$CC"; then
12031 # Extract the first word of "cc", so it can be a program name with args.
12032 set dummy cc; ac_word=$2
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12034 $as_echo_n "checking for $ac_word... " >&6; }
12035 if ${ac_cv_prog_CC+:} false; then :
12036 $as_echo_n "(cached) " >&6
12038 if test -n "$CC"; then
12039 ac_cv_prog_CC="$CC" # Let the user override the test.
12041 ac_prog_rejected=no
12042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12043 for as_dir in $PATH
12046 test -z "$as_dir" && as_dir=.
12047 for ac_exec_ext in '' $ac_executable_extensions; do
12048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12049 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12050 ac_prog_rejected=yes
12054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12061 if test $ac_prog_rejected = yes; then
12062 # We found a bogon in the path, so make sure we never use it.
12063 set dummy $ac_cv_prog_CC
12065 if test $# != 0; then
12066 # We chose a different compiler from the bogus one.
12067 # However, it has the same basename, so the bogon will be chosen
12068 # first if we set CC to just the basename; use the full file name.
12070 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12076 if test -n "$CC"; then
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12078 $as_echo "$CC" >&6; }
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12081 $as_echo "no" >&6; }
12086 if test -z "$CC"; then
12087 if test -n "$ac_tool_prefix"; then
12088 for ac_prog in cl.exe
12090 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12091 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12093 $as_echo_n "checking for $ac_word... " >&6; }
12094 if ${ac_cv_prog_CC+:} false; then :
12095 $as_echo_n "(cached) " >&6
12097 if test -n "$CC"; then
12098 ac_cv_prog_CC="$CC" # Let the user override the test.
12100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12101 for as_dir in $PATH
12104 test -z "$as_dir" && as_dir=.
12105 for ac_exec_ext in '' $ac_executable_extensions; do
12106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12107 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12118 if test -n "$CC"; then
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12120 $as_echo "$CC" >&6; }
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12123 $as_echo "no" >&6; }
12127 test -n "$CC" && break
12130 if test -z "$CC"; then
12132 for ac_prog in cl.exe
12134 # Extract the first word of "$ac_prog", so it can be a program name with args.
12135 set dummy $ac_prog; ac_word=$2
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12137 $as_echo_n "checking for $ac_word... " >&6; }
12138 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12139 $as_echo_n "(cached) " >&6
12141 if test -n "$ac_ct_CC"; then
12142 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145 for as_dir in $PATH
12148 test -z "$as_dir" && as_dir=.
12149 for ac_exec_ext in '' $ac_executable_extensions; do
12150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12151 ac_cv_prog_ac_ct_CC="$ac_prog"
12152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12161 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12162 if test -n "$ac_ct_CC"; then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12164 $as_echo "$ac_ct_CC" >&6; }
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12167 $as_echo "no" >&6; }
12171 test -n "$ac_ct_CC" && break
12174 if test "x$ac_ct_CC" = x; then
12177 case $cross_compiling:$ac_tool_warned in
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12181 ac_tool_warned=yes ;;
12190 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12192 as_fn_error $? "no acceptable C compiler found in \$PATH
12193 See \`config.log' for more details" "$LINENO" 5; }
12195 # Provide some information about the compiler.
12196 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12199 for ac_option in --version -v -V -qversion; do
12200 { { ac_try="$ac_compiler $ac_option >&5"
12201 case "(($ac_try" in
12202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12203 *) ac_try_echo=$ac_try;;
12205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12206 $as_echo "$ac_try_echo"; } >&5
12207 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12209 if test -s conftest.err; then
12211 ... rest of stderr output deleted ...
12212 10q' conftest.err >conftest.er1
12213 cat conftest.er1 >&5
12215 rm -f conftest.er1 conftest.err
12216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12217 test $ac_status = 0; }
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12221 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12222 if ${ac_cv_c_compiler_gnu+:} false; then :
12223 $as_echo_n "(cached) " >&6
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12239 if ac_fn_c_try_compile "$LINENO"; then :
12240 ac_compiler_gnu=yes
12244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12245 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12249 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12250 if test $ac_compiler_gnu = yes; then
12255 ac_test_CFLAGS=${CFLAGS+set}
12256 ac_save_CFLAGS=$CFLAGS
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12258 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12259 if ${ac_cv_prog_cc_g+:} false; then :
12260 $as_echo_n "(cached) " >&6
12262 ac_save_c_werror_flag=$ac_c_werror_flag
12263 ac_c_werror_flag=yes
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12277 if ac_fn_c_try_compile "$LINENO"; then :
12278 ac_cv_prog_cc_g=yes
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12292 if ac_fn_c_try_compile "$LINENO"; then :
12295 ac_c_werror_flag=$ac_save_c_werror_flag
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12308 if ac_fn_c_try_compile "$LINENO"; then :
12309 ac_cv_prog_cc_g=yes
12311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12316 ac_c_werror_flag=$ac_save_c_werror_flag
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12319 $as_echo "$ac_cv_prog_cc_g" >&6; }
12320 if test "$ac_test_CFLAGS" = set; then
12321 CFLAGS=$ac_save_CFLAGS
12322 elif test $ac_cv_prog_cc_g = yes; then
12323 if test "$GCC" = yes; then
12329 if test "$GCC" = yes; then
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12336 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12337 if ${ac_cv_prog_cc_c89+:} false; then :
12338 $as_echo_n "(cached) " >&6
12340 ac_cv_prog_cc_c89=no
12342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h. */
12344 #include <stdarg.h>
12346 #include <sys/types.h>
12347 #include <sys/stat.h>
12348 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12349 struct buf { int x; };
12350 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12351 static char *e (p, i)
12357 static char *f (char * (*g) (char **, int), char **p, ...)
12362 s = g (p, va_arg (v,int));
12367 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12368 function prototypes and stuff, but not '\xHH' hex character constants.
12369 These don't provoke an error unfortunately, instead are silently treated
12370 as 'x'. The following induces an error, until -std is added to get
12371 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12372 array size at least. It's necessary to write '\x00'==0 to get something
12373 that's true only with -std. */
12374 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12376 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12377 inside strings and character constants. */
12379 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12381 int test (int i, double x);
12382 struct s1 {int (*f) (int a);};
12383 struct s2 {int (*f) (double a);};
12384 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12390 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12395 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12396 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12398 CC="$ac_save_CC $ac_arg"
12399 if ac_fn_c_try_compile "$LINENO"; then :
12400 ac_cv_prog_cc_c89=$ac_arg
12402 rm -f core conftest.err conftest.$ac_objext
12403 test "x$ac_cv_prog_cc_c89" != "xno" && break
12405 rm -f conftest.$ac_ext
12410 case "x$ac_cv_prog_cc_c89" in
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12413 $as_echo "none needed" >&6; } ;;
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12416 $as_echo "unsupported" >&6; } ;;
12418 CC="$CC $ac_cv_prog_cc_c89"
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12420 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12422 if test "x$ac_cv_prog_cc_c89" != xno; then :
12427 ac_cpp='$CPP $CPPFLAGS'
12428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12432 depcc="$CC" am_compiler_list=
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12435 $as_echo_n "checking dependency style of $depcc... " >&6; }
12436 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12437 $as_echo_n "(cached) " >&6
12439 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12440 # We make a subdir and do the tests there. Otherwise we can end up
12441 # making bogus files that we don't know about and never remove. For
12442 # instance it was reported that on HP-UX the gcc test will end up
12443 # making a dummy file named `D' -- because `-MD' means `put the output
12445 rm -rf conftest.dir
12447 # Copy depcomp to subdir because otherwise we won't find it if we're
12448 # using a relative directory.
12449 cp "$am_depcomp" conftest.dir
12451 # We will build objects and dependencies in a subdirectory because
12452 # it helps to detect inapplicable dependency modes. For instance
12453 # both Tru64's cc and ICC support -MD to output dependencies as a
12454 # side effect of compilation, but ICC will put the dependencies in
12455 # the current directory while Tru64 will put them in the object
12459 am_cv_CC_dependencies_compiler_type=none
12460 if test "$am_compiler_list" = ""; then
12461 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12463 am__universal=false
12464 case " $depcc " in #(
12465 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12468 for depmode in $am_compiler_list; do
12469 # Setup a source with many dependencies, because some compilers
12470 # like to wrap large dependency lists on column 80 (with \), and
12471 # we should not choose a depcomp mode which is confused by this.
12473 # We need to recreate these files for each test, as the compiler may
12474 # overwrite some of them when testing with obscure command lines.
12475 # This happens at least with the AIX C compiler.
12477 for i in 1 2 3 4 5 6; do
12478 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12479 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12480 # Solaris 8's {/usr,}/bin/sh.
12481 touch sub/conftst$i.h
12483 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12485 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12486 # mode. It turns out that the SunPro C++ compiler does not properly
12487 # handle `-M -o', and we need to detect this. Also, some Intel
12488 # versions had trouble with output in subdirs
12489 am__obj=sub/conftest.${OBJEXT-o}
12490 am__minus_obj="-o $am__obj"
12493 # This depmode causes a compiler race in universal mode.
12494 test "$am__universal" = false || continue
12497 # after this tag, mechanisms are not by side-effect, so they'll
12498 # only be used when explicitly requested
12499 if test "x$enable_dependency_tracking" = xyes; then
12505 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12506 # This compiler won't grok `-c -o', but also, the minuso test has
12507 # not run yet. These depmodes are late enough in the game, and
12508 # so weak that their functioning should not be impacted.
12509 am__obj=conftest.${OBJEXT-o}
12514 if depmode=$depmode \
12515 source=sub/conftest.c object=$am__obj \
12516 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12517 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12518 >/dev/null 2>conftest.err &&
12519 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12520 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12521 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12522 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12523 # icc doesn't choke on unknown options, it will just issue warnings
12524 # or remarks (even with -Werror). So we grep stderr for any message
12525 # that says an option was ignored or not supported.
12526 # When given -MP, icc 7.0 and 7.1 complain thusly:
12527 # icc: Command line warning: ignoring option '-M'; no argument required
12528 # The diagnosis changed in icc 8.0:
12529 # icc: Command line remark: option '-MP' not supported
12530 if (grep 'ignoring option' conftest.err ||
12531 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12532 am_cv_CC_dependencies_compiler_type=$depmode
12539 rm -rf conftest.dir
12541 am_cv_CC_dependencies_compiler_type=none
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12546 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12547 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12550 test "x$enable_dependency_tracking" != xno \
12551 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12552 am__fastdepCC_TRUE=
12553 am__fastdepCC_FALSE='#'
12555 am__fastdepCC_TRUE='#'
12556 am__fastdepCC_FALSE=
12560 if test "x$CC" != xcc; then
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12562 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12565 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12567 set dummy $CC; ac_cc=`$as_echo "$2" |
12568 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12569 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12570 $as_echo_n "(cached) " >&6
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12583 # Make sure it works both with $CC and with simple cc.
12584 # We do the test twice because some compilers refuse to overwrite an
12585 # existing .o file with -o, though they will create one.
12586 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12588 if { { case "(($ac_try" in
12589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12590 *) ac_try_echo=$ac_try;;
12592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12593 $as_echo "$ac_try_echo"; } >&5
12594 (eval "$ac_try") 2>&5
12596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12597 test $ac_status = 0; } &&
12598 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12600 *) ac_try_echo=$ac_try;;
12602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12603 $as_echo "$ac_try_echo"; } >&5
12604 (eval "$ac_try") 2>&5
12606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12607 test $ac_status = 0; };
12609 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12610 if test "x$CC" != xcc; then
12611 # Test first that cc exists at all.
12612 if { ac_try='cc -c conftest.$ac_ext >&5'
12613 { { case "(($ac_try" in
12614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12615 *) ac_try_echo=$ac_try;;
12617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12618 $as_echo "$ac_try_echo"; } >&5
12619 (eval "$ac_try") 2>&5
12621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12622 test $ac_status = 0; }; }; then
12623 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12625 if { { case "(($ac_try" in
12626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12627 *) ac_try_echo=$ac_try;;
12629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12630 $as_echo "$ac_try_echo"; } >&5
12631 (eval "$ac_try") 2>&5
12633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12634 test $ac_status = 0; } &&
12635 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12637 *) ac_try_echo=$ac_try;;
12639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12640 $as_echo "$ac_try_echo"; } >&5
12641 (eval "$ac_try") 2>&5
12643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12644 test $ac_status = 0; };
12649 # cc exists but doesn't like -o.
12650 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12655 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12657 rm -f core conftest*
12660 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12662 $as_echo "yes" >&6; }
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12665 $as_echo "no" >&6; }
12667 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12671 # FIXME: we rely on the cache variable name because
12672 # there is no other way.
12674 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12675 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12676 if test "$am_t" != yes; then
12677 # Losing compiler, so override with the script.
12678 # FIXME: It is wrong to rewrite CC.
12679 # But if we don't then we get into trouble of one sort or another.
12680 # A longer-term fix would be to have automake use am__CC in this case,
12681 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12682 CC="$am_aux_dir/compile $CC"
12686 # Extract the first word of "valac", so it can be a program name with args.
12687 set dummy valac; ac_word=$2
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12689 $as_echo_n "checking for $ac_word... " >&6; }
12690 if ${ac_cv_path_VALAC+:} false; then :
12691 $as_echo_n "(cached) " >&6
12695 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
12698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12699 for as_dir in $PATH
12702 test -z "$as_dir" && as_dir=.
12703 for ac_exec_ext in '' $ac_executable_extensions; do
12704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12705 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
12706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12716 VALAC=$ac_cv_path_VALAC
12717 if test -n "$VALAC"; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
12719 $as_echo "$VALAC" >&6; }
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12722 $as_echo "no" >&6; }
12726 if test -z "$VALAC"; then :
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
12728 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
12730 if test -n "0.9"; then :
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.9" >&5
12732 $as_echo_n "checking $VALAC is at least version 0.9... " >&6; }
12733 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
12735 as_arg_v2="$am__vala_version"
12736 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12740 $as_echo "yes" >&6; } ;; #(
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12743 $as_echo "yes" >&6; } ;; #(
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12746 $as_echo "no" >&6; }
12747 as_fn_error $? "Vala 0.9 not found." "$LINENO" 5 ;; #(
12763 SERVER_IPC_MODULE="msrpc-glib2-1.0"
12764 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12768 $as_echo_n "checking for GTK... " >&6; }
12770 if test -n "$GTK_CFLAGS"; then
12771 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12772 elif test -n "$PKG_CONFIG"; then
12773 if test -n "$PKG_CONFIG" && \
12774 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12775 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12778 test $ac_status = 0; }; then
12779 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12780 test "x$?" != "x0" && pkg_failed=yes
12787 if test -n "$GTK_LIBS"; then
12788 pkg_cv_GTK_LIBS="$GTK_LIBS"
12789 elif test -n "$PKG_CONFIG"; then
12790 if test -n "$PKG_CONFIG" && \
12791 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12792 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12795 test $ac_status = 0; }; then
12796 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12797 test "x$?" != "x0" && pkg_failed=yes
12807 if test $pkg_failed = yes; then
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12809 $as_echo "no" >&6; }
12811 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12812 _pkg_short_errors_supported=yes
12814 _pkg_short_errors_supported=no
12816 if test $_pkg_short_errors_supported = yes; then
12817 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12819 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12821 # Put the nasty error message in config.log where it belongs
12822 echo "$GTK_PKG_ERRORS" >&5
12824 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
12828 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12829 installed software in a non-standard prefix.
12831 Alternatively, you may set the environment variables GTK_CFLAGS
12832 and GTK_LIBS to avoid the need to call pkg-config.
12833 See the pkg-config man page for more details." "$LINENO" 5
12834 elif test $pkg_failed = untried; then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12836 $as_echo "no" >&6; }
12837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12839 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12840 is in your PATH or set the PKG_CONFIG environment variable to the full
12841 path to pkg-config.
12843 Alternatively, you may set the environment variables GTK_CFLAGS
12844 and GTK_LIBS to avoid the need to call pkg-config.
12845 See the pkg-config man page for more details.
12847 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12848 See \`config.log' for more details" "$LINENO" 5; }
12850 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12851 GTK_LIBS=$pkg_cv_GTK_LIBS
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12853 $as_echo "yes" >&6; }
12854 GTK_VERSION="gtk+-2.0"
12864 # We require dbus-glib for the client library even if we are using GDBus
12865 # in the server. The reason we can't always use dbus-glib in the server is
12866 # because Vala drops support for it, but as it ships with DBus there is very
12867 # little danger of it being dropped by distros any time soon.
12868 CLIENT_IPC_MODULE="dbus-glib-1"
12869 SERVER_IPC_MODULE="dbus-glib-1"
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
12874 $as_echo_n "checking for MAC... " >&6; }
12876 if test -n "$MAC_CFLAGS"; then
12877 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
12878 elif test -n "$PKG_CONFIG"; then
12879 if test -n "$PKG_CONFIG" && \
12880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12882 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12886 test $ac_status = 0; }; then
12887 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
12889 test "x$?" != "x0" && pkg_failed=yes
12896 if test -n "$MAC_LIBS"; then
12897 pkg_cv_MAC_LIBS="$MAC_LIBS"
12898 elif test -n "$PKG_CONFIG"; then
12899 if test -n "$PKG_CONFIG" && \
12900 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12902 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12906 test $ac_status = 0; }; then
12907 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
12909 test "x$?" != "x0" && pkg_failed=yes
12919 if test $pkg_failed = yes; then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12921 $as_echo "no" >&6; }
12923 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12924 _pkg_short_errors_supported=yes
12926 _pkg_short_errors_supported=no
12928 if test $_pkg_short_errors_supported = yes; then
12929 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12932 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12935 # Put the nasty error message in config.log where it belongs
12936 echo "$MAC_PKG_ERRORS" >&5
12938 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
12943 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12944 installed software in a non-standard prefix.
12946 Alternatively, you may set the environment variables MAC_CFLAGS
12947 and MAC_LIBS to avoid the need to call pkg-config.
12948 See the pkg-config man page for more details." "$LINENO" 5
12949 elif test $pkg_failed = untried; then
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12951 $as_echo "no" >&6; }
12952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12954 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12955 is in your PATH or set the PKG_CONFIG environment variable to the full
12956 path to pkg-config.
12958 Alternatively, you may set the environment variables MAC_CFLAGS
12959 and MAC_LIBS to avoid the need to call pkg-config.
12960 See the pkg-config man page for more details.
12962 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12963 See \`config.log' for more details" "$LINENO" 5; }
12965 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
12966 MAC_LIBS=$pkg_cv_MAC_LIBS
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12968 $as_echo "yes" >&6; }
12972 # TODO: Move to GTK+-3
12973 # [gtk+-3.0 >= 2.0],
12974 # [GTK_VERSION="gtk+-3.0"]
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12978 $as_echo_n "checking for GTK... " >&6; }
12980 if test -n "$GTK_CFLAGS"; then
12981 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12982 elif test -n "$PKG_CONFIG"; then
12983 if test -n "$PKG_CONFIG" && \
12984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12985 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12988 test $ac_status = 0; }; then
12989 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12990 test "x$?" != "x0" && pkg_failed=yes
12997 if test -n "$GTK_LIBS"; then
12998 pkg_cv_GTK_LIBS="$GTK_LIBS"
12999 elif test -n "$PKG_CONFIG"; then
13000 if test -n "$PKG_CONFIG" && \
13001 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13002 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13005 test $ac_status = 0; }; then
13006 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13007 test "x$?" != "x0" && pkg_failed=yes
13017 if test $pkg_failed = yes; then
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13019 $as_echo "no" >&6; }
13021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13022 _pkg_short_errors_supported=yes
13024 _pkg_short_errors_supported=no
13026 if test $_pkg_short_errors_supported = yes; then
13027 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13029 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13031 # Put the nasty error message in config.log where it belongs
13032 echo "$GTK_PKG_ERRORS" >&5
13034 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13038 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13039 installed software in a non-standard prefix.
13041 Alternatively, you may set the environment variables GTK_CFLAGS
13042 and GTK_LIBS to avoid the need to call pkg-config.
13043 See the pkg-config man page for more details." "$LINENO" 5
13044 elif test $pkg_failed = untried; then
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13046 $as_echo "no" >&6; }
13047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13049 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13050 is in your PATH or set the PKG_CONFIG environment variable to the full
13051 path to pkg-config.
13053 Alternatively, you may set the environment variables GTK_CFLAGS
13054 and GTK_LIBS to avoid the need to call pkg-config.
13055 See the pkg-config man page for more details.
13057 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13058 See \`config.log' for more details" "$LINENO" 5; }
13060 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13061 GTK_LIBS=$pkg_cv_GTK_LIBS
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13063 $as_echo "yes" >&6; }
13064 GTK_VERSION="gtk+-2.0"
13074 # We require dbus-glib for the client library even if we are using GDBus
13075 # in the server. The reason we can't always use dbus-glib in the server is
13076 # because Vala drops support for it, but as it ships with DBus there is very
13077 # little danger of it being dropped by distros any time soon.
13078 CLIENT_IPC_MODULE="dbus-glib-1"
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
13082 $as_echo_n "checking for GDBUS... " >&6; }
13084 if test -n "$GDBUS_CFLAGS"; then
13085 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
13086 elif test -n "$PKG_CONFIG"; then
13087 if test -n "$PKG_CONFIG" && \
13088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13089 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13092 test $ac_status = 0; }; then
13093 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
13094 test "x$?" != "x0" && pkg_failed=yes
13101 if test -n "$GDBUS_LIBS"; then
13102 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
13103 elif test -n "$PKG_CONFIG"; then
13104 if test -n "$PKG_CONFIG" && \
13105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13106 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13109 test $ac_status = 0; }; then
13110 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
13111 test "x$?" != "x0" && pkg_failed=yes
13121 if test $pkg_failed = yes; then
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13123 $as_echo "no" >&6; }
13125 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13126 _pkg_short_errors_supported=yes
13128 _pkg_short_errors_supported=no
13130 if test $_pkg_short_errors_supported = yes; then
13131 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13133 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13135 # Put the nasty error message in config.log where it belongs
13136 echo "$GDBUS_PKG_ERRORS" >&5
13138 SERVER_IPC_MODULE="dbus-glib-1"
13140 elif test $pkg_failed = untried; then
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13142 $as_echo "no" >&6; }
13143 SERVER_IPC_MODULE="dbus-glib-1"
13146 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
13147 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13149 $as_echo "yes" >&6; }
13150 SERVER_IPC_MODULE="gio-2.0"
13152 # TODO: Move to GTK+-3
13153 # [gtk+-3.0 >= 2.0],
13154 # [GTK_VERSION="gtk+-3.0"]
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13158 $as_echo_n "checking for GTK... " >&6; }
13160 if test -n "$GTK_CFLAGS"; then
13161 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13162 elif test -n "$PKG_CONFIG"; then
13163 if test -n "$PKG_CONFIG" && \
13164 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13165 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13168 test $ac_status = 0; }; then
13169 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13170 test "x$?" != "x0" && pkg_failed=yes
13177 if test -n "$GTK_LIBS"; then
13178 pkg_cv_GTK_LIBS="$GTK_LIBS"
13179 elif test -n "$PKG_CONFIG"; then
13180 if test -n "$PKG_CONFIG" && \
13181 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13182 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13185 test $ac_status = 0; }; then
13186 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13187 test "x$?" != "x0" && pkg_failed=yes
13197 if test $pkg_failed = yes; then
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13199 $as_echo "no" >&6; }
13201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13202 _pkg_short_errors_supported=yes
13204 _pkg_short_errors_supported=no
13206 if test $_pkg_short_errors_supported = yes; then
13207 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13209 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13211 # Put the nasty error message in config.log where it belongs
13212 echo "$GTK_PKG_ERRORS" >&5
13214 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13218 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13219 installed software in a non-standard prefix.
13221 Alternatively, you may set the environment variables GTK_CFLAGS
13222 and GTK_LIBS to avoid the need to call pkg-config.
13223 See the pkg-config man page for more details." "$LINENO" 5
13224 elif test $pkg_failed = untried; then
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13226 $as_echo "no" >&6; }
13227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13229 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13230 is in your PATH or set the PKG_CONFIG environment variable to the full
13231 path to pkg-config.
13233 Alternatively, you may set the environment variables GTK_CFLAGS
13234 and GTK_LIBS to avoid the need to call pkg-config.
13235 See the pkg-config man page for more details.
13237 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13238 See \`config.log' for more details" "$LINENO" 5; }
13240 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13241 GTK_LIBS=$pkg_cv_GTK_LIBS
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13243 $as_echo "yes" >&6; }
13244 GTK_VERSION="gtk+-2.0"
13251 if test "$linux" = "yes"; then
13259 if test "$win32" = "yes"; then
13267 if test "$macos" = "yes"; then
13276 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13278 IPC_MSRPC_FALSE='#'
13284 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
13292 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13293 IPC_DBUS_GLIB_TRUE=
13294 IPC_DBUS_GLIB_FALSE='#'
13296 IPC_DBUS_GLIB_TRUE='#'
13297 IPC_DBUS_GLIB_FALSE=
13300 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
13302 IPC_GDBUS_FALSE='#'
13309 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
13311 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
13312 vala_version=`$VALAC --version | sed 's/Vala *//'`
13314 as_arg_v2="$vala_version"
13315 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13318 vala_supports_dbus_glib="no" ;; #(
13320 vala_supports_dbus_glib="no" ;; #(
13322 vala_supports_dbus_glib="yes" ;; #(
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
13328 $as_echo "$vala_supports_dbus_glib" >&6; }
13329 if test "$vala_supports_dbus_glib" = "no"; then
13331 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
13332 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
13336 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13339 pkg_config_args="msrpc-mingw-1.0"
13348 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13349 if test -n "$ac_tool_prefix"; then
13350 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13351 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13353 $as_echo_n "checking for $ac_word... " >&6; }
13354 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13355 $as_echo_n "(cached) " >&6
13357 case $PKG_CONFIG in
13359 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13363 for as_dir in $PATH
13366 test -z "$as_dir" && as_dir=.
13367 for ac_exec_ext in '' $ac_executable_extensions; do
13368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13369 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13380 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13381 if test -n "$PKG_CONFIG"; then
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13383 $as_echo "$PKG_CONFIG" >&6; }
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13386 $as_echo "no" >&6; }
13391 if test -z "$ac_cv_path_PKG_CONFIG"; then
13392 ac_pt_PKG_CONFIG=$PKG_CONFIG
13393 # Extract the first word of "pkg-config", so it can be a program name with args.
13394 set dummy pkg-config; ac_word=$2
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13396 $as_echo_n "checking for $ac_word... " >&6; }
13397 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13398 $as_echo_n "(cached) " >&6
13400 case $ac_pt_PKG_CONFIG in
13402 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13406 for as_dir in $PATH
13409 test -z "$as_dir" && as_dir=.
13410 for ac_exec_ext in '' $ac_executable_extensions; do
13411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13412 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13423 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13424 if test -n "$ac_pt_PKG_CONFIG"; then
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13426 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13429 $as_echo "no" >&6; }
13432 if test "x$ac_pt_PKG_CONFIG" = x; then
13435 case $cross_compiling:$ac_tool_warned in
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13439 ac_tool_warned=yes ;;
13441 PKG_CONFIG=$ac_pt_PKG_CONFIG
13444 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13448 if test -n "$PKG_CONFIG"; then
13449 _pkg_min_version=0.16
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13451 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13452 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13454 $as_echo "yes" >&6; }
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13457 $as_echo "no" >&6; }
13464 if test "x$PKG_CONFIG" = x ; then
13469 min_msrpc_mingw_version=0.1.0
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
13471 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
13473 if test x$PKG_CONFIG != xno ; then
13474 if $PKG_CONFIG --uninstalled $pkg_config_args; then
13475 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
13478 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
13485 if test x"$no_msrpc" = x ; then
13486 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
13487 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13488 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13491 if test "x$no_msrpc" = x ; then
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13493 $as_echo "yes" >&6; }
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13497 $as_echo "no" >&6; }
13498 if test "$PKG_CONFIG" = "no" ; then
13499 echo "*** A new enough version of pkg-config was not found."
13500 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13508 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
13515 # Extract the first word of "midl", so it can be a program name with args.
13516 set dummy midl; ac_word=$2
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13518 $as_echo_n "checking for $ac_word... " >&6; }
13519 if ${ac_cv_path_MIDL+:} false; then :
13520 $as_echo_n "(cached) " >&6
13524 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
13527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13528 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
13531 test -z "$as_dir" && as_dir=.
13532 for ac_exec_ext in '' $ac_executable_extensions; do
13533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13534 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
13535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13542 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
13546 MIDL=$ac_cv_path_MIDL
13547 if test -n "$MIDL"; then
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
13549 $as_echo "$MIDL" >&6; }
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13552 $as_echo "no" >&6; }
13556 if test "$MIDL" = "no"; then
13558 *** Could not find the Microsoft interface compiler MIDL.EXE.
13559 *** This program is available as part of the MS Windows SDK, in
13560 *** the Win32 Development Tools package. If it is not in the PATH
13561 *** or its default location you may set the 'MIDL' environment
13562 *** variable to point to its location and rerun configure." "$LINENO" 5
13566 if test "$win32" = "yes"; then
13567 # Other Windows-specific tools
13569 # LIB.EXE from MSVC to build an MSVC-compatible import library.
13570 # Extract the first word of "lib", so it can be a program name with args.
13571 set dummy lib; ac_word=$2
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13573 $as_echo_n "checking for $ac_word... " >&6; }
13574 if ${ac_cv_path_MSVC_LIB+:} false; then :
13575 $as_echo_n "(cached) " >&6
13579 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
13582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13583 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
13586 test -z "$as_dir" && as_dir=.
13587 for ac_exec_ext in '' $ac_executable_extensions; do
13588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13589 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
13590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13597 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
13601 MSVC_LIB=$ac_cv_path_MSVC_LIB
13602 if test -n "$MSVC_LIB"; then
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
13604 $as_echo "$MSVC_LIB" >&6; }
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13607 $as_echo "no" >&6; }
13612 if test "$MSVC_LIB" = "no"; then
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: 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." >&5
13618 $as_echo "$as_me: WARNING:
13619 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13620 *** to build the Visual C import library for libmoonshot. Use the
13621 *** MSVC_LIB environment variable to pass its location if this is
13622 *** outside the PATH." >&2;}
13626 # ImageMagick for the 'make icons' target. Note that
13627 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
13628 # Extract the first word of "convert", so it can be a program name with args.
13629 set dummy convert; ac_word=$2
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13631 $as_echo_n "checking for $ac_word... " >&6; }
13632 if ${ac_cv_path_IMAGEMAGICK_CONVERT+:} false; then :
13633 $as_echo_n "(cached) " >&6
13635 case $IMAGEMAGICK_CONVERT in
13637 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
13640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13641 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
13644 test -z "$as_dir" && as_dir=.
13645 for ac_exec_ext in '' $ac_executable_extensions; do
13646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13647 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
13648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13655 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
13659 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
13660 if test -n "$IMAGEMAGICK_CONVERT"; then
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
13662 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13665 $as_echo "no" >&6; }
13670 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13672 *** Could not find ImageMagick convert.exe. This is required for the
13673 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13674 *** variable to pass its location if this is outside the PATH." >&5
13675 $as_echo "$as_me: WARNING:
13676 *** Could not find ImageMagick convert.exe. This is required for the
13677 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13678 *** variable to pass its location if this is outside the PATH." >&2;}
13682 # Windows Installer XML tools
13683 # Extract the first word of "candle", so it can be a program name with args.
13684 set dummy candle; ac_word=$2
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13686 $as_echo_n "checking for $ac_word... " >&6; }
13687 if ${ac_cv_path_WIX_CANDLE+:} false; then :
13688 $as_echo_n "(cached) " >&6
13690 case $WIX_CANDLE in
13692 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
13695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13696 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
13699 test -z "$as_dir" && as_dir=.
13700 for ac_exec_ext in '' $ac_executable_extensions; do
13701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13702 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
13703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13710 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
13714 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
13715 if test -n "$WIX_CANDLE"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
13717 $as_echo "$WIX_CANDLE" >&6; }
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13720 $as_echo "no" >&6; }
13724 # Extract the first word of "light", so it can be a program name with args.
13725 set dummy light; ac_word=$2
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13727 $as_echo_n "checking for $ac_word... " >&6; }
13728 if ${ac_cv_path_WIX_LIGHT+:} false; then :
13729 $as_echo_n "(cached) " >&6
13733 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
13736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13737 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
13740 test -z "$as_dir" && as_dir=.
13741 for ac_exec_ext in '' $ac_executable_extensions; do
13742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13743 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
13744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13751 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
13755 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
13756 if test -n "$WIX_LIGHT"; then
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
13758 $as_echo "$WIX_LIGHT" >&6; }
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13761 $as_echo "no" >&6; }
13766 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: 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
13772 $as_echo "$as_me: WARNING:
13773 *** Could not find the Windows Installer XML tools. These are required
13774 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13775 *** environment variables to pass their locations if they are outside
13776 *** the PATH." >&2;}
13780 if test "$linux" = "yes"; then
13781 # Extract the first word of "update-mime-database", so it can be a program name with args.
13782 set dummy update-mime-database; ac_word=$2
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13784 $as_echo_n "checking for $ac_word... " >&6; }
13785 if ${ac_cv_path_UPDATE_MIME_DATABASE+:} false; then :
13786 $as_echo_n "(cached) " >&6
13788 case $UPDATE_MIME_DATABASE in
13790 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
13793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13794 for as_dir in $PATH
13797 test -z "$as_dir" && as_dir=.
13798 for ac_exec_ext in '' $ac_executable_extensions; do
13799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13800 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13808 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
13812 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
13813 if test -n "$UPDATE_MIME_DATABASE"; then
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
13815 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13818 $as_echo "no" >&6; }
13822 if test "$UPDATE_MIME_DATABASE" = "no"; then
13824 *** Could not find the Freedesktop.org mime database update tool.
13825 *** Web provisioning files could not be automatically installed." "$LINENO" 5
13827 # Extract the first word of "update-desktop-database", so it can be a program name with args.
13828 set dummy update-desktop-database; ac_word=$2
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13830 $as_echo_n "checking for $ac_word... " >&6; }
13831 if ${ac_cv_path_UPDATE_DESKTOP_DATABASE+:} false; then :
13832 $as_echo_n "(cached) " >&6
13834 case $UPDATE_DESKTOP_DATABASE in
13836 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
13839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13840 for as_dir in $PATH
13843 test -z "$as_dir" && as_dir=.
13844 for ac_exec_ext in '' $ac_executable_extensions; do
13845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13846 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
13858 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
13859 if test -n "$UPDATE_DESKTOP_DATABASE"; then
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
13861 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13864 $as_echo "no" >&6; }
13868 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
13870 *** Could not find the Freedesktop.org desktop entry database update
13871 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
13875 MOONSHOT_APP="$bindir/moonshot"
13876 MOONSHOT_WEBP="$bindir/moonshot-webp"
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
13892 $as_echo_n "checking for moonshot... " >&6; }
13894 if test -n "$moonshot_CFLAGS"; then
13895 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
13896 elif test -n "$PKG_CONFIG"; then
13897 if test -n "$PKG_CONFIG" && \
13898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13901 gobject-2.0 >= 2.22
13904 \$SERVER_IPC_MODULE
13907 ($PKG_CONFIG --exists --print-errors "
13910 gobject-2.0 >= 2.22
13917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13918 test $ac_status = 0; }; then
13919 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
13922 gobject-2.0 >= 2.22
13928 test "x$?" != "x0" && pkg_failed=yes
13935 if test -n "$moonshot_LIBS"; then
13936 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
13937 elif test -n "$PKG_CONFIG"; then
13938 if test -n "$PKG_CONFIG" && \
13939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13942 gobject-2.0 >= 2.22
13945 \$SERVER_IPC_MODULE
13948 ($PKG_CONFIG --exists --print-errors "
13951 gobject-2.0 >= 2.22
13958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13959 test $ac_status = 0; }; then
13960 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
13963 gobject-2.0 >= 2.22
13969 test "x$?" != "x0" && pkg_failed=yes
13979 if test $pkg_failed = yes; then
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13981 $as_echo "no" >&6; }
13983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13984 _pkg_short_errors_supported=yes
13986 _pkg_short_errors_supported=no
13988 if test $_pkg_short_errors_supported = yes; then
13989 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
13992 gobject-2.0 >= 2.22
13999 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14002 gobject-2.0 >= 2.22
14009 # Put the nasty error message in config.log where it belongs
14010 echo "$moonshot_PKG_ERRORS" >&5
14012 as_fn_error $? "Package requirements (
14015 gobject-2.0 >= 2.22
14022 $moonshot_PKG_ERRORS
14024 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14025 installed software in a non-standard prefix.
14027 Alternatively, you may set the environment variables moonshot_CFLAGS
14028 and moonshot_LIBS to avoid the need to call pkg-config.
14029 See the pkg-config man page for more details." "$LINENO" 5
14030 elif test $pkg_failed = untried; then
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14032 $as_echo "no" >&6; }
14033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14035 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14036 is in your PATH or set the PKG_CONFIG environment variable to the full
14037 path to pkg-config.
14039 Alternatively, you may set the environment variables moonshot_CFLAGS
14040 and moonshot_LIBS to avoid the need to call pkg-config.
14041 See the pkg-config man page for more details.
14043 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14044 See \`config.log' for more details" "$LINENO" 5; }
14046 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
14047 moonshot_LIBS=$pkg_cv_moonshot_LIBS
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14049 $as_echo "yes" >&6; }
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
14056 $as_echo_n "checking for libmoonshot... " >&6; }
14058 if test -n "$libmoonshot_CFLAGS"; then
14059 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
14060 elif test -n "$PKG_CONFIG"; then
14061 if test -n "$PKG_CONFIG" && \
14062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14063 \$CLIENT_IPC_MODULE
14065 ($PKG_CONFIG --exists --print-errors "
14069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14070 test $ac_status = 0; }; then
14071 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
14074 test "x$?" != "x0" && pkg_failed=yes
14081 if test -n "$libmoonshot_LIBS"; then
14082 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
14083 elif test -n "$PKG_CONFIG"; then
14084 if test -n "$PKG_CONFIG" && \
14085 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14086 \$CLIENT_IPC_MODULE
14088 ($PKG_CONFIG --exists --print-errors "
14092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14093 test $ac_status = 0; }; then
14094 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
14097 test "x$?" != "x0" && pkg_failed=yes
14107 if test $pkg_failed = yes; then
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14109 $as_echo "no" >&6; }
14111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14112 _pkg_short_errors_supported=yes
14114 _pkg_short_errors_supported=no
14116 if test $_pkg_short_errors_supported = yes; then
14117 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14121 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14125 # Put the nasty error message in config.log where it belongs
14126 echo "$libmoonshot_PKG_ERRORS" >&5
14128 as_fn_error $? "Package requirements (
14132 $libmoonshot_PKG_ERRORS
14134 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14135 installed software in a non-standard prefix.
14137 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14138 and libmoonshot_LIBS to avoid the need to call pkg-config.
14139 See the pkg-config man page for more details." "$LINENO" 5
14140 elif test $pkg_failed = untried; then
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14142 $as_echo "no" >&6; }
14143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14145 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14146 is in your PATH or set the PKG_CONFIG environment variable to the full
14147 path to pkg-config.
14149 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14150 and libmoonshot_LIBS to avoid the need to call pkg-config.
14151 See the pkg-config man page for more details.
14153 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14154 See \`config.log' for more details" "$LINENO" 5; }
14156 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
14157 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14159 $as_echo "yes" >&6; }
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14166 $as_echo_n "checking whether NLS is requested... " >&6; }
14167 # Check whether --enable-nls was given.
14168 if test "${enable_nls+set}" = set; then :
14169 enableval=$enable_nls; USE_NLS=$enableval
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14175 $as_echo "$USE_NLS" >&6; }
14180 GETTEXT_MACRO_VERSION=0.18
14185 # Prepare PATH_SEPARATOR.
14186 # The user is always right.
14187 if test "${PATH_SEPARATOR+set}" != set; then
14188 echo "#! /bin/sh" >conf$$.sh
14189 echo "exit 0" >>conf$$.sh
14191 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14199 # Find out how to test for executable files. Don't use a zero-byte file,
14200 # as systems may use methods other than mode bits to determine executability.
14201 cat >conf$$.file <<_ASEOF
14205 chmod +x conf$$.file
14206 if test -x conf$$.file >/dev/null 2>&1; then
14207 ac_executable_p="test -x"
14209 ac_executable_p="test -f"
14213 # Extract the first word of "msgfmt", so it can be a program name with args.
14214 set dummy msgfmt; ac_word=$2
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14216 $as_echo_n "checking for $ac_word... " >&6; }
14217 if ${ac_cv_path_MSGFMT+:} false; then :
14218 $as_echo_n "(cached) " >&6
14222 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14225 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14226 for ac_dir in $PATH; do
14228 test -z "$ac_dir" && ac_dir=.
14229 for ac_exec_ext in '' $ac_executable_extensions; do
14230 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14231 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14232 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14233 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14234 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14241 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14245 MSGFMT="$ac_cv_path_MSGFMT"
14246 if test "$MSGFMT" != ":"; then
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14248 $as_echo "$MSGFMT" >&6; }
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 $as_echo "no" >&6; }
14254 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14255 set dummy gmsgfmt; ac_word=$2
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14257 $as_echo_n "checking for $ac_word... " >&6; }
14258 if ${ac_cv_path_GMSGFMT+:} false; then :
14259 $as_echo_n "(cached) " >&6
14263 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14267 for as_dir in $PATH
14270 test -z "$as_dir" && as_dir=.
14271 for ac_exec_ext in '' $ac_executable_extensions; do
14272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14273 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14281 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14285 GMSGFMT=$ac_cv_path_GMSGFMT
14286 if test -n "$GMSGFMT"; then
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14288 $as_echo "$GMSGFMT" >&6; }
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14291 $as_echo "no" >&6; }
14296 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14297 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14298 *) MSGFMT_015=$MSGFMT ;;
14301 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14302 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14303 *) GMSGFMT_015=$GMSGFMT ;;
14308 # Prepare PATH_SEPARATOR.
14309 # The user is always right.
14310 if test "${PATH_SEPARATOR+set}" != set; then
14311 echo "#! /bin/sh" >conf$$.sh
14312 echo "exit 0" >>conf$$.sh
14314 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14322 # Find out how to test for executable files. Don't use a zero-byte file,
14323 # as systems may use methods other than mode bits to determine executability.
14324 cat >conf$$.file <<_ASEOF
14328 chmod +x conf$$.file
14329 if test -x conf$$.file >/dev/null 2>&1; then
14330 ac_executable_p="test -x"
14332 ac_executable_p="test -f"
14336 # Extract the first word of "xgettext", so it can be a program name with args.
14337 set dummy xgettext; ac_word=$2
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14339 $as_echo_n "checking for $ac_word... " >&6; }
14340 if ${ac_cv_path_XGETTEXT+:} false; then :
14341 $as_echo_n "(cached) " >&6
14343 case "$XGETTEXT" in
14345 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14348 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14349 for ac_dir in $PATH; do
14351 test -z "$ac_dir" && ac_dir=.
14352 for ac_exec_ext in '' $ac_executable_extensions; do
14353 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14354 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14355 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14356 (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
14357 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14364 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14368 XGETTEXT="$ac_cv_path_XGETTEXT"
14369 if test "$XGETTEXT" != ":"; then
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14371 $as_echo "$XGETTEXT" >&6; }
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14374 $as_echo "no" >&6; }
14379 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14380 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14381 *) XGETTEXT_015=$XGETTEXT ;;
14386 # Prepare PATH_SEPARATOR.
14387 # The user is always right.
14388 if test "${PATH_SEPARATOR+set}" != set; then
14389 echo "#! /bin/sh" >conf$$.sh
14390 echo "exit 0" >>conf$$.sh
14392 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14400 # Find out how to test for executable files. Don't use a zero-byte file,
14401 # as systems may use methods other than mode bits to determine executability.
14402 cat >conf$$.file <<_ASEOF
14406 chmod +x conf$$.file
14407 if test -x conf$$.file >/dev/null 2>&1; then
14408 ac_executable_p="test -x"
14410 ac_executable_p="test -f"
14414 # Extract the first word of "msgmerge", so it can be a program name with args.
14415 set dummy msgmerge; ac_word=$2
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14417 $as_echo_n "checking for $ac_word... " >&6; }
14418 if ${ac_cv_path_MSGMERGE+:} false; then :
14419 $as_echo_n "(cached) " >&6
14421 case "$MSGMERGE" in
14423 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14426 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14427 for ac_dir in $PATH; do
14429 test -z "$ac_dir" && ac_dir=.
14430 for ac_exec_ext in '' $ac_executable_extensions; do
14431 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14432 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14433 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14434 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14441 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14445 MSGMERGE="$ac_cv_path_MSGMERGE"
14446 if test "$MSGMERGE" != ":"; then
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14448 $as_echo "$MSGMERGE" >&6; }
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14451 $as_echo "no" >&6; }
14455 test -n "$localedir" || localedir='${datadir}/locale'
14458 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14461 ac_config_commands="$ac_config_commands po-directories"
14465 if test "X$prefix" = "XNONE"; then
14466 acl_final_prefix="$ac_default_prefix"
14468 acl_final_prefix="$prefix"
14470 if test "X$exec_prefix" = "XNONE"; then
14471 acl_final_exec_prefix='${prefix}'
14473 acl_final_exec_prefix="$exec_prefix"
14475 acl_save_prefix="$prefix"
14476 prefix="$acl_final_prefix"
14477 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14478 prefix="$acl_save_prefix"
14481 # Check whether --with-gnu-ld was given.
14482 if test "${with_gnu_ld+set}" = set; then :
14483 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14488 # Prepare PATH_SEPARATOR.
14489 # The user is always right.
14490 if test "${PATH_SEPARATOR+set}" != set; then
14491 echo "#! /bin/sh" >conf$$.sh
14492 echo "exit 0" >>conf$$.sh
14494 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14502 if test "$GCC" = yes; then
14503 # Check if gcc -print-prog-name=ld gives a path.
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14505 $as_echo_n "checking for ld used by GCC... " >&6; }
14508 # gcc leaves a trailing carriage return which upsets mingw
14509 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14511 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14514 # Accept absolute paths.
14515 [\\/]* | [A-Za-z]:[\\/]*)
14516 re_direlt='/[^/][^/]*/\.\./'
14517 # Canonicalize the path of ld
14518 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14519 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14520 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14522 test -z "$LD" && LD="$ac_prog"
14525 # If it fails, then pretend we aren't using GCC.
14529 # If it is relative, then search for the first ld in PATH.
14530 with_gnu_ld=unknown
14533 elif test "$with_gnu_ld" = yes; then
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14535 $as_echo_n "checking for GNU ld... " >&6; }
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14538 $as_echo_n "checking for non-GNU ld... " >&6; }
14540 if ${acl_cv_path_LD+:} false; then :
14541 $as_echo_n "(cached) " >&6
14543 if test -z "$LD"; then
14544 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14545 for ac_dir in $PATH; do
14546 test -z "$ac_dir" && ac_dir=.
14547 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14548 acl_cv_path_LD="$ac_dir/$ac_prog"
14549 # Check to see if the program is GNU ld. I'd rather use --version,
14550 # but apparently some GNU ld's only accept -v.
14551 # Break only if it was the GNU/non-GNU ld that we prefer.
14552 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14553 *GNU* | *'with BFD'*)
14554 test "$with_gnu_ld" != no && break ;;
14556 test "$with_gnu_ld" != yes && break ;;
14562 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14566 LD="$acl_cv_path_LD"
14567 if test -n "$LD"; then
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14569 $as_echo "$LD" >&6; }
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14572 $as_echo "no" >&6; }
14574 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14576 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14577 if ${acl_cv_prog_gnu_ld+:} false; then :
14578 $as_echo_n "(cached) " >&6
14580 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14581 case `$LD -v 2>&1 </dev/null` in
14582 *GNU* | *'with BFD'*)
14583 acl_cv_prog_gnu_ld=yes ;;
14585 acl_cv_prog_gnu_ld=no ;;
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14589 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14590 with_gnu_ld=$acl_cv_prog_gnu_ld
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14596 $as_echo_n "checking for shared library run path origin... " >&6; }
14597 if ${acl_cv_rpath+:} false; then :
14598 $as_echo_n "(cached) " >&6
14601 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14602 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14604 rm -f ./conftest.sh
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14609 $as_echo "$acl_cv_rpath" >&6; }
14611 acl_libext="$acl_cv_libext"
14612 acl_shlibext="$acl_cv_shlibext"
14613 acl_libname_spec="$acl_cv_libname_spec"
14614 acl_library_names_spec="$acl_cv_library_names_spec"
14615 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14616 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14617 acl_hardcode_direct="$acl_cv_hardcode_direct"
14618 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14619 # Check whether --enable-rpath was given.
14620 if test "${enable_rpath+set}" = set; then :
14621 enableval=$enable_rpath; :
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
14634 $as_echo_n "checking for 64-bit host... " >&6; }
14635 if ${gl_cv_solaris_64bit+:} false; then :
14636 $as_echo_n "(cached) " >&6
14638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14647 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
14648 gl_cv_solaris_64bit=yes
14650 gl_cv_solaris_64bit=no
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
14657 $as_echo "$gl_cv_solaris_64bit" >&6; }
14658 if test $gl_cv_solaris_64bit = yes; then
14659 acl_libdirstem=lib/64
14660 case "$host_cpu" in
14661 sparc*) acl_libdirstem2=lib/sparcv9 ;;
14662 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
14667 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14668 if test -n "$searchpath"; then
14669 acl_save_IFS="${IFS= }"; IFS=":"
14670 for searchdir in $searchpath; do
14671 if test -d "$searchdir"; then
14672 case "$searchdir" in
14673 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14675 # Better ignore directories of this form. They are misleading.
14677 *) searchdir=`cd "$searchdir" && pwd`
14678 case "$searchdir" in
14679 */lib64 ) acl_libdirstem=lib64 ;;
14684 IFS="$acl_save_IFS"
14688 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
14703 acl_save_prefix="$prefix"
14704 prefix="$acl_final_prefix"
14705 acl_save_exec_prefix="$exec_prefix"
14706 exec_prefix="$acl_final_exec_prefix"
14708 eval additional_includedir=\"$includedir\"
14709 eval additional_libdir=\"$libdir\"
14711 exec_prefix="$acl_save_exec_prefix"
14712 prefix="$acl_save_prefix"
14715 # Check whether --with-libiconv-prefix was given.
14716 if test "${with_libiconv_prefix+set}" = set; then :
14717 withval=$with_libiconv_prefix;
14718 if test "X$withval" = "Xno"; then
14721 if test "X$withval" = "X"; then
14723 acl_save_prefix="$prefix"
14724 prefix="$acl_final_prefix"
14725 acl_save_exec_prefix="$exec_prefix"
14726 exec_prefix="$acl_final_exec_prefix"
14728 eval additional_includedir=\"$includedir\"
14729 eval additional_libdir=\"$libdir\"
14731 exec_prefix="$acl_save_exec_prefix"
14732 prefix="$acl_save_prefix"
14735 additional_includedir="$withval/include"
14736 additional_libdir="$withval/$acl_libdirstem"
14737 if test "$acl_libdirstem2" != "$acl_libdirstem" \
14738 && ! test -d "$withval/$acl_libdirstem"; then
14739 additional_libdir="$withval/$acl_libdirstem2"
14753 names_already_handled=
14754 names_next_round='iconv '
14755 while test -n "$names_next_round"; do
14756 names_this_round="$names_next_round"
14758 for name in $names_this_round; do
14760 for n in $names_already_handled; do
14761 if test "$n" = "$name"; then
14762 already_handled=yes
14766 if test -z "$already_handled"; then
14767 names_already_handled="$names_already_handled $name"
14768 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14769 eval value=\"\$HAVE_LIB$uppername\"
14770 if test -n "$value"; then
14771 if test "$value" = yes; then
14772 eval value=\"\$LIB$uppername\"
14773 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14774 eval value=\"\$LTLIB$uppername\"
14775 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14784 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14785 if test -n "$acl_shlibext"; then
14786 shrext=".$acl_shlibext" # typically: shrext=.so
14790 if test $use_additional = yes; then
14791 dir="$additional_libdir"
14792 if test -n "$acl_shlibext"; then
14793 if test -f "$dir/$libname$shrext"; then
14795 found_so="$dir/$libname$shrext"
14797 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14798 ver=`(cd "$dir" && \
14799 for f in "$libname$shrext".*; do echo "$f"; done \
14800 | sed -e "s,^$libname$shrext\\\\.,," \
14801 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14802 | sed 1q ) 2>/dev/null`
14803 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14805 found_so="$dir/$libname$shrext.$ver"
14808 eval library_names=\"$acl_library_names_spec\"
14809 for f in $library_names; do
14810 if test -f "$dir/$f"; then
14819 if test "X$found_dir" = "X"; then
14820 if test -f "$dir/$libname.$acl_libext"; then
14822 found_a="$dir/$libname.$acl_libext"
14825 if test "X$found_dir" != "X"; then
14826 if test -f "$dir/$libname.la"; then
14827 found_la="$dir/$libname.la"
14831 if test "X$found_dir" = "X"; then
14832 for x in $LDFLAGS $LTLIBICONV; do
14834 acl_save_prefix="$prefix"
14835 prefix="$acl_final_prefix"
14836 acl_save_exec_prefix="$exec_prefix"
14837 exec_prefix="$acl_final_exec_prefix"
14839 exec_prefix="$acl_save_exec_prefix"
14840 prefix="$acl_save_prefix"
14844 dir=`echo "X$x" | sed -e 's/^X-L//'`
14845 if test -n "$acl_shlibext"; then
14846 if test -f "$dir/$libname$shrext"; then
14848 found_so="$dir/$libname$shrext"
14850 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14851 ver=`(cd "$dir" && \
14852 for f in "$libname$shrext".*; do echo "$f"; done \
14853 | sed -e "s,^$libname$shrext\\\\.,," \
14854 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14855 | sed 1q ) 2>/dev/null`
14856 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14858 found_so="$dir/$libname$shrext.$ver"
14861 eval library_names=\"$acl_library_names_spec\"
14862 for f in $library_names; do
14863 if test -f "$dir/$f"; then
14872 if test "X$found_dir" = "X"; then
14873 if test -f "$dir/$libname.$acl_libext"; then
14875 found_a="$dir/$libname.$acl_libext"
14878 if test "X$found_dir" != "X"; then
14879 if test -f "$dir/$libname.la"; then
14880 found_la="$dir/$libname.la"
14885 if test "X$found_dir" != "X"; then
14890 if test "X$found_dir" != "X"; then
14891 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14892 if test "X$found_so" != "X"; then
14893 if test "$enable_rpath" = no \
14894 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14895 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14896 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14899 for x in $ltrpathdirs; do
14900 if test "X$x" = "X$found_dir"; then
14905 if test -z "$haveit"; then
14906 ltrpathdirs="$ltrpathdirs $found_dir"
14908 if test "$acl_hardcode_direct" = yes; then
14909 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14911 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14912 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14914 for x in $rpathdirs; do
14915 if test "X$x" = "X$found_dir"; then
14920 if test -z "$haveit"; then
14921 rpathdirs="$rpathdirs $found_dir"
14925 for x in $LDFLAGS $LIBICONV; do
14927 acl_save_prefix="$prefix"
14928 prefix="$acl_final_prefix"
14929 acl_save_exec_prefix="$exec_prefix"
14930 exec_prefix="$acl_final_exec_prefix"
14932 exec_prefix="$acl_save_exec_prefix"
14933 prefix="$acl_save_prefix"
14935 if test "X$x" = "X-L$found_dir"; then
14940 if test -z "$haveit"; then
14941 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14943 if test "$acl_hardcode_minus_L" != no; then
14944 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14946 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14952 if test "X$found_a" != "X"; then
14953 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14955 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14958 additional_includedir=
14959 case "$found_dir" in
14960 */$acl_libdirstem | */$acl_libdirstem/)
14961 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14962 if test "$name" = 'iconv'; then
14963 LIBICONV_PREFIX="$basedir"
14965 additional_includedir="$basedir/include"
14967 */$acl_libdirstem2 | */$acl_libdirstem2/)
14968 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14969 if test "$name" = 'iconv'; then
14970 LIBICONV_PREFIX="$basedir"
14972 additional_includedir="$basedir/include"
14975 if test "X$additional_includedir" != "X"; then
14976 if test "X$additional_includedir" != "X/usr/include"; then
14978 if test "X$additional_includedir" = "X/usr/local/include"; then
14979 if test -n "$GCC"; then
14981 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14985 if test -z "$haveit"; then
14986 for x in $CPPFLAGS $INCICONV; do
14988 acl_save_prefix="$prefix"
14989 prefix="$acl_final_prefix"
14990 acl_save_exec_prefix="$exec_prefix"
14991 exec_prefix="$acl_final_exec_prefix"
14993 exec_prefix="$acl_save_exec_prefix"
14994 prefix="$acl_save_prefix"
14996 if test "X$x" = "X-I$additional_includedir"; then
15001 if test -z "$haveit"; then
15002 if test -d "$additional_includedir"; then
15003 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15009 if test -n "$found_la"; then
15010 save_libdir="$libdir"
15011 case "$found_la" in
15012 */* | *\\*) . "$found_la" ;;
15013 *) . "./$found_la" ;;
15015 libdir="$save_libdir"
15016 for dep in $dependency_libs; do
15019 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15020 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15021 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15023 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15024 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15025 if test -n "$GCC"; then
15027 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15031 if test -z "$haveit"; then
15033 for x in $LDFLAGS $LIBICONV; do
15035 acl_save_prefix="$prefix"
15036 prefix="$acl_final_prefix"
15037 acl_save_exec_prefix="$exec_prefix"
15038 exec_prefix="$acl_final_exec_prefix"
15040 exec_prefix="$acl_save_exec_prefix"
15041 prefix="$acl_save_prefix"
15043 if test "X$x" = "X-L$additional_libdir"; then
15048 if test -z "$haveit"; then
15049 if test -d "$additional_libdir"; then
15050 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15054 for x in $LDFLAGS $LTLIBICONV; do
15056 acl_save_prefix="$prefix"
15057 prefix="$acl_final_prefix"
15058 acl_save_exec_prefix="$exec_prefix"
15059 exec_prefix="$acl_final_exec_prefix"
15061 exec_prefix="$acl_save_exec_prefix"
15062 prefix="$acl_save_prefix"
15064 if test "X$x" = "X-L$additional_libdir"; then
15069 if test -z "$haveit"; then
15070 if test -d "$additional_libdir"; then
15071 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15078 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15079 if test "$enable_rpath" != no; then
15081 for x in $rpathdirs; do
15082 if test "X$x" = "X$dir"; then
15087 if test -z "$haveit"; then
15088 rpathdirs="$rpathdirs $dir"
15091 for x in $ltrpathdirs; do
15092 if test "X$x" = "X$dir"; then
15097 if test -z "$haveit"; then
15098 ltrpathdirs="$ltrpathdirs $dir"
15103 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15106 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15109 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15110 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15116 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15117 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15123 if test "X$rpathdirs" != "X"; then
15124 if test -n "$acl_hardcode_libdir_separator"; then
15126 for found_dir in $rpathdirs; do
15127 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15129 acl_save_libdir="$libdir"
15131 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15132 libdir="$acl_save_libdir"
15133 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15135 for found_dir in $rpathdirs; do
15136 acl_save_libdir="$libdir"
15137 libdir="$found_dir"
15138 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15139 libdir="$acl_save_libdir"
15140 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15144 if test "X$ltrpathdirs" != "X"; then
15145 for found_dir in $ltrpathdirs; do
15146 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15181 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15182 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15183 $as_echo_n "(cached) " >&6
15185 gt_save_LIBS="$LIBS"
15186 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15189 #include <CoreFoundation/CFPreferences.h>
15193 CFPreferencesCopyAppValue(NULL, NULL)
15198 if ac_fn_c_try_link "$LINENO"; then :
15199 gt_cv_func_CFPreferencesCopyAppValue=yes
15201 gt_cv_func_CFPreferencesCopyAppValue=no
15203 rm -f core conftest.err conftest.$ac_objext \
15204 conftest$ac_exeext conftest.$ac_ext
15205 LIBS="$gt_save_LIBS"
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15208 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15209 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15211 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15215 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15216 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15217 $as_echo_n "(cached) " >&6
15219 gt_save_LIBS="$LIBS"
15220 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 #include <CoreFoundation/CFLocale.h>
15227 CFLocaleCopyCurrent();
15232 if ac_fn_c_try_link "$LINENO"; then :
15233 gt_cv_func_CFLocaleCopyCurrent=yes
15235 gt_cv_func_CFLocaleCopyCurrent=no
15237 rm -f core conftest.err conftest.$ac_objext \
15238 conftest$ac_exeext conftest.$ac_ext
15239 LIBS="$gt_save_LIBS"
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15242 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15243 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15245 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15249 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15250 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15262 case " $gt_needs " in
15263 *" need-formatstring-macros "*) gt_api_version=3 ;;
15264 *" need-ngettext "*) gt_api_version=2 ;;
15265 *) gt_api_version=1 ;;
15267 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15268 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15270 if test "$USE_NLS" = "yes"; then
15271 gt_use_preinstalled_gnugettext=no
15274 if test $gt_api_version -ge 3; then
15275 gt_revision_test_code='
15276 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15277 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15279 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15282 gt_revision_test_code=
15284 if test $gt_api_version -ge 2; then
15285 gt_expression_test_code=' + * ngettext ("", "", 0)'
15287 gt_expression_test_code=
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15291 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15292 if eval \${$gt_func_gnugettext_libc+:} false; then :
15293 $as_echo_n "(cached) " >&6
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15297 #include <libintl.h>
15298 $gt_revision_test_code
15299 extern int _nl_msg_cat_cntr;
15300 extern int *_nl_domain_bindings;
15304 bindtextdomain ("", "");
15305 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15310 if ac_fn_c_try_link "$LINENO"; then :
15311 eval "$gt_func_gnugettext_libc=yes"
15313 eval "$gt_func_gnugettext_libc=no"
15315 rm -f core conftest.err conftest.$ac_objext \
15316 conftest$ac_exeext conftest.$ac_ext
15318 eval ac_res=\$$gt_func_gnugettext_libc
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15320 $as_echo "$ac_res" >&6; }
15322 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15328 am_save_CPPFLAGS="$CPPFLAGS"
15330 for element in $INCICONV; do
15332 for x in $CPPFLAGS; do
15334 acl_save_prefix="$prefix"
15335 prefix="$acl_final_prefix"
15336 acl_save_exec_prefix="$exec_prefix"
15337 exec_prefix="$acl_final_exec_prefix"
15339 exec_prefix="$acl_save_exec_prefix"
15340 prefix="$acl_save_prefix"
15342 if test "X$x" = "X$element"; then
15347 if test -z "$haveit"; then
15348 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15354 $as_echo_n "checking for iconv... " >&6; }
15355 if ${am_cv_func_iconv+:} false; then :
15356 $as_echo_n "(cached) " >&6
15359 am_cv_func_iconv="no, consider installing GNU libiconv"
15361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h. */
15363 #include <stdlib.h>
15368 iconv_t cd = iconv_open("","");
15369 iconv(cd,NULL,NULL,NULL,NULL);
15375 if ac_fn_c_try_link "$LINENO"; then :
15376 am_cv_func_iconv=yes
15378 rm -f core conftest.err conftest.$ac_objext \
15379 conftest$ac_exeext conftest.$ac_ext
15380 if test "$am_cv_func_iconv" != yes; then
15381 am_save_LIBS="$LIBS"
15382 LIBS="$LIBS $LIBICONV"
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15385 #include <stdlib.h>
15390 iconv_t cd = iconv_open("","");
15391 iconv(cd,NULL,NULL,NULL,NULL);
15397 if ac_fn_c_try_link "$LINENO"; then :
15398 am_cv_lib_iconv=yes
15399 am_cv_func_iconv=yes
15401 rm -f core conftest.err conftest.$ac_objext \
15402 conftest$ac_exeext conftest.$ac_ext
15403 LIBS="$am_save_LIBS"
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15408 $as_echo "$am_cv_func_iconv" >&6; }
15409 if test "$am_cv_func_iconv" = yes; then
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15411 $as_echo_n "checking for working iconv... " >&6; }
15412 if ${am_cv_func_iconv_works+:} false; then :
15413 $as_echo_n "(cached) " >&6
15416 am_save_LIBS="$LIBS"
15417 if test $am_cv_lib_iconv = yes; then
15418 LIBS="$LIBS $LIBICONV"
15420 if test "$cross_compiling" = yes; then :
15422 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15423 *) am_cv_func_iconv_works="guessing yes" ;;
15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15430 #include <string.h>
15433 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15436 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15437 if (cd_utf8_to_88591 != (iconv_t)(-1))
15439 static const char input[] = "\342\202\254"; /* EURO SIGN */
15441 const char *inptr = input;
15442 size_t inbytesleft = strlen (input);
15443 char *outptr = buf;
15444 size_t outbytesleft = sizeof (buf);
15445 size_t res = iconv (cd_utf8_to_88591,
15446 (char **) &inptr, &inbytesleft,
15447 &outptr, &outbytesleft);
15452 /* Test against Solaris 10 bug: Failures are not distinguishable from
15453 successful returns. */
15455 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
15456 if (cd_ascii_to_88591 != (iconv_t)(-1))
15458 static const char input[] = "\263";
15460 const char *inptr = input;
15461 size_t inbytesleft = strlen (input);
15462 char *outptr = buf;
15463 size_t outbytesleft = sizeof (buf);
15464 size_t res = iconv (cd_ascii_to_88591,
15465 (char **) &inptr, &inbytesleft,
15466 &outptr, &outbytesleft);
15471 #if 0 /* This bug could be worked around by the caller. */
15472 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15474 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15475 if (cd_88591_to_utf8 != (iconv_t)(-1))
15477 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15479 const char *inptr = input;
15480 size_t inbytesleft = strlen (input);
15481 char *outptr = buf;
15482 size_t outbytesleft = sizeof (buf);
15483 size_t res = iconv (cd_88591_to_utf8,
15484 (char **) &inptr, &inbytesleft,
15485 &outptr, &outbytesleft);
15491 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15493 if (/* Try standardized names. */
15494 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15495 /* Try IRIX, OSF/1 names. */
15496 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15497 /* Try AIX names. */
15498 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15499 /* Try HP-UX names. */
15500 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15505 if ac_fn_c_try_run "$LINENO"; then :
15506 am_cv_func_iconv_works=yes
15508 am_cv_func_iconv_works=no
15510 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15511 conftest.$ac_objext conftest.beam conftest.$ac_ext
15514 LIBS="$am_save_LIBS"
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15518 $as_echo "$am_cv_func_iconv_works" >&6; }
15519 case "$am_cv_func_iconv_works" in
15520 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15521 *) am_func_iconv=yes ;;
15524 am_func_iconv=no am_cv_lib_iconv=no
15526 if test "$am_func_iconv" = yes; then
15528 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15531 if test "$am_cv_lib_iconv" = yes; then
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15533 $as_echo_n "checking how to link with libiconv... " >&6; }
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15535 $as_echo "$LIBICONV" >&6; }
15537 CPPFLAGS="$am_save_CPPFLAGS"
15554 acl_save_prefix="$prefix"
15555 prefix="$acl_final_prefix"
15556 acl_save_exec_prefix="$exec_prefix"
15557 exec_prefix="$acl_final_exec_prefix"
15559 eval additional_includedir=\"$includedir\"
15560 eval additional_libdir=\"$libdir\"
15562 exec_prefix="$acl_save_exec_prefix"
15563 prefix="$acl_save_prefix"
15566 # Check whether --with-libintl-prefix was given.
15567 if test "${with_libintl_prefix+set}" = set; then :
15568 withval=$with_libintl_prefix;
15569 if test "X$withval" = "Xno"; then
15572 if test "X$withval" = "X"; then
15574 acl_save_prefix="$prefix"
15575 prefix="$acl_final_prefix"
15576 acl_save_exec_prefix="$exec_prefix"
15577 exec_prefix="$acl_final_exec_prefix"
15579 eval additional_includedir=\"$includedir\"
15580 eval additional_libdir=\"$libdir\"
15582 exec_prefix="$acl_save_exec_prefix"
15583 prefix="$acl_save_prefix"
15586 additional_includedir="$withval/include"
15587 additional_libdir="$withval/$acl_libdirstem"
15588 if test "$acl_libdirstem2" != "$acl_libdirstem" \
15589 && ! test -d "$withval/$acl_libdirstem"; then
15590 additional_libdir="$withval/$acl_libdirstem2"
15604 names_already_handled=
15605 names_next_round='intl '
15606 while test -n "$names_next_round"; do
15607 names_this_round="$names_next_round"
15609 for name in $names_this_round; do
15611 for n in $names_already_handled; do
15612 if test "$n" = "$name"; then
15613 already_handled=yes
15617 if test -z "$already_handled"; then
15618 names_already_handled="$names_already_handled $name"
15619 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15620 eval value=\"\$HAVE_LIB$uppername\"
15621 if test -n "$value"; then
15622 if test "$value" = yes; then
15623 eval value=\"\$LIB$uppername\"
15624 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15625 eval value=\"\$LTLIB$uppername\"
15626 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15635 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15636 if test -n "$acl_shlibext"; then
15637 shrext=".$acl_shlibext" # typically: shrext=.so
15641 if test $use_additional = yes; then
15642 dir="$additional_libdir"
15643 if test -n "$acl_shlibext"; then
15644 if test -f "$dir/$libname$shrext"; then
15646 found_so="$dir/$libname$shrext"
15648 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15649 ver=`(cd "$dir" && \
15650 for f in "$libname$shrext".*; do echo "$f"; done \
15651 | sed -e "s,^$libname$shrext\\\\.,," \
15652 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15653 | sed 1q ) 2>/dev/null`
15654 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15656 found_so="$dir/$libname$shrext.$ver"
15659 eval library_names=\"$acl_library_names_spec\"
15660 for f in $library_names; do
15661 if test -f "$dir/$f"; then
15670 if test "X$found_dir" = "X"; then
15671 if test -f "$dir/$libname.$acl_libext"; then
15673 found_a="$dir/$libname.$acl_libext"
15676 if test "X$found_dir" != "X"; then
15677 if test -f "$dir/$libname.la"; then
15678 found_la="$dir/$libname.la"
15682 if test "X$found_dir" = "X"; then
15683 for x in $LDFLAGS $LTLIBINTL; do
15685 acl_save_prefix="$prefix"
15686 prefix="$acl_final_prefix"
15687 acl_save_exec_prefix="$exec_prefix"
15688 exec_prefix="$acl_final_exec_prefix"
15690 exec_prefix="$acl_save_exec_prefix"
15691 prefix="$acl_save_prefix"
15695 dir=`echo "X$x" | sed -e 's/^X-L//'`
15696 if test -n "$acl_shlibext"; then
15697 if test -f "$dir/$libname$shrext"; then
15699 found_so="$dir/$libname$shrext"
15701 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15702 ver=`(cd "$dir" && \
15703 for f in "$libname$shrext".*; do echo "$f"; done \
15704 | sed -e "s,^$libname$shrext\\\\.,," \
15705 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15706 | sed 1q ) 2>/dev/null`
15707 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15709 found_so="$dir/$libname$shrext.$ver"
15712 eval library_names=\"$acl_library_names_spec\"
15713 for f in $library_names; do
15714 if test -f "$dir/$f"; then
15723 if test "X$found_dir" = "X"; then
15724 if test -f "$dir/$libname.$acl_libext"; then
15726 found_a="$dir/$libname.$acl_libext"
15729 if test "X$found_dir" != "X"; then
15730 if test -f "$dir/$libname.la"; then
15731 found_la="$dir/$libname.la"
15736 if test "X$found_dir" != "X"; then
15741 if test "X$found_dir" != "X"; then
15742 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15743 if test "X$found_so" != "X"; then
15744 if test "$enable_rpath" = no \
15745 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
15746 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
15747 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15750 for x in $ltrpathdirs; do
15751 if test "X$x" = "X$found_dir"; then
15756 if test -z "$haveit"; then
15757 ltrpathdirs="$ltrpathdirs $found_dir"
15759 if test "$acl_hardcode_direct" = yes; then
15760 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15762 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15763 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15765 for x in $rpathdirs; do
15766 if test "X$x" = "X$found_dir"; then
15771 if test -z "$haveit"; then
15772 rpathdirs="$rpathdirs $found_dir"
15776 for x in $LDFLAGS $LIBINTL; do
15778 acl_save_prefix="$prefix"
15779 prefix="$acl_final_prefix"
15780 acl_save_exec_prefix="$exec_prefix"
15781 exec_prefix="$acl_final_exec_prefix"
15783 exec_prefix="$acl_save_exec_prefix"
15784 prefix="$acl_save_prefix"
15786 if test "X$x" = "X-L$found_dir"; then
15791 if test -z "$haveit"; then
15792 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15794 if test "$acl_hardcode_minus_L" != no; then
15795 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15797 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15803 if test "X$found_a" != "X"; then
15804 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15806 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15809 additional_includedir=
15810 case "$found_dir" in
15811 */$acl_libdirstem | */$acl_libdirstem/)
15812 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15813 if test "$name" = 'intl'; then
15814 LIBINTL_PREFIX="$basedir"
15816 additional_includedir="$basedir/include"
15818 */$acl_libdirstem2 | */$acl_libdirstem2/)
15819 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15820 if test "$name" = 'intl'; then
15821 LIBINTL_PREFIX="$basedir"
15823 additional_includedir="$basedir/include"
15826 if test "X$additional_includedir" != "X"; then
15827 if test "X$additional_includedir" != "X/usr/include"; then
15829 if test "X$additional_includedir" = "X/usr/local/include"; then
15830 if test -n "$GCC"; then
15832 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15836 if test -z "$haveit"; then
15837 for x in $CPPFLAGS $INCINTL; do
15839 acl_save_prefix="$prefix"
15840 prefix="$acl_final_prefix"
15841 acl_save_exec_prefix="$exec_prefix"
15842 exec_prefix="$acl_final_exec_prefix"
15844 exec_prefix="$acl_save_exec_prefix"
15845 prefix="$acl_save_prefix"
15847 if test "X$x" = "X-I$additional_includedir"; then
15852 if test -z "$haveit"; then
15853 if test -d "$additional_includedir"; then
15854 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15860 if test -n "$found_la"; then
15861 save_libdir="$libdir"
15862 case "$found_la" in
15863 */* | *\\*) . "$found_la" ;;
15864 *) . "./$found_la" ;;
15866 libdir="$save_libdir"
15867 for dep in $dependency_libs; do
15870 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15871 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15872 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15874 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15875 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15876 if test -n "$GCC"; then
15878 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15882 if test -z "$haveit"; then
15884 for x in $LDFLAGS $LIBINTL; do
15886 acl_save_prefix="$prefix"
15887 prefix="$acl_final_prefix"
15888 acl_save_exec_prefix="$exec_prefix"
15889 exec_prefix="$acl_final_exec_prefix"
15891 exec_prefix="$acl_save_exec_prefix"
15892 prefix="$acl_save_prefix"
15894 if test "X$x" = "X-L$additional_libdir"; then
15899 if test -z "$haveit"; then
15900 if test -d "$additional_libdir"; then
15901 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15905 for x in $LDFLAGS $LTLIBINTL; do
15907 acl_save_prefix="$prefix"
15908 prefix="$acl_final_prefix"
15909 acl_save_exec_prefix="$exec_prefix"
15910 exec_prefix="$acl_final_exec_prefix"
15912 exec_prefix="$acl_save_exec_prefix"
15913 prefix="$acl_save_prefix"
15915 if test "X$x" = "X-L$additional_libdir"; then
15920 if test -z "$haveit"; then
15921 if test -d "$additional_libdir"; then
15922 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15929 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15930 if test "$enable_rpath" != no; then
15932 for x in $rpathdirs; do
15933 if test "X$x" = "X$dir"; then
15938 if test -z "$haveit"; then
15939 rpathdirs="$rpathdirs $dir"
15942 for x in $ltrpathdirs; do
15943 if test "X$x" = "X$dir"; then
15948 if test -z "$haveit"; then
15949 ltrpathdirs="$ltrpathdirs $dir"
15954 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15957 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15960 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15961 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15967 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15968 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15974 if test "X$rpathdirs" != "X"; then
15975 if test -n "$acl_hardcode_libdir_separator"; then
15977 for found_dir in $rpathdirs; do
15978 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15980 acl_save_libdir="$libdir"
15982 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15983 libdir="$acl_save_libdir"
15984 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15986 for found_dir in $rpathdirs; do
15987 acl_save_libdir="$libdir"
15988 libdir="$found_dir"
15989 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15990 libdir="$acl_save_libdir"
15991 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15995 if test "X$ltrpathdirs" != "X"; then
15996 for found_dir in $ltrpathdirs; do
15997 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16007 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16008 if eval \${$gt_func_gnugettext_libintl+:} false; then :
16009 $as_echo_n "(cached) " >&6
16011 gt_save_CPPFLAGS="$CPPFLAGS"
16012 CPPFLAGS="$CPPFLAGS $INCINTL"
16013 gt_save_LIBS="$LIBS"
16014 LIBS="$LIBS $LIBINTL"
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16017 #include <libintl.h>
16018 $gt_revision_test_code
16019 extern int _nl_msg_cat_cntr;
16024 const char *_nl_expand_alias (const char *);
16028 bindtextdomain ("", "");
16029 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16034 if ac_fn_c_try_link "$LINENO"; then :
16035 eval "$gt_func_gnugettext_libintl=yes"
16037 eval "$gt_func_gnugettext_libintl=no"
16039 rm -f core conftest.err conftest.$ac_objext \
16040 conftest$ac_exeext conftest.$ac_ext
16041 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16042 LIBS="$LIBS $LIBICONV"
16043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16044 /* end confdefs.h. */
16045 #include <libintl.h>
16046 $gt_revision_test_code
16047 extern int _nl_msg_cat_cntr;
16052 const char *_nl_expand_alias (const char *);
16056 bindtextdomain ("", "");
16057 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16062 if ac_fn_c_try_link "$LINENO"; then :
16063 LIBINTL="$LIBINTL $LIBICONV"
16064 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16065 eval "$gt_func_gnugettext_libintl=yes"
16068 rm -f core conftest.err conftest.$ac_objext \
16069 conftest$ac_exeext conftest.$ac_ext
16071 CPPFLAGS="$gt_save_CPPFLAGS"
16072 LIBS="$gt_save_LIBS"
16074 eval ac_res=\$$gt_func_gnugettext_libintl
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16076 $as_echo "$ac_res" >&6; }
16079 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16080 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16081 && test "$PACKAGE" != gettext-runtime \
16082 && test "$PACKAGE" != gettext-tools; }; then
16083 gt_use_preinstalled_gnugettext=yes
16092 if test -n "$INTL_MACOSX_LIBS"; then
16093 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16094 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16095 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16096 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16100 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16101 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16103 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16111 $as_echo_n "checking whether to use NLS... " >&6; }
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16113 $as_echo "$USE_NLS" >&6; }
16114 if test "$USE_NLS" = "yes"; then
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16116 $as_echo_n "checking where the gettext function comes from... " >&6; }
16117 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16118 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16119 gt_source="external libintl"
16124 gt_source="included intl directory"
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16127 $as_echo "$gt_source" >&6; }
16130 if test "$USE_NLS" = "yes"; then
16132 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16133 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16135 $as_echo_n "checking how to link with libintl... " >&6; }
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16137 $as_echo "$LIBINTL" >&6; }
16139 for element in $INCINTL; do
16141 for x in $CPPFLAGS; do
16143 acl_save_prefix="$prefix"
16144 prefix="$acl_final_prefix"
16145 acl_save_exec_prefix="$exec_prefix"
16146 exec_prefix="$acl_final_exec_prefix"
16148 exec_prefix="$acl_save_exec_prefix"
16149 prefix="$acl_save_prefix"
16151 if test "X$x" = "X$element"; then
16156 if test -z "$haveit"; then
16157 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16164 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16167 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16176 INTLLIBS="$LIBINTL"
16185 GETTEXT_PACKAGE=PACKAGE_TARNAME
16188 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
16191 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
16194 cat >confcache <<\_ACEOF
16195 # This file is a shell script that caches the results of configure
16196 # tests run on this system so they can be shared between configure
16197 # scripts and configure runs, see configure's option --config-cache.
16198 # It is not useful on other systems. If it contains results you don't
16199 # want to keep, you may remove or edit it.
16201 # config.status only pays attention to the cache file if you give it
16202 # the --recheck option to rerun configure.
16204 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16205 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16206 # following values.
16210 # The following way of writing the cache mishandles newlines in values,
16211 # but we know of no workaround that is simple, portable, and efficient.
16212 # So, we kill variables containing newlines.
16213 # Ultrix sh set writes to stderr and can't be redirected directly,
16214 # and sets the high bit in the cache file unless we assign to the vars.
16216 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16217 eval ac_val=\$$ac_var
16221 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16222 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16225 _ | IFS | as_nl) ;; #(
16226 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16227 *) { eval $ac_var=; unset $ac_var;} ;;
16233 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16234 *${as_nl}ac_space=\ *)
16235 # `set' does not quote correctly, so add quotes: double-quote
16236 # substitution turns \\\\ into \\, and sed turns \\ into \.
16239 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16242 # `set' quotes correctly as required by POSIX, so do not add quotes.
16243 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16252 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16254 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16256 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16257 if test -w "$cache_file"; then
16258 if test "x$cache_file" != "x/dev/null"; then
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16260 $as_echo "$as_me: updating cache $cache_file" >&6;}
16261 if test ! -f "$cache_file" || test -h "$cache_file"; then
16262 cat confcache >"$cache_file"
16264 case $cache_file in #(
16266 mv -f confcache "$cache_file"$$ &&
16267 mv -f "$cache_file"$$ "$cache_file" ;; #(
16269 mv -f confcache "$cache_file" ;;
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16275 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16280 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16281 # Let make expand exec_prefix.
16282 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16284 DEFS=-DHAVE_CONFIG_H
16289 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16290 # 1. Remove the extension, and $U if already installed.
16291 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16292 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16293 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16294 # will be set to the directory where LIBOBJS objects are built.
16295 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16296 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16298 LIBOBJS=$ac_libobjs
16300 LTLIBOBJS=$ac_ltlibobjs
16303 if test -n "$EXEEXT"; then
16305 am__EXEEXT_FALSE='#'
16307 am__EXEEXT_TRUE='#'
16311 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16312 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16315 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16316 as_fn_error $? "conditional \"AMDEP\" was never defined.
16317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16319 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16320 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16323 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16324 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16327 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
16328 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
16329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16331 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16332 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16335 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
16336 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
16337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16339 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
16340 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
16341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16343 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
16344 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
16345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16347 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
16348 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
16349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16351 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
16352 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
16353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16356 : "${CONFIG_STATUS=./config.status}"
16358 ac_clean_files_save=$ac_clean_files
16359 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16361 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16363 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16365 # Generated by $as_me.
16366 # Run this file to recreate the current configuration.
16367 # Compiler output produced by configure, useful for debugging
16368 # configure, is in config.log if it exists.
16371 ac_cs_recheck=false
16374 SHELL=\${CONFIG_SHELL-$SHELL}
16377 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16378 ## -------------------- ##
16379 ## M4sh Initialization. ##
16380 ## -------------------- ##
16382 # Be more Bourne compatible
16383 DUALCASE=1; export DUALCASE # for MKS sh
16384 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16387 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16388 # is contrary to our usage. Disable this feature.
16389 alias -g '${1+"$@"}'='"$@"'
16390 setopt NO_GLOB_SUBST
16392 case `(set -o) 2>/dev/null` in #(
16404 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16405 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16407 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16408 # Prefer a ksh shell builtin over an external printf program on Solaris,
16409 # but without wasting forks for bash or zsh.
16410 if test -z "$BASH_VERSION$ZSH_VERSION" \
16411 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16412 as_echo='print -r --'
16413 as_echo_n='print -rn --'
16414 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16415 as_echo='printf %s\n'
16416 as_echo_n='printf %s'
16418 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16419 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16420 as_echo_n='/usr/ucb/echo -n'
16422 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16423 as_echo_n_body='eval
16427 expr "X$arg" : "X\\(.*\\)$as_nl";
16428 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16430 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16432 export as_echo_n_body
16433 as_echo_n='sh -c $as_echo_n_body as_echo'
16435 export as_echo_body
16436 as_echo='sh -c $as_echo_body as_echo'
16439 # The user is always right.
16440 if test "${PATH_SEPARATOR+set}" != set; then
16442 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16443 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16450 # We need space, tab and new line, in precisely that order. Quoting is
16451 # there to prevent editors from complaining about space-tab.
16452 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16453 # splitting by setting IFS to empty value.)
16456 # Find who we are. Look in the path if we contain no directory separator.
16459 *[\\/]* ) as_myself=$0 ;;
16460 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16461 for as_dir in $PATH
16464 test -z "$as_dir" && as_dir=.
16465 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16471 # We did not find ourselves, most probably we were run as `sh COMMAND'
16472 # in which case we are not to be found in the path.
16473 if test "x$as_myself" = x; then
16476 if test ! -f "$as_myself"; then
16477 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16481 # Unset variables that we do not need and which cause bugs (e.g. in
16482 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16483 # suppresses any "Segmentation fault" message there. '((' could
16484 # trigger a bug in pdksh 5.2.14.
16485 for as_var in BASH_ENV ENV MAIL MAILPATH
16486 do eval test x\${$as_var+set} = xset \
16487 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16500 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16503 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16504 # ----------------------------------------
16505 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16506 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16507 # script with STATUS, using 1 if that was 0.
16510 as_status=$1; test $as_status -eq 0 && as_status=1
16512 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16513 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16515 $as_echo "$as_me: error: $2" >&2
16516 as_fn_exit $as_status
16520 # as_fn_set_status STATUS
16521 # -----------------------
16522 # Set $? to STATUS, without forking.
16523 as_fn_set_status ()
16526 } # as_fn_set_status
16528 # as_fn_exit STATUS
16529 # -----------------
16530 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16534 as_fn_set_status $1
16540 # Portably unset VAR.
16543 { eval $1=; unset $1;}
16545 as_unset=as_fn_unset
16546 # as_fn_append VAR VALUE
16547 # ----------------------
16548 # Append the text in VALUE to the end of the definition contained in VAR. Take
16549 # advantage of any shell optimizations that allow amortized linear growth over
16550 # repeated appends, instead of the typical quadratic growth present in naive
16552 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16553 eval 'as_fn_append ()
16564 # as_fn_arith ARG...
16565 # ------------------
16566 # Perform arithmetic evaluation on the ARGs, and store the result in the
16567 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16568 # must be portable across $(()) and expr.
16569 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16570 eval 'as_fn_arith ()
16577 as_val=`expr "$@" || test $? -eq 1`
16582 if expr a : '\(a\)' >/dev/null 2>&1 &&
16583 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16589 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16590 as_basename=basename
16595 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16601 as_me=`$as_basename -- "$0" ||
16602 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16603 X"$0" : 'X\(//\)$' \| \
16604 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16606 sed '/^.*\/\([^/][^/]*\)\/*$/{
16620 # Avoid depending upon Character Ranges.
16621 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16622 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16623 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16624 as_cr_digits='0123456789'
16625 as_cr_alnum=$as_cr_Letters$as_cr_digits
16627 ECHO_C= ECHO_N= ECHO_T=
16628 case `echo -n x` in #(((((
16630 case `echo 'xy\c'` in
16631 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16633 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16640 rm -f conf$$ conf$$.exe conf$$.file
16641 if test -d conf$$.dir; then
16642 rm -f conf$$.dir/conf$$.file
16645 mkdir conf$$.dir 2>/dev/null
16647 if (echo >conf$$.file) 2>/dev/null; then
16648 if ln -s conf$$.file conf$$ 2>/dev/null; then
16650 # ... but there are two gotchas:
16651 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16652 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16653 # In both cases, we have to default to `cp -p'.
16654 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16656 elif ln conf$$.file conf$$ 2>/dev/null; then
16664 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16665 rmdir conf$$.dir 2>/dev/null
16670 # Create "$as_dir" as a directory, including parents if necessary.
16675 -*) as_dir=./$as_dir;;
16677 test -d "$as_dir" || eval $as_mkdir_p || {
16681 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16682 *) as_qdir=$as_dir;;
16684 as_dirs="'$as_qdir' $as_dirs"
16685 as_dir=`$as_dirname -- "$as_dir" ||
16686 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16687 X"$as_dir" : 'X\(//\)[^/]' \| \
16688 X"$as_dir" : 'X\(//\)$' \| \
16689 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16690 $as_echo X"$as_dir" |
16691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16695 /^X\(\/\/\)[^/].*/{
16708 test -d "$as_dir" && break
16710 test -z "$as_dirs" || eval "mkdir $as_dirs"
16711 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16715 if mkdir -p . 2>/dev/null; then
16716 as_mkdir_p='mkdir -p "$as_dir"'
16718 test -d ./-p && rmdir ./-p
16722 if test -x / >/dev/null 2>&1; then
16723 as_test_x='test -x'
16725 if ls -dL / >/dev/null 2>&1; then
16732 if test -d "$1"; then
16738 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16739 ???[sx]*):;;*)false;;esac;fi
16743 as_executable_p=$as_test_x
16745 # Sed expression to map a string onto a valid CPP name.
16746 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16748 # Sed expression to map a string onto a valid variable name.
16749 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16753 ## ----------------------------------- ##
16754 ## Main body of $CONFIG_STATUS script. ##
16755 ## ----------------------------------- ##
16757 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16760 # Save the log message, to keep $0 and so on meaningful, and to
16761 # report actual input values of CONFIG_FILES etc. instead of their
16762 # values after options handling.
16764 This file was extended by Moonshot-ui $as_me 0.1, which was
16765 generated by GNU Autoconf 2.68. Invocation command line was
16767 CONFIG_FILES = $CONFIG_FILES
16768 CONFIG_HEADERS = $CONFIG_HEADERS
16769 CONFIG_LINKS = $CONFIG_LINKS
16770 CONFIG_COMMANDS = $CONFIG_COMMANDS
16773 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16778 case $ac_config_files in *"
16779 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16782 case $ac_config_headers in *"
16783 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16788 # Files that config.status was made for.
16789 config_files="$ac_config_files"
16790 config_headers="$ac_config_headers"
16791 config_commands="$ac_config_commands"
16795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16797 \`$as_me' instantiates files and other configuration actions
16798 from templates according to the current configuration. Unless the files
16799 and actions are specified as TAGs, all are instantiated by default.
16801 Usage: $0 [OPTION]... [TAG]...
16803 -h, --help print this help, then exit
16804 -V, --version print version number and configuration settings, then exit
16805 --config print configuration, then exit
16806 -q, --quiet, --silent
16807 do not print progress messages
16808 -d, --debug don't remove temporary files
16809 --recheck update $as_me by reconfiguring in the same conditions
16810 --file=FILE[:TEMPLATE]
16811 instantiate the configuration file FILE
16812 --header=FILE[:TEMPLATE]
16813 instantiate the configuration header FILE
16815 Configuration files:
16818 Configuration headers:
16821 Configuration commands:
16824 Report bugs to <moonshot-community@jiscmail.ac.uk>.
16825 Moonshot-ui home page: <http://www.project-moonshot.org/>."
16828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16829 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16831 Moonshot-ui config.status 0.1
16832 configured by $0, generated by GNU Autoconf 2.68,
16833 with options \\"\$ac_cs_config\\"
16835 Copyright (C) 2010 Free Software Foundation, Inc.
16836 This config.status script is free software; the Free Software Foundation
16837 gives unlimited permission to copy, distribute and modify it."
16844 test -n "\$AWK" || AWK=awk
16847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16848 # The default lists apply if the user does not specify any file.
16854 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16855 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16859 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16871 # Handling of the options.
16872 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16874 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16875 $as_echo "$ac_cs_version"; exit ;;
16876 --config | --confi | --conf | --con | --co | --c )
16877 $as_echo "$ac_cs_config"; exit ;;
16878 --debug | --debu | --deb | --de | --d | -d )
16880 --file | --fil | --fi | --f )
16883 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16884 '') as_fn_error $? "missing file argument" ;;
16886 as_fn_append CONFIG_FILES " '$ac_optarg'"
16887 ac_need_defaults=false;;
16888 --header | --heade | --head | --hea )
16891 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16893 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16894 ac_need_defaults=false;;
16896 # Conflict between --help and --header
16897 as_fn_error $? "ambiguous option: \`$1'
16898 Try \`$0 --help' for more information.";;
16899 --help | --hel | -h )
16900 $as_echo "$ac_cs_usage"; exit ;;
16901 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16902 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16905 # This is an error.
16906 -*) as_fn_error $? "unrecognized option: \`$1'
16907 Try \`$0 --help' for more information." ;;
16909 *) as_fn_append ac_config_targets " $1"
16910 ac_need_defaults=false ;;
16916 ac_configure_extra_args=
16918 if $ac_cs_silent; then
16920 ac_configure_extra_args="$ac_configure_extra_args --silent"
16924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16925 if \$ac_cs_recheck; then
16926 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16928 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16929 CONFIG_SHELL='$SHELL'
16930 export CONFIG_SHELL
16935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16939 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16940 ## Running $as_me. ##
16946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16950 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16953 # The HP-UX ksh and POSIX shell print the target directory to stdout
16954 # if CDPATH is set.
16955 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16957 sed_quote_subst='$sed_quote_subst'
16958 double_quote_subst='$double_quote_subst'
16959 delay_variable_subst='$delay_variable_subst'
16960 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16961 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16962 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16963 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16964 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16965 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16966 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16967 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16968 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16969 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16970 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16971 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16972 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16973 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16974 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16975 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16976 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16977 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16978 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16979 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16980 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16981 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16982 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16983 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16984 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16985 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16986 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16987 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16988 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16989 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16990 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16991 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16992 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16993 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16994 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16995 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16996 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16997 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16998 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16999 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17000 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17001 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17002 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17003 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17004 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17005 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17006 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17007 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17008 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17009 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17010 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17011 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17012 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17013 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17014 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17015 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17016 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17017 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"`'
17018 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17019 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17020 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17021 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17022 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17023 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17024 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17025 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17026 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17027 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17028 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17029 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17030 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17031 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17032 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17033 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17034 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17035 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17036 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17037 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17038 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17039 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17040 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17041 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17042 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17043 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17044 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17045 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17046 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17047 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17048 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17049 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17050 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17051 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17052 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17053 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17054 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17055 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17056 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17057 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17058 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17059 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17060 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17061 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17062 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17063 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17064 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17065 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17066 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17067 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17068 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17069 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17070 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17071 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17072 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17073 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17074 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17075 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17076 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17077 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17078 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17079 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17080 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17081 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17082 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17083 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17084 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17085 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17086 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17087 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17088 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17089 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17090 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17093 LTCFLAGS='$LTCFLAGS'
17094 compiler='$compiler_DEFAULT'
17096 # A function that is used when there is no print builtin or printf.
17097 func_fallback_echo ()
17099 eval 'cat <<_LTECHO_EOF
17104 # Quote evaled strings.
17121 deplibs_check_method \
17125 sharedlib_from_linklib_cmd \
17128 archiver_list_spec \
17134 lt_cv_sys_global_symbol_pipe \
17135 lt_cv_sys_global_symbol_to_cdecl \
17136 lt_cv_sys_global_symbol_to_c_name_address \
17137 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17138 nm_file_list_spec \
17139 lt_prog_compiler_no_builtin_flag \
17140 lt_prog_compiler_pic \
17141 lt_prog_compiler_wl \
17142 lt_prog_compiler_static \
17143 lt_cv_prog_compiler_c_o \
17152 export_dynamic_flag_spec \
17153 whole_archive_flag_spec \
17154 compiler_needs_object \
17156 allow_undefined_flag \
17157 no_undefined_flag \
17158 hardcode_libdir_flag_spec \
17159 hardcode_libdir_separator \
17163 variables_saved_for_relink \
17165 library_names_spec \
17167 install_override_mode \
17171 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17172 *[\\\\\\\`\\"\\\$]*)
17173 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17176 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17181 # Double-quote double-evaled strings.
17182 for var in reload_cmds \
17183 old_postinstall_cmds \
17184 old_postuninstall_cmds \
17186 extract_expsyms_cmds \
17187 old_archive_from_new_cmds \
17188 old_archive_from_expsyms_cmds \
17190 archive_expsym_cmds \
17192 module_expsym_cmds \
17193 export_symbols_cmds \
17197 postuninstall_cmds \
17199 sys_lib_search_path_spec \
17200 sys_lib_dlsearch_path_spec; do
17201 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17202 *[\\\\\\\`\\"\\\$]*)
17203 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17206 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17211 ac_aux_dir='$ac_aux_dir'
17212 xsi_shell='$xsi_shell'
17213 lt_shell_append='$lt_shell_append'
17215 # See if we are running on zsh, and set the options which allow our
17216 # commands through without removal of \ escapes INIT.
17217 if test -n "\${ZSH_VERSION+set}" ; then
17218 setopt NO_GLOB_SUBST
17224 TIMESTAMP='$TIMESTAMP'
17230 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17231 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17232 # from automake < 1.5.
17233 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17234 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17235 LINGUAS="${LINGUAS-%UNSET%}"
17240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17242 # Handling of arguments.
17243 for ac_config_target in $ac_config_targets
17245 case $ac_config_target in
17246 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17247 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17248 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17249 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17250 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17251 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17252 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
17253 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
17254 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
17256 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17261 # If the user did not use the arguments to specify the items to instantiate,
17262 # then the envvar interface is used. Set only those that are not.
17263 # We use the long form for the default assignment because of an extremely
17264 # bizarre bug on SunOS 4.1.3.
17265 if $ac_need_defaults; then
17266 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17267 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17268 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17271 # Have a temporary directory for convenience. Make it in the build tree
17272 # simply because there is no reason against having it here, and in addition,
17273 # creating and moving files from /tmp can sometimes cause problems.
17274 # Hook for its removal unless debugging.
17275 # Note that there is a small window in which the directory will not be cleaned:
17276 # after its creation but before its name has been assigned to `$tmp'.
17280 trap 'exit_status=$?
17281 : "${ac_tmp:=$tmp}"
17282 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17284 trap 'as_fn_exit 1' 1 2 13 15
17286 # Create a (secure) tmp directory for tmp files.
17289 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17293 tmp=./conf$$-$RANDOM
17294 (umask 077 && mkdir "$tmp")
17295 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17298 # Set up the scripts for CONFIG_FILES section.
17299 # No need to generate them if there are no CONFIG_FILES.
17300 # This happens for instance with `./config.status config.h'.
17301 if test -n "$CONFIG_FILES"; then
17304 ac_cr=`echo X | tr X '\015'`
17305 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17306 # But we know of no other shell where ac_cr would be empty at this
17307 # point, so we can use a bashism as a fallback.
17308 if test "x$ac_cr" = x; then
17309 eval ac_cr=\$\'\\r\'
17311 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17312 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17315 ac_cs_awk_cr=$ac_cr
17318 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17323 echo "cat >conf$$subs.awk <<_ACEOF" &&
17324 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17326 } >conf$$subs.sh ||
17327 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17328 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17330 for ac_last_try in false false false false false :; do
17331 . ./conf$$subs.sh ||
17332 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17334 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17335 if test $ac_delim_n = $ac_delim_num; then
17337 elif $ac_last_try; then
17338 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17340 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17343 rm -f conf$$subs.sh
17345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17346 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17350 s/^/S["/; s/!.*/"]=/
17360 s/\(.\{148\}\)..*/\1/
17362 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17367 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17374 s/\(.\{148\}\)..*/\1/
17376 s/["\\]/\\&/g; s/^/"/; s/$/"/
17380 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17385 ' <conf$$subs.awk | sed '
17390 ' >>$CONFIG_STATUS || ac_write_fail=1
17391 rm -f conf$$subs.awk
17392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17394 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17395 for (key in S) S_is_set[key] = 1
17401 nfields = split(line, field, "@")
17403 len = length(field[1])
17404 for (i = 2; i < nfields; i++) {
17406 keylen = length(key)
17407 if (S_is_set[key]) {
17409 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17410 len += length(value) + length(field[++i])
17421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17422 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17423 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17426 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17427 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17430 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17431 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17432 # trailing colons and then remove the whole line if VPATH becomes empty
17433 # (actually we leave an empty line to preserve line numbers).
17434 if test "x$srcdir" = x.; then
17435 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17454 fi # test -n "$CONFIG_FILES"
17456 # Set up the scripts for CONFIG_HEADERS section.
17457 # No need to generate them if there are no CONFIG_HEADERS.
17458 # This happens for instance with `./config.status Makefile'.
17459 if test -n "$CONFIG_HEADERS"; then
17460 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17464 # Transform confdefs.h into an awk script `defines.awk', embedded as
17465 # here-document in config.status, that substitutes the proper values into
17466 # config.h.in to produce config.h.
17468 # Create a delimiter string that does not exist in confdefs.h, to ease
17469 # handling of long lines.
17471 for ac_last_try in false false :; do
17472 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17473 if test -z "$ac_tt"; then
17475 elif $ac_last_try; then
17476 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17478 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17482 # For the awk script, D is an array of macro values keyed by name,
17483 # likewise P contains macro parameters if any. Preserve backslash
17484 # newline sequences.
17486 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17488 s/.\{148\}/&'"$ac_delim"'/g
17491 s/^[ ]*#[ ]*define[ ][ ]*/ /
17498 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17500 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17504 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17505 D["\1"]=" \3\\\\\\n"\\/p
17507 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17512 s/.\{148\}/&'"$ac_delim"'/g
17517 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17520 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17522 ' <confdefs.h | sed '
17523 s/'"$ac_delim"'/"\\\
17524 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17527 for (key in D) D_is_set[key] = 1
17530 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17532 split(line, arg, " ")
17533 if (arg[1] == "#") {
17537 defundef = substr(arg[1], 2)
17540 split(mac1, mac2, "(") #)
17542 prefix = substr(line, 1, index(line, defundef) - 1)
17543 if (D_is_set[macro]) {
17544 # Preserve the white space surrounding the "#".
17545 print prefix "define", macro P[macro] D[macro]
17548 # Replace #undef with comments. This is necessary, for example,
17549 # in the case of _POSIX_SOURCE, which is predefined and required
17550 # on some systems where configure will not decide to define it.
17551 if (defundef == "undef") {
17552 print "/*", prefix defundef, macro, "*/"
17560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17561 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17562 fi # test -n "$CONFIG_HEADERS"
17565 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17570 :[FHLC]) ac_mode=$ac_tag; continue;;
17572 case $ac_mode$ac_tag in
17574 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17575 :[FH]-) ac_tag=-:-;;
17576 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17593 -) ac_f="$ac_tmp/stdin";;
17594 *) # Look for the file first in the build tree, then in the source tree
17595 # (if the path is not absolute). The absolute path cannot be DOS-style,
17596 # because $ac_f cannot contain `:'.
17600 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17602 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17604 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17605 as_fn_append ac_file_inputs " '$ac_f'"
17608 # Let's still pretend it is `configure' which instantiates (i.e., don't
17609 # use $as_me), people would be surprised to read:
17610 # /* config.h. Generated by config.status. */
17611 configure_input='Generated from '`
17612 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17614 if test x"$ac_file" != x-; then
17615 configure_input="$ac_file. $configure_input"
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17617 $as_echo "$as_me: creating $ac_file" >&6;}
17619 # Neutralize special characters interpreted by sed in replacement strings.
17620 case $configure_input in #(
17621 *\&* | *\|* | *\\* )
17622 ac_sed_conf_input=`$as_echo "$configure_input" |
17623 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17624 *) ac_sed_conf_input=$configure_input;;
17628 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17634 ac_dir=`$as_dirname -- "$ac_file" ||
17635 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17636 X"$ac_file" : 'X\(//\)[^/]' \| \
17637 X"$ac_file" : 'X\(//\)$' \| \
17638 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17639 $as_echo X"$ac_file" |
17640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17644 /^X\(\/\/\)[^/].*/{
17657 as_dir="$ac_dir"; as_fn_mkdir_p
17661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17663 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17664 # A ".." for each directory in $ac_dir_suffix.
17665 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17666 case $ac_top_builddir_sub in
17667 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17668 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17671 ac_abs_top_builddir=$ac_pwd
17672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17673 # for backward compatibility:
17674 ac_top_builddir=$ac_top_build_prefix
17677 .) # We are building in place.
17679 ac_top_srcdir=$ac_top_builddir_sub
17680 ac_abs_top_srcdir=$ac_pwd ;;
17681 [\\/]* | ?:[\\/]* ) # Absolute name.
17682 ac_srcdir=$srcdir$ac_dir_suffix;
17683 ac_top_srcdir=$srcdir
17684 ac_abs_top_srcdir=$srcdir ;;
17685 *) # Relative name.
17686 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17687 ac_top_srcdir=$ac_top_build_prefix$srcdir
17688 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17700 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17701 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17703 ac_MKDIR_P=$MKDIR_P
17705 [\\/$]* | ?:[\\/]* ) ;;
17706 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17711 # If the template does not know about datarootdir, expand it.
17712 # FIXME: This hack should be removed a few years after 2.60.
17713 ac_datarootdir_hack=; ac_datarootdir_seen=
17724 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17725 *datarootdir*) ac_datarootdir_seen=yes;;
17726 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17728 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17731 ac_datarootdir_hack='
17732 s&@datadir@&$datadir&g
17733 s&@docdir@&$docdir&g
17734 s&@infodir@&$infodir&g
17735 s&@localedir@&$localedir&g
17736 s&@mandir@&$mandir&g
17737 s&\\\${datarootdir}&$datarootdir&g' ;;
17741 # Neutralize VPATH when `$srcdir' = `.'.
17742 # Shell code in configure.ac might set extrasub.
17743 # FIXME: do we really want to maintain this feature?
17744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17745 ac_sed_extra="$ac_vpsub
17748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17750 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17751 s|@configure_input@|$ac_sed_conf_input|;t t
17752 s&@top_builddir@&$ac_top_builddir_sub&;t t
17753 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17754 s&@srcdir@&$ac_srcdir&;t t
17755 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17756 s&@top_srcdir@&$ac_top_srcdir&;t t
17757 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17758 s&@builddir@&$ac_builddir&;t t
17759 s&@abs_builddir@&$ac_abs_builddir&;t t
17760 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17761 s&@INSTALL@&$ac_INSTALL&;t t
17762 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17763 $ac_datarootdir_hack
17765 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17766 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17768 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17769 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17770 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17771 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17773 which seems to be undefined. Please make sure it is defined" >&5
17774 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17775 which seems to be undefined. Please make sure it is defined" >&2;}
17777 rm -f "$ac_tmp/stdin"
17779 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17780 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17782 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17788 if test x"$ac_file" != x-; then
17790 $as_echo "/* $configure_input */" \
17791 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17792 } >"$ac_tmp/config.h" \
17793 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17794 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17796 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17799 mv "$ac_tmp/config.h" "$ac_file" \
17800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17803 $as_echo "/* $configure_input */" \
17804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17805 || as_fn_error $? "could not create -" "$LINENO" 5
17807 # Compute "$ac_file"'s index in $config_headers.
17810 for _am_header in $config_headers :; do
17811 case $_am_header in
17812 $_am_arg | $_am_arg:* )
17815 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17818 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17819 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17820 X"$_am_arg" : 'X\(//\)[^/]' \| \
17821 X"$_am_arg" : 'X\(//\)$' \| \
17822 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17823 $as_echo X"$_am_arg" |
17824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17828 /^X\(\/\/\)[^/].*/{
17840 s/.*/./; q'`/stamp-h$_am_stamp_count
17843 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17844 $as_echo "$as_me: executing $ac_file commands" >&6;}
17849 case $ac_file$ac_mode in
17850 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17851 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17852 # are listed without --file. Let's play safe and only enable the eval
17853 # if we detect the quoting.
17854 case $CONFIG_FILES in
17855 *\'*) eval set x "$CONFIG_FILES" ;;
17856 *) set x $CONFIG_FILES ;;
17861 # Strip MF so we end up with the name of the file.
17862 mf=`echo "$mf" | sed -e 's/:.*$//'`
17863 # Check whether this is an Automake generated Makefile or not.
17864 # We used to match only the files named `Makefile.in', but
17865 # some people rename them; so instead we look at the file content.
17866 # Grep'ing the first line is not enough: some people post-process
17867 # each Makefile.in and add a new line on top of each file to say so.
17868 # Grep'ing the whole file is not good either: AIX grep has a line
17869 # limit of 2048, but all sed's we know have understand at least 4000.
17870 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17871 dirpart=`$as_dirname -- "$mf" ||
17872 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17873 X"$mf" : 'X\(//\)[^/]' \| \
17874 X"$mf" : 'X\(//\)$' \| \
17875 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17881 /^X\(\/\/\)[^/].*/{
17897 # Extract the definition of DEPDIR, am__include, and am__quote
17898 # from the Makefile without running `make'.
17899 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17900 test -z "$DEPDIR" && continue
17901 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17902 test -z "am__include" && continue
17903 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17904 # When using ansi2knr, U may be empty or an underscore; expand it
17905 U=`sed -n 's/^U = //p' < "$mf"`
17906 # Find all dependency output files, they are included files with
17907 # $(DEPDIR) in their names. We invoke sed twice because it is the
17908 # simplest approach to changing $(DEPDIR) to its actual value in the
17910 for file in `sed -n "
17911 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17912 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17913 # Make sure the directory exists.
17914 test -f "$dirpart/$file" && continue
17915 fdir=`$as_dirname -- "$file" ||
17916 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17917 X"$file" : 'X\(//\)[^/]' \| \
17918 X"$file" : 'X\(//\)$' \| \
17919 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17920 $as_echo X"$file" |
17921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17925 /^X\(\/\/\)[^/].*/{
17938 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17939 # echo "creating $dirpart/$file"
17940 echo '# dummy' > "$dirpart/$file"
17947 # See if we are running on zsh, and set the options which allow our
17948 # commands through without removal of \ escapes.
17949 if test -n "${ZSH_VERSION+set}" ; then
17950 setopt NO_GLOB_SUBST
17953 cfgfile="${ofile}T"
17954 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17957 cat <<_LT_EOF >> "$cfgfile"
17960 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17961 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17962 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17963 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17965 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17966 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17968 # Written by Gordon Matzigkeit, 1996
17970 # This file is part of GNU Libtool.
17972 # GNU Libtool is free software; you can redistribute it and/or
17973 # modify it under the terms of the GNU General Public License as
17974 # published by the Free Software Foundation; either version 2 of
17975 # the License, or (at your option) any later version.
17977 # As a special exception to the GNU General Public License,
17978 # if you distribute this file as part of a program or library that
17979 # is built using GNU Libtool, you may include this file under the
17980 # same distribution terms that you use for the rest of that program.
17982 # GNU Libtool is distributed in the hope that it will be useful,
17983 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17984 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17985 # GNU General Public License for more details.
17987 # You should have received a copy of the GNU General Public License
17988 # along with GNU Libtool; see the file COPYING. If not, a copy
17989 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17990 # obtained by writing to the Free Software Foundation, Inc.,
17991 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17994 # The names of the tagged configurations supported by this script.
17997 # ### BEGIN LIBTOOL CONFIG
17999 # Which release of libtool.m4 was used?
18000 macro_version=$macro_version
18001 macro_revision=$macro_revision
18003 # Assembler program.
18006 # DLL creation program.
18007 DLLTOOL=$lt_DLLTOOL
18009 # Object dumper program.
18010 OBJDUMP=$lt_OBJDUMP
18012 # Whether or not to build shared libraries.
18013 build_libtool_libs=$enable_shared
18015 # Whether or not to build static libraries.
18016 build_old_libs=$enable_static
18018 # What type of objects to build.
18021 # Whether or not to optimize for fast installation.
18022 fast_install=$enable_fast_install
18024 # Shell to use when invoking shell scripts.
18027 # An echo program that protects backslashes.
18030 # The PATH separator for the build system.
18031 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18034 host_alias=$host_alias
18038 # The build system.
18039 build_alias=$build_alias
18043 # A sed program that does not truncate output.
18046 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18047 Xsed="\$SED -e 1s/^X//"
18049 # A grep program that handles long lines.
18055 # A literal string matcher.
18058 # A BSD- or MS-compatible name lister.
18061 # Whether we need soft or hard links.
18064 # What is the maximum length of a command?
18065 max_cmd_len=$max_cmd_len
18067 # Object file suffix (normally "o").
18070 # Executable file suffix (normally "").
18073 # whether the shell understands "unset".
18076 # turn spaces into newlines.
18079 # turn newlines into spaces.
18082 # convert \$build file names to \$host format.
18083 to_host_file_cmd=$lt_cv_to_host_file_cmd
18085 # convert \$build files to toolchain format.
18086 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18088 # Method to check whether dependent libraries are shared objects.
18089 deplibs_check_method=$lt_deplibs_check_method
18091 # Command to use when deplibs_check_method = "file_magic".
18092 file_magic_cmd=$lt_file_magic_cmd
18094 # How to find potential files when deplibs_check_method = "file_magic".
18095 file_magic_glob=$lt_file_magic_glob
18097 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18098 want_nocaseglob=$lt_want_nocaseglob
18100 # Command to associate shared and link libraries.
18101 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18106 # Flags to create an archive.
18107 AR_FLAGS=$lt_AR_FLAGS
18109 # How to feed a file listing to the archiver.
18110 archiver_list_spec=$lt_archiver_list_spec
18112 # A symbol stripping program.
18115 # Commands used to install an old-style archive.
18117 old_postinstall_cmds=$lt_old_postinstall_cmds
18118 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18120 # Whether to use a lock for old archive extraction.
18121 lock_old_archive_extraction=$lock_old_archive_extraction
18126 # LTCC compiler flags.
18127 LTCFLAGS=$lt_CFLAGS
18129 # Take the output of nm and produce a listing of raw symbols and C names.
18130 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18132 # Transform the output of nm in a proper C declaration.
18133 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18135 # Transform the output of nm in a C name address pair.
18136 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18138 # Transform the output of nm in a C name address pair when lib prefix is needed.
18139 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18141 # Specify filename containing input files for \$NM.
18142 nm_file_list_spec=$lt_nm_file_list_spec
18144 # The root where to search for dependent libraries,and in which our libraries should be installed.
18145 lt_sysroot=$lt_sysroot
18147 # The name of the directory that contains temporary libtool files.
18150 # Used to examine libraries when file_magic_cmd begins with "file".
18151 MAGIC_CMD=$MAGIC_CMD
18153 # Must we lock files when doing compilation?
18154 need_locks=$lt_need_locks
18157 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18159 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18160 DSYMUTIL=$lt_DSYMUTIL
18162 # Tool to change global to local symbols on Mac OS X.
18165 # Tool to manipulate fat objects and archives on Mac OS X.
18168 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18171 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18172 OTOOL64=$lt_OTOOL64
18174 # Old archive suffix (normally "a").
18177 # Shared library suffix (normally ".so").
18178 shrext_cmds=$lt_shrext_cmds
18180 # The commands to extract the exported symbol list from a shared archive.
18181 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18183 # Variables whose values should be saved in libtool wrapper scripts and
18184 # restored at link time.
18185 variables_saved_for_relink=$lt_variables_saved_for_relink
18187 # Do we need the "lib" prefix for modules?
18188 need_lib_prefix=$need_lib_prefix
18190 # Do we need a version for libraries?
18191 need_version=$need_version
18193 # Library versioning type.
18194 version_type=$version_type
18196 # Shared library runtime path variable.
18197 runpath_var=$runpath_var
18199 # Shared library path variable.
18200 shlibpath_var=$shlibpath_var
18202 # Is shlibpath searched before the hard-coded library search path?
18203 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18205 # Format of library name prefix.
18206 libname_spec=$lt_libname_spec
18208 # List of archive names. First name is the real one, the rest are links.
18209 # The last name is the one that the linker finds with -lNAME
18210 library_names_spec=$lt_library_names_spec
18212 # The coded name of the library, if different from the real name.
18213 soname_spec=$lt_soname_spec
18215 # Permission mode override for installation of shared libraries.
18216 install_override_mode=$lt_install_override_mode
18218 # Command to use after installation of a shared archive.
18219 postinstall_cmds=$lt_postinstall_cmds
18221 # Command to use after uninstallation of a shared archive.
18222 postuninstall_cmds=$lt_postuninstall_cmds
18224 # Commands used to finish a libtool library installation in a directory.
18225 finish_cmds=$lt_finish_cmds
18227 # As "finish_cmds", except a single script fragment to be evaled but
18229 finish_eval=$lt_finish_eval
18231 # Whether we should hardcode library paths into libraries.
18232 hardcode_into_libs=$hardcode_into_libs
18234 # Compile-time system search path for libraries.
18235 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18237 # Run-time system search path for libraries.
18238 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18240 # Whether dlopen is supported.
18241 dlopen_support=$enable_dlopen
18243 # Whether dlopen of programs is supported.
18244 dlopen_self=$enable_dlopen_self
18246 # Whether dlopen of statically linked programs is supported.
18247 dlopen_self_static=$enable_dlopen_self_static
18249 # Commands to strip libraries.
18250 old_striplib=$lt_old_striplib
18251 striplib=$lt_striplib
18254 # The linker used to build libraries.
18257 # How to create reloadable object files.
18258 reload_flag=$lt_reload_flag
18259 reload_cmds=$lt_reload_cmds
18261 # Commands used to build an old-style archive.
18262 old_archive_cmds=$lt_old_archive_cmds
18264 # A language specific compiler.
18267 # Is the compiler the GNU compiler?
18270 # Compiler flag to turn off builtin functions.
18271 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18273 # Additional compiler flags for building library objects.
18274 pic_flag=$lt_lt_prog_compiler_pic
18276 # How to pass a linker flag through the compiler.
18277 wl=$lt_lt_prog_compiler_wl
18279 # Compiler flag to prevent dynamic linking.
18280 link_static_flag=$lt_lt_prog_compiler_static
18282 # Does compiler simultaneously support -c and -o options?
18283 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18285 # Whether or not to add -lc for building shared libraries.
18286 build_libtool_need_lc=$archive_cmds_need_lc
18288 # Whether or not to disallow shared libs when runtime libs are static.
18289 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18291 # Compiler flag to allow reflexive dlopens.
18292 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18294 # Compiler flag to generate shared objects directly from archives.
18295 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18297 # Whether the compiler copes with passing no objects directly.
18298 compiler_needs_object=$lt_compiler_needs_object
18300 # Create an old-style archive from a shared archive.
18301 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18303 # Create a temporary old-style archive to link instead of a shared archive.
18304 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18306 # Commands used to build a shared archive.
18307 archive_cmds=$lt_archive_cmds
18308 archive_expsym_cmds=$lt_archive_expsym_cmds
18310 # Commands used to build a loadable module if different from building
18311 # a shared archive.
18312 module_cmds=$lt_module_cmds
18313 module_expsym_cmds=$lt_module_expsym_cmds
18315 # Whether we are building with GNU ld or not.
18316 with_gnu_ld=$lt_with_gnu_ld
18318 # Flag that allows shared libraries with undefined symbols to be built.
18319 allow_undefined_flag=$lt_allow_undefined_flag
18321 # Flag that enforces no undefined symbols.
18322 no_undefined_flag=$lt_no_undefined_flag
18324 # Flag to hardcode \$libdir into a binary during linking.
18325 # This must work even if \$libdir does not exist
18326 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18328 # Whether we need a single "-rpath" flag with a separated argument.
18329 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18331 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18332 # DIR into the resulting binary.
18333 hardcode_direct=$hardcode_direct
18335 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18336 # DIR into the resulting binary and the resulting library dependency is
18337 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18338 # library is relocated.
18339 hardcode_direct_absolute=$hardcode_direct_absolute
18341 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18342 # into the resulting binary.
18343 hardcode_minus_L=$hardcode_minus_L
18345 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18346 # into the resulting binary.
18347 hardcode_shlibpath_var=$hardcode_shlibpath_var
18349 # Set to "yes" if building a shared library automatically hardcodes DIR
18350 # into the library and all subsequent libraries and executables linked
18352 hardcode_automatic=$hardcode_automatic
18354 # Set to yes if linker adds runtime paths of dependent libraries
18355 # to runtime path list.
18356 inherit_rpath=$inherit_rpath
18358 # Whether libtool must link a program against all its dependency libraries.
18359 link_all_deplibs=$link_all_deplibs
18361 # Set to "yes" if exported symbols are required.
18362 always_export_symbols=$always_export_symbols
18364 # The commands to list exported symbols.
18365 export_symbols_cmds=$lt_export_symbols_cmds
18367 # Symbols that should not be listed in the preloaded symbols.
18368 exclude_expsyms=$lt_exclude_expsyms
18370 # Symbols that must always be exported.
18371 include_expsyms=$lt_include_expsyms
18373 # Commands necessary for linking programs (against libraries) with templates.
18374 prelink_cmds=$lt_prelink_cmds
18376 # Commands necessary for finishing linking programs.
18377 postlink_cmds=$lt_postlink_cmds
18379 # Specify filename containing input files.
18380 file_list_spec=$lt_file_list_spec
18382 # How to hardcode a shared library path into an executable.
18383 hardcode_action=$hardcode_action
18385 # ### END LIBTOOL CONFIG
18391 cat <<\_LT_EOF >> "$cfgfile"
18392 # AIX sometimes has problems with the GCC collect2 program. For some
18393 # reason, if we set the COLLECT_NAMES environment variable, the problems
18394 # vanish in a puff of smoke.
18395 if test "X${COLLECT_NAMES+set}" != Xset; then
18397 export COLLECT_NAMES
18404 ltmain="$ac_aux_dir/ltmain.sh"
18407 # We use sed instead of cat because bash on DJGPP gets confused if
18408 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18409 # text mode, it properly converts lines to CR/LF. This bash problem
18410 # is reportedly fixed, but why not run on old versions too?
18411 sed '$q' "$ltmain" >> "$cfgfile" \
18412 || (rm -f "$cfgfile"; exit 1)
18414 if test x"$xsi_shell" = xyes; then
18415 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18419 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18420 \ * ) func_dirname_result="${3}" ;;\
18422 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18423 && mv -f "$cfgfile.tmp" "$cfgfile" \
18424 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18425 test 0 -eq $? || _lt_function_replace_fail=:
18428 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18431 \ func_basename_result="${1##*/}"\
18432 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18433 && mv -f "$cfgfile.tmp" "$cfgfile" \
18434 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18435 test 0 -eq $? || _lt_function_replace_fail=:
18438 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18439 func_dirname_and_basename ()\
18442 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18443 \ * ) func_dirname_result="${3}" ;;\
18445 \ func_basename_result="${1##*/}"\
18446 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18447 && mv -f "$cfgfile.tmp" "$cfgfile" \
18448 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18449 test 0 -eq $? || _lt_function_replace_fail=:
18452 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18455 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18456 \ # positional parameters, so assign one to ordinary parameter first.\
18457 \ func_stripname_result=${3}\
18458 \ func_stripname_result=${func_stripname_result#"${1}"}\
18459 \ func_stripname_result=${func_stripname_result%"${2}"}\
18460 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18461 && mv -f "$cfgfile.tmp" "$cfgfile" \
18462 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18463 test 0 -eq $? || _lt_function_replace_fail=:
18466 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18467 func_split_long_opt ()\
18469 \ func_split_long_opt_name=${1%%=*}\
18470 \ func_split_long_opt_arg=${1#*=}\
18471 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18472 && mv -f "$cfgfile.tmp" "$cfgfile" \
18473 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18474 test 0 -eq $? || _lt_function_replace_fail=:
18477 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18478 func_split_short_opt ()\
18480 \ func_split_short_opt_arg=${1#??}\
18481 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18482 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18483 && mv -f "$cfgfile.tmp" "$cfgfile" \
18484 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18485 test 0 -eq $? || _lt_function_replace_fail=:
18488 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18492 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18493 \ *) func_lo2o_result=${1} ;;\
18495 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18496 && mv -f "$cfgfile.tmp" "$cfgfile" \
18497 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18498 test 0 -eq $? || _lt_function_replace_fail=:
18501 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18504 func_xform_result=${1%.*}.lo\
18505 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18506 && mv -f "$cfgfile.tmp" "$cfgfile" \
18507 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18508 test 0 -eq $? || _lt_function_replace_fail=:
18511 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18514 func_arith_result=$(( $* ))\
18515 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18516 && mv -f "$cfgfile.tmp" "$cfgfile" \
18517 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18518 test 0 -eq $? || _lt_function_replace_fail=:
18521 sed -e '/^func_len ()$/,/^} # func_len /c\
18524 func_len_result=${#1}\
18525 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18526 && mv -f "$cfgfile.tmp" "$cfgfile" \
18527 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18528 test 0 -eq $? || _lt_function_replace_fail=:
18532 if test x"$lt_shell_append" = xyes; then
18533 sed -e '/^func_append ()$/,/^} # func_append /c\
18536 eval "${1}+=\\${2}"\
18537 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18538 && mv -f "$cfgfile.tmp" "$cfgfile" \
18539 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18540 test 0 -eq $? || _lt_function_replace_fail=:
18543 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18544 func_append_quoted ()\
18546 \ func_quote_for_eval "${2}"\
18547 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18548 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18549 && mv -f "$cfgfile.tmp" "$cfgfile" \
18550 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18551 test 0 -eq $? || _lt_function_replace_fail=:
18554 # Save a `func_append' function call where possible by direct use of '+='
18555 sed -e 's%func_append \([a-zA-Z_]\{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=:
18560 # Save a `func_append' function call even when '+=' is not available
18561 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18562 && mv -f "$cfgfile.tmp" "$cfgfile" \
18563 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18564 test 0 -eq $? || _lt_function_replace_fail=:
18567 if test x"$_lt_function_replace_fail" = x":"; then
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18569 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18573 mv -f "$cfgfile" "$ofile" ||
18574 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18578 "po-directories":C)
18579 for ac_file in $CONFIG_FILES; do
18580 # Support "outfile[:infile[:infile...]]"
18582 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18584 # PO directories have a Makefile.in generated from Makefile.in.in.
18585 case "$ac_file" in */Makefile.in)
18586 # Adjust a relative srcdir.
18587 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18588 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18589 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18590 # In autoconf-2.13 it is called $ac_given_srcdir.
18591 # In autoconf-2.50 it is called $srcdir.
18592 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18593 case "$ac_given_srcdir" in
18594 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18595 /*) top_srcdir="$ac_given_srcdir" ;;
18596 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18598 # Treat a directory as a PO directory if and only if it has a
18599 # POTFILES.in file. This allows packages to have multiple PO
18600 # directories under different names or in different locations.
18601 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18602 rm -f "$ac_dir/POTFILES"
18603 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18604 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18605 POMAKEFILEDEPS="POTFILES.in"
18606 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18607 # on $ac_dir but don't depend on user-specified configuration
18609 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18610 # The LINGUAS file contains the set of available languages.
18611 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18612 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18614 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18615 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18616 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18617 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18619 # The set of available languages was given in configure.in.
18620 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18621 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18624 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18625 # Compute UPDATEPOFILES
18626 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18627 # Compute DUMMYPOFILES
18628 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18630 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18631 case "$ac_given_srcdir" in
18633 *) srcdirpre='$(srcdir)/' ;;
18639 for lang in $ALL_LINGUAS; do
18640 POFILES="$POFILES $srcdirpre$lang.po"
18641 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18642 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18643 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18645 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18646 # environment variable.
18648 if test -n "$ALL_LINGUAS"; then
18649 for presentlang in $ALL_LINGUAS; do
18651 if test "%UNSET%" != "$LINGUAS"; then
18652 desiredlanguages="$LINGUAS"
18654 desiredlanguages="$ALL_LINGUAS"
18656 for desiredlang in $desiredlanguages; do
18657 # Use the presentlang catalog if desiredlang is
18658 # a. equal to presentlang, or
18659 # b. a variant of presentlang (because in this case,
18660 # presentlang can be used as a fallback for messages
18661 # which are not translated in the desiredlang catalog).
18662 case "$desiredlang" in
18663 "$presentlang"*) useit=yes;;
18666 if test $useit = yes; then
18667 INST_LINGUAS="$INST_LINGUAS $presentlang"
18672 if test -n "$INST_LINGUAS"; then
18673 for lang in $INST_LINGUAS; do
18674 CATALOGS="$CATALOGS $lang.gmo"
18677 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18678 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"
18679 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18680 if test -f "$f"; then
18682 *.orig | *.bak | *~) ;;
18683 *) cat "$f" >> "$ac_dir/Makefile" ;;
18698 ac_clean_files=$ac_clean_files_save
18700 test $ac_write_fail = 0 ||
18701 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18704 # configure is writing to config.log, and then calls config.status.
18705 # config.status does its own redirection, appending to config.log.
18706 # Unfortunately, on DOS this fails, as config.log is still kept open
18707 # by configure, so config.status won't be able to write to it; its
18708 # output is simply discarded. So we exec the FD to /dev/null,
18709 # effectively closing config.log, so it can be properly (re)opened and
18710 # appended to by config.status. When coming back to configure, we
18711 # need to make the FD available again.
18712 if test "$no_create" != yes; then
18714 ac_config_status_args=
18715 test "$silent" = yes &&
18716 ac_config_status_args="$ac_config_status_args --quiet"
18718 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18720 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18721 # would make configure fail if this is the last instruction.
18722 $ac_cs_success || as_fn_exit 1
18724 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18726 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}