2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Moonshot-ui 0.7.2.
5 # Report bugs to <moonshot-community@jiscmail.ac.uk>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: moonshot-community@jiscmail.ac.uk about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 # Use only awk features that work with 7th edition Unix awk (1978).
571 # My, what an old awk you have, Mr. Solaris!
573 while (length(v1) && length(v2)) {
574 # Set d1 to be the next thing to compare from v1, and likewise for d2.
575 # Normally this is a single character, but if v1 and v2 contain digits,
576 # compare them as integers and fractions as strverscmp does.
577 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
578 # Split v1 and v2 into their leading digit string components d1 and d2,
579 # and advance v1 and v2 past the leading digit strings.
580 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
581 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
582 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
583 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
586 # Compare two fractions.
587 while (d1 ~ /^0/ && d2 ~ /^0/) {
588 d1 = substr(d1, 2); len1--
589 d2 = substr(d2, 2); len2--
591 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
592 # The two components differ in length, and the common prefix
593 # contains only leading zeros. Consider the longer to be less.
597 # Otherwise, compare as strings.
602 # A fraction is less than an integer.
607 # An integer is greater than a fraction.
610 # Compare two integers.
616 # The normal case, without worrying about digits.
617 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
618 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
623 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
624 # which mishandles some comparisons of empty strings to integers.
625 if (length(v2)) exit 1
626 if (length(v1)) exit 2
630 test -n "$DJDIR" || exec 7<&0 </dev/null
634 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
635 # so uname gets run too.
636 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
641 ac_default_prefix=/usr/local
643 ac_config_libobj_dir=.
650 # Identity of this package.
651 PACKAGE_NAME='Moonshot-ui'
652 PACKAGE_TARNAME='moonshot-ui'
653 PACKAGE_VERSION='0.7.2'
654 PACKAGE_STRING='Moonshot-ui 0.7.2'
655 PACKAGE_BUGREPORT='moonshot-community@jiscmail.ac.uk'
656 PACKAGE_URL='http://www.project-moonshot.org/'
658 ac_unique_file="configure.ac"
659 # Factoring default headers for most tests.
660 ac_includes_default="\
662 #ifdef HAVE_SYS_TYPES_H
663 # include <sys/types.h>
665 #ifdef HAVE_SYS_STAT_H
666 # include <sys/stat.h>
672 # ifdef HAVE_STDLIB_H
677 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
682 #ifdef HAVE_STRINGS_H
683 # include <strings.h>
685 #ifdef HAVE_INTTYPES_H
686 # include <inttypes.h>
697 ac_subst_vars='am__EXEEXT_FALSE
709 XGETTEXT_EXTRA_OPTIONS
717 GETTEXT_MACRO_VERSION
725 UPDATE_DESKTOP_DATABASE
735 GIO_VAPI_USES_ARRAYS_FALSE
736 GIO_VAPI_USES_ARRAYS_TRUE
814 MAINTAINER_MODE_FALSE
828 INSTALL_STRIP_PROGRAM
870 program_transform_name
883 enable_option_checking
885 enable_maintainer_mode
890 enable_dependency_tracking
899 ac_precious_vars='build_alias
925 # Initialize some variables set by options.
927 ac_init_version=false
928 ac_unrecognized_opts=
930 # The variables have the same names as the options, with
931 # dashes changed to underlines.
939 program_transform_name=s,x,x,
947 # Installation directory options.
948 # These are left unexpanded so users can "make install exec_prefix=/foo"
949 # and all the variables that are supposed to be based on exec_prefix
950 # by default will actually change.
951 # Use braces instead of parens because sh, perl, etc. also accept them.
952 # (The list follows the same order as the GNU Coding Standards.)
953 bindir='${exec_prefix}/bin'
954 sbindir='${exec_prefix}/sbin'
955 libexecdir='${exec_prefix}/libexec'
956 datarootdir='${prefix}/share'
957 datadir='${datarootdir}'
958 sysconfdir='${prefix}/etc'
959 sharedstatedir='${prefix}/com'
960 localstatedir='${prefix}/var'
961 includedir='${prefix}/include'
962 oldincludedir='/usr/include'
963 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
964 infodir='${datarootdir}/info'
969 libdir='${exec_prefix}/lib'
970 localedir='${datarootdir}/locale'
971 mandir='${datarootdir}/man'
977 # If the previous option needs an argument, assign it.
978 if test -n "$ac_prev"; then
979 eval $ac_prev=\$ac_option
985 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
990 # Accept the important Cygnus configure options, so we can diagnose typos.
992 case $ac_dashdash$ac_option in
996 -bindir | --bindir | --bindi | --bind | --bin | --bi)
998 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1001 -build | --build | --buil | --bui | --bu)
1002 ac_prev=build_alias ;;
1003 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1004 build_alias=$ac_optarg ;;
1006 -cache-file | --cache-file | --cache-fil | --cache-fi \
1007 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1008 ac_prev=cache_file ;;
1009 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1010 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1011 cache_file=$ac_optarg ;;
1013 --config-cache | -C)
1014 cache_file=config.cache ;;
1016 -datadir | --datadir | --datadi | --datad)
1018 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1019 datadir=$ac_optarg ;;
1021 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1022 | --dataroo | --dataro | --datar)
1023 ac_prev=datarootdir ;;
1024 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1025 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1026 datarootdir=$ac_optarg ;;
1028 -disable-* | --disable-*)
1029 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032 as_fn_error $? "invalid feature name: $ac_useropt"
1033 ac_useropt_orig=$ac_useropt
1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1037 "enable_$ac_useropt"
1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1042 eval enable_$ac_useropt=no ;;
1044 -docdir | --docdir | --docdi | --doc | --do)
1046 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1047 docdir=$ac_optarg ;;
1049 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1051 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1052 dvidir=$ac_optarg ;;
1054 -enable-* | --enable-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid feature name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "enable_$ac_useropt"
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1068 eval enable_$ac_useropt=\$ac_optarg ;;
1070 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1071 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1072 | --exec | --exe | --ex)
1073 ac_prev=exec_prefix ;;
1074 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1075 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1076 | --exec=* | --exe=* | --ex=*)
1077 exec_prefix=$ac_optarg ;;
1079 -gas | --gas | --ga | --g)
1080 # Obsolete; use --with-gas.
1083 -help | --help | --hel | --he | -h)
1084 ac_init_help=long ;;
1085 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1086 ac_init_help=recursive ;;
1087 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1088 ac_init_help=short ;;
1090 -host | --host | --hos | --ho)
1091 ac_prev=host_alias ;;
1092 -host=* | --host=* | --hos=* | --ho=*)
1093 host_alias=$ac_optarg ;;
1095 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1097 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1099 htmldir=$ac_optarg ;;
1101 -includedir | --includedir | --includedi | --included | --include \
1102 | --includ | --inclu | --incl | --inc)
1103 ac_prev=includedir ;;
1104 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1105 | --includ=* | --inclu=* | --incl=* | --inc=*)
1106 includedir=$ac_optarg ;;
1108 -infodir | --infodir | --infodi | --infod | --info | --inf)
1110 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1111 infodir=$ac_optarg ;;
1113 -libdir | --libdir | --libdi | --libd)
1115 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1116 libdir=$ac_optarg ;;
1118 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1119 | --libexe | --libex | --libe)
1120 ac_prev=libexecdir ;;
1121 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1122 | --libexe=* | --libex=* | --libe=*)
1123 libexecdir=$ac_optarg ;;
1125 -localedir | --localedir | --localedi | --localed | --locale)
1126 ac_prev=localedir ;;
1127 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1128 localedir=$ac_optarg ;;
1130 -localstatedir | --localstatedir | --localstatedi | --localstated \
1131 | --localstate | --localstat | --localsta | --localst | --locals)
1132 ac_prev=localstatedir ;;
1133 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1134 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1135 localstatedir=$ac_optarg ;;
1137 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1139 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1140 mandir=$ac_optarg ;;
1142 -nfp | --nfp | --nf)
1143 # Obsolete; use --without-fp.
1146 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1147 | --no-cr | --no-c | -n)
1150 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1151 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1154 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1155 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1156 | --oldin | --oldi | --old | --ol | --o)
1157 ac_prev=oldincludedir ;;
1158 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1159 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1160 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1161 oldincludedir=$ac_optarg ;;
1163 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1165 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1166 prefix=$ac_optarg ;;
1168 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1169 | --program-pre | --program-pr | --program-p)
1170 ac_prev=program_prefix ;;
1171 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1172 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1173 program_prefix=$ac_optarg ;;
1175 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1176 | --program-suf | --program-su | --program-s)
1177 ac_prev=program_suffix ;;
1178 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1179 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1180 program_suffix=$ac_optarg ;;
1182 -program-transform-name | --program-transform-name \
1183 | --program-transform-nam | --program-transform-na \
1184 | --program-transform-n | --program-transform- \
1185 | --program-transform | --program-transfor \
1186 | --program-transfo | --program-transf \
1187 | --program-trans | --program-tran \
1188 | --progr-tra | --program-tr | --program-t)
1189 ac_prev=program_transform_name ;;
1190 -program-transform-name=* | --program-transform-name=* \
1191 | --program-transform-nam=* | --program-transform-na=* \
1192 | --program-transform-n=* | --program-transform-=* \
1193 | --program-transform=* | --program-transfor=* \
1194 | --program-transfo=* | --program-transf=* \
1195 | --program-trans=* | --program-tran=* \
1196 | --progr-tra=* | --program-tr=* | --program-t=*)
1197 program_transform_name=$ac_optarg ;;
1199 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1201 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1202 pdfdir=$ac_optarg ;;
1204 -psdir | --psdir | --psdi | --psd | --ps)
1206 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1209 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1210 | -silent | --silent | --silen | --sile | --sil)
1213 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1215 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1217 sbindir=$ac_optarg ;;
1219 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1220 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1221 | --sharedst | --shareds | --shared | --share | --shar \
1223 ac_prev=sharedstatedir ;;
1224 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1225 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1226 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1228 sharedstatedir=$ac_optarg ;;
1230 -site | --site | --sit)
1232 -site=* | --site=* | --sit=*)
1235 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1237 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1238 srcdir=$ac_optarg ;;
1240 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1241 | --syscon | --sysco | --sysc | --sys | --sy)
1242 ac_prev=sysconfdir ;;
1243 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1244 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1245 sysconfdir=$ac_optarg ;;
1247 -target | --target | --targe | --targ | --tar | --ta | --t)
1248 ac_prev=target_alias ;;
1249 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1250 target_alias=$ac_optarg ;;
1252 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1255 -version | --version | --versio | --versi | --vers | -V)
1256 ac_init_version=: ;;
1259 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1262 as_fn_error $? "invalid package name: $ac_useropt"
1263 ac_useropt_orig=$ac_useropt
1264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1270 ac_unrecognized_sep=', ';;
1272 eval with_$ac_useropt=\$ac_optarg ;;
1274 -without-* | --without-*)
1275 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1276 # Reject names that are not valid shell variable names.
1277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1278 as_fn_error $? "invalid package name: $ac_useropt"
1279 ac_useropt_orig=$ac_useropt
1280 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281 case $ac_user_opts in
1285 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1286 ac_unrecognized_sep=', ';;
1288 eval with_$ac_useropt=no ;;
1291 # Obsolete; use --with-x.
1294 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1295 | --x-incl | --x-inc | --x-in | --x-i)
1296 ac_prev=x_includes ;;
1297 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1298 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1299 x_includes=$ac_optarg ;;
1301 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1302 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1303 ac_prev=x_libraries ;;
1304 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1305 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1306 x_libraries=$ac_optarg ;;
1308 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1309 Try \`$0 --help' for more information"
1313 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1314 # Reject names that are not valid shell variable names.
1315 case $ac_envvar in #(
1316 '' | [0-9]* | *[!_$as_cr_alnum]* )
1317 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1319 eval $ac_envvar=\$ac_optarg
1320 export $ac_envvar ;;
1323 # FIXME: should be removed in autoconf 3.0.
1324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1327 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1333 if test -n "$ac_prev"; then
1334 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1335 as_fn_error $? "missing argument to $ac_option"
1338 if test -n "$ac_unrecognized_opts"; then
1339 case $enable_option_checking in
1341 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1342 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1346 # Check all directory arguments for consistency.
1347 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1348 datadir sysconfdir sharedstatedir localstatedir includedir \
1349 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1350 libdir localedir mandir
1352 eval ac_val=\$$ac_var
1353 # Remove trailing slashes.
1356 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1357 eval $ac_var=\$ac_val;;
1359 # Be sure to have absolute directory names.
1361 [\\/$]* | ?:[\\/]* ) continue;;
1362 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1364 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1367 # There might be people who depend on the old broken behavior: `$host'
1368 # used to hold the argument of --host etc.
1369 # FIXME: To remove some day.
1372 target=$target_alias
1374 # FIXME: To remove some day.
1375 if test "x$host_alias" != x; then
1376 if test "x$build_alias" = x; then
1377 cross_compiling=maybe
1378 elif test "x$build_alias" != "x$host_alias"; then
1384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1386 test "$silent" = yes && exec 6>/dev/null
1389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1390 ac_ls_di=`ls -di .` &&
1391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1392 as_fn_error $? "working directory cannot be determined"
1393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394 as_fn_error $? "pwd does not report name of working directory"
1397 # Find the source files, if location was not specified.
1398 if test -z "$srcdir"; then
1399 ac_srcdir_defaulted=yes
1400 # Try the directory containing this script, then the parent directory.
1401 ac_confdir=`$as_dirname -- "$as_myself" ||
1402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1403 X"$as_myself" : 'X\(//\)[^/]' \| \
1404 X"$as_myself" : 'X\(//\)$' \| \
1405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1406 $as_echo X"$as_myself" |
1407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1429 ac_srcdir_defaulted=no
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1433 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1449 for ac_var in $ac_precious_vars; do
1450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_${ac_var}_value=\$${ac_var}
1452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1457 # Report the --help message.
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1463 \`configure' configures Moonshot-ui 0.7.2 to adapt to many kinds of systems.
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1470 Defaults for the options are specified in brackets.
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking ...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1494 For better control, use the options below.
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --libdir=DIR object code libraries [EPREFIX/lib]
1504 --includedir=DIR C header files [PREFIX/include]
1505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 --infodir=DIR info documentation [DATAROOTDIR/info]
1509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 --mandir=DIR man documentation [DATAROOTDIR/man]
1511 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot-ui]
1512 --htmldir=DIR html documentation [DOCDIR]
1513 --dvidir=DIR dvi documentation [DOCDIR]
1514 --pdfdir=DIR pdf documentation [DOCDIR]
1515 --psdir=DIR ps documentation [DOCDIR]
1521 --program-prefix=PREFIX prepend PREFIX to installed program names
1522 --program-suffix=SUFFIX append SUFFIX to installed program names
1523 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1526 --build=BUILD configure for building on BUILD [guessed]
1527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1531 if test -n "$ac_init_help"; then
1532 case $ac_init_help in
1533 short | recursive ) echo "Configuration of Moonshot-ui 0.7.2:";;
1538 --disable-option-checking ignore unrecognized --enable/--with options
1539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1541 --enable-silent-rules less verbose build output (undo: "make V=1")
1542 --disable-silent-rules verbose build output (undo: "make V=0")
1543 --disable-maintainer-mode
1544 disable make rules and dependencies not useful (and
1545 sometimes confusing) to the casual installer
1546 --enable-shared[=PKGS] build shared libraries [default=yes]
1547 --enable-static[=PKGS] build static libraries [default=yes]
1548 --enable-fast-install[=PKGS]
1549 optimize for fast installation [default=yes]
1550 --enable-dependency-tracking
1551 do not reject slow dependency extractors
1552 --disable-dependency-tracking
1553 speeds up one-time build
1554 --disable-libtool-lock avoid locking (might break parallel builds)
1555 --disable-nls do not use Native Language Support
1556 --disable-rpath do not hardcode runtime library paths
1559 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1560 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1561 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1563 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1564 --with-sysroot=DIR Search for dependent libraries within DIR
1565 (or the compiler's sysroot if not specified).
1566 --with-gnu-ld assume the C compiler uses GNU ld default=no
1567 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1568 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1569 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1570 --without-libintl-prefix don't search for libintl in includedir and libdir
1572 Some influential environment variables:
1573 CC C compiler command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1576 nonstandard directory <lib dir>
1577 LIBS libraries to pass to the linker, e.g. -l<library>
1578 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1579 you have headers in a nonstandard directory <include dir>
1581 PKG_CONFIG path to pkg-config utility
1583 directories to add to pkg-config's search path
1585 path overriding pkg-config's built-in search path
1586 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1587 GTK_LIBS linker flags for GTK, overriding pkg-config
1588 MAC_CFLAGS C compiler flags for MAC, overriding pkg-config
1589 MAC_LIBS linker flags for MAC, overriding pkg-config
1591 C compiler flags for GDBUS, overriding pkg-config
1592 GDBUS_LIBS linker flags for GDBUS, overriding pkg-config
1593 GEE_CFLAGS C compiler flags for GEE, overriding pkg-config
1594 GEE_LIBS linker flags for GEE, overriding pkg-config
1596 C compiler flags for moonshot, overriding pkg-config
1598 linker flags for moonshot, overriding pkg-config
1600 C compiler flags for libmoonshot, overriding pkg-config
1602 linker flags for libmoonshot, overriding pkg-config
1604 Use these variables to override the choices made by `configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1607 Report bugs to <moonshot-community@jiscmail.ac.uk>.
1608 Moonshot-ui home page: <http://www.project-moonshot.org/>.
1613 if test "$ac_init_help" = "recursive"; then
1614 # If there are subdirs, report their specific --help.
1615 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1616 test -d "$ac_dir" ||
1617 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1622 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1625 # A ".." for each directory in $ac_dir_suffix.
1626 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1627 case $ac_top_builddir_sub in
1628 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1632 ac_abs_top_builddir=$ac_pwd
1633 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1634 # for backward compatibility:
1635 ac_top_builddir=$ac_top_build_prefix
1638 .) # We are building in place.
1640 ac_top_srcdir=$ac_top_builddir_sub
1641 ac_abs_top_srcdir=$ac_pwd ;;
1642 [\\/]* | ?:[\\/]* ) # Absolute name.
1643 ac_srcdir=$srcdir$ac_dir_suffix;
1644 ac_top_srcdir=$srcdir
1645 ac_abs_top_srcdir=$srcdir ;;
1647 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1648 ac_top_srcdir=$ac_top_build_prefix$srcdir
1649 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1651 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1653 cd "$ac_dir" || { ac_status=$?; continue; }
1654 # Check for guested configure.
1655 if test -f "$ac_srcdir/configure.gnu"; then
1657 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1658 elif test -f "$ac_srcdir/configure"; then
1660 $SHELL "$ac_srcdir/configure" --help=recursive
1662 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1664 cd "$ac_pwd" || { ac_status=$?; break; }
1668 test -n "$ac_init_help" && exit $ac_status
1669 if $ac_init_version; then
1671 Moonshot-ui configure 0.7.2
1672 generated by GNU Autoconf 2.69
1674 Copyright (C) 2012 Free Software Foundation, Inc.
1675 This configure script is free software; the Free Software Foundation
1676 gives unlimited permission to copy, distribute and modify it.
1681 ## ------------------------ ##
1682 ## Autoconf initialization. ##
1683 ## ------------------------ ##
1685 # ac_fn_c_try_compile LINENO
1686 # --------------------------
1687 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1688 ac_fn_c_try_compile ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 rm -f conftest.$ac_objext
1692 if { { ac_try="$ac_compile"
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_compile") 2>conftest.err
1701 if test -s conftest.err; then
1702 grep -v '^ *+' conftest.err >conftest.er1
1703 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1708 test -z "$ac_c_werror_flag" ||
1709 test ! -s conftest.err
1710 } && test -s conftest.$ac_objext; then :
1713 $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 as_fn_set_status $ac_retval
1721 } # ac_fn_c_try_compile
1723 # ac_fn_c_try_link LINENO
1724 # -----------------------
1725 # Try to link conftest.$ac_ext, and return whether this succeeded.
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 rm -f conftest.$ac_objext conftest$ac_exeext
1730 if { { ac_try="$ac_link"
1732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_link") 2>conftest.err
1739 if test -s conftest.err; then
1740 grep -v '^ *+' conftest.err >conftest.er1
1741 cat conftest.er1 >&5
1742 mv -f conftest.er1 conftest.err
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && {
1746 test -z "$ac_c_werror_flag" ||
1747 test ! -s conftest.err
1748 } && test -s conftest$ac_exeext && {
1749 test "$cross_compiling" = yes ||
1750 test -x conftest$ac_exeext
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.$ac_ext >&5
1759 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1760 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1761 # interfere with the next link command; also delete a directory that is
1762 # left behind by Apple's compiler. We do this before executing the actions.
1763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 as_fn_set_status $ac_retval
1767 } # ac_fn_c_try_link
1769 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1770 # -------------------------------------------------------
1771 # Tests whether HEADER exists and can be compiled using the include files in
1772 # INCLUDES, setting the cache variable VAR accordingly.
1773 ac_fn_c_check_header_compile ()
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 $as_echo_n "checking for $2... " >&6; }
1778 if eval \${$3+:} false; then :
1779 $as_echo_n "(cached) " >&6
1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h. */
1786 if ac_fn_c_try_compile "$LINENO"; then :
1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1795 $as_echo "$ac_res" >&6; }
1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798 } # ac_fn_c_check_header_compile
1800 # ac_fn_c_try_cpp LINENO
1801 # ----------------------
1802 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 if { { ac_try="$ac_cpp conftest.$ac_ext"
1808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809 *) ac_try_echo=$ac_try;;
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1815 if test -s conftest.err; then
1816 grep -v '^ *+' conftest.err >conftest.er1
1817 cat conftest.er1 >&5
1818 mv -f conftest.er1 conftest.err
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } > conftest.i && {
1822 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1823 test ! -s conftest.err
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 as_fn_set_status $ac_retval
1837 # ac_fn_c_try_run LINENO
1838 # ----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1840 # that executables *can* be run.
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 if { { ac_try="$ac_link"
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>&5
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1855 { { case "(($ac_try" in
1856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_try") 2>&5
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; }; }; then :
1867 $as_echo "$as_me: program exited with status $ac_status" >&5
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1871 ac_retval=$ac_status
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 as_fn_set_status $ac_retval
1879 # ac_fn_c_check_func LINENO FUNC VAR
1880 # ----------------------------------
1881 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1882 ac_fn_c_check_func ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if eval \${$3+:} false; then :
1888 $as_echo_n "(cached) " >&6
1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1892 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1894 #define $2 innocuous_$2
1896 /* System header to define __stub macros and hopefully few prototypes,
1897 which can conflict with char $2 (); below.
1898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1899 <limits.h> exists even on freestanding compilers. */
1902 # include <limits.h>
1904 # include <assert.h>
1909 /* Override any GCC internal prototype to avoid an error.
1910 Use char because int might match the return type of a GCC
1911 builtin and then its argument prototype would still apply. */
1916 /* The GNU C library defines this for functions which it implements
1917 to always fail with ENOSYS. Some functions are actually named
1918 something starting with __ and the normal name is an alias. */
1919 #if defined __stub_$2 || defined __stub___$2
1931 if ac_fn_c_try_link "$LINENO"; then :
1936 rm -f core conftest.err conftest.$ac_objext \
1937 conftest$ac_exeext conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 } # ac_fn_c_check_func
1945 cat >config.log <<_ACEOF
1946 This file contains any messages produced by compilers while
1947 running configure, to aid debugging if configure makes a mistake.
1949 It was created by Moonshot-ui $as_me 0.7.2, which was
1950 generated by GNU Autoconf 2.69. Invocation command line was
1962 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1963 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1964 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1965 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1966 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1968 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1969 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1971 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1972 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1973 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1974 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1975 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1976 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1977 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir=.
1986 $as_echo "PATH: $as_dir"
2002 # Keep a trace of the command line.
2003 # Strip out --no-create and --no-recursion so they do not pile up.
2004 # Strip out --silent because we don't want to record it for future runs.
2005 # Also quote any args containing shell meta-characters.
2006 # Make two passes to allow for proper duplicate-argument suppression.
2010 ac_must_keep_next=false
2016 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2018 | -silent | --silent | --silen | --sile | --sil)
2021 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2024 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2026 as_fn_append ac_configure_args1 " '$ac_arg'"
2027 if test $ac_must_keep_next = true; then
2028 ac_must_keep_next=false # Got value, back to normal.
2031 *=* | --config-cache | -C | -disable-* | --disable-* \
2032 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2033 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2034 | -with-* | --with-* | -without-* | --without-* | --x)
2035 case "$ac_configure_args0 " in
2036 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2039 -* ) ac_must_keep_next=true ;;
2042 as_fn_append ac_configure_args " '$ac_arg'"
2047 { ac_configure_args0=; unset ac_configure_args0;}
2048 { ac_configure_args1=; unset ac_configure_args1;}
2050 # When interrupted or exit'd, cleanup temporary files, and complete
2051 # config.log. We remove comments because anyway the quotes in there
2052 # would cause problems or look ugly.
2053 # WARNING: Use '\'' to represent an apostrophe within the trap.
2054 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2055 trap 'exit_status=$?
2056 # Save into config.log some information that might help in debugging.
2060 $as_echo "## ---------------- ##
2061 ## Cache variables. ##
2062 ## ---------------- ##"
2064 # The following way of writing the cache mishandles newlines in values,
2066 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2067 eval ac_val=\$$ac_var
2071 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2072 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2075 _ | IFS | as_nl) ;; #(
2076 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2077 *) { eval $ac_var=; unset $ac_var;} ;;
2082 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2083 *${as_nl}ac_space=\ *)
2085 "s/'\''/'\''\\\\'\'''\''/g;
2086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2089 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2096 $as_echo "## ----------------- ##
2097 ## Output variables. ##
2098 ## ----------------- ##"
2100 for ac_var in $ac_subst_vars
2102 eval ac_val=\$$ac_var
2104 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2106 $as_echo "$ac_var='\''$ac_val'\''"
2110 if test -n "$ac_subst_files"; then
2111 $as_echo "## ------------------- ##
2112 ## File substitutions. ##
2113 ## ------------------- ##"
2115 for ac_var in $ac_subst_files
2117 eval ac_val=\$$ac_var
2119 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2121 $as_echo "$ac_var='\''$ac_val'\''"
2126 if test -s confdefs.h; then
2127 $as_echo "## ----------- ##
2134 test "$ac_signal" != 0 &&
2135 $as_echo "$as_me: caught signal $ac_signal"
2136 $as_echo "$as_me: exit $exit_status"
2138 rm -f core *.core core.conftest.* &&
2139 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2142 for ac_signal in 1 2 13 15; do
2143 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2147 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2148 rm -f -r conftest* confdefs.h
2150 $as_echo "/* confdefs.h */" > confdefs.h
2152 # Predefined preprocessor variables.
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_NAME "$PACKAGE_NAME"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_STRING "$PACKAGE_STRING"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_URL "$PACKAGE_URL"
2179 # Let the site file select an alternate cache file if it wants to.
2180 # Prefer an explicitly selected file to automatically selected ones.
2183 if test -n "$CONFIG_SITE"; then
2184 # We do not want a PATH search for config.site.
2185 case $CONFIG_SITE in #((
2186 -*) ac_site_file1=./$CONFIG_SITE;;
2187 */*) ac_site_file1=$CONFIG_SITE;;
2188 *) ac_site_file1=./$CONFIG_SITE;;
2190 elif test "x$prefix" != xNONE; then
2191 ac_site_file1=$prefix/share/config.site
2192 ac_site_file2=$prefix/etc/config.site
2194 ac_site_file1=$ac_default_prefix/share/config.site
2195 ac_site_file2=$ac_default_prefix/etc/config.site
2197 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2199 test "x$ac_site_file" = xNONE && continue
2200 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2202 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2203 sed 's/^/| /' "$ac_site_file" >&5
2205 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207 as_fn_error $? "failed to load site script $ac_site_file
2208 See \`config.log' for more details" "$LINENO" 5; }
2212 if test -r "$cache_file"; then
2213 # Some versions of bash will fail to source /dev/null (special files
2214 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2215 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2217 $as_echo "$as_me: loading cache $cache_file" >&6;}
2219 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2220 *) . "./$cache_file";;
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2225 $as_echo "$as_me: creating cache $cache_file" >&6;}
2229 as_fn_append ac_func_list " geteuid"
2230 as_fn_append ac_func_list " getpwuid"
2231 gt_needs="$gt_needs "
2232 # Check that the precious variables saved in the cache have kept the same
2234 ac_cache_corrupted=false
2235 for ac_var in $ac_precious_vars; do
2236 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2237 eval ac_new_set=\$ac_env_${ac_var}_set
2238 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2239 eval ac_new_val=\$ac_env_${ac_var}_value
2240 case $ac_old_set,$ac_new_set in
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2243 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2244 ac_cache_corrupted=: ;;
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2247 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2248 ac_cache_corrupted=: ;;
2251 if test "x$ac_old_val" != "x$ac_new_val"; then
2252 # differences in whitespace do not lead to failure.
2253 ac_old_val_w=`echo x $ac_old_val`
2254 ac_new_val_w=`echo x $ac_new_val`
2255 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2257 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2258 ac_cache_corrupted=:
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2261 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2262 eval $ac_var=\$ac_old_val
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2265 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2267 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2270 # Pass precious variables to config.status.
2271 if test "$ac_new_set" = set; then
2273 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2274 *) ac_arg=$ac_var=$ac_new_val ;;
2276 case " $ac_configure_args " in
2277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2278 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2282 if $ac_cache_corrupted; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2286 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2287 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2289 ## -------------------- ##
2290 ## Main body of script. ##
2291 ## -------------------- ##
2294 ac_cpp='$CPP $CPPFLAGS'
2295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2301 # Remove this when we can depend on autoconf >= 2.64
2302 PACKAGE_URL=http://www.project-moonshot.org/
2305 $as_echo "#define PACKAGE_URL \"http://www.project-moonshot.org\"" >>confdefs.h
2307 ac_config_headers="$ac_config_headers config.h"
2312 for ac_dir in build-aux "$srcdir"/build-aux; do
2313 if test -f "$ac_dir/install-sh"; then
2315 ac_install_sh="$ac_aux_dir/install-sh -c"
2317 elif test -f "$ac_dir/install.sh"; then
2319 ac_install_sh="$ac_aux_dir/install.sh -c"
2321 elif test -f "$ac_dir/shtool"; then
2323 ac_install_sh="$ac_aux_dir/shtool install -c"
2327 if test -z "$ac_aux_dir"; then
2328 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2331 # These three variables are undocumented and unsupported,
2332 # and are intended to be withdrawn in a future Autoconf release.
2333 # They can cause serious problems if a builder's source tree is in a directory
2334 # whose full name contains unusual characters.
2335 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2336 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2337 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2341 am__api_version='1.14'
2343 # Find a good install program. We prefer a C program (faster),
2344 # so one script is as good as another. But avoid the broken or
2345 # incompatible versions:
2346 # SysV /etc/install, /usr/sbin/install
2347 # SunOS /usr/etc/install
2348 # IRIX /sbin/install
2350 # AmigaOS /C/install, which installs bootblocks on floppy discs
2351 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2352 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2353 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2354 # OS/2's system install, which has a completely different semantic
2355 # ./install, which can be erroneously created by make from ./install.sh.
2356 # Reject install programs that cannot install multiple files.
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2358 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2359 if test -z "$INSTALL"; then
2360 if ${ac_cv_path_install+:} false; then :
2361 $as_echo_n "(cached) " >&6
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 # Account for people who put trailing slashes in PATH elements.
2369 case $as_dir/ in #((
2370 ./ | .// | /[cC]/* | \
2371 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2372 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2375 # OSF1 and SCO ODT 3.0 have their own names for install.
2376 # Don't use installbsd from OSF since it installs stuff as root
2378 for ac_prog in ginstall scoinst install; do
2379 for ac_exec_ext in '' $ac_executable_extensions; do
2380 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2381 if test $ac_prog = install &&
2382 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2383 # AIX install. It has an incompatible calling convention.
2385 elif test $ac_prog = install &&
2386 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2387 # program-specific install script used by HP pwplus--don't use.
2390 rm -rf conftest.one conftest.two conftest.dir
2391 echo one > conftest.one
2392 echo two > conftest.two
2394 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2395 test -s conftest.one && test -s conftest.two &&
2396 test -s conftest.dir/conftest.one &&
2397 test -s conftest.dir/conftest.two
2399 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2412 rm -rf conftest.one conftest.two conftest.dir
2415 if test "${ac_cv_path_install+set}" = set; then
2416 INSTALL=$ac_cv_path_install
2418 # As a last resort, use the slow shell script. Don't cache a
2419 # value for INSTALL within a source directory, because that will
2420 # break other packages using the cache if that directory is
2421 # removed, or if the value is a relative name.
2422 INSTALL=$ac_install_sh
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2426 $as_echo "$INSTALL" >&6; }
2428 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2429 # It thinks the first close brace ends the variable substitution.
2430 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2432 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2434 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2437 $as_echo_n "checking whether build environment is sane... " >&6; }
2438 # Reject unsafe characters in $srcdir or the absolute working directory
2439 # name. Accept space and tab only in the latter.
2443 *[\\\"\#\$\&\'\`$am_lf]*)
2444 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2447 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2448 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2451 # Do 'set' in a subshell so we don't clobber the current shell's
2452 # arguments. Must try -L first in case configure is actually a
2453 # symlink; some systems play weird games with the mod time of symlinks
2454 # (eg FreeBSD returns the mod time of the symlink's containing
2458 for am_try in 1 2; do
2459 echo "timestamp, slept: $am_has_slept" > conftest.file
2460 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2461 if test "$*" = "X"; then
2463 set X `ls -t "$srcdir/configure" conftest.file`
2465 if test "$*" != "X $srcdir/configure conftest.file" \
2466 && test "$*" != "X conftest.file $srcdir/configure"; then
2468 # If neither matched, then we have a broken ls. This can happen
2469 # if, for instance, CONFIG_SHELL is bash and it inherits a
2470 # broken ls alias from the environment. This has actually
2471 # happened. Such a system could not be considered "sane".
2472 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2473 alias in your environment" "$LINENO" 5
2475 if test "$2" = conftest.file || test $am_try -eq 2; then
2482 test "$2" = conftest.file
2488 as_fn_error $? "newly created file is older than distributed files!
2489 Check your system clock" "$LINENO" 5
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2492 $as_echo "yes" >&6; }
2493 # If we didn't sleep, we still need to ensure time stamps of config.status and
2494 # generated files are strictly newer.
2496 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2503 test "$program_prefix" != NONE &&
2504 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2505 # Use a double $ so make ignores it.
2506 test "$program_suffix" != NONE &&
2507 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2508 # Double any \ or $.
2509 # By default was `s,x,x', remove it if useless.
2510 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2511 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2513 # expand $ac_aux_dir to an absolute path
2514 am_aux_dir=`cd $ac_aux_dir && pwd`
2516 if test x"${MISSING+set}" != xset; then
2519 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2521 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2524 # Use eval to expand $SHELL
2525 if eval "$MISSING --is-lightweight"; then
2526 am_missing_run="$MISSING "
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2530 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2533 if test x"${install_sh}" != xset; then
2536 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2538 install_sh="\${SHELL} $am_aux_dir/install-sh"
2542 # Installed binaries are usually stripped using 'strip' when the user
2543 # run "make install-strip". However 'strip' might not be the right
2544 # tool to use in cross-compilation environments, therefore Automake
2545 # will honor the 'STRIP' environment variable to overrule this program.
2546 if test "$cross_compiling" != no; then
2547 if test -n "$ac_tool_prefix"; then
2548 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2549 set dummy ${ac_tool_prefix}strip; ac_word=$2
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551 $as_echo_n "checking for $ac_word... " >&6; }
2552 if ${ac_cv_prog_STRIP+:} false; then :
2553 $as_echo_n "(cached) " >&6
2555 if test -n "$STRIP"; then
2556 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir=.
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2565 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 STRIP=$ac_cv_prog_STRIP
2576 if test -n "$STRIP"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2578 $as_echo "$STRIP" >&6; }
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 $as_echo "no" >&6; }
2586 if test -z "$ac_cv_prog_STRIP"; then
2588 # Extract the first word of "strip", so it can be a program name with args.
2589 set dummy strip; ac_word=$2
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2591 $as_echo_n "checking for $ac_word... " >&6; }
2592 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2593 $as_echo_n "(cached) " >&6
2595 if test -n "$ac_ct_STRIP"; then
2596 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir=.
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2605 ac_cv_prog_ac_ct_STRIP="strip"
2606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2615 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2616 if test -n "$ac_ct_STRIP"; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2618 $as_echo "$ac_ct_STRIP" >&6; }
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621 $as_echo "no" >&6; }
2624 if test "x$ac_ct_STRIP" = x; then
2627 case $cross_compiling:$ac_tool_warned in
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2631 ac_tool_warned=yes ;;
2636 STRIP="$ac_cv_prog_STRIP"
2640 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2643 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2644 if test -z "$MKDIR_P"; then
2645 if ${ac_cv_path_mkdir+:} false; then :
2646 $as_echo_n "(cached) " >&6
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2652 test -z "$as_dir" && as_dir=.
2653 for ac_prog in mkdir gmkdir; do
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2656 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2657 'mkdir (GNU coreutils) '* | \
2658 'mkdir (coreutils) '* | \
2659 'mkdir (fileutils) '4.1*)
2660 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2670 test -d ./--version && rmdir ./--version
2671 if test "${ac_cv_path_mkdir+set}" = set; then
2672 MKDIR_P="$ac_cv_path_mkdir -p"
2674 # As a last resort, use the slow shell script. Don't cache a
2675 # value for MKDIR_P within a source directory, because that will
2676 # break other packages using the cache if that directory is
2677 # removed, or if the value is a relative name.
2678 MKDIR_P="$ac_install_sh -d"
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2682 $as_echo "$MKDIR_P" >&6; }
2684 for ac_prog in gawk mawk nawk awk
2686 # Extract the first word of "$ac_prog", so it can be a program name with args.
2687 set dummy $ac_prog; ac_word=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if ${ac_cv_prog_AWK+:} false; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$AWK"; then
2694 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir=.
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2703 ac_cv_prog_AWK="$ac_prog"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 if test -n "$AWK"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2716 $as_echo "$AWK" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2723 test -n "$AWK" && break
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2727 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2729 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2730 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2731 $as_echo_n "(cached) " >&6
2733 cat >conftest.make <<\_ACEOF
2736 @echo '@@@%%%=$(MAKE)=@@@%%%'
2738 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2739 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2741 eval ac_cv_prog_make_${ac_make}_set=yes;;
2743 eval ac_cv_prog_make_${ac_make}_set=no;;
2747 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2749 $as_echo "yes" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2754 SET_MAKE="MAKE=${MAKE-make}"
2757 rm -rf .tst 2>/dev/null
2758 mkdir .tst 2>/dev/null
2759 if test -d .tst; then
2764 rmdir .tst 2>/dev/null
2766 # Check whether --enable-silent-rules was given.
2767 if test "${enable_silent_rules+set}" = set; then :
2768 enableval=$enable_silent_rules;
2771 case $enable_silent_rules in # (((
2772 yes) AM_DEFAULT_VERBOSITY=0;;
2773 no) AM_DEFAULT_VERBOSITY=1;;
2774 *) AM_DEFAULT_VERBOSITY=1;;
2776 am_make=${MAKE-make}
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2778 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2779 if ${am_cv_make_support_nested_variables+:} false; then :
2780 $as_echo_n "(cached) " >&6
2782 if $as_echo 'TRUE=$(BAR$(V))
2788 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2789 am_cv_make_support_nested_variables=yes
2791 am_cv_make_support_nested_variables=no
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2795 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2796 if test $am_cv_make_support_nested_variables = yes; then
2798 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2800 AM_V=$AM_DEFAULT_VERBOSITY
2801 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2805 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2806 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2807 # is not polluted with repeated "-I."
2808 am__isrc=' -I$(srcdir)'
2809 # test to see if srcdir already configured
2810 if test -f $srcdir/config.status; then
2811 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2815 # test whether we have cygpath
2816 if test -z "$CYGPATH_W"; then
2817 if (cygpath --version) >/dev/null 2>/dev/null; then
2818 CYGPATH_W='cygpath -w'
2825 # Define the identity of the package.
2826 PACKAGE='moonshot-ui'
2830 cat >>confdefs.h <<_ACEOF
2831 #define PACKAGE "$PACKAGE"
2835 cat >>confdefs.h <<_ACEOF
2836 #define VERSION "$VERSION"
2839 # Some tools Automake needs.
2841 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2844 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2847 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2850 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2853 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2855 # For better backward compatibility. To be removed once Automake 1.9.x
2856 # dies out for good. For more background, see:
2857 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2858 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2859 mkdir_p='$(MKDIR_P)'
2861 # We need awk for the "check" target. The system "awk" is bad on
2863 # Always define AMTAR for backward compatibility. Yes, it's still used
2864 # in the wild :-( We should find a proper way to deprecate it ...
2868 # We'll loop over all known methods to create a tar archive until one works.
2869 _am_tools='gnutar pax cpio none'
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2874 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2876 # Go ahead even if we have the value already cached. We do so because we
2877 # need to set the values for the 'am__tar' and 'am__untar' variables.
2878 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2880 for _am_tool in $_am_tools; do
2883 for _am_tar in tar gnutar gtar; do
2884 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2885 ($_am_tar --version) >&5 2>&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } && break
2890 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2891 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2892 am__untar="$_am_tar -xf -"
2895 # Must skip GNU tar: if it does not support --format= it doesn't create
2896 # ustar tarball either.
2897 (tar --version) >/dev/null 2>&1 && continue
2898 am__tar='tar chf - "$$tardir"'
2899 am__tar_='tar chf - "$tardir"'
2900 am__untar='tar xf -'
2903 am__tar='pax -L -x pax -w "$$tardir"'
2904 am__tar_='pax -L -x pax -w "$tardir"'
2908 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2909 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2910 am__untar='cpio -i -H pax -d'
2919 # If the value was cached, stop now. We just wanted to have am__tar
2920 # and am__untar set.
2921 test -n "${am_cv_prog_tar_pax}" && break
2923 # tar/untar a dummy directory, and stop if the command works.
2926 echo GrepMe > conftest.dir/file
2927 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2928 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); }
2933 if test -s conftest.tar; then
2934 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2935 ($am__untar <conftest.tar) >&5 2>&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }
2939 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2940 (cat conftest.dir/file) >&5 2>&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }
2944 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2949 if ${am_cv_prog_tar_pax+:} false; then :
2950 $as_echo_n "(cached) " >&6
2952 am_cv_prog_tar_pax=$_am_tool
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2956 $as_echo "$am_cv_prog_tar_pax" >&6; }
2963 # POSIX will say in a future version that running "rm -f" with no argument
2964 # is OK; and we want to be able to make that assumption in our Makefile
2965 # recipes. So use an aggressive probe to check that the usage we want is
2966 # actually supported "in the wild" to an acceptable degree.
2967 # See automake bug#10828.
2968 # To make any issue more visible, cause the running configure to be aborted
2969 # by default if the 'rm' program in use doesn't match our expectations; the
2970 # user can still override this though.
2971 if rm -f && rm -fr && rm -rf; then : OK; else
2975 Your 'rm' program seems unable to run without file operands specified
2976 on the command line, even when the '-f' option is present. This is contrary
2977 to the behaviour of most rm programs out there, and not conforming with
2978 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2980 Please tell bug-automake@gnu.org about your system, including the value
2981 of your $PATH and any error possibly output before this message. This
2982 can help us improve future automake versions.
2985 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2986 echo 'Configuration will proceed anyway, since you have set the' >&2
2987 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2991 Aborting the configuration process, to ensure you take notice of the issue.
2993 You can download and install GNU coreutils to get an 'rm' implementation
2994 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2996 If you want to complete the configuration process using your problematic
2997 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2998 to "yes", and re-run configure.
3001 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3005 # Check whether --enable-silent-rules was given.
3006 if test "${enable_silent_rules+set}" = set; then :
3007 enableval=$enable_silent_rules;
3010 case $enable_silent_rules in # (((
3011 yes) AM_DEFAULT_VERBOSITY=0;;
3012 no) AM_DEFAULT_VERBOSITY=1;;
3013 *) AM_DEFAULT_VERBOSITY=0;;
3015 am_make=${MAKE-make}
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3017 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3018 if ${am_cv_make_support_nested_variables+:} false; then :
3019 $as_echo_n "(cached) " >&6
3021 if $as_echo 'TRUE=$(BAR$(V))
3027 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3028 am_cv_make_support_nested_variables=yes
3030 am_cv_make_support_nested_variables=no
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3034 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3035 if test $am_cv_make_support_nested_variables = yes; then
3037 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3039 AM_V=$AM_DEFAULT_VERBOSITY
3040 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3046 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3047 # Check whether --enable-maintainer-mode was given.
3048 if test "${enable_maintainer_mode+set}" = set; then :
3049 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3051 USE_MAINTAINER_MODE=yes
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3055 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3056 if test $USE_MAINTAINER_MODE = yes; then
3057 MAINTAINER_MODE_TRUE=
3058 MAINTAINER_MODE_FALSE='#'
3060 MAINTAINER_MODE_TRUE='#'
3061 MAINTAINER_MODE_FALSE=
3064 MAINT=$MAINTAINER_MODE_TRUE
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3072 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3077 macro_version='2.4.2'
3078 macro_revision='1.3337'
3092 ltmain="$ac_aux_dir/ltmain.sh"
3094 # Make sure we can run config.sub.
3095 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3096 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3099 $as_echo_n "checking build system type... " >&6; }
3100 if ${ac_cv_build+:} false; then :
3101 $as_echo_n "(cached) " >&6
3103 ac_build_alias=$build_alias
3104 test "x$ac_build_alias" = x &&
3105 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3106 test "x$ac_build_alias" = x &&
3107 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3108 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3109 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3113 $as_echo "$ac_cv_build" >&6; }
3114 case $ac_cv_build in
3116 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3119 ac_save_IFS=$IFS; IFS='-'
3125 # Remember, the first character of IFS is used to create $*,
3126 # except with old shells:
3129 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3133 $as_echo_n "checking host system type... " >&6; }
3134 if ${ac_cv_host+:} false; then :
3135 $as_echo_n "(cached) " >&6
3137 if test "x$host_alias" = x; then
3138 ac_cv_host=$ac_cv_build
3140 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3141 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3146 $as_echo "$ac_cv_host" >&6; }
3149 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3152 ac_save_IFS=$IFS; IFS='-'
3158 # Remember, the first character of IFS is used to create $*,
3159 # except with old shells:
3162 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3165 # Backslashify metacharacters that are still active within
3166 # double-quoted strings.
3167 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3169 # Same as above, but do not quote variable references.
3170 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3172 # Sed substitution to delay expansion of an escaped shell variable in a
3173 # double_quote_subst'ed string.
3174 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3176 # Sed substitution to delay expansion of an escaped single quote.
3177 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3179 # Sed substitution to avoid accidental globbing in evaled expressions
3180 no_glob_subst='s/\*/\\\*/g'
3182 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3183 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3184 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3187 $as_echo_n "checking how to print strings... " >&6; }
3188 # Test print first, because it will be a builtin if present.
3189 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3190 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3192 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3195 # Use this function as a fallback that always works.
3196 func_fallback_echo ()
3198 eval 'cat <<_LTECHO_EOF
3202 ECHO='func_fallback_echo'
3205 # func_echo_all arg...
3206 # Invoke $ECHO with all args, space-separated.
3213 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3214 $as_echo "printf" >&6; } ;;
3215 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3216 $as_echo "print -r" >&6; } ;;
3217 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3218 $as_echo "cat" >&6; } ;;
3234 DEPDIR="${am__leading_dot}deps"
3236 ac_config_commands="$ac_config_commands depfiles"
3239 am_make=${MAKE-make}
3240 cat > confinc << 'END'
3242 @echo this is the am__doit target
3245 # If we don't find an include directive, just comment out the code.
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3247 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3251 # First try GNU make style include.
3252 echo "include confinc" > confmf
3253 # Ignore all kinds of additional output from 'make'.
3254 case `$am_make -s -f confmf 2> /dev/null` in #(
3255 *the\ am__doit\ target*)
3261 # Now try BSD make style include.
3262 if test "$am__include" = "#"; then
3263 echo '.include "confinc"' > confmf
3264 case `$am_make -s -f confmf 2> /dev/null` in #(
3265 *the\ am__doit\ target*)
3266 am__include=.include
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3275 $as_echo "$_am_result" >&6; }
3276 rm -f confinc confmf
3278 # Check whether --enable-dependency-tracking was given.
3279 if test "${enable_dependency_tracking+set}" = set; then :
3280 enableval=$enable_dependency_tracking;
3283 if test "x$enable_dependency_tracking" != xno; then
3284 am_depcomp="$ac_aux_dir/depcomp"
3288 if test "x$enable_dependency_tracking" != xno; then
3298 ac_cpp='$CPP $CPPFLAGS'
3299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 if test -n "$ac_tool_prefix"; then
3303 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3304 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306 $as_echo_n "checking for $ac_word... " >&6; }
3307 if ${ac_cv_prog_CC+:} false; then :
3308 $as_echo_n "(cached) " >&6
3310 if test -n "$CC"; then
3311 ac_cv_prog_CC="$CC" # Let the user override the test.
3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir=.
3318 for ac_exec_ext in '' $ac_executable_extensions; do
3319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3320 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 if test -n "$CC"; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3333 $as_echo "$CC" >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3341 if test -z "$ac_cv_prog_CC"; then
3343 # Extract the first word of "gcc", so it can be a program name with args.
3344 set dummy gcc; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3348 $as_echo_n "(cached) " >&6
3350 if test -n "$ac_ct_CC"; then
3351 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3360 ac_cv_prog_ac_ct_CC="gcc"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3371 if test -n "$ac_ct_CC"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3373 $as_echo "$ac_ct_CC" >&6; }
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3379 if test "x$ac_ct_CC" = x; then
3382 case $cross_compiling:$ac_tool_warned in
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3386 ac_tool_warned=yes ;;
3394 if test -z "$CC"; then
3395 if test -n "$ac_tool_prefix"; then
3396 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3397 set dummy ${ac_tool_prefix}cc; ac_word=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if ${ac_cv_prog_CC+:} false; then :
3401 $as_echo_n "(cached) " >&6
3403 if test -n "$CC"; then
3404 ac_cv_prog_CC="$CC" # Let the user override the test.
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir=.
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3413 ac_cv_prog_CC="${ac_tool_prefix}cc"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3424 if test -n "$CC"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3426 $as_echo "$CC" >&6; }
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3435 if test -z "$CC"; then
3436 # Extract the first word of "cc", so it can be a program name with args.
3437 set dummy cc; ac_word=$2
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439 $as_echo_n "checking for $ac_word... " >&6; }
3440 if ${ac_cv_prog_CC+:} false; then :
3441 $as_echo_n "(cached) " >&6
3443 if test -n "$CC"; then
3444 ac_cv_prog_CC="$CC" # Let the user override the test.
3447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451 test -z "$as_dir" && as_dir=.
3452 for ac_exec_ext in '' $ac_executable_extensions; do
3453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3455 ac_prog_rejected=yes
3459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 if test $ac_prog_rejected = yes; then
3467 # We found a bogon in the path, so make sure we never use it.
3468 set dummy $ac_cv_prog_CC
3470 if test $# != 0; then
3471 # We chose a different compiler from the bogus one.
3472 # However, it has the same basename, so the bogon will be chosen
3473 # first if we set CC to just the basename; use the full file name.
3475 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3481 if test -n "$CC"; then
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3483 $as_echo "$CC" >&6; }
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3486 $as_echo "no" >&6; }
3491 if test -z "$CC"; then
3492 if test -n "$ac_tool_prefix"; then
3493 for ac_prog in cl.exe
3495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_prog_CC+:} false; then :
3500 $as_echo_n "(cached) " >&6
3502 if test -n "$CC"; then
3503 ac_cv_prog_CC="$CC" # Let the user override the test.
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 if test -n "$CC"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3525 $as_echo "$CC" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3532 test -n "$CC" && break
3535 if test -z "$CC"; then
3537 for ac_prog in cl.exe
3539 # Extract the first word of "$ac_prog", so it can be a program name with args.
3540 set dummy $ac_prog; ac_word=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3544 $as_echo_n "(cached) " >&6
3546 if test -n "$ac_ct_CC"; then
3547 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir=.
3554 for ac_exec_ext in '' $ac_executable_extensions; do
3555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3556 ac_cv_prog_ac_ct_CC="$ac_prog"
3557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3567 if test -n "$ac_ct_CC"; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3569 $as_echo "$ac_ct_CC" >&6; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3576 test -n "$ac_ct_CC" && break
3579 if test "x$ac_ct_CC" = x; then
3582 case $cross_compiling:$ac_tool_warned in
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3586 ac_tool_warned=yes ;;
3595 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3597 as_fn_error $? "no acceptable C compiler found in \$PATH
3598 See \`config.log' for more details" "$LINENO" 5; }
3600 # Provide some information about the compiler.
3601 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3604 for ac_option in --version -v -V -qversion; do
3605 { { ac_try="$ac_compiler $ac_option >&5"
3607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608 *) ac_try_echo=$ac_try;;
3610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3611 $as_echo "$ac_try_echo"; } >&5
3612 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3614 if test -s conftest.err; then
3616 ... rest of stderr output deleted ...
3617 10q' conftest.err >conftest.er1
3618 cat conftest.er1 >&5
3620 rm -f conftest.er1 conftest.err
3621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3622 test $ac_status = 0; }
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3636 ac_clean_files_save=$ac_clean_files
3637 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3638 # Try to create an executable without -o first, disregard a.out.
3639 # It will help us diagnose broken compilers, and finding out an intuition
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3642 $as_echo_n "checking whether the C compiler works... " >&6; }
3643 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3645 # The possible output files:
3646 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3649 for ac_file in $ac_files
3652 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3653 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3658 if { { ac_try="$ac_link_default"
3660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661 *) ac_try_echo=$ac_try;;
3663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3664 $as_echo "$ac_try_echo"; } >&5
3665 (eval "$ac_link_default") 2>&5
3667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668 test $ac_status = 0; }; then :
3669 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3670 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3671 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3672 # so that the user can short-circuit this test for compilers unknown to
3674 for ac_file in $ac_files ''
3676 test -f "$ac_file" || continue
3678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3681 # We found the default executable, but exeext='' is most
3685 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3687 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3689 # We set ac_cv_exeext here because the later test for it is not
3690 # safe: cross compilers may not add the suffix if given an `-o'
3691 # argument, so we may need to know it at that point already.
3692 # Even if this section looks crufty: it has the advantage of
3699 test "$ac_cv_exeext" = no && ac_cv_exeext=
3704 if test -z "$ac_file"; then :
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706 $as_echo "no" >&6; }
3707 $as_echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.$ac_ext >&5
3710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 as_fn_error 77 "C compiler cannot create executables
3713 See \`config.log' for more details" "$LINENO" 5; }
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3716 $as_echo "yes" >&6; }
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3719 $as_echo_n "checking for C compiler default output file name... " >&6; }
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3721 $as_echo "$ac_file" >&6; }
3722 ac_exeext=$ac_cv_exeext
3724 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3725 ac_clean_files=$ac_clean_files_save
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3727 $as_echo_n "checking for suffix of executables... " >&6; }
3728 if { { ac_try="$ac_link"
3730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3731 *) ac_try_echo=$ac_try;;
3733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3734 $as_echo "$ac_try_echo"; } >&5
3735 (eval "$ac_link") 2>&5
3737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3738 test $ac_status = 0; }; then :
3739 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3740 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3741 # work properly (i.e., refer to `conftest.exe'), while it won't with
3743 for ac_file in conftest.exe conftest conftest.*; do
3744 test -f "$ac_file" || continue
3746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3747 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3755 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3756 See \`config.log' for more details" "$LINENO" 5; }
3758 rm -f conftest conftest$ac_cv_exeext
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3760 $as_echo "$ac_cv_exeext" >&6; }
3762 rm -f conftest.$ac_ext
3763 EXEEXT=$ac_cv_exeext
3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h. */
3771 FILE *f = fopen ("conftest.out", "w");
3772 return ferror (f) || fclose (f) != 0;
3778 ac_clean_files="$ac_clean_files conftest.out"
3779 # Check that the compiler produces executables we can run. If not, either
3780 # the compiler is broken, or we cross compile.
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3782 $as_echo_n "checking whether we are cross compiling... " >&6; }
3783 if test "$cross_compiling" != yes; then
3784 { { ac_try="$ac_link"
3786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3787 *) ac_try_echo=$ac_try;;
3789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3790 $as_echo "$ac_try_echo"; } >&5
3791 (eval "$ac_link") 2>&5
3793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3794 test $ac_status = 0; }
3795 if { ac_try='./conftest$ac_cv_exeext'
3796 { { case "(($ac_try" in
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3801 $as_echo "$ac_try_echo"; } >&5
3802 (eval "$ac_try") 2>&5
3804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3805 test $ac_status = 0; }; }; then
3808 if test "$cross_compiling" = maybe; then
3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3813 as_fn_error $? "cannot run C compiled programs.
3814 If you meant to cross compile, use \`--host'.
3815 See \`config.log' for more details" "$LINENO" 5; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3820 $as_echo "$cross_compiling" >&6; }
3822 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3823 ac_clean_files=$ac_clean_files_save
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3825 $as_echo_n "checking for suffix of object files... " >&6; }
3826 if ${ac_cv_objext+:} false; then :
3827 $as_echo_n "(cached) " >&6
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3840 rm -f conftest.o conftest.obj
3841 if { { ac_try="$ac_compile"
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_compile") 2>&5
3850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851 test $ac_status = 0; }; then :
3852 for ac_file in conftest.o conftest.obj conftest.*; do
3853 test -f "$ac_file" || continue;
3855 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3856 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3861 $as_echo "$as_me: failed program was:" >&5
3862 sed 's/^/| /' conftest.$ac_ext >&5
3864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3866 as_fn_error $? "cannot compute suffix of object files: cannot compile
3867 See \`config.log' for more details" "$LINENO" 5; }
3869 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3872 $as_echo "$ac_cv_objext" >&6; }
3873 OBJEXT=$ac_cv_objext
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3876 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3877 if ${ac_cv_c_compiler_gnu+:} false; then :
3878 $as_echo_n "(cached) " >&6
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3894 if ac_fn_c_try_compile "$LINENO"; then :
3899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3904 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3905 if test $ac_compiler_gnu = yes; then
3910 ac_test_CFLAGS=${CFLAGS+set}
3911 ac_save_CFLAGS=$CFLAGS
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3913 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3914 if ${ac_cv_prog_cc_g+:} false; then :
3915 $as_echo_n "(cached) " >&6
3917 ac_save_c_werror_flag=$ac_c_werror_flag
3918 ac_c_werror_flag=yes
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3932 if ac_fn_c_try_compile "$LINENO"; then :
3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3947 if ac_fn_c_try_compile "$LINENO"; then :
3950 ac_c_werror_flag=$ac_save_c_werror_flag
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3963 if ac_fn_c_try_compile "$LINENO"; then :
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 ac_c_werror_flag=$ac_save_c_werror_flag
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3974 $as_echo "$ac_cv_prog_cc_g" >&6; }
3975 if test "$ac_test_CFLAGS" = set; then
3976 CFLAGS=$ac_save_CFLAGS
3977 elif test $ac_cv_prog_cc_g = yes; then
3978 if test "$GCC" = yes; then
3984 if test "$GCC" = yes; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3991 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3992 if ${ac_cv_prog_cc_c89+:} false; then :
3993 $as_echo_n "(cached) " >&6
3995 ac_cv_prog_cc_c89=no
3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4002 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4003 struct buf { int x; };
4004 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4005 static char *e (p, i)
4011 static char *f (char * (*g) (char **, int), char **p, ...)
4016 s = g (p, va_arg (v,int));
4021 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4022 function prototypes and stuff, but not '\xHH' hex character constants.
4023 These don't provoke an error unfortunately, instead are silently treated
4024 as 'x'. The following induces an error, until -std is added to get
4025 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4026 array size at least. It's necessary to write '\x00'==0 to get something
4027 that's true only with -std. */
4028 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4030 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4031 inside strings and character constants. */
4033 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4035 int test (int i, double x);
4036 struct s1 {int (*f) (int a);};
4037 struct s2 {int (*f) (double a);};
4038 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4044 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4049 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4050 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4052 CC="$ac_save_CC $ac_arg"
4053 if ac_fn_c_try_compile "$LINENO"; then :
4054 ac_cv_prog_cc_c89=$ac_arg
4056 rm -f core conftest.err conftest.$ac_objext
4057 test "x$ac_cv_prog_cc_c89" != "xno" && break
4059 rm -f conftest.$ac_ext
4064 case "x$ac_cv_prog_cc_c89" in
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4067 $as_echo "none needed" >&6; } ;;
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4070 $as_echo "unsupported" >&6; } ;;
4072 CC="$CC $ac_cv_prog_cc_c89"
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4074 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4076 if test "x$ac_cv_prog_cc_c89" != xno; then :
4081 ac_cpp='$CPP $CPPFLAGS'
4082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087 ac_cpp='$CPP $CPPFLAGS'
4088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4092 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4093 if ${am_cv_prog_cc_c_o+:} false; then :
4094 $as_echo_n "(cached) " >&6
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4107 # Make sure it works both with $CC and with simple cc.
4108 # Following AC_PROG_CC_C_O, we do the test twice because some
4109 # compilers refuse to overwrite an existing .o file with -o,
4110 # though they will create one.
4111 am_cv_prog_cc_c_o=yes
4113 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4114 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } \
4118 && test -f conftest2.$ac_objext; then
4121 am_cv_prog_cc_c_o=no
4125 rm -f core conftest*
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4129 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4130 if test "$am_cv_prog_cc_c_o" != yes; then
4131 # Losing compiler, so override with the script.
4132 # FIXME: It is wrong to rewrite CC.
4133 # But if we don't then we get into trouble of one sort or another.
4134 # A longer-term fix would be to have automake use am__CC in this case,
4135 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4136 CC="$am_aux_dir/compile $CC"
4139 ac_cpp='$CPP $CPPFLAGS'
4140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4145 depcc="$CC" am_compiler_list=
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4148 $as_echo_n "checking dependency style of $depcc... " >&6; }
4149 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4150 $as_echo_n "(cached) " >&6
4152 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4153 # We make a subdir and do the tests there. Otherwise we can end up
4154 # making bogus files that we don't know about and never remove. For
4155 # instance it was reported that on HP-UX the gcc test will end up
4156 # making a dummy file named 'D' -- because '-MD' means "put the output
4160 # Copy depcomp to subdir because otherwise we won't find it if we're
4161 # using a relative directory.
4162 cp "$am_depcomp" conftest.dir
4164 # We will build objects and dependencies in a subdirectory because
4165 # it helps to detect inapplicable dependency modes. For instance
4166 # both Tru64's cc and ICC support -MD to output dependencies as a
4167 # side effect of compilation, but ICC will put the dependencies in
4168 # the current directory while Tru64 will put them in the object
4172 am_cv_CC_dependencies_compiler_type=none
4173 if test "$am_compiler_list" = ""; then
4174 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4177 case " $depcc " in #(
4178 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4181 for depmode in $am_compiler_list; do
4182 # Setup a source with many dependencies, because some compilers
4183 # like to wrap large dependency lists on column 80 (with \), and
4184 # we should not choose a depcomp mode which is confused by this.
4186 # We need to recreate these files for each test, as the compiler may
4187 # overwrite some of them when testing with obscure command lines.
4188 # This happens at least with the AIX C compiler.
4190 for i in 1 2 3 4 5 6; do
4191 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4192 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4193 # Solaris 10 /bin/sh.
4194 echo '/* dummy */' > sub/conftst$i.h
4196 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4198 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4199 # mode. It turns out that the SunPro C++ compiler does not properly
4200 # handle '-M -o', and we need to detect this. Also, some Intel
4201 # versions had trouble with output in subdirs.
4202 am__obj=sub/conftest.${OBJEXT-o}
4203 am__minus_obj="-o $am__obj"
4206 # This depmode causes a compiler race in universal mode.
4207 test "$am__universal" = false || continue
4210 # After this tag, mechanisms are not by side-effect, so they'll
4211 # only be used when explicitly requested.
4212 if test "x$enable_dependency_tracking" = xyes; then
4218 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4219 # This compiler won't grok '-c -o', but also, the minuso test has
4220 # not run yet. These depmodes are late enough in the game, and
4221 # so weak that their functioning should not be impacted.
4222 am__obj=conftest.${OBJEXT-o}
4227 if depmode=$depmode \
4228 source=sub/conftest.c object=$am__obj \
4229 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4230 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4231 >/dev/null 2>conftest.err &&
4232 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4233 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4234 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4235 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4236 # icc doesn't choke on unknown options, it will just issue warnings
4237 # or remarks (even with -Werror). So we grep stderr for any message
4238 # that says an option was ignored or not supported.
4239 # When given -MP, icc 7.0 and 7.1 complain thusly:
4240 # icc: Command line warning: ignoring option '-M'; no argument required
4241 # The diagnosis changed in icc 8.0:
4242 # icc: Command line remark: option '-MP' not supported
4243 if (grep 'ignoring option' conftest.err ||
4244 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4245 am_cv_CC_dependencies_compiler_type=$depmode
4254 am_cv_CC_dependencies_compiler_type=none
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4259 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4260 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4263 test "x$enable_dependency_tracking" != xno \
4264 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4266 am__fastdepCC_FALSE='#'
4268 am__fastdepCC_TRUE='#'
4269 am__fastdepCC_FALSE=
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4274 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4275 if ${ac_cv_path_SED+:} false; then :
4276 $as_echo_n "(cached) " >&6
4278 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4279 for ac_i in 1 2 3 4 5 6 7; do
4280 ac_script="$ac_script$as_nl$ac_script"
4282 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4283 { ac_script=; unset ac_script;}
4284 if test -z "$SED"; then
4285 ac_path_SED_found=false
4286 # Loop through the user's path and test for each of PROGNAME-LIST
4287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4291 test -z "$as_dir" && as_dir=.
4292 for ac_prog in sed gsed; do
4293 for ac_exec_ext in '' $ac_executable_extensions; do
4294 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4295 as_fn_executable_p "$ac_path_SED" || continue
4296 # Check for GNU ac_path_SED and select it if it is found.
4297 # Check for GNU $ac_path_SED
4298 case `"$ac_path_SED" --version 2>&1` in
4300 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4303 $as_echo_n 0123456789 >"conftest.in"
4306 cat "conftest.in" "conftest.in" >"conftest.tmp"
4307 mv "conftest.tmp" "conftest.in"
4308 cp "conftest.in" "conftest.nl"
4309 $as_echo '' >> "conftest.nl"
4310 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4312 as_fn_arith $ac_count + 1 && ac_count=$as_val
4313 if test $ac_count -gt ${ac_path_SED_max-0}; then
4314 # Best one so far, save it but keep looking for a better one
4315 ac_cv_path_SED="$ac_path_SED"
4316 ac_path_SED_max=$ac_count
4318 # 10*(2^10) chars as input seems more than enough
4319 test $ac_count -gt 10 && break
4321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4324 $ac_path_SED_found && break 3
4329 if test -z "$ac_cv_path_SED"; then
4330 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4338 $as_echo "$ac_cv_path_SED" >&6; }
4339 SED="$ac_cv_path_SED"
4342 test -z "$SED" && SED=sed
4343 Xsed="$SED -e 1s/^X//"
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4356 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4357 if ${ac_cv_path_GREP+:} false; then :
4358 $as_echo_n "(cached) " >&6
4360 if test -z "$GREP"; then
4361 ac_path_GREP_found=false
4362 # Loop through the user's path and test for each of PROGNAME-LIST
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4367 test -z "$as_dir" && as_dir=.
4368 for ac_prog in grep ggrep; do
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4371 as_fn_executable_p "$ac_path_GREP" || continue
4372 # Check for GNU ac_path_GREP and select it if it is found.
4373 # Check for GNU $ac_path_GREP
4374 case `"$ac_path_GREP" --version 2>&1` in
4376 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4379 $as_echo_n 0123456789 >"conftest.in"
4382 cat "conftest.in" "conftest.in" >"conftest.tmp"
4383 mv "conftest.tmp" "conftest.in"
4384 cp "conftest.in" "conftest.nl"
4385 $as_echo 'GREP' >> "conftest.nl"
4386 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4387 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4388 as_fn_arith $ac_count + 1 && ac_count=$as_val
4389 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4390 # Best one so far, save it but keep looking for a better one
4391 ac_cv_path_GREP="$ac_path_GREP"
4392 ac_path_GREP_max=$ac_count
4394 # 10*(2^10) chars as input seems more than enough
4395 test $ac_count -gt 10 && break
4397 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4400 $ac_path_GREP_found && break 3
4405 if test -z "$ac_cv_path_GREP"; then
4406 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4409 ac_cv_path_GREP=$GREP
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4414 $as_echo "$ac_cv_path_GREP" >&6; }
4415 GREP="$ac_cv_path_GREP"
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4419 $as_echo_n "checking for egrep... " >&6; }
4420 if ${ac_cv_path_EGREP+:} false; then :
4421 $as_echo_n "(cached) " >&6
4423 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4424 then ac_cv_path_EGREP="$GREP -E"
4426 if test -z "$EGREP"; then
4427 ac_path_EGREP_found=false
4428 # Loop through the user's path and test for each of PROGNAME-LIST
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4430 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4433 test -z "$as_dir" && as_dir=.
4434 for ac_prog in egrep; do
4435 for ac_exec_ext in '' $ac_executable_extensions; do
4436 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4437 as_fn_executable_p "$ac_path_EGREP" || continue
4438 # Check for GNU ac_path_EGREP and select it if it is found.
4439 # Check for GNU $ac_path_EGREP
4440 case `"$ac_path_EGREP" --version 2>&1` in
4442 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4445 $as_echo_n 0123456789 >"conftest.in"
4448 cat "conftest.in" "conftest.in" >"conftest.tmp"
4449 mv "conftest.tmp" "conftest.in"
4450 cp "conftest.in" "conftest.nl"
4451 $as_echo 'EGREP' >> "conftest.nl"
4452 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4453 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4454 as_fn_arith $ac_count + 1 && ac_count=$as_val
4455 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4456 # Best one so far, save it but keep looking for a better one
4457 ac_cv_path_EGREP="$ac_path_EGREP"
4458 ac_path_EGREP_max=$ac_count
4460 # 10*(2^10) chars as input seems more than enough
4461 test $ac_count -gt 10 && break
4463 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4466 $ac_path_EGREP_found && break 3
4471 if test -z "$ac_cv_path_EGREP"; then
4472 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4475 ac_cv_path_EGREP=$EGREP
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4481 $as_echo "$ac_cv_path_EGREP" >&6; }
4482 EGREP="$ac_cv_path_EGREP"
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4486 $as_echo_n "checking for fgrep... " >&6; }
4487 if ${ac_cv_path_FGREP+:} false; then :
4488 $as_echo_n "(cached) " >&6
4490 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4491 then ac_cv_path_FGREP="$GREP -F"
4493 if test -z "$FGREP"; then
4494 ac_path_FGREP_found=false
4495 # Loop through the user's path and test for each of PROGNAME-LIST
4496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4500 test -z "$as_dir" && as_dir=.
4501 for ac_prog in fgrep; do
4502 for ac_exec_ext in '' $ac_executable_extensions; do
4503 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4504 as_fn_executable_p "$ac_path_FGREP" || continue
4505 # Check for GNU ac_path_FGREP and select it if it is found.
4506 # Check for GNU $ac_path_FGREP
4507 case `"$ac_path_FGREP" --version 2>&1` in
4509 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4512 $as_echo_n 0123456789 >"conftest.in"
4515 cat "conftest.in" "conftest.in" >"conftest.tmp"
4516 mv "conftest.tmp" "conftest.in"
4517 cp "conftest.in" "conftest.nl"
4518 $as_echo 'FGREP' >> "conftest.nl"
4519 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4520 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4521 as_fn_arith $ac_count + 1 && ac_count=$as_val
4522 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4523 # Best one so far, save it but keep looking for a better one
4524 ac_cv_path_FGREP="$ac_path_FGREP"
4525 ac_path_FGREP_max=$ac_count
4527 # 10*(2^10) chars as input seems more than enough
4528 test $ac_count -gt 10 && break
4530 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4533 $ac_path_FGREP_found && break 3
4538 if test -z "$ac_cv_path_FGREP"; then
4539 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4542 ac_cv_path_FGREP=$FGREP
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4548 $as_echo "$ac_cv_path_FGREP" >&6; }
4549 FGREP="$ac_cv_path_FGREP"
4552 test -z "$GREP" && GREP=grep
4572 # Check whether --with-gnu-ld was given.
4573 if test "${with_gnu_ld+set}" = set; then :
4574 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4580 if test "$GCC" = yes; then
4581 # Check if gcc -print-prog-name=ld gives a path.
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4583 $as_echo_n "checking for ld used by $CC... " >&6; }
4586 # gcc leaves a trailing carriage return which upsets mingw
4587 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4589 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4592 # Accept absolute paths.
4594 re_direlt='/[^/][^/]*/\.\./'
4595 # Canonicalize the pathname of ld
4596 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4597 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4598 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4600 test -z "$LD" && LD="$ac_prog"
4603 # If it fails, then pretend we aren't using GCC.
4607 # If it is relative, then search for the first ld in PATH.
4611 elif test "$with_gnu_ld" = yes; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4613 $as_echo_n "checking for GNU ld... " >&6; }
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4616 $as_echo_n "checking for non-GNU ld... " >&6; }
4618 if ${lt_cv_path_LD+:} false; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -z "$LD"; then
4622 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4623 for ac_dir in $PATH; do
4625 test -z "$ac_dir" && ac_dir=.
4626 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4627 lt_cv_path_LD="$ac_dir/$ac_prog"
4628 # Check to see if the program is GNU ld. I'd rather use --version,
4629 # but apparently some variants of GNU ld only accept -v.
4630 # Break only if it was the GNU/non-GNU ld that we prefer.
4631 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4632 *GNU* | *'with BFD'*)
4633 test "$with_gnu_ld" != no && break
4636 test "$with_gnu_ld" != yes && break
4643 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4648 if test -n "$LD"; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4650 $as_echo "$LD" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 $as_echo "no" >&6; }
4655 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4657 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4658 if ${lt_cv_prog_gnu_ld+:} false; then :
4659 $as_echo_n "(cached) " >&6
4661 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4662 case `$LD -v 2>&1 </dev/null` in
4663 *GNU* | *'with BFD'*)
4664 lt_cv_prog_gnu_ld=yes
4667 lt_cv_prog_gnu_ld=no
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4672 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4673 with_gnu_ld=$lt_cv_prog_gnu_ld
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4684 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4685 if ${lt_cv_path_NM+:} false; then :
4686 $as_echo_n "(cached) " >&6
4688 if test -n "$NM"; then
4689 # Let the user override the test.
4692 lt_nm_to_check="${ac_tool_prefix}nm"
4693 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4694 lt_nm_to_check="$lt_nm_to_check nm"
4696 for lt_tmp_nm in $lt_nm_to_check; do
4697 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4698 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4700 test -z "$ac_dir" && ac_dir=.
4701 tmp_nm="$ac_dir/$lt_tmp_nm"
4702 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4703 # Check to see if the nm accepts a BSD-compat flag.
4704 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4705 # nm: unknown option "B" ignored
4706 # Tru64's nm complains that /dev/null is an invalid object file
4707 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4708 */dev/null* | *'Invalid file or object type'*)
4709 lt_cv_path_NM="$tmp_nm -B"
4713 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4715 lt_cv_path_NM="$tmp_nm -p"
4719 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4720 continue # so that we can try to find one that supports BSD flags
4729 : ${lt_cv_path_NM=no}
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4733 $as_echo "$lt_cv_path_NM" >&6; }
4734 if test "$lt_cv_path_NM" != "no"; then
4737 # Didn't find any BSD compatible name lister, look for dumpbin.
4738 if test -n "$DUMPBIN"; then :
4739 # Let the user override the test.
4741 if test -n "$ac_tool_prefix"; then
4742 for ac_prog in dumpbin "link -dump"
4744 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4745 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4747 $as_echo_n "checking for $ac_word... " >&6; }
4748 if ${ac_cv_prog_DUMPBIN+:} false; then :
4749 $as_echo_n "(cached) " >&6
4751 if test -n "$DUMPBIN"; then
4752 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 test -z "$as_dir" && as_dir=.
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4761 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 DUMPBIN=$ac_cv_prog_DUMPBIN
4772 if test -n "$DUMPBIN"; then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4774 $as_echo "$DUMPBIN" >&6; }
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4781 test -n "$DUMPBIN" && break
4784 if test -z "$DUMPBIN"; then
4785 ac_ct_DUMPBIN=$DUMPBIN
4786 for ac_prog in dumpbin "link -dump"
4788 # Extract the first word of "$ac_prog", so it can be a program name with args.
4789 set dummy $ac_prog; ac_word=$2
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4791 $as_echo_n "checking for $ac_word... " >&6; }
4792 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4793 $as_echo_n "(cached) " >&6
4795 if test -n "$ac_ct_DUMPBIN"; then
4796 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802 test -z "$as_dir" && as_dir=.
4803 for ac_exec_ext in '' $ac_executable_extensions; do
4804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4805 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4816 if test -n "$ac_ct_DUMPBIN"; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4818 $as_echo "$ac_ct_DUMPBIN" >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821 $as_echo "no" >&6; }
4825 test -n "$ac_ct_DUMPBIN" && break
4828 if test "x$ac_ct_DUMPBIN" = x; then
4831 case $cross_compiling:$ac_tool_warned in
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4835 ac_tool_warned=yes ;;
4837 DUMPBIN=$ac_ct_DUMPBIN
4841 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4843 DUMPBIN="$DUMPBIN -symbols"
4851 if test "$DUMPBIN" != ":"; then
4855 test -z "$NM" && NM=nm
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4863 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4864 if ${lt_cv_nm_interface+:} false; then :
4865 $as_echo_n "(cached) " >&6
4867 lt_cv_nm_interface="BSD nm"
4868 echo "int some_variable = 0;" > conftest.$ac_ext
4869 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4870 (eval "$ac_compile" 2>conftest.err)
4871 cat conftest.err >&5
4872 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4873 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4874 cat conftest.err >&5
4875 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4876 cat conftest.out >&5
4877 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4878 lt_cv_nm_interface="MS dumpbin"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4883 $as_echo "$lt_cv_nm_interface" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4886 $as_echo_n "checking whether ln -s works... " >&6; }
4888 if test "$LN_S" = "ln -s"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4890 $as_echo "yes" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4893 $as_echo "no, using $LN_S" >&6; }
4896 # find the maximum length of command line arguments
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4898 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4899 if ${lt_cv_sys_max_cmd_len+:} false; then :
4900 $as_echo_n "(cached) " >&6
4907 # On DJGPP, this test can blow up pretty badly due to problems in libc
4908 # (any single argument exceeding 2000 bytes causes a buffer overrun
4909 # during glob expansion). Even if it were fixed, the result of this
4910 # check would be larger than it should be.
4911 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4915 # Under GNU Hurd, this test is not required because there is
4916 # no limit to the length of command line arguments.
4917 # Libtool will interpret -1 as no limit whatsoever
4918 lt_cv_sys_max_cmd_len=-1;
4921 cygwin* | mingw* | cegcc*)
4922 # On Win9x/ME, this test blows up -- it succeeds, but takes
4923 # about 5 minutes as the teststring grows exponentially.
4924 # Worse, since 9x/ME are not pre-emptively multitasking,
4925 # you end up with a "frozen" computer, even though with patience
4926 # the test eventually succeeds (with a max line length of 256k).
4927 # Instead, let's just punt: use the minimum linelength reported by
4928 # all of the supported platforms: 8192 (on NT/2K/XP).
4929 lt_cv_sys_max_cmd_len=8192;
4933 # On MiNT this can take a long time and run out of memory.
4934 lt_cv_sys_max_cmd_len=8192;
4938 # On AmigaOS with pdksh, this test takes hours, literally.
4939 # So we just punt and use a minimum line length of 8192.
4940 lt_cv_sys_max_cmd_len=8192;
4943 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4944 # This has been around since 386BSD, at least. Likely further.
4945 if test -x /sbin/sysctl; then
4946 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4947 elif test -x /usr/sbin/sysctl; then
4948 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4950 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4952 # And add a safety zone
4953 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4954 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4958 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4959 lt_cv_sys_max_cmd_len=196608
4963 # The test takes a long time on OS/2.
4964 lt_cv_sys_max_cmd_len=8192
4968 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4969 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4970 # nice to cause kernel panics so lets avoid the loop below.
4971 # First set a reasonable default.
4972 lt_cv_sys_max_cmd_len=16384
4974 if test -x /sbin/sysconfig; then
4975 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4976 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4981 lt_cv_sys_max_cmd_len=102400
4983 sysv5* | sco5v6* | sysv4.2uw2*)
4984 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4985 if test -n "$kargmax"; then
4986 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4988 lt_cv_sys_max_cmd_len=32768
4992 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4993 if test -n "$lt_cv_sys_max_cmd_len" && \
4994 test undefined != "$lt_cv_sys_max_cmd_len"; then
4995 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4996 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4998 # Make teststring a little bigger before we do anything with it.
4999 # a 1K string should be a reasonable start.
5000 for i in 1 2 3 4 5 6 7 8 ; do
5001 teststring=$teststring$teststring
5003 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5004 # If test is not a shell built-in, we'll probably end up computing a
5005 # maximum length that is only half of the actual maximum length, but
5007 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5008 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5009 test $i != 17 # 1/2 MB should be enough
5012 teststring=$teststring$teststring
5014 # Only check the string length outside the loop.
5015 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5017 # Add a significant safety factor because C++ compilers can tack on
5018 # massive amounts of additional arguments before passing them to the
5019 # linker. It appears as though 1/2 is a usable value.
5020 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5027 if test -n $lt_cv_sys_max_cmd_len ; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5029 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5032 $as_echo "none" >&6; }
5034 max_cmd_len=$lt_cv_sys_max_cmd_len
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5046 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5047 # Try some XSI features
5050 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5052 && eval 'test $(( 1 + 1 )) -eq 2 \
5053 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5056 $as_echo "$xsi_shell" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5060 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5062 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5064 && lt_shell_append=yes
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5066 $as_echo "$lt_shell_append" >&6; }
5069 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5079 # test EBCDIC or ASCII
5080 case `echo X|tr X '\101'` in
5081 A) # ASCII based system
5082 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5083 lt_SP2NL='tr \040 \012'
5084 lt_NL2SP='tr \015\012 \040\040'
5086 *) # EBCDIC based system
5087 lt_SP2NL='tr \100 \n'
5088 lt_NL2SP='tr \r\n \100\100'
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5101 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5102 if ${lt_cv_to_host_file_cmd+:} false; then :
5103 $as_echo_n "(cached) " >&6
5108 *-*-mingw* ) # actually msys
5109 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5112 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5114 * ) # otherwise, assume *nix
5115 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5121 *-*-mingw* ) # actually msys
5122 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5125 lt_cv_to_host_file_cmd=func_convert_file_noop
5127 * ) # otherwise, assume *nix
5128 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5132 * ) # unhandled hosts (and "normal" native builds)
5133 lt_cv_to_host_file_cmd=func_convert_file_noop
5139 to_host_file_cmd=$lt_cv_to_host_file_cmd
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5141 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5148 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5149 if ${lt_cv_to_tool_file_cmd+:} false; then :
5150 $as_echo_n "(cached) " >&6
5152 #assume ordinary cross tools, or native build.
5153 lt_cv_to_tool_file_cmd=func_convert_file_noop
5157 *-*-mingw* ) # actually msys
5158 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5166 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5168 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5175 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5176 if ${lt_cv_ld_reload_flag+:} false; then :
5177 $as_echo_n "(cached) " >&6
5179 lt_cv_ld_reload_flag='-r'
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5182 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5183 reload_flag=$lt_cv_ld_reload_flag
5184 case $reload_flag in
5186 *) reload_flag=" $reload_flag" ;;
5188 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5190 cygwin* | mingw* | pw32* | cegcc*)
5191 if test "$GCC" != yes; then
5196 if test "$GCC" = yes; then
5197 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5199 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5212 if test -n "$ac_tool_prefix"; then
5213 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5214 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if ${ac_cv_prog_OBJDUMP+:} false; then :
5218 $as_echo_n "(cached) " >&6
5220 if test -n "$OBJDUMP"; then
5221 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 test -z "$as_dir" && as_dir=.
5228 for ac_exec_ext in '' $ac_executable_extensions; do
5229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5230 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 OBJDUMP=$ac_cv_prog_OBJDUMP
5241 if test -n "$OBJDUMP"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5243 $as_echo "$OBJDUMP" >&6; }
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5251 if test -z "$ac_cv_prog_OBJDUMP"; then
5252 ac_ct_OBJDUMP=$OBJDUMP
5253 # Extract the first word of "objdump", so it can be a program name with args.
5254 set dummy objdump; ac_word=$2
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5256 $as_echo_n "checking for $ac_word... " >&6; }
5257 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5258 $as_echo_n "(cached) " >&6
5260 if test -n "$ac_ct_OBJDUMP"; then
5261 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 test -z "$as_dir" && as_dir=.
5268 for ac_exec_ext in '' $ac_executable_extensions; do
5269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5281 if test -n "$ac_ct_OBJDUMP"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5283 $as_echo "$ac_ct_OBJDUMP" >&6; }
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5289 if test "x$ac_ct_OBJDUMP" = x; then
5292 case $cross_compiling:$ac_tool_warned in
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5296 ac_tool_warned=yes ;;
5298 OBJDUMP=$ac_ct_OBJDUMP
5301 OBJDUMP="$ac_cv_prog_OBJDUMP"
5304 test -z "$OBJDUMP" && OBJDUMP=objdump
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5312 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5313 if ${lt_cv_deplibs_check_method+:} false; then :
5314 $as_echo_n "(cached) " >&6
5316 lt_cv_file_magic_cmd='$MAGIC_CMD'
5317 lt_cv_file_magic_test_file=
5318 lt_cv_deplibs_check_method='unknown'
5319 # Need to set the preceding variable on all platforms that support
5320 # interlibrary dependencies.
5321 # 'none' -- dependencies not supported.
5322 # `unknown' -- same as none, but documents that we really don't know.
5323 # 'pass_all' -- all dependencies passed with no checks.
5324 # 'test_compile' -- check by making test program.
5325 # 'file_magic [[regex]]' -- check by looking for files in library path
5326 # which responds to the $file_magic_cmd with a given extended regex.
5327 # If you have `file' or equivalent on your system and you're not sure
5328 # whether `pass_all' will *always* work, you probably want this one.
5332 lt_cv_deplibs_check_method=pass_all
5336 lt_cv_deplibs_check_method=pass_all
5340 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5341 lt_cv_file_magic_cmd='/usr/bin/file -L'
5342 lt_cv_file_magic_test_file=/shlib/libc.so
5346 # func_win32_libid is a shell function defined in ltmain.sh
5347 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5348 lt_cv_file_magic_cmd='func_win32_libid'
5352 # Base MSYS/MinGW do not provide the 'file' command needed by
5353 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5354 # unless we find 'file', for example because we are cross-compiling.
5355 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5356 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5357 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5358 lt_cv_file_magic_cmd='func_win32_libid'
5360 # Keep this pattern in sync with the one in func_win32_libid.
5361 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5362 lt_cv_file_magic_cmd='$OBJDUMP -f'
5367 # use the weaker test based on 'objdump'. See mingw*.
5368 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5369 lt_cv_file_magic_cmd='$OBJDUMP -f'
5372 darwin* | rhapsody*)
5373 lt_cv_deplibs_check_method=pass_all
5376 freebsd* | dragonfly*)
5377 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5380 # Not sure whether the presence of OpenBSD here was a mistake.
5381 # Let's accept both of them until this is cleared up.
5382 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5383 lt_cv_file_magic_cmd=/usr/bin/file
5384 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5388 lt_cv_deplibs_check_method=pass_all
5393 lt_cv_deplibs_check_method=pass_all
5396 hpux10.20* | hpux11*)
5397 lt_cv_file_magic_cmd=/usr/bin/file
5400 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5401 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5404 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]'
5405 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5408 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5409 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5415 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5416 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5419 irix5* | irix6* | nonstopux*)
5421 *-32|*"-32 ") libmagic=32-bit;;
5422 *-n32|*"-n32 ") libmagic=N32;;
5423 *-64|*"-64 ") libmagic=64-bit;;
5424 *) libmagic=never-match;;
5426 lt_cv_deplibs_check_method=pass_all
5429 # This must be glibc/ELF.
5430 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5431 lt_cv_deplibs_check_method=pass_all
5434 netbsd* | netbsdelf*-gnu)
5435 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5436 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5438 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5443 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5444 lt_cv_file_magic_cmd=/usr/bin/file
5445 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5449 lt_cv_deplibs_check_method=pass_all
5453 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5454 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5456 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5460 osf3* | osf4* | osf5*)
5461 lt_cv_deplibs_check_method=pass_all
5465 lt_cv_deplibs_check_method=pass_all
5469 lt_cv_deplibs_check_method=pass_all
5472 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5473 lt_cv_deplibs_check_method=pass_all
5477 case $host_vendor in
5479 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]'
5480 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5483 lt_cv_deplibs_check_method=pass_all
5486 lt_cv_file_magic_cmd='/bin/file'
5487 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5490 lt_cv_file_magic_cmd='/bin/file'
5491 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5492 lt_cv_file_magic_test_file=/lib/libc.so
5495 lt_cv_deplibs_check_method=pass_all
5498 lt_cv_deplibs_check_method=pass_all
5504 lt_cv_deplibs_check_method=pass_all
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5510 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5514 if test "$build" = "$host"; then
5517 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5520 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5526 file_magic_cmd=$lt_cv_file_magic_cmd
5527 deplibs_check_method=$lt_cv_deplibs_check_method
5528 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5551 if test -n "$ac_tool_prefix"; then
5552 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5553 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5555 $as_echo_n "checking for $ac_word... " >&6; }
5556 if ${ac_cv_prog_DLLTOOL+:} false; then :
5557 $as_echo_n "(cached) " >&6
5559 if test -n "$DLLTOOL"; then
5560 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 test -z "$as_dir" && as_dir=.
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5569 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 DLLTOOL=$ac_cv_prog_DLLTOOL
5580 if test -n "$DLLTOOL"; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5582 $as_echo "$DLLTOOL" >&6; }
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5585 $as_echo "no" >&6; }
5590 if test -z "$ac_cv_prog_DLLTOOL"; then
5591 ac_ct_DLLTOOL=$DLLTOOL
5592 # Extract the first word of "dlltool", so it can be a program name with args.
5593 set dummy dlltool; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5597 $as_echo_n "(cached) " >&6
5599 if test -n "$ac_ct_DLLTOOL"; then
5600 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5620 if test -n "$ac_ct_DLLTOOL"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5622 $as_echo "$ac_ct_DLLTOOL" >&6; }
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5628 if test "x$ac_ct_DLLTOOL" = x; then
5631 case $cross_compiling:$ac_tool_warned in
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5635 ac_tool_warned=yes ;;
5637 DLLTOOL=$ac_ct_DLLTOOL
5640 DLLTOOL="$ac_cv_prog_DLLTOOL"
5643 test -z "$DLLTOOL" && DLLTOOL=dlltool
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5652 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5653 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5654 $as_echo_n "(cached) " >&6
5656 lt_cv_sharedlib_from_linklib_cmd='unknown'
5659 cygwin* | mingw* | pw32* | cegcc*)
5660 # two different shell functions defined in ltmain.sh
5661 # decide which to use based on capabilities of $DLLTOOL
5662 case `$DLLTOOL --help 2>&1` in
5663 *--identify-strict*)
5664 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5667 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5672 # fallback: assume linklib IS sharedlib
5673 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5679 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5680 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5681 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5690 if test -n "$ac_tool_prefix"; then
5693 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5694 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5696 $as_echo_n "checking for $ac_word... " >&6; }
5697 if ${ac_cv_prog_AR+:} false; then :
5698 $as_echo_n "(cached) " >&6
5700 if test -n "$AR"; then
5701 ac_cv_prog_AR="$AR" # Let the user override the test.
5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 test -z "$as_dir" && as_dir=.
5708 for ac_exec_ext in '' $ac_executable_extensions; do
5709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5710 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 if test -n "$AR"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5723 $as_echo "$AR" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726 $as_echo "no" >&6; }
5730 test -n "$AR" && break
5733 if test -z "$AR"; then
5737 # Extract the first word of "$ac_prog", so it can be a program name with args.
5738 set dummy $ac_prog; ac_word=$2
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5740 $as_echo_n "checking for $ac_word... " >&6; }
5741 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5742 $as_echo_n "(cached) " >&6
5744 if test -n "$ac_ct_AR"; then
5745 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 test -z "$as_dir" && as_dir=.
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5754 ac_cv_prog_ac_ct_AR="$ac_prog"
5755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5765 if test -n "$ac_ct_AR"; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5767 $as_echo "$ac_ct_AR" >&6; }
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 $as_echo "no" >&6; }
5774 test -n "$ac_ct_AR" && break
5777 if test "x$ac_ct_AR" = x; then
5780 case $cross_compiling:$ac_tool_warned in
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5784 ac_tool_warned=yes ;;
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5804 $as_echo_n "checking for archiver @FILE support... " >&6; }
5805 if ${lt_cv_ar_at_file+:} false; then :
5806 $as_echo_n "(cached) " >&6
5809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5810 /* end confdefs.h. */
5820 if ac_fn_c_try_compile "$LINENO"; then :
5821 echo conftest.$ac_objext > conftest.lst
5822 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5823 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5824 (eval $lt_ar_try) 2>&5
5826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5827 test $ac_status = 0; }
5828 if test "$ac_status" -eq 0; then
5829 # Ensure the archiver fails upon bogus file names.
5830 rm -f conftest.$ac_objext libconftest.a
5831 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5832 (eval $lt_ar_try) 2>&5
5834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5835 test $ac_status = 0; }
5836 if test "$ac_status" -ne 0; then
5840 rm -f conftest.* libconftest.a
5843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5847 $as_echo "$lt_cv_ar_at_file" >&6; }
5849 if test "x$lt_cv_ar_at_file" = xno; then
5852 archiver_list_spec=$lt_cv_ar_at_file
5861 if test -n "$ac_tool_prefix"; then
5862 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5863 set dummy ${ac_tool_prefix}strip; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_STRIP+:} false; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -n "$STRIP"; then
5870 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 STRIP=$ac_cv_prog_STRIP
5890 if test -n "$STRIP"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5892 $as_echo "$STRIP" >&6; }
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5900 if test -z "$ac_cv_prog_STRIP"; then
5902 # Extract the first word of "strip", so it can be a program name with args.
5903 set dummy strip; ac_word=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 $as_echo_n "checking for $ac_word... " >&6; }
5906 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5907 $as_echo_n "(cached) " >&6
5909 if test -n "$ac_ct_STRIP"; then
5910 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_prog_ac_ct_STRIP="strip"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5930 if test -n "$ac_ct_STRIP"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5932 $as_echo "$ac_ct_STRIP" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5938 if test "x$ac_ct_STRIP" = x; then
5941 case $cross_compiling:$ac_tool_warned in
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5945 ac_tool_warned=yes ;;
5950 STRIP="$ac_cv_prog_STRIP"
5953 test -z "$STRIP" && STRIP=:
5960 if test -n "$ac_tool_prefix"; then
5961 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5962 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 $as_echo_n "checking for $ac_word... " >&6; }
5965 if ${ac_cv_prog_RANLIB+:} false; then :
5966 $as_echo_n "(cached) " >&6
5968 if test -n "$RANLIB"; then
5969 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975 test -z "$as_dir" && as_dir=.
5976 for ac_exec_ext in '' $ac_executable_extensions; do
5977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5978 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 RANLIB=$ac_cv_prog_RANLIB
5989 if test -n "$RANLIB"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5991 $as_echo "$RANLIB" >&6; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5999 if test -z "$ac_cv_prog_RANLIB"; then
6000 ac_ct_RANLIB=$RANLIB
6001 # Extract the first word of "ranlib", so it can be a program name with args.
6002 set dummy ranlib; ac_word=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004 $as_echo_n "checking for $ac_word... " >&6; }
6005 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6006 $as_echo_n "(cached) " >&6
6008 if test -n "$ac_ct_RANLIB"; then
6009 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6018 ac_cv_prog_ac_ct_RANLIB="ranlib"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6028 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6029 if test -n "$ac_ct_RANLIB"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6031 $as_echo "$ac_ct_RANLIB" >&6; }
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6037 if test "x$ac_ct_RANLIB" = x; then
6040 case $cross_compiling:$ac_tool_warned in
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6044 ac_tool_warned=yes ;;
6046 RANLIB=$ac_ct_RANLIB
6049 RANLIB="$ac_cv_prog_RANLIB"
6052 test -z "$RANLIB" && RANLIB=:
6059 # Determine commands to create old-style static archives.
6060 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6061 old_postinstall_cmds='chmod 644 $oldlib'
6062 old_postuninstall_cmds=
6064 if test -n "$RANLIB"; then
6067 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6070 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6073 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6078 lock_old_archive_extraction=yes ;;
6080 lock_old_archive_extraction=no ;;
6121 # If no C compiler was specified, use CC.
6124 # If no C compiler flags were specified, use CFLAGS.
6125 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6127 # Allow CC to be a program name with arguments.
6131 # Check for command to grab the raw symbol name followed by C symbol from nm.
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6133 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6134 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6135 $as_echo_n "(cached) " >&6
6138 # These are sane defaults that work on at least a few old systems.
6139 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6141 # Character class describing NM global symbol codes.
6142 symcode='[BCDEGRST]'
6144 # Regexp to match symbols that can be accessed directly from C.
6145 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6147 # Define system-specific variables.
6152 cygwin* | mingw* | pw32* | cegcc*)
6153 symcode='[ABCDGISTW]'
6156 if test "$host_cpu" = ia64; then
6157 symcode='[ABCDEGRST]'
6161 symcode='[BCDEGRST]'
6164 symcode='[BCDEGQRST]'
6175 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6183 # If we're using GNU nm, then use its standard symbol codes.
6184 case `$NM -V 2>&1` in
6185 *GNU* | *'with BFD'*)
6186 symcode='[ABCDGIRSTW]' ;;
6189 # Transform an extracted symbol line into a proper C declaration.
6190 # Some systems (esp. on ia64) link data and code symbols differently,
6191 # so use this general approach.
6192 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6194 # Transform an extracted symbol line into symbol name and symbol address
6195 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6196 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'"
6198 # Handle CRLF in mingw tool chain
6202 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6206 # Try without a prefix underscore, then with it.
6207 for ac_symprfx in "" "_"; do
6209 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6210 symxfrm="\\1 $ac_symprfx\\2 \\2"
6212 # Write the raw and C identifiers.
6213 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6214 # Fake it for dumpbin and say T for any non-static function
6215 # and D for any global variable.
6216 # Also find C++ and __fastcall symbols from MSVC++,
6217 # which start with @ or ?.
6218 lt_cv_sys_global_symbol_pipe="$AWK '"\
6219 " {last_section=section; section=\$ 3};"\
6220 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6221 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6222 " \$ 0!~/External *\|/{next};"\
6223 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6224 " {if(hide[section]) next};"\
6225 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6226 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6227 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6228 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6229 " ' prfx=^$ac_symprfx"
6231 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6233 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6235 # Check to see that the pipe works correctly.
6239 cat > conftest.$ac_ext <<_LT_EOF
6244 void nm_test_func(void);
6245 void nm_test_func(void){}
6249 int main(){nm_test_var='a';nm_test_func();return(0);}
6252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6253 (eval $ac_compile) 2>&5
6255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6256 test $ac_status = 0; }; then
6257 # Now try to grab the symbols.
6259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6260 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6263 test $ac_status = 0; } && test -s "$nlist"; then
6264 # Try sorting and uniquifying the output.
6265 if sort "$nlist" | uniq > "$nlist"T; then
6266 mv -f "$nlist"T "$nlist"
6271 # Make sure that we snagged all the symbols we need.
6272 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6273 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6274 cat <<_LT_EOF > conftest.$ac_ext
6275 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6276 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6277 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6278 relocations are performed -- see ld's documentation on pseudo-relocs. */
6279 # define LT_DLSYM_CONST
6280 #elif defined(__osf__)
6281 /* This system does not cope well with relocations in const data. */
6282 # define LT_DLSYM_CONST
6284 # define LT_DLSYM_CONST const
6292 # Now generate the symbol file.
6293 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6295 cat <<_LT_EOF >> conftest.$ac_ext
6297 /* The mapping between symbol names and symbols. */
6298 LT_DLSYM_CONST struct {
6302 lt__PROGRAM__LTX_preloaded_symbols[] =
6304 { "@PROGRAM@", (void *) 0 },
6306 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6307 cat <<\_LT_EOF >> conftest.$ac_ext
6311 /* This works around a problem in FreeBSD linker */
6312 #ifdef FREEBSD_WORKAROUND
6313 static const void *lt_preloaded_setup() {
6314 return lt__PROGRAM__LTX_preloaded_symbols;
6322 # Now try linking the two files.
6323 mv conftest.$ac_objext conftstm.$ac_objext
6324 lt_globsym_save_LIBS=$LIBS
6325 lt_globsym_save_CFLAGS=$CFLAGS
6326 LIBS="conftstm.$ac_objext"
6327 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6329 (eval $ac_link) 2>&5
6331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6332 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6335 LIBS=$lt_globsym_save_LIBS
6336 CFLAGS=$lt_globsym_save_CFLAGS
6338 echo "cannot find nm_test_func in $nlist" >&5
6341 echo "cannot find nm_test_var in $nlist" >&5
6344 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6347 echo "$progname: failed program was:" >&5
6348 cat conftest.$ac_ext >&5
6350 rm -rf conftest* conftst*
6352 # Do not use the global_symbol_pipe unless it works.
6353 if test "$pipe_works" = yes; then
6356 lt_cv_sys_global_symbol_pipe=
6362 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6363 lt_cv_sys_global_symbol_to_cdecl=
6365 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6367 $as_echo "failed" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6370 $as_echo "ok" >&6; }
6373 # Response file support.
6374 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6375 nm_file_list_spec='@'
6376 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6377 nm_file_list_spec='@'
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6407 $as_echo_n "checking for sysroot... " >&6; }
6409 # Check whether --with-sysroot was given.
6410 if test "${with_sysroot+set}" = set; then :
6411 withval=$with_sysroot;
6418 case ${with_sysroot} in #(
6420 if test "$GCC" = yes; then
6421 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6425 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6431 $as_echo "${with_sysroot}" >&6; }
6432 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6437 $as_echo "${lt_sysroot:-no}" >&6; }
6443 # Check whether --enable-libtool-lock was given.
6444 if test "${enable_libtool_lock+set}" = set; then :
6445 enableval=$enable_libtool_lock;
6448 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6450 # Some flags need to be propagated to the compiler or linker for good
6454 # Find out which ABI we are using.
6455 echo 'int i;' > conftest.$ac_ext
6456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6457 (eval $ac_compile) 2>&5
6459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6460 test $ac_status = 0; }; then
6461 case `/usr/bin/file conftest.$ac_objext` in
6473 # Find out which ABI we are using.
6474 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6476 (eval $ac_compile) 2>&5
6478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6479 test $ac_status = 0; }; then
6480 if test "$lt_cv_prog_gnu_ld" = yes; then
6481 case `/usr/bin/file conftest.$ac_objext` in
6483 LD="${LD-ld} -melf32bsmip"
6486 LD="${LD-ld} -melf32bmipn32"
6489 LD="${LD-ld} -melf64bmip"
6493 case `/usr/bin/file conftest.$ac_objext` in
6509 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6510 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6511 # Find out which ABI we are using.
6512 echo 'int i;' > conftest.$ac_ext
6513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6514 (eval $ac_compile) 2>&5
6516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6517 test $ac_status = 0; }; then
6518 case `/usr/bin/file conftest.o` in
6521 x86_64-*kfreebsd*-gnu)
6522 LD="${LD-ld} -m elf_i386_fbsd"
6525 case `/usr/bin/file conftest.o` in
6527 LD="${LD-ld} -m elf32_x86_64"
6530 LD="${LD-ld} -m elf_i386"
6535 LD="${LD-ld} -m elf32lppclinux"
6538 LD="${LD-ld} -m elf32ppclinux"
6541 LD="${LD-ld} -m elf_s390"
6544 LD="${LD-ld} -m elf32_sparc"
6550 x86_64-*kfreebsd*-gnu)
6551 LD="${LD-ld} -m elf_x86_64_fbsd"
6554 LD="${LD-ld} -m elf_x86_64"
6557 LD="${LD-ld} -m elf64lppc"
6560 LD="${LD-ld} -m elf64ppc"
6562 s390*-*linux*|s390*-*tpf*)
6563 LD="${LD-ld} -m elf64_s390"
6566 LD="${LD-ld} -m elf64_sparc"
6576 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6577 SAVE_CFLAGS="$CFLAGS"
6578 CFLAGS="$CFLAGS -belf"
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6580 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6581 if ${lt_cv_cc_needs_belf+:} false; then :
6582 $as_echo_n "(cached) " >&6
6585 ac_cpp='$CPP $CPPFLAGS'
6586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6591 /* end confdefs.h. */
6601 if ac_fn_c_try_link "$LINENO"; then :
6602 lt_cv_cc_needs_belf=yes
6604 lt_cv_cc_needs_belf=no
6606 rm -f core conftest.err conftest.$ac_objext \
6607 conftest$ac_exeext conftest.$ac_ext
6609 ac_cpp='$CPP $CPPFLAGS'
6610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6616 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6617 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6618 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6619 CFLAGS="$SAVE_CFLAGS"
6623 # Find out which ABI we are using.
6624 echo 'int i;' > conftest.$ac_ext
6625 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6626 (eval $ac_compile) 2>&5
6628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629 test $ac_status = 0; }; then
6630 case `/usr/bin/file conftest.o` in
6632 case $lt_cv_prog_gnu_ld in
6636 LD="${LD-ld} -m elf_x86_64"
6639 LD="${LD-ld} -m elf64_sparc"
6642 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6643 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6648 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6660 need_locks="$enable_libtool_lock"
6662 if test -n "$ac_tool_prefix"; then
6663 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6664 set dummy ${ac_tool_prefix}mt; ac_word=$2
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666 $as_echo_n "checking for $ac_word... " >&6; }
6667 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6668 $as_echo_n "(cached) " >&6
6670 if test -n "$MANIFEST_TOOL"; then
6671 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir=.
6678 for ac_exec_ext in '' $ac_executable_extensions; do
6679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6680 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6691 if test -n "$MANIFEST_TOOL"; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6693 $as_echo "$MANIFEST_TOOL" >&6; }
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696 $as_echo "no" >&6; }
6701 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6702 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6703 # Extract the first word of "mt", so it can be a program name with args.
6704 set dummy mt; ac_word=$2
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706 $as_echo_n "checking for $ac_word... " >&6; }
6707 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6708 $as_echo_n "(cached) " >&6
6710 if test -n "$ac_ct_MANIFEST_TOOL"; then
6711 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir=.
6718 for ac_exec_ext in '' $ac_executable_extensions; do
6719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6720 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6731 if test -n "$ac_ct_MANIFEST_TOOL"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6733 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736 $as_echo "no" >&6; }
6739 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6742 case $cross_compiling:$ac_tool_warned in
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6746 ac_tool_warned=yes ;;
6748 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6751 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6754 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6756 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6757 if ${lt_cv_path_mainfest_tool+:} false; then :
6758 $as_echo_n "(cached) " >&6
6760 lt_cv_path_mainfest_tool=no
6761 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6762 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6763 cat conftest.err >&5
6764 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6765 lt_cv_path_mainfest_tool=yes
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6770 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6771 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6781 rhapsody* | darwin*)
6782 if test -n "$ac_tool_prefix"; then
6783 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6784 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 $as_echo_n "checking for $ac_word... " >&6; }
6787 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6788 $as_echo_n "(cached) " >&6
6790 if test -n "$DSYMUTIL"; then
6791 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797 test -z "$as_dir" && as_dir=.
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6810 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6811 if test -n "$DSYMUTIL"; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6813 $as_echo "$DSYMUTIL" >&6; }
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 $as_echo "no" >&6; }
6821 if test -z "$ac_cv_prog_DSYMUTIL"; then
6822 ac_ct_DSYMUTIL=$DSYMUTIL
6823 # Extract the first word of "dsymutil", so it can be a program name with args.
6824 set dummy dsymutil; ac_word=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 $as_echo_n "checking for $ac_word... " >&6; }
6827 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6828 $as_echo_n "(cached) " >&6
6830 if test -n "$ac_ct_DSYMUTIL"; then
6831 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 test -z "$as_dir" && as_dir=.
6838 for ac_exec_ext in '' $ac_executable_extensions; do
6839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6840 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6851 if test -n "$ac_ct_DSYMUTIL"; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6853 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856 $as_echo "no" >&6; }
6859 if test "x$ac_ct_DSYMUTIL" = x; then
6862 case $cross_compiling:$ac_tool_warned in
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6866 ac_tool_warned=yes ;;
6868 DSYMUTIL=$ac_ct_DSYMUTIL
6871 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6874 if test -n "$ac_tool_prefix"; then
6875 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6876 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878 $as_echo_n "checking for $ac_word... " >&6; }
6879 if ${ac_cv_prog_NMEDIT+:} false; then :
6880 $as_echo_n "(cached) " >&6
6882 if test -n "$NMEDIT"; then
6883 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 test -z "$as_dir" && as_dir=.
6890 for ac_exec_ext in '' $ac_executable_extensions; do
6891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6892 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6902 NMEDIT=$ac_cv_prog_NMEDIT
6903 if test -n "$NMEDIT"; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6905 $as_echo "$NMEDIT" >&6; }
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908 $as_echo "no" >&6; }
6913 if test -z "$ac_cv_prog_NMEDIT"; then
6914 ac_ct_NMEDIT=$NMEDIT
6915 # Extract the first word of "nmedit", so it can be a program name with args.
6916 set dummy nmedit; ac_word=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6920 $as_echo_n "(cached) " >&6
6922 if test -n "$ac_ct_NMEDIT"; then
6923 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir=.
6930 for ac_exec_ext in '' $ac_executable_extensions; do
6931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6932 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6943 if test -n "$ac_ct_NMEDIT"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6945 $as_echo "$ac_ct_NMEDIT" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6951 if test "x$ac_ct_NMEDIT" = x; then
6954 case $cross_compiling:$ac_tool_warned in
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6958 ac_tool_warned=yes ;;
6960 NMEDIT=$ac_ct_NMEDIT
6963 NMEDIT="$ac_cv_prog_NMEDIT"
6966 if test -n "$ac_tool_prefix"; then
6967 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6968 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_LIPO+:} false; then :
6972 $as_echo_n "(cached) " >&6
6974 if test -n "$LIPO"; then
6975 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 test -z "$as_dir" && as_dir=.
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 LIPO=$ac_cv_prog_LIPO
6995 if test -n "$LIPO"; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6997 $as_echo "$LIPO" >&6; }
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7005 if test -z "$ac_cv_prog_LIPO"; then
7007 # Extract the first word of "lipo", so it can be a program name with args.
7008 set dummy lipo; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7012 $as_echo_n "(cached) " >&6
7014 if test -n "$ac_ct_LIPO"; then
7015 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir=.
7022 for ac_exec_ext in '' $ac_executable_extensions; do
7023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7024 ac_cv_prog_ac_ct_LIPO="lipo"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7035 if test -n "$ac_ct_LIPO"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7037 $as_echo "$ac_ct_LIPO" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7043 if test "x$ac_ct_LIPO" = x; then
7046 case $cross_compiling:$ac_tool_warned in
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7050 ac_tool_warned=yes ;;
7055 LIPO="$ac_cv_prog_LIPO"
7058 if test -n "$ac_tool_prefix"; then
7059 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7060 set dummy ${ac_tool_prefix}otool; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if ${ac_cv_prog_OTOOL+:} false; then :
7064 $as_echo_n "(cached) " >&6
7066 if test -n "$OTOOL"; then
7067 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir=.
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7076 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 OTOOL=$ac_cv_prog_OTOOL
7087 if test -n "$OTOOL"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7089 $as_echo "$OTOOL" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7097 if test -z "$ac_cv_prog_OTOOL"; then
7099 # Extract the first word of "otool", so it can be a program name with args.
7100 set dummy otool; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7104 $as_echo_n "(cached) " >&6
7106 if test -n "$ac_ct_OTOOL"; then
7107 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir=.
7114 for ac_exec_ext in '' $ac_executable_extensions; do
7115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7116 ac_cv_prog_ac_ct_OTOOL="otool"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7127 if test -n "$ac_ct_OTOOL"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7129 $as_echo "$ac_ct_OTOOL" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7135 if test "x$ac_ct_OTOOL" = x; then
7138 case $cross_compiling:$ac_tool_warned in
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142 ac_tool_warned=yes ;;
7147 OTOOL="$ac_cv_prog_OTOOL"
7150 if test -n "$ac_tool_prefix"; then
7151 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7152 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 $as_echo_n "checking for $ac_word... " >&6; }
7155 if ${ac_cv_prog_OTOOL64+:} false; then :
7156 $as_echo_n "(cached) " >&6
7158 if test -n "$OTOOL64"; then
7159 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165 test -z "$as_dir" && as_dir=.
7166 for ac_exec_ext in '' $ac_executable_extensions; do
7167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7168 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7178 OTOOL64=$ac_cv_prog_OTOOL64
7179 if test -n "$OTOOL64"; then
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7181 $as_echo "$OTOOL64" >&6; }
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184 $as_echo "no" >&6; }
7189 if test -z "$ac_cv_prog_OTOOL64"; then
7190 ac_ct_OTOOL64=$OTOOL64
7191 # Extract the first word of "otool64", so it can be a program name with args.
7192 set dummy otool64; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 $as_echo_n "checking for $ac_word... " >&6; }
7195 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7196 $as_echo_n "(cached) " >&6
7198 if test -n "$ac_ct_OTOOL64"; then
7199 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_ac_ct_OTOOL64="otool64"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7218 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7219 if test -n "$ac_ct_OTOOL64"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7221 $as_echo "$ac_ct_OTOOL64" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7227 if test "x$ac_ct_OTOOL64" = x; then
7230 case $cross_compiling:$ac_tool_warned in
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7234 ac_tool_warned=yes ;;
7236 OTOOL64=$ac_ct_OTOOL64
7239 OTOOL64="$ac_cv_prog_OTOOL64"
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7269 $as_echo_n "checking for -single_module linker flag... " >&6; }
7270 if ${lt_cv_apple_cc_single_mod+:} false; then :
7271 $as_echo_n "(cached) " >&6
7273 lt_cv_apple_cc_single_mod=no
7274 if test -z "${LT_MULTI_MODULE}"; then
7275 # By default we will add the -single_module flag. You can override
7276 # by either setting the environment variable LT_MULTI_MODULE
7277 # non-empty at configure time, or by adding -multi_module to the
7279 rm -rf libconftest.dylib*
7280 echo "int foo(void){return 1;}" > conftest.c
7281 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7282 -dynamiclib -Wl,-single_module conftest.c" >&5
7283 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7284 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7286 # If there is a non-empty error log, and "single_module"
7287 # appears in it, assume the flag caused a linker warning
7288 if test -s conftest.err && $GREP single_module conftest.err; then
7289 cat conftest.err >&5
7290 # Otherwise, if the output was created with a 0 exit code from
7291 # the compiler, it worked.
7292 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7293 lt_cv_apple_cc_single_mod=yes
7295 cat conftest.err >&5
7297 rm -rf libconftest.dylib*
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7302 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7305 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7306 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7307 $as_echo_n "(cached) " >&6
7309 lt_cv_ld_exported_symbols_list=no
7310 save_LDFLAGS=$LDFLAGS
7311 echo "_main" > conftest.sym
7312 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7314 /* end confdefs.h. */
7324 if ac_fn_c_try_link "$LINENO"; then :
7325 lt_cv_ld_exported_symbols_list=yes
7327 lt_cv_ld_exported_symbols_list=no
7329 rm -f core conftest.err conftest.$ac_objext \
7330 conftest$ac_exeext conftest.$ac_ext
7331 LDFLAGS="$save_LDFLAGS"
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7335 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7338 $as_echo_n "checking for -force_load linker flag... " >&6; }
7339 if ${lt_cv_ld_force_load+:} false; then :
7340 $as_echo_n "(cached) " >&6
7342 lt_cv_ld_force_load=no
7343 cat > conftest.c << _LT_EOF
7344 int forced_loaded() { return 2;}
7346 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7347 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7348 echo "$AR cru libconftest.a conftest.o" >&5
7349 $AR cru libconftest.a conftest.o 2>&5
7350 echo "$RANLIB libconftest.a" >&5
7351 $RANLIB libconftest.a 2>&5
7352 cat > conftest.c << _LT_EOF
7353 int main() { return 0;}
7355 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7356 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7358 if test -s conftest.err && $GREP force_load conftest.err; then
7359 cat conftest.err >&5
7360 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7361 lt_cv_ld_force_load=yes
7363 cat conftest.err >&5
7365 rm -f conftest.err libconftest.a conftest conftest.c
7366 rm -rf conftest.dSYM
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7370 $as_echo "$lt_cv_ld_force_load" >&6; }
7372 rhapsody* | darwin1.[012])
7373 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7375 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7376 darwin*) # darwin 5.x on
7377 # if running on 10.5 or later, the deployment target defaults
7378 # to the OS version, if on x86, and 10.4, the deployment
7379 # target defaults to 10.4. Don't you love it?
7380 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7381 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7382 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7384 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7386 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7390 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7391 _lt_dar_single_mod='$single_module'
7393 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7394 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7396 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7398 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7399 _lt_dsymutil='~$DSYMUTIL $lib || :'
7407 ac_cpp='$CPP $CPPFLAGS'
7408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7412 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7413 # On Suns, sometimes $CPP names a directory.
7414 if test -n "$CPP" && test -d "$CPP"; then
7417 if test -z "$CPP"; then
7418 if ${ac_cv_prog_CPP+:} false; then :
7419 $as_echo_n "(cached) " >&6
7421 # Double quotes because CPP needs to be expanded
7422 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7425 for ac_c_preproc_warn_flag in '' yes
7427 # Use a header file that comes with gcc, so configuring glibc
7428 # with a fresh cross-compiler works.
7429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7430 # <limits.h> exists even on freestanding compilers.
7431 # On the NeXT, cc -E runs the code through the compiler's parser,
7432 # not just through cpp. "Syntax error" is here to catch this case.
7433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7434 /* end confdefs.h. */
7436 # include <limits.h>
7438 # include <assert.h>
7442 if ac_fn_c_try_cpp "$LINENO"; then :
7445 # Broken: fails on valid input.
7448 rm -f conftest.err conftest.i conftest.$ac_ext
7450 # OK, works on sane cases. Now check whether nonexistent headers
7451 # can be detected and how.
7452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7453 /* end confdefs.h. */
7454 #include <ac_nonexistent.h>
7456 if ac_fn_c_try_cpp "$LINENO"; then :
7457 # Broken: success on invalid input.
7460 # Passes both tests.
7464 rm -f conftest.err conftest.i conftest.$ac_ext
7467 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7468 rm -f conftest.i conftest.err conftest.$ac_ext
7469 if $ac_preproc_ok; then :
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7482 $as_echo "$CPP" >&6; }
7484 for ac_c_preproc_warn_flag in '' yes
7486 # Use a header file that comes with gcc, so configuring glibc
7487 # with a fresh cross-compiler works.
7488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7489 # <limits.h> exists even on freestanding compilers.
7490 # On the NeXT, cc -E runs the code through the compiler's parser,
7491 # not just through cpp. "Syntax error" is here to catch this case.
7492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7493 /* end confdefs.h. */
7495 # include <limits.h>
7497 # include <assert.h>
7501 if ac_fn_c_try_cpp "$LINENO"; then :
7504 # Broken: fails on valid input.
7507 rm -f conftest.err conftest.i conftest.$ac_ext
7509 # OK, works on sane cases. Now check whether nonexistent headers
7510 # can be detected and how.
7511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7512 /* end confdefs.h. */
7513 #include <ac_nonexistent.h>
7515 if ac_fn_c_try_cpp "$LINENO"; then :
7516 # Broken: success on invalid input.
7519 # Passes both tests.
7523 rm -f conftest.err conftest.i conftest.$ac_ext
7526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7527 rm -f conftest.i conftest.err conftest.$ac_ext
7528 if $ac_preproc_ok; then :
7531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7533 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7534 See \`config.log' for more details" "$LINENO" 5; }
7538 ac_cpp='$CPP $CPPFLAGS'
7539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7545 $as_echo_n "checking for ANSI C header files... " >&6; }
7546 if ${ac_cv_header_stdc+:} false; then :
7547 $as_echo_n "(cached) " >&6
7549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7550 /* end confdefs.h. */
7564 if ac_fn_c_try_compile "$LINENO"; then :
7565 ac_cv_header_stdc=yes
7567 ac_cv_header_stdc=no
7569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7571 if test $ac_cv_header_stdc = yes; then
7572 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7574 /* end confdefs.h. */
7578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7579 $EGREP "memchr" >/dev/null 2>&1; then :
7582 ac_cv_header_stdc=no
7588 if test $ac_cv_header_stdc = yes; then
7589 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7596 $EGREP "free" >/dev/null 2>&1; then :
7599 ac_cv_header_stdc=no
7605 if test $ac_cv_header_stdc = yes; then
7606 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7607 if test "$cross_compiling" = yes; then :
7610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7611 /* end confdefs.h. */
7614 #if ((' ' & 0x0FF) == 0x020)
7615 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7616 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7618 # define ISLOWER(c) \
7619 (('a' <= (c) && (c) <= 'i') \
7620 || ('j' <= (c) && (c) <= 'r') \
7621 || ('s' <= (c) && (c) <= 'z'))
7622 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7625 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7630 for (i = 0; i < 256; i++)
7631 if (XOR (islower (i), ISLOWER (i))
7632 || toupper (i) != TOUPPER (i))
7637 if ac_fn_c_try_run "$LINENO"; then :
7640 ac_cv_header_stdc=no
7642 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7643 conftest.$ac_objext conftest.beam conftest.$ac_ext
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7649 $as_echo "$ac_cv_header_stdc" >&6; }
7650 if test $ac_cv_header_stdc = yes; then
7652 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7656 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7657 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7658 inttypes.h stdint.h unistd.h
7660 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7661 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7663 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7664 cat >>confdefs.h <<_ACEOF
7665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7673 for ac_header in dlfcn.h
7675 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7677 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7678 cat >>confdefs.h <<_ACEOF
7679 #define HAVE_DLFCN_H 1
7691 enable_win32_dll=yes
7694 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7695 if test -n "$ac_tool_prefix"; then
7696 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7697 set dummy ${ac_tool_prefix}as; ac_word=$2
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7699 $as_echo_n "checking for $ac_word... " >&6; }
7700 if ${ac_cv_prog_AS+:} false; then :
7701 $as_echo_n "(cached) " >&6
7703 if test -n "$AS"; then
7704 ac_cv_prog_AS="$AS" # Let the user override the test.
7706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir=.
7711 for ac_exec_ext in '' $ac_executable_extensions; do
7712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7713 ac_cv_prog_AS="${ac_tool_prefix}as"
7714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7724 if test -n "$AS"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7726 $as_echo "$AS" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7729 $as_echo "no" >&6; }
7734 if test -z "$ac_cv_prog_AS"; then
7736 # Extract the first word of "as", so it can be a program name with args.
7737 set dummy as; ac_word=$2
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7739 $as_echo_n "checking for $ac_word... " >&6; }
7740 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7741 $as_echo_n "(cached) " >&6
7743 if test -n "$ac_ct_AS"; then
7744 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7750 test -z "$as_dir" && as_dir=.
7751 for ac_exec_ext in '' $ac_executable_extensions; do
7752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7753 ac_cv_prog_ac_ct_AS="as"
7754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7764 if test -n "$ac_ct_AS"; then
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7766 $as_echo "$ac_ct_AS" >&6; }
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769 $as_echo "no" >&6; }
7772 if test "x$ac_ct_AS" = x; then
7775 case $cross_compiling:$ac_tool_warned in
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7779 ac_tool_warned=yes ;;
7787 if test -n "$ac_tool_prefix"; then
7788 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7789 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7791 $as_echo_n "checking for $ac_word... " >&6; }
7792 if ${ac_cv_prog_DLLTOOL+:} false; then :
7793 $as_echo_n "(cached) " >&6
7795 if test -n "$DLLTOOL"; then
7796 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802 test -z "$as_dir" && as_dir=.
7803 for ac_exec_ext in '' $ac_executable_extensions; do
7804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7805 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7815 DLLTOOL=$ac_cv_prog_DLLTOOL
7816 if test -n "$DLLTOOL"; then
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7818 $as_echo "$DLLTOOL" >&6; }
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7821 $as_echo "no" >&6; }
7826 if test -z "$ac_cv_prog_DLLTOOL"; then
7827 ac_ct_DLLTOOL=$DLLTOOL
7828 # Extract the first word of "dlltool", so it can be a program name with args.
7829 set dummy dlltool; ac_word=$2
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7831 $as_echo_n "checking for $ac_word... " >&6; }
7832 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7833 $as_echo_n "(cached) " >&6
7835 if test -n "$ac_ct_DLLTOOL"; then
7836 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7842 test -z "$as_dir" && as_dir=.
7843 for ac_exec_ext in '' $ac_executable_extensions; do
7844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7845 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7855 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7856 if test -n "$ac_ct_DLLTOOL"; then
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7858 $as_echo "$ac_ct_DLLTOOL" >&6; }
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7861 $as_echo "no" >&6; }
7864 if test "x$ac_ct_DLLTOOL" = x; then
7867 case $cross_compiling:$ac_tool_warned in
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7871 ac_tool_warned=yes ;;
7873 DLLTOOL=$ac_ct_DLLTOOL
7876 DLLTOOL="$ac_cv_prog_DLLTOOL"
7879 if test -n "$ac_tool_prefix"; then
7880 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7881 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7883 $as_echo_n "checking for $ac_word... " >&6; }
7884 if ${ac_cv_prog_OBJDUMP+:} false; then :
7885 $as_echo_n "(cached) " >&6
7887 if test -n "$OBJDUMP"; then
7888 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 test -z "$as_dir" && as_dir=.
7895 for ac_exec_ext in '' $ac_executable_extensions; do
7896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7897 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7907 OBJDUMP=$ac_cv_prog_OBJDUMP
7908 if test -n "$OBJDUMP"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7910 $as_echo "$OBJDUMP" >&6; }
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7918 if test -z "$ac_cv_prog_OBJDUMP"; then
7919 ac_ct_OBJDUMP=$OBJDUMP
7920 # Extract the first word of "objdump", so it can be a program name with args.
7921 set dummy objdump; ac_word=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923 $as_echo_n "checking for $ac_word... " >&6; }
7924 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7925 $as_echo_n "(cached) " >&6
7927 if test -n "$ac_ct_OBJDUMP"; then
7928 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7948 if test -n "$ac_ct_OBJDUMP"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7950 $as_echo "$ac_ct_OBJDUMP" >&6; }
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7956 if test "x$ac_ct_OBJDUMP" = x; then
7959 case $cross_compiling:$ac_tool_warned in
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7963 ac_tool_warned=yes ;;
7965 OBJDUMP=$ac_ct_OBJDUMP
7968 OBJDUMP="$ac_cv_prog_OBJDUMP"
7974 test -z "$AS" && AS=as
7980 test -z "$DLLTOOL" && DLLTOOL=dlltool
7986 test -z "$OBJDUMP" && OBJDUMP=objdump
7998 # Check whether --enable-shared was given.
7999 if test "${enable_shared+set}" = set; then :
8000 enableval=$enable_shared; p=${PACKAGE-default}
8002 yes) enable_shared=yes ;;
8003 no) enable_shared=no ;;
8006 # Look at the argument we got. We use all the common list separators.
8007 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8008 for pkg in $enableval; do
8010 if test "X$pkg" = "X$p"; then
8029 # Check whether --enable-static was given.
8030 if test "${enable_static+set}" = set; then :
8031 enableval=$enable_static; p=${PACKAGE-default}
8033 yes) enable_static=yes ;;
8034 no) enable_static=no ;;
8037 # Look at the argument we got. We use all the common list separators.
8038 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8039 for pkg in $enableval; do
8041 if test "X$pkg" = "X$p"; then
8061 # Check whether --with-pic was given.
8062 if test "${with_pic+set}" = set; then :
8063 withval=$with_pic; lt_p=${PACKAGE-default}
8065 yes|no) pic_mode=$withval ;;
8068 # Look at the argument we got. We use all the common list separators.
8069 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8070 for lt_pkg in $withval; do
8072 if test "X$lt_pkg" = "X$lt_p"; then
8084 test -z "$pic_mode" && pic_mode=default
8092 # Check whether --enable-fast-install was given.
8093 if test "${enable_fast_install+set}" = set; then :
8094 enableval=$enable_fast_install; p=${PACKAGE-default}
8096 yes) enable_fast_install=yes ;;
8097 no) enable_fast_install=no ;;
8099 enable_fast_install=no
8100 # Look at the argument we got. We use all the common list separators.
8101 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8102 for pkg in $enableval; do
8104 if test "X$pkg" = "X$p"; then
8105 enable_fast_install=yes
8112 enable_fast_install=yes
8125 # This can be used to rebuild libtool when needed
8126 LIBTOOL_DEPS="$ltmain"
8128 # Always use our own libtool.
8129 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8160 test -z "$LN_S" && LN_S="ln -s"
8175 if test -n "${ZSH_VERSION+set}" ; then
8176 setopt NO_GLOB_SUBST
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8180 $as_echo_n "checking for objdir... " >&6; }
8181 if ${lt_cv_objdir+:} false; then :
8182 $as_echo_n "(cached) " >&6
8184 rm -f .libs 2>/dev/null
8185 mkdir .libs 2>/dev/null
8186 if test -d .libs; then
8189 # MS-DOS does not allow filenames that begin with a dot.
8192 rmdir .libs 2>/dev/null
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8195 $as_echo "$lt_cv_objdir" >&6; }
8196 objdir=$lt_cv_objdir
8202 cat >>confdefs.h <<_ACEOF
8203 #define LT_OBJDIR "$lt_cv_objdir/"
8211 # AIX sometimes has problems with the GCC collect2 program. For some
8212 # reason, if we set the COLLECT_NAMES environment variable, the problems
8213 # vanish in a puff of smoke.
8214 if test "X${COLLECT_NAMES+set}" != Xset; then
8216 export COLLECT_NAMES
8223 can_build_shared=yes
8225 # All known linkers require a `.a' archive for static linking (except MSVC,
8226 # which needs '.lib').
8229 with_gnu_ld="$lt_cv_prog_gnu_ld"
8232 old_CFLAGS="$CFLAGS"
8234 # Set sane defaults for various variables
8235 test -z "$CC" && CC=cc
8236 test -z "$LTCC" && LTCC=$CC
8237 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8238 test -z "$LD" && LD=ld
8239 test -z "$ac_objext" && ac_objext=o
8241 for cc_temp in $compiler""; do
8243 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8244 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8249 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8252 # Only perform the check for file, if the check method requires it
8253 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8254 case $deplibs_check_method in
8256 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8258 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8259 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8260 $as_echo_n "(cached) " >&6
8264 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8267 lt_save_MAGIC_CMD="$MAGIC_CMD"
8268 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8269 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8270 for ac_dir in $ac_dummy; do
8272 test -z "$ac_dir" && ac_dir=.
8273 if test -f $ac_dir/${ac_tool_prefix}file; then
8274 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8275 if test -n "$file_magic_test_file"; then
8276 case $deplibs_check_method in
8278 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8279 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8280 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8281 $EGREP "$file_magic_regex" > /dev/null; then
8286 *** Warning: the command libtool uses to detect shared libraries,
8287 *** $file_magic_cmd, produces output that libtool cannot recognize.
8288 *** The result is that libtool may fail to recognize shared libraries
8289 *** as such. This will affect the creation of libtool libraries that
8290 *** depend on shared libraries, but programs linked with such libtool
8291 *** libraries will work regardless of this problem. Nevertheless, you
8292 *** may want to report the problem to your system manager and/or to
8293 *** bug-libtool@gnu.org
8303 MAGIC_CMD="$lt_save_MAGIC_CMD"
8308 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8309 if test -n "$MAGIC_CMD"; then
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8311 $as_echo "$MAGIC_CMD" >&6; }
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8314 $as_echo "no" >&6; }
8321 if test -z "$lt_cv_path_MAGIC_CMD"; then
8322 if test -n "$ac_tool_prefix"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8324 $as_echo_n "checking for file... " >&6; }
8325 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8326 $as_echo_n "(cached) " >&6
8330 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8333 lt_save_MAGIC_CMD="$MAGIC_CMD"
8334 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8335 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8336 for ac_dir in $ac_dummy; do
8338 test -z "$ac_dir" && ac_dir=.
8339 if test -f $ac_dir/file; then
8340 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8341 if test -n "$file_magic_test_file"; then
8342 case $deplibs_check_method in
8344 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8345 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8346 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8347 $EGREP "$file_magic_regex" > /dev/null; then
8352 *** Warning: the command libtool uses to detect shared libraries,
8353 *** $file_magic_cmd, produces output that libtool cannot recognize.
8354 *** The result is that libtool may fail to recognize shared libraries
8355 *** as such. This will affect the creation of libtool libraries that
8356 *** depend on shared libraries, but programs linked with such libtool
8357 *** libraries will work regardless of this problem. Nevertheless, you
8358 *** may want to report the problem to your system manager and/or to
8359 *** bug-libtool@gnu.org
8369 MAGIC_CMD="$lt_save_MAGIC_CMD"
8374 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8375 if test -n "$MAGIC_CMD"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8377 $as_echo "$MAGIC_CMD" >&6; }
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8380 $as_echo "no" >&6; }
8393 # Use C for the default configuration in the libtool script
8397 ac_cpp='$CPP $CPPFLAGS'
8398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8403 # Source file extension for C test sources.
8406 # Object file extension for compiled C test sources.
8410 # Code to be used in simple compile tests
8411 lt_simple_compile_test_code="int some_variable = 0;"
8413 # Code to be used in simple link tests
8414 lt_simple_link_test_code='int main(){return(0);}'
8422 # If no C compiler was specified, use CC.
8425 # If no C compiler flags were specified, use CFLAGS.
8426 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8428 # Allow CC to be a program name with arguments.
8431 # Save the default compiler, since it gets overwritten when the other
8432 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8433 compiler_DEFAULT=$CC
8435 # save warnings/boilerplate of simple test code
8436 ac_outfile=conftest.$ac_objext
8437 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8438 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8439 _lt_compiler_boilerplate=`cat conftest.err`
8442 ac_outfile=conftest.$ac_objext
8443 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8444 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8445 _lt_linker_boilerplate=`cat conftest.err`
8450 ## There is no encapsulation within the following macros, do not change
8451 ## the running order or otherwise move them around unless you know exactly
8452 ## what you are doing...
8453 if test -n "$compiler"; then
8455 lt_prog_compiler_no_builtin_flag=
8457 if test "$GCC" = yes; then
8458 case $cc_basename in
8460 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8462 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8466 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8467 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8468 $as_echo_n "(cached) " >&6
8470 lt_cv_prog_compiler_rtti_exceptions=no
8471 ac_outfile=conftest.$ac_objext
8472 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8473 lt_compiler_flag="-fno-rtti -fno-exceptions"
8474 # Insert the option either (1) after the last *FLAGS variable, or
8475 # (2) before a word containing "conftest.", or (3) at the end.
8476 # Note that $ac_compile itself does not contain backslashes and begins
8477 # with a dollar sign (not a hyphen), so the echo should work correctly.
8478 # The option is referenced via a variable to avoid confusing sed.
8479 lt_compile=`echo "$ac_compile" | $SED \
8480 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8481 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8482 -e 's:$: $lt_compiler_flag:'`
8483 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8484 (eval "$lt_compile" 2>conftest.err)
8486 cat conftest.err >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 if (exit $ac_status) && test -s "$ac_outfile"; then
8489 # The compiler can only warn and ignore the option if not recognized
8490 # So say no if there are warnings other than the usual output.
8491 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8492 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8493 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8494 lt_cv_prog_compiler_rtti_exceptions=yes
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8501 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8503 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8504 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8516 lt_prog_compiler_wl=
8517 lt_prog_compiler_pic=
8518 lt_prog_compiler_static=
8521 if test "$GCC" = yes; then
8522 lt_prog_compiler_wl='-Wl,'
8523 lt_prog_compiler_static='-static'
8527 # All AIX code is PIC.
8528 if test "$host_cpu" = ia64; then
8529 # AIX 5 now supports IA64 processor
8530 lt_prog_compiler_static='-Bstatic'
8537 # see comment about AmigaOS4 .so support
8538 lt_prog_compiler_pic='-fPIC'
8541 # FIXME: we need at least 68020 code to build shared libraries, but
8542 # adding the `-m68020' flag to GCC prevents building anything better,
8544 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8549 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8550 # PIC is the default for these OSes.
8553 mingw* | cygwin* | pw32* | os2* | cegcc*)
8554 # This hack is so that the source file can tell whether it is being
8555 # built for inclusion in a dll (and should export symbols for example).
8556 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8557 # (--disable-auto-import) libraries
8558 lt_prog_compiler_pic='-DDLL_EXPORT'
8561 darwin* | rhapsody*)
8562 # PIC is the default on this platform
8563 # Common symbols not allowed in MH_DYLIB files
8564 lt_prog_compiler_pic='-fno-common'
8568 # PIC is the default for Haiku.
8569 # The "-static" flag exists, but is broken.
8570 lt_prog_compiler_static=
8574 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8575 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8576 # sets the default TLS model and affects inlining.
8582 lt_prog_compiler_pic='-fPIC'
8588 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8589 # Instead, we relocate shared libraries at runtime.
8593 # Just because we use GCC doesn't mean we suddenly get shared libraries
8594 # on systems that don't support them.
8595 lt_prog_compiler_can_build_shared=no
8600 # QNX uses GNU C++, but need to define -shared option too, otherwise
8602 lt_prog_compiler_pic='-fPIC -shared'
8606 if test -d /usr/nec; then
8607 lt_prog_compiler_pic=-Kconform_pic
8612 lt_prog_compiler_pic='-fPIC'
8616 case $cc_basename in
8617 nvcc*) # Cuda Compiler Driver 2.2
8618 lt_prog_compiler_wl='-Xlinker '
8619 if test -n "$lt_prog_compiler_pic"; then
8620 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8625 # PORTME Check for flag to pass linker flags through the system compiler.
8628 lt_prog_compiler_wl='-Wl,'
8629 if test "$host_cpu" = ia64; then
8630 # AIX 5 now supports IA64 processor
8631 lt_prog_compiler_static='-Bstatic'
8633 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8637 mingw* | cygwin* | pw32* | os2* | cegcc*)
8638 # This hack is so that the source file can tell whether it is being
8639 # built for inclusion in a dll (and should export symbols for example).
8640 lt_prog_compiler_pic='-DDLL_EXPORT'
8643 hpux9* | hpux10* | hpux11*)
8644 lt_prog_compiler_wl='-Wl,'
8645 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8652 lt_prog_compiler_pic='+Z'
8655 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8656 lt_prog_compiler_static='${wl}-a ${wl}archive'
8659 irix5* | irix6* | nonstopux*)
8660 lt_prog_compiler_wl='-Wl,'
8661 # PIC (with -KPIC) is the default.
8662 lt_prog_compiler_static='-non_shared'
8665 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8666 case $cc_basename in
8667 # old Intel for x86_64 which still supported -KPIC.
8669 lt_prog_compiler_wl='-Wl,'
8670 lt_prog_compiler_pic='-KPIC'
8671 lt_prog_compiler_static='-static'
8673 # icc used to be incompatible with GCC.
8674 # ICC 10 doesn't accept -KPIC any more.
8676 lt_prog_compiler_wl='-Wl,'
8677 lt_prog_compiler_pic='-fPIC'
8678 lt_prog_compiler_static='-static'
8680 # Lahey Fortran 8.1.
8682 lt_prog_compiler_wl='-Wl,'
8683 lt_prog_compiler_pic='--shared'
8684 lt_prog_compiler_static='--static'
8687 # NAG Fortran compiler
8688 lt_prog_compiler_wl='-Wl,-Wl,,'
8689 lt_prog_compiler_pic='-PIC'
8690 lt_prog_compiler_static='-Bstatic'
8692 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8693 # Portland Group compilers (*not* the Pentium gcc compiler,
8694 # which looks to be a dead project)
8695 lt_prog_compiler_wl='-Wl,'
8696 lt_prog_compiler_pic='-fpic'
8697 lt_prog_compiler_static='-Bstatic'
8700 lt_prog_compiler_wl='-Wl,'
8701 # All Alpha code is PIC.
8702 lt_prog_compiler_static='-non_shared'
8704 xl* | bgxl* | bgf* | mpixl*)
8705 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8706 lt_prog_compiler_wl='-Wl,'
8707 lt_prog_compiler_pic='-qpic'
8708 lt_prog_compiler_static='-qstaticlink'
8711 case `$CC -V 2>&1 | sed 5q` in
8712 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8713 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8714 lt_prog_compiler_pic='-KPIC'
8715 lt_prog_compiler_static='-Bstatic'
8716 lt_prog_compiler_wl=''
8718 *Sun\ F* | *Sun*Fortran*)
8719 lt_prog_compiler_pic='-KPIC'
8720 lt_prog_compiler_static='-Bstatic'
8721 lt_prog_compiler_wl='-Qoption ld '
8725 lt_prog_compiler_pic='-KPIC'
8726 lt_prog_compiler_static='-Bstatic'
8727 lt_prog_compiler_wl='-Wl,'
8729 *Intel*\ [CF]*Compiler*)
8730 lt_prog_compiler_wl='-Wl,'
8731 lt_prog_compiler_pic='-fPIC'
8732 lt_prog_compiler_static='-static'
8735 lt_prog_compiler_wl='-Wl,'
8736 lt_prog_compiler_pic='-fpic'
8737 lt_prog_compiler_static='-Bstatic'
8745 lt_prog_compiler_pic='-KPIC'
8746 lt_prog_compiler_static='-Bstatic'
8750 # QNX uses GNU C++, but need to define -shared option too, otherwise
8752 lt_prog_compiler_pic='-fPIC -shared'
8755 osf3* | osf4* | osf5*)
8756 lt_prog_compiler_wl='-Wl,'
8757 # All OSF/1 code is PIC.
8758 lt_prog_compiler_static='-non_shared'
8762 lt_prog_compiler_static='-non_shared'
8766 lt_prog_compiler_pic='-KPIC'
8767 lt_prog_compiler_static='-Bstatic'
8768 case $cc_basename in
8769 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8770 lt_prog_compiler_wl='-Qoption ld ';;
8772 lt_prog_compiler_wl='-Wl,';;
8777 lt_prog_compiler_wl='-Qoption ld '
8778 lt_prog_compiler_pic='-PIC'
8779 lt_prog_compiler_static='-Bstatic'
8782 sysv4 | sysv4.2uw2* | sysv4.3*)
8783 lt_prog_compiler_wl='-Wl,'
8784 lt_prog_compiler_pic='-KPIC'
8785 lt_prog_compiler_static='-Bstatic'
8789 if test -d /usr/nec ;then
8790 lt_prog_compiler_pic='-Kconform_pic'
8791 lt_prog_compiler_static='-Bstatic'
8795 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8796 lt_prog_compiler_wl='-Wl,'
8797 lt_prog_compiler_pic='-KPIC'
8798 lt_prog_compiler_static='-Bstatic'
8802 lt_prog_compiler_wl='-Wl,'
8803 lt_prog_compiler_can_build_shared=no
8807 lt_prog_compiler_pic='-pic'
8808 lt_prog_compiler_static='-Bstatic'
8812 lt_prog_compiler_can_build_shared=no
8818 # For platforms which do not support PIC, -DPIC is meaningless:
8820 lt_prog_compiler_pic=
8823 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8828 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8829 if ${lt_cv_prog_compiler_pic+:} false; then :
8830 $as_echo_n "(cached) " >&6
8832 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8835 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8836 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8839 # Check to make sure the PIC flag actually works.
8841 if test -n "$lt_prog_compiler_pic"; then
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8843 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8844 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8845 $as_echo_n "(cached) " >&6
8847 lt_cv_prog_compiler_pic_works=no
8848 ac_outfile=conftest.$ac_objext
8849 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8850 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8851 # Insert the option either (1) after the last *FLAGS variable, or
8852 # (2) before a word containing "conftest.", or (3) at the end.
8853 # Note that $ac_compile itself does not contain backslashes and begins
8854 # with a dollar sign (not a hyphen), so the echo should work correctly.
8855 # The option is referenced via a variable to avoid confusing sed.
8856 lt_compile=`echo "$ac_compile" | $SED \
8857 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8858 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8859 -e 's:$: $lt_compiler_flag:'`
8860 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8861 (eval "$lt_compile" 2>conftest.err)
8863 cat conftest.err >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 if (exit $ac_status) && test -s "$ac_outfile"; then
8866 # The compiler can only warn and ignore the option if not recognized
8867 # So say no if there are warnings other than the usual output.
8868 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8869 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8870 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8871 lt_cv_prog_compiler_pic_works=yes
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8878 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8880 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8881 case $lt_prog_compiler_pic in
8883 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8886 lt_prog_compiler_pic=
8887 lt_prog_compiler_can_build_shared=no
8903 # Check to make sure the static flag actually works.
8905 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8907 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8908 if ${lt_cv_prog_compiler_static_works+:} false; then :
8909 $as_echo_n "(cached) " >&6
8911 lt_cv_prog_compiler_static_works=no
8912 save_LDFLAGS="$LDFLAGS"
8913 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8914 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8915 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8916 # The linker can only warn and ignore the option if not recognized
8917 # So say no if there are warnings
8918 if test -s conftest.err; then
8919 # Append any errors to the config.log.
8920 cat conftest.err 1>&5
8921 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8922 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8923 if diff conftest.exp conftest.er2 >/dev/null; then
8924 lt_cv_prog_compiler_static_works=yes
8927 lt_cv_prog_compiler_static_works=yes
8931 LDFLAGS="$save_LDFLAGS"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8935 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8937 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8940 lt_prog_compiler_static=
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8950 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8951 if ${lt_cv_prog_compiler_c_o+:} false; then :
8952 $as_echo_n "(cached) " >&6
8954 lt_cv_prog_compiler_c_o=no
8955 $RM -r conftest 2>/dev/null
8959 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8961 lt_compiler_flag="-o out/conftest2.$ac_objext"
8962 # Insert the option either (1) after the last *FLAGS variable, or
8963 # (2) before a word containing "conftest.", or (3) at the end.
8964 # Note that $ac_compile itself does not contain backslashes and begins
8965 # with a dollar sign (not a hyphen), so the echo should work correctly.
8966 lt_compile=`echo "$ac_compile" | $SED \
8967 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8968 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8969 -e 's:$: $lt_compiler_flag:'`
8970 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8971 (eval "$lt_compile" 2>out/conftest.err)
8973 cat out/conftest.err >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8977 # The compiler can only warn and ignore the option if not recognized
8978 # So say no if there are warnings
8979 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8980 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8981 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8982 lt_cv_prog_compiler_c_o=yes
8987 # SGI C++ compiler will create directory out/ii_files/ for
8988 # template instantiation
8989 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8990 $RM out/* && rmdir out
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8997 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9005 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9006 if ${lt_cv_prog_compiler_c_o+:} false; then :
9007 $as_echo_n "(cached) " >&6
9009 lt_cv_prog_compiler_c_o=no
9010 $RM -r conftest 2>/dev/null
9014 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9016 lt_compiler_flag="-o out/conftest2.$ac_objext"
9017 # Insert the option either (1) after the last *FLAGS variable, or
9018 # (2) before a word containing "conftest.", or (3) at the end.
9019 # Note that $ac_compile itself does not contain backslashes and begins
9020 # with a dollar sign (not a hyphen), so the echo should work correctly.
9021 lt_compile=`echo "$ac_compile" | $SED \
9022 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9023 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9024 -e 's:$: $lt_compiler_flag:'`
9025 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9026 (eval "$lt_compile" 2>out/conftest.err)
9028 cat out/conftest.err >&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9032 # The compiler can only warn and ignore the option if not recognized
9033 # So say no if there are warnings
9034 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9035 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9036 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9037 lt_cv_prog_compiler_c_o=yes
9042 # SGI C++ compiler will create directory out/ii_files/ for
9043 # template instantiation
9044 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9045 $RM out/* && rmdir out
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9052 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9057 hard_links="nottested"
9058 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9059 # do not overwrite the value of need_locks provided by the user
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9061 $as_echo_n "checking if we can lock with hard links... " >&6; }
9064 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9066 ln conftest.a conftest.b 2>&5 || hard_links=no
9067 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9069 $as_echo "$hard_links" >&6; }
9070 if test "$hard_links" = no; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9072 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9085 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9088 allow_undefined_flag=
9089 always_export_symbols=no
9091 archive_expsym_cmds=
9092 compiler_needs_object=no
9093 enable_shared_with_static_runtimes=no
9094 export_dynamic_flag_spec=
9095 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9096 hardcode_automatic=no
9098 hardcode_direct_absolute=no
9099 hardcode_libdir_flag_spec=
9100 hardcode_libdir_separator=
9102 hardcode_shlibpath_var=unsupported
9104 link_all_deplibs=unknown
9107 old_archive_from_new_cmds=
9108 old_archive_from_expsyms_cmds=
9109 thread_safe_flag_spec=
9110 whole_archive_flag_spec=
9111 # include_expsyms should be a list of space-separated symbols to be *always*
9112 # included in the symbol list
9114 # exclude_expsyms can be an extended regexp of symbols to exclude
9115 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9116 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9117 # as well as any symbol that contains `d'.
9118 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9119 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9120 # platforms (ab)use it in PIC code, but their linkers get confused if
9121 # the symbol is explicitly referenced. Since portable code cannot
9122 # rely on this symbol name, it's probably fine to never include it in
9123 # preloaded symbol tables.
9124 # Exclude shared library initialization/finalization symbols.
9125 extract_expsyms_cmds=
9128 cygwin* | mingw* | pw32* | cegcc*)
9129 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9130 # When not using gcc, we currently assume that we are using
9131 # Microsoft Visual C++.
9132 if test "$GCC" != yes; then
9137 # we just hope/assume this is gcc and not c89 (= MSVC++)
9143 linux* | k*bsd*-gnu | gnu*)
9150 # On some targets, GNU ld is compatible enough with the native linker
9151 # that we're better off using the native interface for both.
9152 lt_use_gnu_ld_interface=no
9153 if test "$with_gnu_ld" = yes; then
9156 # The AIX port of GNU ld has always aspired to compatibility
9157 # with the native linker. However, as the warning in the GNU ld
9158 # block says, versions before 2.19.5* couldn't really create working
9159 # shared libraries, regardless of the interface used.
9160 case `$LD -v 2>&1` in
9161 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9162 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9163 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9165 lt_use_gnu_ld_interface=yes
9170 lt_use_gnu_ld_interface=yes
9175 if test "$lt_use_gnu_ld_interface" = yes; then
9176 # If archive_cmds runs LD, not CC, wlarc should be empty
9179 # Set some defaults for GNU ld with shared library support. These
9180 # are reset later if shared libraries are not supported. Putting them
9181 # here allows them to be overridden if necessary.
9182 runpath_var=LD_RUN_PATH
9183 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9184 export_dynamic_flag_spec='${wl}--export-dynamic'
9185 # ancient GNU ld didn't support --whole-archive et. al.
9186 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9187 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9189 whole_archive_flag_spec=
9191 supports_anon_versioning=no
9192 case `$LD -v 2>&1` in
9193 *GNU\ gold*) supports_anon_versioning=yes ;;
9194 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9195 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9196 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9197 *\ 2.11.*) ;; # other 2.11 versions
9198 *) supports_anon_versioning=yes ;;
9201 # See if GNU ld supports shared libraries.
9204 # On AIX/PPC, the GNU linker is very broken
9205 if test "$host_cpu" != ia64; then
9209 *** Warning: the GNU linker, at least up to release 2.19, is reported
9210 *** to be unable to reliably create shared libraries on AIX.
9211 *** Therefore, libtool is disabling shared libraries support. If you
9212 *** really care for shared libraries, you may want to install binutils
9213 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9214 *** You will then need to restart the configuration process.
9223 # see comment about AmigaOS4 .so support
9224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9225 archive_expsym_cmds=''
9228 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)'
9229 hardcode_libdir_flag_spec='-L$libdir'
9230 hardcode_minus_L=yes
9236 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9237 allow_undefined_flag=unsupported
9238 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9239 # support --undefined. This deserves some investigation. FIXME
9240 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9246 cygwin* | mingw* | pw32* | cegcc*)
9247 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9248 # as there is no search path for DLLs.
9249 hardcode_libdir_flag_spec='-L$libdir'
9250 export_dynamic_flag_spec='${wl}--export-all-symbols'
9251 allow_undefined_flag=unsupported
9252 always_export_symbols=no
9253 enable_shared_with_static_runtimes=yes
9254 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'
9255 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9257 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9258 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9259 # If the export-symbols file already is a .def file (1st line
9260 # is EXPORTS), use it as is; otherwise, prepend...
9261 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9262 cp $export_symbols $output_objdir/$soname.def;
9264 echo EXPORTS > $output_objdir/$soname.def;
9265 cat $export_symbols >> $output_objdir/$soname.def;
9267 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9274 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9275 link_all_deplibs=yes
9280 hardcode_shlibpath_var=no
9281 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9282 export_dynamic_flag_spec='${wl}-E'
9283 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9284 # Instead, shared libraries are loaded at an image base (0x10000000 by
9285 # default) and relocated if they conflict, which is a slow very memory
9286 # consuming and fragmenting process. To avoid this, we pick a random,
9287 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9288 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9289 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9290 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'
9293 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9295 if test "$host_os" = linux-dietlibc; then
9296 case $cc_basename in
9297 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9300 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9301 && test "$tmp_diet" = no
9303 tmp_addflag=' $pic_flag'
9304 tmp_sharedflag='-shared'
9305 case $cc_basename,$host_cpu in
9306 pgcc*) # Portland Group C compiler
9307 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'
9308 tmp_addflag=' $pic_flag'
9310 pgf77* | pgf90* | pgf95* | pgfortran*)
9311 # Portland Group f77 and f90 compilers
9312 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'
9313 tmp_addflag=' $pic_flag -Mnomain' ;;
9314 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9315 tmp_addflag=' -i_dynamic' ;;
9316 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9317 tmp_addflag=' -i_dynamic -nofor_main' ;;
9318 ifc* | ifort*) # Intel Fortran compiler
9319 tmp_addflag=' -nofor_main' ;;
9320 lf95*) # Lahey Fortran 8.1
9321 whole_archive_flag_spec=
9322 tmp_sharedflag='--shared' ;;
9323 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9324 tmp_sharedflag='-qmkshrobj'
9326 nvcc*) # Cuda Compiler Driver 2.2
9327 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'
9328 compiler_needs_object=yes
9331 case `$CC -V 2>&1 | sed 5q` in
9332 *Sun\ C*) # Sun C 5.9
9333 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'
9334 compiler_needs_object=yes
9335 tmp_sharedflag='-G' ;;
9336 *Sun\ F*) # Sun Fortran 8.3
9337 tmp_sharedflag='-G' ;;
9339 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9341 if test "x$supports_anon_versioning" = xyes; then
9342 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9343 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9344 echo "local: *; };" >> $output_objdir/$libname.ver~
9345 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9348 case $cc_basename in
9349 xlf* | bgf* | bgxlf* | mpixlf*)
9350 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9351 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9352 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9353 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9354 if test "x$supports_anon_versioning" = xyes; then
9355 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9356 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9357 echo "local: *; };" >> $output_objdir/$libname.ver~
9358 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9367 netbsd* | netbsdelf*-gnu)
9368 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9369 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9372 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9373 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9378 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9382 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9383 *** create shared libraries on Solaris systems. Therefore, libtool
9384 *** is disabling shared libraries support. We urge you to upgrade GNU
9385 *** binutils to release 2.9.1 or newer. Another option is to modify
9386 *** your PATH or compiler configuration so that the native linker is
9387 *** used, and then restart.
9390 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9391 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9392 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9398 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9399 case `$LD -v 2>&1` in
9400 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9404 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9405 *** reliably create shared libraries on SCO systems. Therefore, libtool
9406 *** is disabling shared libraries support. We urge you to upgrade GNU
9407 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9408 *** your PATH or compiler configuration so that the native linker is
9409 *** used, and then restart.
9414 # For security reasons, it is highly recommended that you always
9415 # use absolute paths for naming shared libraries, and exclude the
9416 # DT_RUNPATH tag from executables and libraries. But doing so
9417 # requires that you compile everything twice, which is a pain.
9418 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9419 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9420 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9421 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9430 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9433 hardcode_shlibpath_var=no
9437 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9438 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9439 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9446 if test "$ld_shlibs" = no; then
9448 hardcode_libdir_flag_spec=
9449 export_dynamic_flag_spec=
9450 whole_archive_flag_spec=
9453 # PORTME fill in a description of your system's linker (not GNU ld)
9456 allow_undefined_flag=unsupported
9457 always_export_symbols=yes
9458 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'
9459 # Note: this linker hardcodes the directories in LIBPATH if there
9460 # are no directories specified by -L.
9461 hardcode_minus_L=yes
9462 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9463 # Neither direct hardcoding nor static linking is supported with a
9465 hardcode_direct=unsupported
9470 if test "$host_cpu" = ia64; then
9471 # On IA64, the linker does run time linking by default, so we don't
9472 # have to do anything special.
9473 aix_use_runtimelinking=no
9474 exp_sym_flag='-Bexport'
9477 # If we're using GNU nm, then we don't want the "-C" option.
9478 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9479 # Also, AIX nm treats weak defined symbols like other global
9480 # defined symbols, whereas GNU nm marks them as "W".
9481 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9482 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'
9484 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'
9486 aix_use_runtimelinking=no
9488 # Test if we are trying to use run time linking or normal
9489 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9490 # need to do runtime linking.
9491 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9492 for ld_flag in $LDFLAGS; do
9493 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9494 aix_use_runtimelinking=yes
9501 exp_sym_flag='-bexport'
9502 no_entry_flag='-bnoentry'
9505 # When large executables or shared objects are built, AIX ld can
9506 # have problems creating the table of contents. If linking a library
9507 # or program results in "error TOC overflow" add -mminimal-toc to
9508 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9509 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9513 hardcode_direct_absolute=yes
9514 hardcode_libdir_separator=':'
9515 link_all_deplibs=yes
9516 file_list_spec='${wl}-f,'
9518 if test "$GCC" = yes; then
9519 case $host_os in aix4.[012]|aix4.[012].*)
9520 # We only want to do this on AIX 4.2 and lower, the check
9521 # below for broken collect2 doesn't work under 4.3+
9522 collect2name=`${CC} -print-prog-name=collect2`
9523 if test -f "$collect2name" &&
9524 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9526 # We have reworked collect2
9529 # We have old collect2
9530 hardcode_direct=unsupported
9531 # It fails to find uninstalled libraries when the uninstalled
9532 # path is not listed in the libpath. Setting hardcode_minus_L
9533 # to unsupported forces relinking
9534 hardcode_minus_L=yes
9535 hardcode_libdir_flag_spec='-L$libdir'
9536 hardcode_libdir_separator=
9540 shared_flag='-shared'
9541 if test "$aix_use_runtimelinking" = yes; then
9542 shared_flag="$shared_flag "'${wl}-G'
9547 if test "$host_cpu" = ia64; then
9548 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9549 # chokes on -Wl,-G. The following line is correct:
9552 if test "$aix_use_runtimelinking" = yes; then
9553 shared_flag='${wl}-G'
9555 shared_flag='${wl}-bM:SRE'
9560 export_dynamic_flag_spec='${wl}-bexpall'
9561 # It seems that -bexpall does not export symbols beginning with
9562 # underscore (_), so it is better to generate a list of symbols to export.
9563 always_export_symbols=yes
9564 if test "$aix_use_runtimelinking" = yes; then
9565 # Warning - without using the other runtime loading flags (-brtl),
9566 # -berok will link without error, but may produce a broken library.
9567 allow_undefined_flag='-berok'
9568 # Determine the default libpath from the value encoded in an
9570 if test "${lt_cv_aix_libpath+set}" = set; then
9571 aix_libpath=$lt_cv_aix_libpath
9573 if ${lt_cv_aix_libpath_+:} false; then :
9574 $as_echo_n "(cached) " >&6
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9587 if ac_fn_c_try_link "$LINENO"; then :
9589 lt_aix_libpath_sed='
9590 /Import File Strings/,/^$/ {
9592 s/^0 *\([^ ]*\) *$/\1/
9596 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9597 # Check for a 64-bit object if we didn't find anything.
9598 if test -z "$lt_cv_aix_libpath_"; then
9599 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 if test -z "$lt_cv_aix_libpath_"; then
9605 lt_cv_aix_libpath_="/usr/lib:/lib"
9610 aix_libpath=$lt_cv_aix_libpath_
9613 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9614 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"
9616 if test "$host_cpu" = ia64; then
9617 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9618 allow_undefined_flag="-z nodefs"
9619 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"
9621 # Determine the default libpath from the value encoded in an
9623 if test "${lt_cv_aix_libpath+set}" = set; then
9624 aix_libpath=$lt_cv_aix_libpath
9626 if ${lt_cv_aix_libpath_+:} false; then :
9627 $as_echo_n "(cached) " >&6
9629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h. */
9640 if ac_fn_c_try_link "$LINENO"; then :
9642 lt_aix_libpath_sed='
9643 /Import File Strings/,/^$/ {
9645 s/^0 *\([^ ]*\) *$/\1/
9649 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9650 # Check for a 64-bit object if we didn't find anything.
9651 if test -z "$lt_cv_aix_libpath_"; then
9652 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9655 rm -f core conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9657 if test -z "$lt_cv_aix_libpath_"; then
9658 lt_cv_aix_libpath_="/usr/lib:/lib"
9663 aix_libpath=$lt_cv_aix_libpath_
9666 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9667 # Warning - without using the other run time loading flags,
9668 # -berok will link without error, but may produce a broken library.
9669 no_undefined_flag=' ${wl}-bernotok'
9670 allow_undefined_flag=' ${wl}-berok'
9671 if test "$with_gnu_ld" = yes; then
9672 # We only use this code for GNU lds that support --whole-archive.
9673 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9675 # Exported symbols can be pulled into shared objects from archives
9676 whole_archive_flag_spec='$convenience'
9678 archive_cmds_need_lc=yes
9679 # This is similar to how AIX traditionally builds its shared libraries.
9680 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'
9688 # see comment about AmigaOS4 .so support
9689 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9690 archive_expsym_cmds=''
9693 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)'
9694 hardcode_libdir_flag_spec='-L$libdir'
9695 hardcode_minus_L=yes
9701 export_dynamic_flag_spec=-rdynamic
9704 cygwin* | mingw* | pw32* | cegcc*)
9705 # When not using gcc, we currently assume that we are using
9706 # Microsoft Visual C++.
9707 # hardcode_libdir_flag_spec is actually meaningless, as there is
9708 # no search path for DLLs.
9709 case $cc_basename in
9712 hardcode_libdir_flag_spec=' '
9713 allow_undefined_flag=unsupported
9714 always_export_symbols=yes
9716 # Tell ltmain to make .lib files, not .a files.
9718 # Tell ltmain to make .dll files, not .so files.
9720 # FIXME: Setting linknames here is a bad hack.
9721 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9722 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9723 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9725 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9727 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9729 # The linker will not automatically build a static lib if we build a DLL.
9730 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9731 enable_shared_with_static_runtimes=yes
9732 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9733 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9735 old_postinstall_cmds='chmod 644 $oldlib'
9736 postlink_cmds='lt_outputfile="@OUTPUT@"~
9737 lt_tool_outputfile="@TOOL_OUTPUT@"~
9738 case $lt_outputfile in
9741 lt_outputfile="$lt_outputfile.exe"
9742 lt_tool_outputfile="$lt_tool_outputfile.exe"
9745 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9746 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9747 $RM "$lt_outputfile.manifest";
9751 # Assume MSVC wrapper
9752 hardcode_libdir_flag_spec=' '
9753 allow_undefined_flag=unsupported
9754 # Tell ltmain to make .lib files, not .a files.
9756 # Tell ltmain to make .dll files, not .so files.
9758 # FIXME: Setting linknames here is a bad hack.
9759 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9760 # The linker will automatically build a .lib file if we build a DLL.
9761 old_archive_from_new_cmds='true'
9762 # FIXME: Should let the user specify the lib program.
9763 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9764 enable_shared_with_static_runtimes=yes
9769 darwin* | rhapsody*)
9772 archive_cmds_need_lc=no
9774 hardcode_automatic=yes
9775 hardcode_shlibpath_var=unsupported
9776 if test "$lt_cv_ld_force_load" = "yes"; then
9777 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\"`'
9780 whole_archive_flag_spec=''
9782 link_all_deplibs=yes
9783 allow_undefined_flag="$_lt_dar_allow_undefined"
9784 case $cc_basename in
9785 ifort*) _lt_dar_can_shared=yes ;;
9786 *) _lt_dar_can_shared=$GCC ;;
9788 if test "$_lt_dar_can_shared" = "yes"; then
9789 output_verbose_link_cmd=func_echo_all
9790 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9791 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9792 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}"
9793 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}"
9802 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9803 hardcode_libdir_flag_spec='-L$libdir'
9804 hardcode_shlibpath_var=no
9807 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9808 # support. Future versions do this automatically, but an explicit c++rt0.o
9809 # does not break anything, and helps significantly (at the cost of a little
9812 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9813 hardcode_libdir_flag_spec='-R$libdir'
9815 hardcode_shlibpath_var=no
9818 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9820 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9822 hardcode_minus_L=yes
9823 hardcode_shlibpath_var=no
9826 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9827 freebsd* | dragonfly*)
9828 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9829 hardcode_libdir_flag_spec='-R$libdir'
9831 hardcode_shlibpath_var=no
9835 if test "$GCC" = yes; then
9836 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'
9838 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'
9840 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9841 hardcode_libdir_separator=:
9844 # hardcode_minus_L: Not really in the search PATH,
9845 # but as the default location of the library.
9846 hardcode_minus_L=yes
9847 export_dynamic_flag_spec='${wl}-E'
9851 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9852 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9854 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9856 if test "$with_gnu_ld" = no; then
9857 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9858 hardcode_libdir_separator=:
9860 hardcode_direct_absolute=yes
9861 export_dynamic_flag_spec='${wl}-E'
9862 # hardcode_minus_L: Not really in the search PATH,
9863 # but as the default location of the library.
9864 hardcode_minus_L=yes
9869 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9872 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9875 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9887 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9891 # Older versions of the 11.00 compiler do not understand -b yet
9892 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9894 $as_echo_n "checking if $CC understands -b... " >&6; }
9895 if ${lt_cv_prog_compiler__b+:} false; then :
9896 $as_echo_n "(cached) " >&6
9898 lt_cv_prog_compiler__b=no
9899 save_LDFLAGS="$LDFLAGS"
9900 LDFLAGS="$LDFLAGS -b"
9901 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9902 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9903 # The linker can only warn and ignore the option if not recognized
9904 # So say no if there are warnings
9905 if test -s conftest.err; then
9906 # Append any errors to the config.log.
9907 cat conftest.err 1>&5
9908 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9909 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9910 if diff conftest.exp conftest.er2 >/dev/null; then
9911 lt_cv_prog_compiler__b=yes
9914 lt_cv_prog_compiler__b=yes
9918 LDFLAGS="$save_LDFLAGS"
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9922 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9924 if test x"$lt_cv_prog_compiler__b" = xyes; then
9925 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9927 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9933 if test "$with_gnu_ld" = no; then
9934 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9935 hardcode_libdir_separator=:
9940 hardcode_shlibpath_var=no
9944 hardcode_direct_absolute=yes
9945 export_dynamic_flag_spec='${wl}-E'
9947 # hardcode_minus_L: Not really in the search PATH,
9948 # but as the default location of the library.
9949 hardcode_minus_L=yes
9955 irix5* | irix6* | nonstopux*)
9956 if test "$GCC" = yes; then
9957 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'
9958 # Try to use the -exported_symbol ld option, if it does not
9959 # work, assume that -exports_file does not work either and
9960 # implicitly export all symbols.
9961 # This should be the same for all languages, so no per-tag cache variable.
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9963 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9964 if ${lt_cv_irix_exported_symbol+:} false; then :
9965 $as_echo_n "(cached) " >&6
9967 save_LDFLAGS="$LDFLAGS"
9968 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int foo (void) { return 0; }
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 lt_cv_irix_exported_symbol=yes
9976 lt_cv_irix_exported_symbol=no
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 LDFLAGS="$save_LDFLAGS"
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9983 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9984 if test "$lt_cv_irix_exported_symbol" = yes; then
9985 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'
9988 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'
9989 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'
9991 archive_cmds_need_lc='no'
9992 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9993 hardcode_libdir_separator=:
9995 link_all_deplibs=yes
9998 netbsd* | netbsdelf*-gnu)
9999 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10000 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10002 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10004 hardcode_libdir_flag_spec='-R$libdir'
10005 hardcode_direct=yes
10006 hardcode_shlibpath_var=no
10010 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10011 hardcode_direct=yes
10012 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10013 hardcode_libdir_separator=:
10014 hardcode_shlibpath_var=no
10021 if test -f /usr/libexec/ld.so; then
10022 hardcode_direct=yes
10023 hardcode_shlibpath_var=no
10024 hardcode_direct_absolute=yes
10025 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10026 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10028 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10029 export_dynamic_flag_spec='${wl}-E'
10032 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10033 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10034 hardcode_libdir_flag_spec='-R$libdir'
10037 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10038 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10048 hardcode_libdir_flag_spec='-L$libdir'
10049 hardcode_minus_L=yes
10050 allow_undefined_flag=unsupported
10051 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'
10052 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10056 if test "$GCC" = yes; then
10057 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10058 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'
10060 allow_undefined_flag=' -expect_unresolved \*'
10061 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'
10063 archive_cmds_need_lc='no'
10064 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10065 hardcode_libdir_separator=:
10068 osf4* | osf5*) # as osf3* with the addition of -msym flag
10069 if test "$GCC" = yes; then
10070 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10071 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'
10072 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10074 allow_undefined_flag=' -expect_unresolved \*'
10075 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'
10076 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~
10077 $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'
10079 # Both c and cxx compiler support -rpath directly
10080 hardcode_libdir_flag_spec='-rpath $libdir'
10082 archive_cmds_need_lc='no'
10083 hardcode_libdir_separator=:
10087 no_undefined_flag=' -z defs'
10088 if test "$GCC" = yes; then
10090 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10092 $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'
10094 case `$CC -V 2>&1` in
10097 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10099 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10103 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10104 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10105 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10109 hardcode_libdir_flag_spec='-R$libdir'
10110 hardcode_shlibpath_var=no
10112 solaris2.[0-5] | solaris2.[0-5].*) ;;
10114 # The compiler driver will combine and reorder linker options,
10115 # but understands `-z linker_flag'. GCC discards it without `$wl',
10116 # but is careful enough not to reorder.
10117 # Supported since Solaris 2.6 (maybe 2.5.1?)
10118 if test "$GCC" = yes; then
10119 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10121 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10125 link_all_deplibs=yes
10129 if test "x$host_vendor" = xsequent; then
10130 # Use $CC to link under sequent, because it throws in some extra .o
10131 # files that make .init and .fini sections work.
10132 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10134 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10136 hardcode_libdir_flag_spec='-L$libdir'
10137 hardcode_direct=yes
10138 hardcode_minus_L=yes
10139 hardcode_shlibpath_var=no
10143 case $host_vendor in
10145 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10146 hardcode_direct=yes # is this really true???
10149 ## LD is ld it makes a PLAMLIB
10150 ## CC just makes a GrossModule.
10151 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10152 reload_cmds='$CC -r -o $output$reload_objs'
10156 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10157 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10160 runpath_var='LD_RUN_PATH'
10161 hardcode_shlibpath_var=no
10165 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10166 hardcode_shlibpath_var=no
10167 export_dynamic_flag_spec='-Bexport'
10171 if test -d /usr/nec; then
10172 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10173 hardcode_shlibpath_var=no
10174 runpath_var=LD_RUN_PATH
10175 hardcode_runpath_var=yes
10180 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10181 no_undefined_flag='${wl}-z,text'
10182 archive_cmds_need_lc=no
10183 hardcode_shlibpath_var=no
10184 runpath_var='LD_RUN_PATH'
10186 if test "$GCC" = yes; then
10187 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10190 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10191 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10195 sysv5* | sco3.2v5* | sco5v6*)
10196 # Note: We can NOT use -z defs as we might desire, because we do not
10197 # link with -lc, and that would cause any symbols used from libc to
10198 # always be unresolved, which means just about no library would
10199 # ever link correctly. If we're not using GNU ld we use -z text
10200 # though, which does catch some bad symbols but isn't as heavy-handed
10202 no_undefined_flag='${wl}-z,text'
10203 allow_undefined_flag='${wl}-z,nodefs'
10204 archive_cmds_need_lc=no
10205 hardcode_shlibpath_var=no
10206 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10207 hardcode_libdir_separator=':'
10208 link_all_deplibs=yes
10209 export_dynamic_flag_spec='${wl}-Bexport'
10210 runpath_var='LD_RUN_PATH'
10212 if test "$GCC" = yes; then
10213 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10216 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10217 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10222 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10223 hardcode_libdir_flag_spec='-L$libdir'
10224 hardcode_shlibpath_var=no
10232 if test x$host_vendor = xsni; then
10234 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10235 export_dynamic_flag_spec='${wl}-Blargedynsym'
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10242 $as_echo "$ld_shlibs" >&6; }
10243 test "$ld_shlibs" = no && can_build_shared=no
10245 with_gnu_ld=$with_gnu_ld
10262 # Do we need to explicitly link libc?
10264 case "x$archive_cmds_need_lc" in
10266 # Assume -lc should be added
10267 archive_cmds_need_lc=yes
10269 if test "$enable_shared" = yes && test "$GCC" = yes; then
10270 case $archive_cmds in
10272 # FIXME: we may have to deal with multi-command sequences.
10275 # Test whether the compiler implicitly links with -lc since on some
10276 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10277 # to ld, don't add -lc before -lgcc.
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10279 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10280 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10281 $as_echo_n "(cached) " >&6
10284 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10287 (eval $ac_compile) 2>&5
10289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10290 test $ac_status = 0; } 2>conftest.err; then
10293 libobjs=conftest.$ac_objext
10295 wl=$lt_prog_compiler_wl
10296 pic_flag=$lt_prog_compiler_pic
10302 lt_save_allow_undefined_flag=$allow_undefined_flag
10303 allow_undefined_flag=
10304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10305 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10308 test $ac_status = 0; }
10310 lt_cv_archive_cmds_need_lc=no
10312 lt_cv_archive_cmds_need_lc=yes
10314 allow_undefined_flag=$lt_save_allow_undefined_flag
10316 cat conftest.err 1>&5
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10322 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10323 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10482 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10484 if test "$GCC" = yes; then
10486 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10487 *) lt_awk_arg="/^libraries:/" ;;
10490 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10491 *) lt_sed_strip_eq="s,=/,/,g" ;;
10493 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10494 case $lt_search_path_spec in
10496 # if the path contains ";" then we assume it to be the separator
10497 # otherwise default to the standard path separator (i.e. ":") - it is
10498 # assumed that no part of a normal pathname contains ";" but that should
10499 # okay in the real world where ";" in dirpaths is itself problematic.
10500 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10503 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10506 # Ok, now we have the path, separated by spaces, we can step through it
10507 # and add multilib dir if necessary.
10508 lt_tmp_lt_search_path_spec=
10509 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10510 for lt_sys_path in $lt_search_path_spec; do
10511 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10512 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10514 test -d "$lt_sys_path" && \
10515 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10518 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10519 BEGIN {RS=" "; FS="/|\n";} {
10522 for (lt_i = NF; lt_i > 0; lt_i--) {
10523 if ($lt_i != "" && $lt_i != ".") {
10524 if ($lt_i == "..") {
10527 if (lt_count == 0) {
10528 lt_foo="/" $lt_i lt_foo;
10535 if (lt_foo != "") { lt_freq[lt_foo]++; }
10536 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10538 # AWK program above erroneously prepends '/' to C:/dos/paths
10541 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10542 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10544 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10546 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10548 library_names_spec=
10549 libname_spec='lib$name'
10553 postuninstall_cmds=
10557 shlibpath_overrides_runpath=unknown
10559 dynamic_linker="$host_os ld.so"
10560 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10561 need_lib_prefix=unknown
10562 hardcode_into_libs=no
10564 # when you set need_version to no, make sure it does not cause -set_version
10565 # flags to be left without arguments
10566 need_version=unknown
10570 version_type=linux # correct to gnu/linux during the next big refactor
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10572 shlibpath_var=LIBPATH
10574 # AIX 3 has no versioning support, so we append a major version to the name.
10575 soname_spec='${libname}${release}${shared_ext}$major'
10579 version_type=linux # correct to gnu/linux during the next big refactor
10582 hardcode_into_libs=yes
10583 if test "$host_cpu" = ia64; then
10584 # AIX 5 supports IA64
10585 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10586 shlibpath_var=LD_LIBRARY_PATH
10588 # With GCC up to 2.95.x, collect2 would create an import file
10589 # for dependence libraries. The import file would start with
10590 # the line `#! .'. This would cause the generated library to
10591 # depend on `.', always an invalid library. This was fixed in
10592 # development snapshots of GCC prior to 3.0.
10594 aix4 | aix4.[01] | aix4.[01].*)
10595 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10597 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10600 can_build_shared=no
10604 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10605 # soname into executable. Probably we can add versioning support to
10606 # collect2, so additional links can be useful in future.
10607 if test "$aix_use_runtimelinking" = yes; then
10608 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10609 # instead of lib<name>.a to let people know that these are not
10610 # typical AIX shared libraries.
10611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 # We preserve .a as extension for shared libraries through AIX4.2
10614 # and later when we are not doing run time linking.
10615 library_names_spec='${libname}${release}.a $libname.a'
10616 soname_spec='${libname}${release}${shared_ext}$major'
10618 shlibpath_var=LIBPATH
10625 # Since July 2007 AmigaOS4 officially supports .so libraries.
10626 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630 library_names_spec='$libname.ixlibrary $libname.a'
10631 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10632 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'
10638 library_names_spec='${libname}${shared_ext}'
10639 dynamic_linker="$host_os ld.so"
10640 shlibpath_var=LIBRARY_PATH
10644 version_type=linux # correct to gnu/linux during the next big refactor
10646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647 soname_spec='${libname}${release}${shared_ext}$major'
10648 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10649 shlibpath_var=LD_LIBRARY_PATH
10650 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10651 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10652 # the default ld.so.conf also contains /usr/contrib/lib and
10653 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10654 # libtool to hard-code these into programs
10657 cygwin* | mingw* | pw32* | cegcc*)
10658 version_type=windows
10663 case $GCC,$cc_basename in
10666 library_names_spec='$libname.dll.a'
10667 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10668 postinstall_cmds='base_file=`basename \${file}`~
10669 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10670 dldir=$destdir/`dirname \$dlpath`~
10671 test -d \$dldir || mkdir -p \$dldir~
10672 $install_prog $dir/$dlname \$dldir/$dlname~
10673 chmod a+x \$dldir/$dlname~
10674 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10675 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10677 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10678 dlpath=$dir/\$dldll~
10680 shlibpath_overrides_runpath=yes
10684 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10685 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10687 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10690 # MinGW DLLs use traditional 'lib' prefix
10691 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10694 # pw32 DLLs use 'pw' prefix rather than 'lib'
10695 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10698 dynamic_linker='Win32 ld.exe'
10703 libname_spec='$name'
10704 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10705 library_names_spec='${libname}.dll.lib'
10709 sys_lib_search_path_spec=
10712 for lt_path in $LIB
10715 # Let DOS variable expansion print the short 8.3 style file name.
10716 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10717 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10720 # Convert to MSYS style.
10721 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10724 # Convert to unix form, then to dos form, then back to unix form
10725 # but this time dos style (no spaces!) so that the unix form looks
10726 # like /cygdrive/c/PROGRA~1:/cygdr...
10727 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10728 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10729 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10732 sys_lib_search_path_spec="$LIB"
10733 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10734 # It is most probably a Windows format PATH.
10735 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10737 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10739 # FIXME: find the short name or the path components, as spaces are
10740 # common. (e.g. "Program Files" -> "PROGRA~1")
10744 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10745 postinstall_cmds='base_file=`basename \${file}`~
10746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10747 dldir=$destdir/`dirname \$dlpath`~
10748 test -d \$dldir || mkdir -p \$dldir~
10749 $install_prog $dir/$dlname \$dldir/$dlname'
10750 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10751 dlpath=$dir/\$dldll~
10753 shlibpath_overrides_runpath=yes
10754 dynamic_linker='Win32 link.exe'
10758 # Assume MSVC wrapper
10759 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10760 dynamic_linker='Win32 ld.exe'
10763 # FIXME: first we should search . and the directory the executable is in
10767 darwin* | rhapsody*)
10768 dynamic_linker="$host_os dyld"
10769 version_type=darwin
10772 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10773 soname_spec='${libname}${release}${major}$shared_ext'
10774 shlibpath_overrides_runpath=yes
10775 shlibpath_var=DYLD_LIBRARY_PATH
10776 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10778 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10779 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10783 version_type=linux # correct to gnu/linux during the next big refactor
10786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10787 soname_spec='${libname}${release}${shared_ext}$major'
10788 shlibpath_var=LD_LIBRARY_PATH
10791 freebsd* | dragonfly*)
10792 # DragonFly does not have aout. When/if they implement a new
10793 # versioning mechanism, adjust this.
10794 if test -x /usr/bin/objformat; then
10795 objformat=`/usr/bin/objformat`
10798 freebsd[23].*) objformat=aout ;;
10799 *) objformat=elf ;;
10802 version_type=freebsd-$objformat
10803 case $version_type in
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10810 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10814 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=yes
10819 freebsd3.[01]* | freebsdelf3.[01]*)
10820 shlibpath_overrides_runpath=yes
10821 hardcode_into_libs=yes
10823 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10824 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10825 shlibpath_overrides_runpath=no
10826 hardcode_into_libs=yes
10828 *) # from 4.6 on, and DragonFly
10829 shlibpath_overrides_runpath=yes
10830 hardcode_into_libs=yes
10836 version_type=linux # correct to gnu/linux during the next big refactor
10839 dynamic_linker="$host_os runtime_loader"
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10841 soname_spec='${libname}${release}${shared_ext}$major'
10842 shlibpath_var=LIBRARY_PATH
10843 shlibpath_overrides_runpath=yes
10844 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10845 hardcode_into_libs=yes
10848 hpux9* | hpux10* | hpux11*)
10849 # Give a soname corresponding to the major version so that dld.sl refuses to
10850 # link against other versions.
10857 hardcode_into_libs=yes
10858 dynamic_linker="$host_os dld.so"
10859 shlibpath_var=LD_LIBRARY_PATH
10860 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 if test "X$HPUX_IA64_MODE" = X32; then
10864 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10866 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10868 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10872 hardcode_into_libs=yes
10873 dynamic_linker="$host_os dld.sl"
10874 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10875 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10878 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10879 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10883 dynamic_linker="$host_os dld.sl"
10884 shlibpath_var=SHLIB_PATH
10885 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887 soname_spec='${libname}${release}${shared_ext}$major'
10890 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10891 postinstall_cmds='chmod 555 $lib'
10892 # or fails outright, so override atomically:
10893 install_override_mode=555
10897 version_type=linux # correct to gnu/linux during the next big refactor
10900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10901 soname_spec='${libname}${release}${shared_ext}$major'
10902 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10903 shlibpath_var=LD_LIBRARY_PATH
10904 shlibpath_overrides_runpath=no
10905 hardcode_into_libs=yes
10908 irix5* | irix6* | nonstopux*)
10910 nonstopux*) version_type=nonstopux ;;
10912 if test "$lt_cv_prog_gnu_ld" = yes; then
10913 version_type=linux # correct to gnu/linux during the next big refactor
10920 soname_spec='${libname}${release}${shared_ext}$major'
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10923 irix5* | nonstopux*)
10924 libsuff= shlibsuff=
10927 case $LD in # libtool.m4 will add one of these switches to LD
10928 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10929 libsuff= shlibsuff= libmagic=32-bit;;
10930 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10931 libsuff=32 shlibsuff=N32 libmagic=N32;;
10932 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10933 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10934 *) libsuff= shlibsuff= libmagic=never-match;;
10938 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10939 shlibpath_overrides_runpath=no
10940 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10941 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10942 hardcode_into_libs=yes
10945 # No shared lib support for Linux oldld, aout, or coff.
10946 linux*oldld* | linux*aout* | linux*coff*)
10950 # This must be glibc/ELF.
10951 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10952 version_type=linux # correct to gnu/linux during the next big refactor
10955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10956 soname_spec='${libname}${release}${shared_ext}$major'
10957 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10958 shlibpath_var=LD_LIBRARY_PATH
10959 shlibpath_overrides_runpath=no
10961 # Some binutils ld are patched to set DT_RUNPATH
10962 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10963 $as_echo_n "(cached) " >&6
10965 lt_cv_shlibpath_overrides_runpath=no
10966 save_LDFLAGS=$LDFLAGS
10967 save_libdir=$libdir
10968 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10969 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10983 lt_cv_shlibpath_overrides_runpath=yes
10986 rm -f core conftest.err conftest.$ac_objext \
10987 conftest$ac_exeext conftest.$ac_ext
10988 LDFLAGS=$save_LDFLAGS
10989 libdir=$save_libdir
10993 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10995 # This implies no fast_install, which is unacceptable.
10996 # Some rework will be needed to allow for fast_install
10997 # before this can be enabled.
10998 hardcode_into_libs=yes
11000 # Append ld.so.conf contents to the search path
11001 if test -f /etc/ld.so.conf; then
11002 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' ' '`
11003 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11006 # We used to test for /lib/ld.so.1 and disable shared libraries on
11007 # powerpc, because MkLinux only supported shared libraries with the
11008 # GNU dynamic linker. Since this was broken with cross compilers,
11009 # most powerpc-linux boxes support dynamic linking these days and
11010 # people can always --disable-shared, the test was removed, and we
11011 # assume the GNU/Linux dynamic linker is in use.
11012 dynamic_linker='GNU/Linux ld.so'
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11020 soname_spec='${libname}${release}${shared_ext}$major'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 shlibpath_overrides_runpath=no
11023 hardcode_into_libs=yes
11024 dynamic_linker='NetBSD ld.elf_so'
11031 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11033 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11034 dynamic_linker='NetBSD (a.out) ld.so'
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11037 soname_spec='${libname}${release}${shared_ext}$major'
11038 dynamic_linker='NetBSD ld.elf_so'
11040 shlibpath_var=LD_LIBRARY_PATH
11041 shlibpath_overrides_runpath=yes
11042 hardcode_into_libs=yes
11046 version_type=linux # correct to gnu/linux during the next big refactor
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=yes
11056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11057 soname_spec='${libname}${release}${shared_ext}$major'
11058 shlibpath_var=LD_LIBRARY_PATH
11059 shlibpath_overrides_runpath=no
11060 hardcode_into_libs=yes
11061 dynamic_linker='ldqnx.so'
11066 sys_lib_dlsearch_path_spec="/usr/lib"
11068 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11070 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11071 *) need_version=no ;;
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11074 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11078 openbsd2.[89] | openbsd2.[89].*)
11079 shlibpath_overrides_runpath=no
11082 shlibpath_overrides_runpath=yes
11086 shlibpath_overrides_runpath=yes
11091 libname_spec='$name'
11094 library_names_spec='$libname${shared_ext} $libname.a'
11095 dynamic_linker='OS/2 ld.exe'
11096 shlibpath_var=LIBPATH
11099 osf3* | osf4* | osf5*)
11103 soname_spec='${libname}${release}${shared_ext}$major'
11104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11105 shlibpath_var=LD_LIBRARY_PATH
11106 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11107 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11115 version_type=linux # correct to gnu/linux during the next big refactor
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119 soname_spec='${libname}${release}${shared_ext}$major'
11120 shlibpath_var=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath=yes
11122 hardcode_into_libs=yes
11123 # ldd complains unless libraries are executable
11124 postinstall_cmds='chmod +x $lib'
11129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11130 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11131 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=yes
11133 if test "$with_gnu_ld" = yes; then
11140 version_type=linux # correct to gnu/linux during the next big refactor
11141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 soname_spec='${libname}${release}${shared_ext}$major'
11143 shlibpath_var=LD_LIBRARY_PATH
11144 case $host_vendor in
11146 shlibpath_overrides_runpath=no
11148 runpath_var=LD_RUN_PATH
11156 shlibpath_overrides_runpath=no
11157 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11163 if test -d /usr/nec ;then
11164 version_type=linux # correct to gnu/linux during the next big refactor
11165 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11166 soname_spec='$libname${shared_ext}.$major'
11167 shlibpath_var=LD_LIBRARY_PATH
11171 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11172 version_type=freebsd-elf
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11176 soname_spec='${libname}${release}${shared_ext}$major'
11177 shlibpath_var=LD_LIBRARY_PATH
11178 shlibpath_overrides_runpath=yes
11179 hardcode_into_libs=yes
11180 if test "$with_gnu_ld" = yes; then
11181 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11183 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11186 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11190 sys_lib_dlsearch_path_spec='/usr/lib'
11194 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11195 version_type=linux # correct to gnu/linux during the next big refactor
11198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11199 shlibpath_var=LD_LIBRARY_PATH
11200 shlibpath_overrides_runpath=no
11201 hardcode_into_libs=yes
11205 version_type=linux # correct to gnu/linux during the next big refactor
11206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11207 soname_spec='${libname}${release}${shared_ext}$major'
11208 shlibpath_var=LD_LIBRARY_PATH
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11216 $as_echo "$dynamic_linker" >&6; }
11217 test "$dynamic_linker" = no && can_build_shared=no
11219 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11220 if test "$GCC" = yes; then
11221 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11224 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11225 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11227 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11228 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11323 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11325 if test -n "$hardcode_libdir_flag_spec" ||
11326 test -n "$runpath_var" ||
11327 test "X$hardcode_automatic" = "Xyes" ; then
11329 # We can hardcode non-existent directories.
11330 if test "$hardcode_direct" != no &&
11331 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11332 # have to relink, otherwise we might link with an installed library
11333 # when we should be linking with a yet-to-be-installed one
11334 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11335 test "$hardcode_minus_L" != no; then
11336 # Linking always hardcodes the temporary library directory.
11337 hardcode_action=relink
11339 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11340 hardcode_action=immediate
11343 # We cannot hardcode anything, or else we can only hardcode existing
11345 hardcode_action=unsupported
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11348 $as_echo "$hardcode_action" >&6; }
11350 if test "$hardcode_action" = relink ||
11351 test "$inherit_rpath" = yes; then
11352 # Fast installation is not supported
11353 enable_fast_install=no
11354 elif test "$shlibpath_overrides_runpath" = yes ||
11355 test "$enable_shared" = no; then
11356 # Fast installation is not necessary
11357 enable_fast_install=needless
11365 if test "x$enable_dlopen" != xyes; then
11366 enable_dlopen=unknown
11367 enable_dlopen_self=unknown
11368 enable_dlopen_self_static=unknown
11375 lt_cv_dlopen="load_add_on"
11377 lt_cv_dlopen_self=yes
11380 mingw* | pw32* | cegcc*)
11381 lt_cv_dlopen="LoadLibrary"
11386 lt_cv_dlopen="dlopen"
11391 # if libdl is installed we need to link against it
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11393 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11394 if ${ac_cv_lib_dl_dlopen+:} false; then :
11395 $as_echo_n "(cached) " >&6
11397 ac_check_lib_save_LIBS=$LIBS
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11402 /* Override any GCC internal prototype to avoid an error.
11403 Use char because int might match the return type of a GCC
11404 builtin and then its argument prototype would still apply. */
11417 if ac_fn_c_try_link "$LINENO"; then :
11418 ac_cv_lib_dl_dlopen=yes
11420 ac_cv_lib_dl_dlopen=no
11422 rm -f core conftest.err conftest.$ac_objext \
11423 conftest$ac_exeext conftest.$ac_ext
11424 LIBS=$ac_check_lib_save_LIBS
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11427 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11428 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11429 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11432 lt_cv_dlopen="dyld"
11434 lt_cv_dlopen_self=yes
11441 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11442 if test "x$ac_cv_func_shl_load" = xyes; then :
11443 lt_cv_dlopen="shl_load"
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11446 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11447 if ${ac_cv_lib_dld_shl_load+:} false; then :
11448 $as_echo_n "(cached) " >&6
11450 ac_check_lib_save_LIBS=$LIBS
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11465 return shl_load ();
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 ac_cv_lib_dld_shl_load=yes
11473 ac_cv_lib_dld_shl_load=no
11475 rm -f core conftest.err conftest.$ac_objext \
11476 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_lib_save_LIBS
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11480 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11481 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11482 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11484 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11485 if test "x$ac_cv_func_dlopen" = xyes; then :
11486 lt_cv_dlopen="dlopen"
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11489 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11490 if ${ac_cv_lib_dl_dlopen+:} false; then :
11491 $as_echo_n "(cached) " >&6
11493 ac_check_lib_save_LIBS=$LIBS
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11513 if ac_fn_c_try_link "$LINENO"; then :
11514 ac_cv_lib_dl_dlopen=yes
11516 ac_cv_lib_dl_dlopen=no
11518 rm -f core conftest.err conftest.$ac_objext \
11519 conftest$ac_exeext conftest.$ac_ext
11520 LIBS=$ac_check_lib_save_LIBS
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11523 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11524 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11525 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11528 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11529 if ${ac_cv_lib_svld_dlopen+:} false; then :
11530 $as_echo_n "(cached) " >&6
11532 ac_check_lib_save_LIBS=$LIBS
11533 LIBS="-lsvld $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 ac_cv_lib_svld_dlopen=yes
11555 ac_cv_lib_svld_dlopen=no
11557 rm -f core conftest.err conftest.$ac_objext \
11558 conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_lib_save_LIBS
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11562 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11563 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11564 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11567 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11568 if ${ac_cv_lib_dld_dld_link+:} false; then :
11569 $as_echo_n "(cached) " >&6
11571 ac_check_lib_save_LIBS=$LIBS
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11586 return dld_link ();
11591 if ac_fn_c_try_link "$LINENO"; then :
11592 ac_cv_lib_dld_dld_link=yes
11594 ac_cv_lib_dld_dld_link=no
11596 rm -f core conftest.err conftest.$ac_objext \
11597 conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_lib_save_LIBS
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11601 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11602 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11603 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11624 if test "x$lt_cv_dlopen" != xno; then
11630 case $lt_cv_dlopen in
11632 save_CPPFLAGS="$CPPFLAGS"
11633 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11635 save_LDFLAGS="$LDFLAGS"
11636 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11639 LIBS="$lt_cv_dlopen_libs $LIBS"
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11642 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11643 if ${lt_cv_dlopen_self+:} false; then :
11644 $as_echo_n "(cached) " >&6
11646 if test "$cross_compiling" = yes; then :
11647 lt_cv_dlopen_self=cross
11649 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11650 lt_status=$lt_dlunknown
11651 cat > conftest.$ac_ext <<_LT_EOF
11652 #line $LINENO "configure"
11653 #include "confdefs.h"
11662 # define LT_DLGLOBAL RTLD_GLOBAL
11665 # define LT_DLGLOBAL DL_GLOBAL
11667 # define LT_DLGLOBAL 0
11671 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11672 find out it does not work in some platform. */
11673 #ifndef LT_DLLAZY_OR_NOW
11675 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11678 # define LT_DLLAZY_OR_NOW DL_LAZY
11681 # define LT_DLLAZY_OR_NOW RTLD_NOW
11684 # define LT_DLLAZY_OR_NOW DL_NOW
11686 # define LT_DLLAZY_OR_NOW 0
11693 /* When -fvisbility=hidden is used, assume the code has been annotated
11694 correspondingly for the symbols needed. */
11695 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11696 int fnord () __attribute__((visibility("default")));
11699 int fnord () { return 42; }
11702 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11703 int status = $lt_dlunknown;
11707 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11710 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11711 else puts (dlerror ());
11713 /* dlclose (self); */
11721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11722 (eval $ac_link) 2>&5
11724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11725 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11726 (./conftest; exit; ) >&5 2>/dev/null
11728 case x$lt_status in
11729 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11730 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11731 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11734 # compilation failed
11735 lt_cv_dlopen_self=no
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11743 $as_echo "$lt_cv_dlopen_self" >&6; }
11745 if test "x$lt_cv_dlopen_self" = xyes; then
11746 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11748 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11749 if ${lt_cv_dlopen_self_static+:} false; then :
11750 $as_echo_n "(cached) " >&6
11752 if test "$cross_compiling" = yes; then :
11753 lt_cv_dlopen_self_static=cross
11755 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11756 lt_status=$lt_dlunknown
11757 cat > conftest.$ac_ext <<_LT_EOF
11758 #line $LINENO "configure"
11759 #include "confdefs.h"
11768 # define LT_DLGLOBAL RTLD_GLOBAL
11771 # define LT_DLGLOBAL DL_GLOBAL
11773 # define LT_DLGLOBAL 0
11777 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11778 find out it does not work in some platform. */
11779 #ifndef LT_DLLAZY_OR_NOW
11781 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11784 # define LT_DLLAZY_OR_NOW DL_LAZY
11787 # define LT_DLLAZY_OR_NOW RTLD_NOW
11790 # define LT_DLLAZY_OR_NOW DL_NOW
11792 # define LT_DLLAZY_OR_NOW 0
11799 /* When -fvisbility=hidden is used, assume the code has been annotated
11800 correspondingly for the symbols needed. */
11801 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11802 int fnord () __attribute__((visibility("default")));
11805 int fnord () { return 42; }
11808 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11809 int status = $lt_dlunknown;
11813 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11816 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11817 else puts (dlerror ());
11819 /* dlclose (self); */
11827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11828 (eval $ac_link) 2>&5
11830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11831 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11832 (./conftest; exit; ) >&5 2>/dev/null
11834 case x$lt_status in
11835 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11836 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11837 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11840 # compilation failed
11841 lt_cv_dlopen_self_static=no
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11849 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11852 CPPFLAGS="$save_CPPFLAGS"
11853 LDFLAGS="$save_LDFLAGS"
11858 case $lt_cv_dlopen_self in
11859 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11860 *) enable_dlopen_self=unknown ;;
11863 case $lt_cv_dlopen_self_static in
11864 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11865 *) enable_dlopen_self_static=unknown ;;
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11888 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11889 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11890 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11891 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11893 $as_echo "yes" >&6; }
11895 # FIXME - insert some real tests, host_os isn't really good enough
11898 if test -n "$STRIP" ; then
11899 striplib="$STRIP -x"
11900 old_striplib="$STRIP -S"
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11902 $as_echo "yes" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11905 $as_echo "no" >&6; }
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11910 $as_echo "no" >&6; }
11926 # Report which library types will actually be built
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11928 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11930 $as_echo "$can_build_shared" >&6; }
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11933 $as_echo_n "checking whether to build shared libraries... " >&6; }
11934 test "$can_build_shared" = "no" && enable_shared=no
11936 # On AIX, shared libraries and static libraries use the same namespace, and
11937 # are all built from PIC.
11940 test "$enable_shared" = yes && enable_static=no
11941 if test -n "$RANLIB"; then
11942 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11943 postinstall_cmds='$RANLIB $lib'
11948 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11949 test "$enable_shared" = yes && enable_static=no
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11954 $as_echo "$enable_shared" >&6; }
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11957 $as_echo_n "checking whether to build static libraries... " >&6; }
11958 # Make sure either enable_shared or enable_static is yes.
11959 test "$enable_shared" = yes || enable_static=yes
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11961 $as_echo "$enable_static" >&6; }
11968 ac_cpp='$CPP $CPPFLAGS'
11969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11989 ac_config_commands="$ac_config_commands libtool"
11994 # Only expand once:
12000 for ac_func in $ac_func_list
12002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12005 cat >>confdefs.h <<_ACEOF
12006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12018 # Checks for programs.
12026 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12027 if test -n "$ac_tool_prefix"; then
12028 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12029 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12031 $as_echo_n "checking for $ac_word... " >&6; }
12032 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12033 $as_echo_n "(cached) " >&6
12035 case $PKG_CONFIG in
12037 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041 for as_dir in $PATH
12044 test -z "$as_dir" && as_dir=.
12045 for ac_exec_ext in '' $ac_executable_extensions; do
12046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12047 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12058 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12059 if test -n "$PKG_CONFIG"; then
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12061 $as_echo "$PKG_CONFIG" >&6; }
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12064 $as_echo "no" >&6; }
12069 if test -z "$ac_cv_path_PKG_CONFIG"; then
12070 ac_pt_PKG_CONFIG=$PKG_CONFIG
12071 # Extract the first word of "pkg-config", so it can be a program name with args.
12072 set dummy pkg-config; ac_word=$2
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12074 $as_echo_n "checking for $ac_word... " >&6; }
12075 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12076 $as_echo_n "(cached) " >&6
12078 case $ac_pt_PKG_CONFIG in
12080 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12084 for as_dir in $PATH
12087 test -z "$as_dir" && as_dir=.
12088 for ac_exec_ext in '' $ac_executable_extensions; do
12089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12090 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12101 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12102 if test -n "$ac_pt_PKG_CONFIG"; then
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12104 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12107 $as_echo "no" >&6; }
12110 if test "x$ac_pt_PKG_CONFIG" = x; then
12113 case $cross_compiling:$ac_tool_warned in
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12117 ac_tool_warned=yes ;;
12119 PKG_CONFIG=$ac_pt_PKG_CONFIG
12122 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12126 if test -n "$PKG_CONFIG"; then
12127 _pkg_min_version=0.23
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12129 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12130 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12132 $as_echo "yes" >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12135 $as_echo "no" >&6; }
12140 ac_cpp='$CPP $CPPFLAGS'
12141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12144 if test -n "$ac_tool_prefix"; then
12145 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12146 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12148 $as_echo_n "checking for $ac_word... " >&6; }
12149 if ${ac_cv_prog_CC+:} false; then :
12150 $as_echo_n "(cached) " >&6
12152 if test -n "$CC"; then
12153 ac_cv_prog_CC="$CC" # Let the user override the test.
12155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12156 for as_dir in $PATH
12159 test -z "$as_dir" && as_dir=.
12160 for ac_exec_ext in '' $ac_executable_extensions; do
12161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12162 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12173 if test -n "$CC"; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12175 $as_echo "$CC" >&6; }
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12178 $as_echo "no" >&6; }
12183 if test -z "$ac_cv_prog_CC"; then
12185 # Extract the first word of "gcc", so it can be a program name with args.
12186 set dummy gcc; ac_word=$2
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12188 $as_echo_n "checking for $ac_word... " >&6; }
12189 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12190 $as_echo_n "(cached) " >&6
12192 if test -n "$ac_ct_CC"; then
12193 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12196 for as_dir in $PATH
12199 test -z "$as_dir" && as_dir=.
12200 for ac_exec_ext in '' $ac_executable_extensions; do
12201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12202 ac_cv_prog_ac_ct_CC="gcc"
12203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12213 if test -n "$ac_ct_CC"; then
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12215 $as_echo "$ac_ct_CC" >&6; }
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12218 $as_echo "no" >&6; }
12221 if test "x$ac_ct_CC" = x; then
12224 case $cross_compiling:$ac_tool_warned in
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12228 ac_tool_warned=yes ;;
12233 CC="$ac_cv_prog_CC"
12236 if test -z "$CC"; then
12237 if test -n "$ac_tool_prefix"; then
12238 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12239 set dummy ${ac_tool_prefix}cc; ac_word=$2
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12241 $as_echo_n "checking for $ac_word... " >&6; }
12242 if ${ac_cv_prog_CC+:} false; then :
12243 $as_echo_n "(cached) " >&6
12245 if test -n "$CC"; then
12246 ac_cv_prog_CC="$CC" # Let the user override the test.
12248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12249 for as_dir in $PATH
12252 test -z "$as_dir" && as_dir=.
12253 for ac_exec_ext in '' $ac_executable_extensions; do
12254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12255 ac_cv_prog_CC="${ac_tool_prefix}cc"
12256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12266 if test -n "$CC"; then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12268 $as_echo "$CC" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12271 $as_echo "no" >&6; }
12277 if test -z "$CC"; then
12278 # Extract the first word of "cc", so it can be a program name with args.
12279 set dummy cc; ac_word=$2
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12281 $as_echo_n "checking for $ac_word... " >&6; }
12282 if ${ac_cv_prog_CC+:} false; then :
12283 $as_echo_n "(cached) " >&6
12285 if test -n "$CC"; then
12286 ac_cv_prog_CC="$CC" # Let the user override the test.
12288 ac_prog_rejected=no
12289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12290 for as_dir in $PATH
12293 test -z "$as_dir" && as_dir=.
12294 for ac_exec_ext in '' $ac_executable_extensions; do
12295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12296 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12297 ac_prog_rejected=yes
12301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12308 if test $ac_prog_rejected = yes; then
12309 # We found a bogon in the path, so make sure we never use it.
12310 set dummy $ac_cv_prog_CC
12312 if test $# != 0; then
12313 # We chose a different compiler from the bogus one.
12314 # However, it has the same basename, so the bogon will be chosen
12315 # first if we set CC to just the basename; use the full file name.
12317 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12323 if test -n "$CC"; then
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12325 $as_echo "$CC" >&6; }
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12328 $as_echo "no" >&6; }
12333 if test -z "$CC"; then
12334 if test -n "$ac_tool_prefix"; then
12335 for ac_prog in cl.exe
12337 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12338 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12340 $as_echo_n "checking for $ac_word... " >&6; }
12341 if ${ac_cv_prog_CC+:} false; then :
12342 $as_echo_n "(cached) " >&6
12344 if test -n "$CC"; then
12345 ac_cv_prog_CC="$CC" # Let the user override the test.
12347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12348 for as_dir in $PATH
12351 test -z "$as_dir" && as_dir=.
12352 for ac_exec_ext in '' $ac_executable_extensions; do
12353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12354 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12365 if test -n "$CC"; then
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12367 $as_echo "$CC" >&6; }
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12370 $as_echo "no" >&6; }
12374 test -n "$CC" && break
12377 if test -z "$CC"; then
12379 for ac_prog in cl.exe
12381 # Extract the first word of "$ac_prog", so it can be a program name with args.
12382 set dummy $ac_prog; ac_word=$2
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12384 $as_echo_n "checking for $ac_word... " >&6; }
12385 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12386 $as_echo_n "(cached) " >&6
12388 if test -n "$ac_ct_CC"; then
12389 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12392 for as_dir in $PATH
12395 test -z "$as_dir" && as_dir=.
12396 for ac_exec_ext in '' $ac_executable_extensions; do
12397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12398 ac_cv_prog_ac_ct_CC="$ac_prog"
12399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12408 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12409 if test -n "$ac_ct_CC"; then
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12411 $as_echo "$ac_ct_CC" >&6; }
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12414 $as_echo "no" >&6; }
12418 test -n "$ac_ct_CC" && break
12421 if test "x$ac_ct_CC" = x; then
12424 case $cross_compiling:$ac_tool_warned in
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12428 ac_tool_warned=yes ;;
12437 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12439 as_fn_error $? "no acceptable C compiler found in \$PATH
12440 See \`config.log' for more details" "$LINENO" 5; }
12442 # Provide some information about the compiler.
12443 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12446 for ac_option in --version -v -V -qversion; do
12447 { { ac_try="$ac_compiler $ac_option >&5"
12448 case "(($ac_try" in
12449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12450 *) ac_try_echo=$ac_try;;
12452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12453 $as_echo "$ac_try_echo"; } >&5
12454 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12456 if test -s conftest.err; then
12458 ... rest of stderr output deleted ...
12459 10q' conftest.err >conftest.er1
12460 cat conftest.er1 >&5
12462 rm -f conftest.er1 conftest.err
12463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12464 test $ac_status = 0; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12468 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12469 if ${ac_cv_c_compiler_gnu+:} false; then :
12470 $as_echo_n "(cached) " >&6
12472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12486 if ac_fn_c_try_compile "$LINENO"; then :
12487 ac_compiler_gnu=yes
12491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12492 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12496 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12497 if test $ac_compiler_gnu = yes; then
12502 ac_test_CFLAGS=${CFLAGS+set}
12503 ac_save_CFLAGS=$CFLAGS
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12505 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12506 if ${ac_cv_prog_cc_g+:} false; then :
12507 $as_echo_n "(cached) " >&6
12509 ac_save_c_werror_flag=$ac_c_werror_flag
12510 ac_c_werror_flag=yes
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12524 if ac_fn_c_try_compile "$LINENO"; then :
12525 ac_cv_prog_cc_g=yes
12528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12539 if ac_fn_c_try_compile "$LINENO"; then :
12542 ac_c_werror_flag=$ac_save_c_werror_flag
12544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12545 /* end confdefs.h. */
12555 if ac_fn_c_try_compile "$LINENO"; then :
12556 ac_cv_prog_cc_g=yes
12558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12563 ac_c_werror_flag=$ac_save_c_werror_flag
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12566 $as_echo "$ac_cv_prog_cc_g" >&6; }
12567 if test "$ac_test_CFLAGS" = set; then
12568 CFLAGS=$ac_save_CFLAGS
12569 elif test $ac_cv_prog_cc_g = yes; then
12570 if test "$GCC" = yes; then
12576 if test "$GCC" = yes; then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12583 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12584 if ${ac_cv_prog_cc_c89+:} false; then :
12585 $as_echo_n "(cached) " >&6
12587 ac_cv_prog_cc_c89=no
12589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12591 #include <stdarg.h>
12594 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12595 struct buf { int x; };
12596 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12597 static char *e (p, i)
12603 static char *f (char * (*g) (char **, int), char **p, ...)
12608 s = g (p, va_arg (v,int));
12613 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12614 function prototypes and stuff, but not '\xHH' hex character constants.
12615 These don't provoke an error unfortunately, instead are silently treated
12616 as 'x'. The following induces an error, until -std is added to get
12617 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12618 array size at least. It's necessary to write '\x00'==0 to get something
12619 that's true only with -std. */
12620 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12622 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12623 inside strings and character constants. */
12625 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12627 int test (int i, double x);
12628 struct s1 {int (*f) (int a);};
12629 struct s2 {int (*f) (double a);};
12630 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12636 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12641 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12642 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12644 CC="$ac_save_CC $ac_arg"
12645 if ac_fn_c_try_compile "$LINENO"; then :
12646 ac_cv_prog_cc_c89=$ac_arg
12648 rm -f core conftest.err conftest.$ac_objext
12649 test "x$ac_cv_prog_cc_c89" != "xno" && break
12651 rm -f conftest.$ac_ext
12656 case "x$ac_cv_prog_cc_c89" in
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12659 $as_echo "none needed" >&6; } ;;
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12662 $as_echo "unsupported" >&6; } ;;
12664 CC="$CC $ac_cv_prog_cc_c89"
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12666 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12668 if test "x$ac_cv_prog_cc_c89" != xno; then :
12673 ac_cpp='$CPP $CPPFLAGS'
12674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12679 ac_cpp='$CPP $CPPFLAGS'
12680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12684 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12685 if ${am_cv_prog_cc_c_o+:} false; then :
12686 $as_echo_n "(cached) " >&6
12688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12699 # Make sure it works both with $CC and with simple cc.
12700 # Following AC_PROG_CC_C_O, we do the test twice because some
12701 # compilers refuse to overwrite an existing .o file with -o,
12702 # though they will create one.
12703 am_cv_prog_cc_c_o=yes
12704 for am_i in 1 2; do
12705 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12706 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } \
12710 && test -f conftest2.$ac_objext; then
12713 am_cv_prog_cc_c_o=no
12717 rm -f core conftest*
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12721 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12722 if test "$am_cv_prog_cc_c_o" != yes; then
12723 # Losing compiler, so override with the script.
12724 # FIXME: It is wrong to rewrite CC.
12725 # But if we don't then we get into trouble of one sort or another.
12726 # A longer-term fix would be to have automake use am__CC in this case,
12727 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12728 CC="$am_aux_dir/compile $CC"
12731 ac_cpp='$CPP $CPPFLAGS'
12732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12737 depcc="$CC" am_compiler_list=
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12740 $as_echo_n "checking dependency style of $depcc... " >&6; }
12741 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12742 $as_echo_n "(cached) " >&6
12744 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12745 # We make a subdir and do the tests there. Otherwise we can end up
12746 # making bogus files that we don't know about and never remove. For
12747 # instance it was reported that on HP-UX the gcc test will end up
12748 # making a dummy file named 'D' -- because '-MD' means "put the output
12750 rm -rf conftest.dir
12752 # Copy depcomp to subdir because otherwise we won't find it if we're
12753 # using a relative directory.
12754 cp "$am_depcomp" conftest.dir
12756 # We will build objects and dependencies in a subdirectory because
12757 # it helps to detect inapplicable dependency modes. For instance
12758 # both Tru64's cc and ICC support -MD to output dependencies as a
12759 # side effect of compilation, but ICC will put the dependencies in
12760 # the current directory while Tru64 will put them in the object
12764 am_cv_CC_dependencies_compiler_type=none
12765 if test "$am_compiler_list" = ""; then
12766 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12768 am__universal=false
12769 case " $depcc " in #(
12770 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12773 for depmode in $am_compiler_list; do
12774 # Setup a source with many dependencies, because some compilers
12775 # like to wrap large dependency lists on column 80 (with \), and
12776 # we should not choose a depcomp mode which is confused by this.
12778 # We need to recreate these files for each test, as the compiler may
12779 # overwrite some of them when testing with obscure command lines.
12780 # This happens at least with the AIX C compiler.
12782 for i in 1 2 3 4 5 6; do
12783 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12784 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12785 # Solaris 10 /bin/sh.
12786 echo '/* dummy */' > sub/conftst$i.h
12788 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12790 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12791 # mode. It turns out that the SunPro C++ compiler does not properly
12792 # handle '-M -o', and we need to detect this. Also, some Intel
12793 # versions had trouble with output in subdirs.
12794 am__obj=sub/conftest.${OBJEXT-o}
12795 am__minus_obj="-o $am__obj"
12798 # This depmode causes a compiler race in universal mode.
12799 test "$am__universal" = false || continue
12802 # After this tag, mechanisms are not by side-effect, so they'll
12803 # only be used when explicitly requested.
12804 if test "x$enable_dependency_tracking" = xyes; then
12810 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12811 # This compiler won't grok '-c -o', but also, the minuso test has
12812 # not run yet. These depmodes are late enough in the game, and
12813 # so weak that their functioning should not be impacted.
12814 am__obj=conftest.${OBJEXT-o}
12819 if depmode=$depmode \
12820 source=sub/conftest.c object=$am__obj \
12821 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12822 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12823 >/dev/null 2>conftest.err &&
12824 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12825 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12826 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12827 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12828 # icc doesn't choke on unknown options, it will just issue warnings
12829 # or remarks (even with -Werror). So we grep stderr for any message
12830 # that says an option was ignored or not supported.
12831 # When given -MP, icc 7.0 and 7.1 complain thusly:
12832 # icc: Command line warning: ignoring option '-M'; no argument required
12833 # The diagnosis changed in icc 8.0:
12834 # icc: Command line remark: option '-MP' not supported
12835 if (grep 'ignoring option' conftest.err ||
12836 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12837 am_cv_CC_dependencies_compiler_type=$depmode
12844 rm -rf conftest.dir
12846 am_cv_CC_dependencies_compiler_type=none
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12851 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12852 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12855 test "x$enable_dependency_tracking" != xno \
12856 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12857 am__fastdepCC_TRUE=
12858 am__fastdepCC_FALSE='#'
12860 am__fastdepCC_TRUE='#'
12861 am__fastdepCC_FALSE=
12866 # Extract the first word of "valac", so it can be a program name with args.
12867 set dummy valac; ac_word=$2
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12869 $as_echo_n "checking for $ac_word... " >&6; }
12870 if ${ac_cv_path_VALAC+:} false; then :
12871 $as_echo_n "(cached) " >&6
12875 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
12878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12879 for as_dir in $PATH
12882 test -z "$as_dir" && as_dir=.
12883 for ac_exec_ext in '' $ac_executable_extensions; do
12884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12885 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
12886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12893 test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
12897 VALAC=$ac_cv_path_VALAC
12898 if test -n "$VALAC"; then
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
12900 $as_echo "$VALAC" >&6; }
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12903 $as_echo "no" >&6; }
12907 if test "$VALAC" != valac && test -n "0.9"; then :
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.9" >&5
12909 $as_echo_n "checking whether $VALAC is at least version 0.9... " >&6; }
12910 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
12912 as_arg_v2="$am__vala_version"
12913 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12917 $as_echo "yes" >&6; } ;; #(
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12920 $as_echo "yes" >&6; } ;; #(
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12923 $as_echo "no" >&6; }
12929 if test "$VALAC" = valac; then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
12931 $as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
12933 $as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
12947 SERVER_IPC_MODULE="msrpc-glib2-1.0"
12948 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12952 $as_echo_n "checking for GTK... " >&6; }
12954 if test -n "$GTK_CFLAGS"; then
12955 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12956 elif test -n "$PKG_CONFIG"; then
12957 if test -n "$PKG_CONFIG" && \
12958 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12959 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12962 test $ac_status = 0; }; then
12963 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12964 test "x$?" != "x0" && pkg_failed=yes
12971 if test -n "$GTK_LIBS"; then
12972 pkg_cv_GTK_LIBS="$GTK_LIBS"
12973 elif test -n "$PKG_CONFIG"; then
12974 if test -n "$PKG_CONFIG" && \
12975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12976 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12979 test $ac_status = 0; }; then
12980 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12981 test "x$?" != "x0" && pkg_failed=yes
12991 if test $pkg_failed = yes; then
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12993 $as_echo "no" >&6; }
12995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12996 _pkg_short_errors_supported=yes
12998 _pkg_short_errors_supported=no
13000 if test $_pkg_short_errors_supported = yes; then
13001 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13003 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13005 # Put the nasty error message in config.log where it belongs
13006 echo "$GTK_PKG_ERRORS" >&5
13008 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13012 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13013 installed software in a non-standard prefix.
13015 Alternatively, you may set the environment variables GTK_CFLAGS
13016 and GTK_LIBS to avoid the need to call pkg-config.
13017 See the pkg-config man page for more details." "$LINENO" 5
13018 elif test $pkg_failed = untried; then
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13020 $as_echo "no" >&6; }
13021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13023 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13024 is in your PATH or set the PKG_CONFIG environment variable to the full
13025 path to pkg-config.
13027 Alternatively, you may set the environment variables GTK_CFLAGS
13028 and GTK_LIBS to avoid the need to call pkg-config.
13029 See the pkg-config man page for more details.
13031 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13032 See \`config.log' for more details" "$LINENO" 5; }
13034 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13035 GTK_LIBS=$pkg_cv_GTK_LIBS
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13037 $as_echo "yes" >&6; }
13038 GTK_VERSION="gtk+-2.0"
13048 # We require dbus-glib for the client library even if we are using GDBus
13049 # in the server. The reason we can't always use dbus-glib in the server is
13050 # because Vala drops support for it, but as it ships with DBus there is very
13051 # little danger of it being dropped by distros any time soon.
13052 CLIENT_IPC_MODULE="dbus-glib-1"
13053 SERVER_IPC_MODULE="dbus-glib-1"
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
13058 $as_echo_n "checking for MAC... " >&6; }
13060 if test -n "$MAC_CFLAGS"; then
13061 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
13062 elif test -n "$PKG_CONFIG"; then
13063 if test -n "$PKG_CONFIG" && \
13064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13066 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13070 test $ac_status = 0; }; then
13071 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
13073 test "x$?" != "x0" && pkg_failed=yes
13080 if test -n "$MAC_LIBS"; then
13081 pkg_cv_MAC_LIBS="$MAC_LIBS"
13082 elif test -n "$PKG_CONFIG"; then
13083 if test -n "$PKG_CONFIG" && \
13084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13086 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13090 test $ac_status = 0; }; then
13091 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
13093 test "x$?" != "x0" && pkg_failed=yes
13103 if test $pkg_failed = yes; then
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13105 $as_echo "no" >&6; }
13107 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13108 _pkg_short_errors_supported=yes
13110 _pkg_short_errors_supported=no
13112 if test $_pkg_short_errors_supported = yes; then
13113 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13116 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13119 # Put the nasty error message in config.log where it belongs
13120 echo "$MAC_PKG_ERRORS" >&5
13122 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
13127 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13128 installed software in a non-standard prefix.
13130 Alternatively, you may set the environment variables MAC_CFLAGS
13131 and MAC_LIBS to avoid the need to call pkg-config.
13132 See the pkg-config man page for more details." "$LINENO" 5
13133 elif test $pkg_failed = untried; then
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13135 $as_echo "no" >&6; }
13136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13138 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13139 is in your PATH or set the PKG_CONFIG environment variable to the full
13140 path to pkg-config.
13142 Alternatively, you may set the environment variables MAC_CFLAGS
13143 and MAC_LIBS to avoid the need to call pkg-config.
13144 See the pkg-config man page for more details.
13146 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13147 See \`config.log' for more details" "$LINENO" 5; }
13149 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
13150 MAC_LIBS=$pkg_cv_MAC_LIBS
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13152 $as_echo "yes" >&6; }
13156 # TODO: Move to GTK+-3
13157 # [gtk+-3.0 >= 2.0],
13158 # [GTK_VERSION="gtk+-3.0"]
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13162 $as_echo_n "checking for GTK... " >&6; }
13164 if test -n "$GTK_CFLAGS"; then
13165 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13166 elif test -n "$PKG_CONFIG"; then
13167 if test -n "$PKG_CONFIG" && \
13168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13169 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13172 test $ac_status = 0; }; then
13173 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13174 test "x$?" != "x0" && pkg_failed=yes
13181 if test -n "$GTK_LIBS"; then
13182 pkg_cv_GTK_LIBS="$GTK_LIBS"
13183 elif test -n "$PKG_CONFIG"; then
13184 if test -n "$PKG_CONFIG" && \
13185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13186 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13189 test $ac_status = 0; }; then
13190 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13191 test "x$?" != "x0" && pkg_failed=yes
13201 if test $pkg_failed = yes; then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13203 $as_echo "no" >&6; }
13205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13206 _pkg_short_errors_supported=yes
13208 _pkg_short_errors_supported=no
13210 if test $_pkg_short_errors_supported = yes; then
13211 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13213 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13215 # Put the nasty error message in config.log where it belongs
13216 echo "$GTK_PKG_ERRORS" >&5
13218 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13222 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13223 installed software in a non-standard prefix.
13225 Alternatively, you may set the environment variables GTK_CFLAGS
13226 and GTK_LIBS to avoid the need to call pkg-config.
13227 See the pkg-config man page for more details." "$LINENO" 5
13228 elif test $pkg_failed = untried; then
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13230 $as_echo "no" >&6; }
13231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13233 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13234 is in your PATH or set the PKG_CONFIG environment variable to the full
13235 path to pkg-config.
13237 Alternatively, you may set the environment variables GTK_CFLAGS
13238 and GTK_LIBS to avoid the need to call pkg-config.
13239 See the pkg-config man page for more details.
13241 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13242 See \`config.log' for more details" "$LINENO" 5; }
13244 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13245 GTK_LIBS=$pkg_cv_GTK_LIBS
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13247 $as_echo "yes" >&6; }
13248 GTK_VERSION="gtk+-2.0"
13258 # We require dbus-glib for the client library even if we are using GDBus
13259 # in the server. The reason we can't always use dbus-glib in the server is
13260 # because Vala drops support for it, but as it ships with DBus there is very
13261 # little danger of it being dropped by distros any time soon.
13262 CLIENT_IPC_MODULE="dbus-glib-1"
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
13266 $as_echo_n "checking for GDBUS... " >&6; }
13268 if test -n "$GDBUS_CFLAGS"; then
13269 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
13270 elif test -n "$PKG_CONFIG"; then
13271 if test -n "$PKG_CONFIG" && \
13272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13273 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13276 test $ac_status = 0; }; then
13277 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
13278 test "x$?" != "x0" && pkg_failed=yes
13285 if test -n "$GDBUS_LIBS"; then
13286 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
13287 elif test -n "$PKG_CONFIG"; then
13288 if test -n "$PKG_CONFIG" && \
13289 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13290 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13293 test $ac_status = 0; }; then
13294 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
13295 test "x$?" != "x0" && pkg_failed=yes
13305 if test $pkg_failed = yes; then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13307 $as_echo "no" >&6; }
13309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13310 _pkg_short_errors_supported=yes
13312 _pkg_short_errors_supported=no
13314 if test $_pkg_short_errors_supported = yes; then
13315 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13317 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13319 # Put the nasty error message in config.log where it belongs
13320 echo "$GDBUS_PKG_ERRORS" >&5
13322 SERVER_IPC_MODULE="dbus-glib-1"
13324 elif test $pkg_failed = untried; then
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13326 $as_echo "no" >&6; }
13327 SERVER_IPC_MODULE="dbus-glib-1"
13330 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
13331 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13333 $as_echo "yes" >&6; }
13334 SERVER_IPC_MODULE="gio-2.0"
13336 # TODO: Move to GTK+-3
13337 # [gtk+-3.0 >= 2.0],
13338 # [GTK_VERSION="gtk+-3.0"]
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13342 $as_echo_n "checking for GTK... " >&6; }
13344 if test -n "$GTK_CFLAGS"; then
13345 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13346 elif test -n "$PKG_CONFIG"; then
13347 if test -n "$PKG_CONFIG" && \
13348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13349 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13352 test $ac_status = 0; }; then
13353 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13354 test "x$?" != "x0" && pkg_failed=yes
13361 if test -n "$GTK_LIBS"; then
13362 pkg_cv_GTK_LIBS="$GTK_LIBS"
13363 elif test -n "$PKG_CONFIG"; then
13364 if test -n "$PKG_CONFIG" && \
13365 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13366 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13369 test $ac_status = 0; }; then
13370 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13371 test "x$?" != "x0" && pkg_failed=yes
13381 if test $pkg_failed = yes; then
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13383 $as_echo "no" >&6; }
13385 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13386 _pkg_short_errors_supported=yes
13388 _pkg_short_errors_supported=no
13390 if test $_pkg_short_errors_supported = yes; then
13391 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13393 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13395 # Put the nasty error message in config.log where it belongs
13396 echo "$GTK_PKG_ERRORS" >&5
13398 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13402 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13403 installed software in a non-standard prefix.
13405 Alternatively, you may set the environment variables GTK_CFLAGS
13406 and GTK_LIBS to avoid the need to call pkg-config.
13407 See the pkg-config man page for more details." "$LINENO" 5
13408 elif test $pkg_failed = untried; then
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13410 $as_echo "no" >&6; }
13411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13413 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13414 is in your PATH or set the PKG_CONFIG environment variable to the full
13415 path to pkg-config.
13417 Alternatively, you may set the environment variables GTK_CFLAGS
13418 and GTK_LIBS to avoid the need to call pkg-config.
13419 See the pkg-config man page for more details.
13421 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13422 See \`config.log' for more details" "$LINENO" 5; }
13424 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13425 GTK_LIBS=$pkg_cv_GTK_LIBS
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13427 $as_echo "yes" >&6; }
13428 GTK_VERSION="gtk+-2.0"
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEE" >&5
13434 $as_echo_n "checking for GEE... " >&6; }
13436 if test -n "$GEE_CFLAGS"; then
13437 pkg_cv_GEE_CFLAGS="$GEE_CFLAGS"
13438 elif test -n "$PKG_CONFIG"; then
13439 if test -n "$PKG_CONFIG" && \
13440 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-0.8 >= 0.5\""; } >&5
13441 ($PKG_CONFIG --exists --print-errors "gee-0.8 >= 0.5") 2>&5
13443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13444 test $ac_status = 0; }; then
13445 pkg_cv_GEE_CFLAGS=`$PKG_CONFIG --cflags "gee-0.8 >= 0.5" 2>/dev/null`
13446 test "x$?" != "x0" && pkg_failed=yes
13453 if test -n "$GEE_LIBS"; then
13454 pkg_cv_GEE_LIBS="$GEE_LIBS"
13455 elif test -n "$PKG_CONFIG"; then
13456 if test -n "$PKG_CONFIG" && \
13457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-0.8 >= 0.5\""; } >&5
13458 ($PKG_CONFIG --exists --print-errors "gee-0.8 >= 0.5") 2>&5
13460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13461 test $ac_status = 0; }; then
13462 pkg_cv_GEE_LIBS=`$PKG_CONFIG --libs "gee-0.8 >= 0.5" 2>/dev/null`
13463 test "x$?" != "x0" && pkg_failed=yes
13473 if test $pkg_failed = yes; then
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13475 $as_echo "no" >&6; }
13477 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13478 _pkg_short_errors_supported=yes
13480 _pkg_short_errors_supported=no
13482 if test $_pkg_short_errors_supported = yes; then
13483 GEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-0.8 >= 0.5" 2>&1`
13485 GEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-0.8 >= 0.5" 2>&1`
13487 # Put the nasty error message in config.log where it belongs
13488 echo "$GEE_PKG_ERRORS" >&5
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEE" >&5
13493 $as_echo_n "checking for GEE... " >&6; }
13495 if test -n "$GEE_CFLAGS"; then
13496 pkg_cv_GEE_CFLAGS="$GEE_CFLAGS"
13497 elif test -n "$PKG_CONFIG"; then
13498 if test -n "$PKG_CONFIG" && \
13499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0\""; } >&5
13500 ($PKG_CONFIG --exists --print-errors "gee-1.0") 2>&5
13502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13503 test $ac_status = 0; }; then
13504 pkg_cv_GEE_CFLAGS=`$PKG_CONFIG --cflags "gee-1.0" 2>/dev/null`
13505 test "x$?" != "x0" && pkg_failed=yes
13512 if test -n "$GEE_LIBS"; then
13513 pkg_cv_GEE_LIBS="$GEE_LIBS"
13514 elif test -n "$PKG_CONFIG"; then
13515 if test -n "$PKG_CONFIG" && \
13516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0\""; } >&5
13517 ($PKG_CONFIG --exists --print-errors "gee-1.0") 2>&5
13519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13520 test $ac_status = 0; }; then
13521 pkg_cv_GEE_LIBS=`$PKG_CONFIG --libs "gee-1.0" 2>/dev/null`
13522 test "x$?" != "x0" && pkg_failed=yes
13532 if test $pkg_failed = yes; then
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13534 $as_echo "no" >&6; }
13536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13537 _pkg_short_errors_supported=yes
13539 _pkg_short_errors_supported=no
13541 if test $_pkg_short_errors_supported = yes; then
13542 GEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-1.0" 2>&1`
13544 GEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-1.0" 2>&1`
13546 # Put the nasty error message in config.log where it belongs
13547 echo "$GEE_PKG_ERRORS" >&5
13549 as_fn_error $? "Package requirements (gee-1.0) were not met:
13553 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13554 installed software in a non-standard prefix.
13556 Alternatively, you may set the environment variables GEE_CFLAGS
13557 and GEE_LIBS to avoid the need to call pkg-config.
13558 See the pkg-config man page for more details." "$LINENO" 5
13559 elif test $pkg_failed = untried; then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13561 $as_echo "no" >&6; }
13562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13564 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13565 is in your PATH or set the PKG_CONFIG environment variable to the full
13566 path to pkg-config.
13568 Alternatively, you may set the environment variables GEE_CFLAGS
13569 and GEE_LIBS to avoid the need to call pkg-config.
13570 See the pkg-config man page for more details.
13572 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13573 See \`config.log' for more details" "$LINENO" 5; }
13575 GEE_CFLAGS=$pkg_cv_GEE_CFLAGS
13576 GEE_LIBS=$pkg_cv_GEE_LIBS
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13578 $as_echo "yes" >&6; }
13581 elif test $pkg_failed = untried; then
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13583 $as_echo "no" >&6; }
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEE" >&5
13587 $as_echo_n "checking for GEE... " >&6; }
13589 if test -n "$GEE_CFLAGS"; then
13590 pkg_cv_GEE_CFLAGS="$GEE_CFLAGS"
13591 elif test -n "$PKG_CONFIG"; then
13592 if test -n "$PKG_CONFIG" && \
13593 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0\""; } >&5
13594 ($PKG_CONFIG --exists --print-errors "gee-1.0") 2>&5
13596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13597 test $ac_status = 0; }; then
13598 pkg_cv_GEE_CFLAGS=`$PKG_CONFIG --cflags "gee-1.0" 2>/dev/null`
13599 test "x$?" != "x0" && pkg_failed=yes
13606 if test -n "$GEE_LIBS"; then
13607 pkg_cv_GEE_LIBS="$GEE_LIBS"
13608 elif test -n "$PKG_CONFIG"; then
13609 if test -n "$PKG_CONFIG" && \
13610 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0\""; } >&5
13611 ($PKG_CONFIG --exists --print-errors "gee-1.0") 2>&5
13613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13614 test $ac_status = 0; }; then
13615 pkg_cv_GEE_LIBS=`$PKG_CONFIG --libs "gee-1.0" 2>/dev/null`
13616 test "x$?" != "x0" && pkg_failed=yes
13626 if test $pkg_failed = yes; then
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13628 $as_echo "no" >&6; }
13630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13631 _pkg_short_errors_supported=yes
13633 _pkg_short_errors_supported=no
13635 if test $_pkg_short_errors_supported = yes; then
13636 GEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-1.0" 2>&1`
13638 GEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-1.0" 2>&1`
13640 # Put the nasty error message in config.log where it belongs
13641 echo "$GEE_PKG_ERRORS" >&5
13643 as_fn_error $? "Package requirements (gee-1.0) were not met:
13647 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13648 installed software in a non-standard prefix.
13650 Alternatively, you may set the environment variables GEE_CFLAGS
13651 and GEE_LIBS to avoid the need to call pkg-config.
13652 See the pkg-config man page for more details." "$LINENO" 5
13653 elif test $pkg_failed = untried; then
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13655 $as_echo "no" >&6; }
13656 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13658 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13659 is in your PATH or set the PKG_CONFIG environment variable to the full
13660 path to pkg-config.
13662 Alternatively, you may set the environment variables GEE_CFLAGS
13663 and GEE_LIBS to avoid the need to call pkg-config.
13664 See the pkg-config man page for more details.
13666 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13667 See \`config.log' for more details" "$LINENO" 5; }
13669 GEE_CFLAGS=$pkg_cv_GEE_CFLAGS
13670 GEE_LIBS=$pkg_cv_GEE_LIBS
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13672 $as_echo "yes" >&6; }
13676 GEE_CFLAGS=$pkg_cv_GEE_CFLAGS
13677 GEE_LIBS=$pkg_cv_GEE_LIBS
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13679 $as_echo "yes" >&6; }
13685 if test "$gee_0_8" = "yes"; then
13693 if test "$linux" = "yes"; then
13701 if test "$win32" = "yes"; then
13709 if test "$macos" = "yes"; then
13718 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13720 IPC_MSRPC_FALSE='#'
13726 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
13734 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13735 IPC_DBUS_GLIB_TRUE=
13736 IPC_DBUS_GLIB_FALSE='#'
13738 IPC_DBUS_GLIB_TRUE='#'
13739 IPC_DBUS_GLIB_FALSE=
13742 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
13744 IPC_GDBUS_FALSE='#'
13751 vala_version=`$VALAC --version | sed 's/Vala *//'`
13752 as_arg_v1="$vala_version"
13754 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13757 gio_vapi_uses_arrays="no" ;; #(
13759 gio_vapi_uses_arrays="yes" ;; #(
13761 gio_vapi_uses_arrays="yes" ;; #(
13765 if test "$gio_vapi_uses_arrays" = "yes"; then
13766 GIO_VAPI_USES_ARRAYS_TRUE=
13767 GIO_VAPI_USES_ARRAYS_FALSE='#'
13769 GIO_VAPI_USES_ARRAYS_TRUE='#'
13770 GIO_VAPI_USES_ARRAYS_FALSE=
13773 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
13775 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
13777 as_arg_v2="$vala_version"
13778 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13781 vala_supports_dbus_glib="no" ;; #(
13783 vala_supports_dbus_glib="no" ;; #(
13785 vala_supports_dbus_glib="yes" ;; #(
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
13791 $as_echo "$vala_supports_dbus_glib" >&6; }
13792 if test "$vala_supports_dbus_glib" = "no"; then
13794 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
13795 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
13799 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13802 pkg_config_args="msrpc-mingw-1.0"
13811 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13812 if test -n "$ac_tool_prefix"; then
13813 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13814 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13816 $as_echo_n "checking for $ac_word... " >&6; }
13817 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13818 $as_echo_n "(cached) " >&6
13820 case $PKG_CONFIG in
13822 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13826 for as_dir in $PATH
13829 test -z "$as_dir" && as_dir=.
13830 for ac_exec_ext in '' $ac_executable_extensions; do
13831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13832 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13843 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13844 if test -n "$PKG_CONFIG"; then
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13846 $as_echo "$PKG_CONFIG" >&6; }
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13849 $as_echo "no" >&6; }
13854 if test -z "$ac_cv_path_PKG_CONFIG"; then
13855 ac_pt_PKG_CONFIG=$PKG_CONFIG
13856 # Extract the first word of "pkg-config", so it can be a program name with args.
13857 set dummy pkg-config; ac_word=$2
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13859 $as_echo_n "checking for $ac_word... " >&6; }
13860 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13861 $as_echo_n "(cached) " >&6
13863 case $ac_pt_PKG_CONFIG in
13865 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13869 for as_dir in $PATH
13872 test -z "$as_dir" && as_dir=.
13873 for ac_exec_ext in '' $ac_executable_extensions; do
13874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13875 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13886 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13887 if test -n "$ac_pt_PKG_CONFIG"; then
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13889 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13892 $as_echo "no" >&6; }
13895 if test "x$ac_pt_PKG_CONFIG" = x; then
13898 case $cross_compiling:$ac_tool_warned in
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13902 ac_tool_warned=yes ;;
13904 PKG_CONFIG=$ac_pt_PKG_CONFIG
13907 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13911 if test -n "$PKG_CONFIG"; then
13912 _pkg_min_version=0.16
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13914 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13915 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13917 $as_echo "yes" >&6; }
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13920 $as_echo "no" >&6; }
13927 if test "x$PKG_CONFIG" = x ; then
13932 min_msrpc_mingw_version=0.1.0
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
13934 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
13936 if test x$PKG_CONFIG != xno ; then
13937 if $PKG_CONFIG --uninstalled $pkg_config_args; then
13938 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
13941 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
13948 if test x"$no_msrpc" = x ; then
13949 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
13950 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13951 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13954 if test "x$no_msrpc" = x ; then
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13956 $as_echo "yes" >&6; }
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13960 $as_echo "no" >&6; }
13961 if test "$PKG_CONFIG" = "no" ; then
13962 echo "*** A new enough version of pkg-config was not found."
13963 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13971 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
13978 # Extract the first word of "midl", so it can be a program name with args.
13979 set dummy midl; ac_word=$2
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13981 $as_echo_n "checking for $ac_word... " >&6; }
13982 if ${ac_cv_path_MIDL+:} false; then :
13983 $as_echo_n "(cached) " >&6
13987 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
13990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13991 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
13994 test -z "$as_dir" && as_dir=.
13995 for ac_exec_ext in '' $ac_executable_extensions; do
13996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13997 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
13998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14005 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
14009 MIDL=$ac_cv_path_MIDL
14010 if test -n "$MIDL"; then
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
14012 $as_echo "$MIDL" >&6; }
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14015 $as_echo "no" >&6; }
14019 if test "$MIDL" = "no"; then
14021 *** Could not find the Microsoft interface compiler MIDL.EXE.
14022 *** This program is available as part of the MS Windows SDK, in
14023 *** the Win32 Development Tools package. If it is not in the PATH
14024 *** or its default location you may set the 'MIDL' environment
14025 *** variable to point to its location and rerun configure." "$LINENO" 5
14029 if test "$win32" = "yes"; then
14030 # Other Windows-specific tools
14032 # LIB.EXE from MSVC to build an MSVC-compatible import library.
14033 # Extract the first word of "lib", so it can be a program name with args.
14034 set dummy lib; ac_word=$2
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14036 $as_echo_n "checking for $ac_word... " >&6; }
14037 if ${ac_cv_path_MSVC_LIB+:} false; then :
14038 $as_echo_n "(cached) " >&6
14042 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
14045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14046 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
14049 test -z "$as_dir" && as_dir=.
14050 for ac_exec_ext in '' $ac_executable_extensions; do
14051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14052 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
14053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14060 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
14064 MSVC_LIB=$ac_cv_path_MSVC_LIB
14065 if test -n "$MSVC_LIB"; then
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
14067 $as_echo "$MSVC_LIB" >&6; }
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14070 $as_echo "no" >&6; }
14075 if test "$MSVC_LIB" = "no"; then
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
14077 *** Could not find the Microsoft 'LIB.EXE' program. This is required
14078 *** to build the Visual C import library for libmoonshot. Use the
14079 *** MSVC_LIB environment variable to pass its location if this is
14080 *** outside the PATH." >&5
14081 $as_echo "$as_me: WARNING:
14082 *** Could not find the Microsoft 'LIB.EXE' program. This is required
14083 *** to build the Visual C import library for libmoonshot. Use the
14084 *** MSVC_LIB environment variable to pass its location if this is
14085 *** outside the PATH." >&2;}
14089 # ImageMagick for the 'make icons' target. Note that
14090 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
14091 # Extract the first word of "convert", so it can be a program name with args.
14092 set dummy convert; ac_word=$2
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14094 $as_echo_n "checking for $ac_word... " >&6; }
14095 if ${ac_cv_path_IMAGEMAGICK_CONVERT+:} false; then :
14096 $as_echo_n "(cached) " >&6
14098 case $IMAGEMAGICK_CONVERT in
14100 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
14103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14104 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
14107 test -z "$as_dir" && as_dir=.
14108 for ac_exec_ext in '' $ac_executable_extensions; do
14109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14110 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
14111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14118 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
14122 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
14123 if test -n "$IMAGEMAGICK_CONVERT"; then
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
14125 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14128 $as_echo "no" >&6; }
14133 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
14135 *** Could not find ImageMagick convert.exe. This is required for the
14136 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
14137 *** variable to pass its location if this is outside the PATH." >&5
14138 $as_echo "$as_me: WARNING:
14139 *** Could not find ImageMagick convert.exe. This is required for the
14140 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
14141 *** variable to pass its location if this is outside the PATH." >&2;}
14145 # Windows Installer XML tools
14146 # Extract the first word of "candle", so it can be a program name with args.
14147 set dummy candle; ac_word=$2
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14149 $as_echo_n "checking for $ac_word... " >&6; }
14150 if ${ac_cv_path_WIX_CANDLE+:} false; then :
14151 $as_echo_n "(cached) " >&6
14153 case $WIX_CANDLE in
14155 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
14158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14159 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
14162 test -z "$as_dir" && as_dir=.
14163 for ac_exec_ext in '' $ac_executable_extensions; do
14164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14165 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
14166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14173 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
14177 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
14178 if test -n "$WIX_CANDLE"; then
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
14180 $as_echo "$WIX_CANDLE" >&6; }
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14183 $as_echo "no" >&6; }
14187 # Extract the first word of "light", so it can be a program name with args.
14188 set dummy light; ac_word=$2
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14190 $as_echo_n "checking for $ac_word... " >&6; }
14191 if ${ac_cv_path_WIX_LIGHT+:} false; then :
14192 $as_echo_n "(cached) " >&6
14196 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
14199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14200 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
14203 test -z "$as_dir" && as_dir=.
14204 for ac_exec_ext in '' $ac_executable_extensions; do
14205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14206 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
14207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14214 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
14218 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
14219 if test -n "$WIX_LIGHT"; then
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
14221 $as_echo "$WIX_LIGHT" >&6; }
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14224 $as_echo "no" >&6; }
14229 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
14231 *** Could not find the Windows Installer XML tools. These are required
14232 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
14233 *** environment variables to pass their locations if they are outside
14235 $as_echo "$as_me: WARNING:
14236 *** Could not find the Windows Installer XML tools. These are required
14237 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
14238 *** environment variables to pass their locations if they are outside
14239 *** the PATH." >&2;}
14243 if test "$linux" = "yes"; then
14244 # Extract the first word of "update-mime-database", so it can be a program name with args.
14245 set dummy update-mime-database; ac_word=$2
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14247 $as_echo_n "checking for $ac_word... " >&6; }
14248 if ${ac_cv_path_UPDATE_MIME_DATABASE+:} false; then :
14249 $as_echo_n "(cached) " >&6
14251 case $UPDATE_MIME_DATABASE in
14253 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
14256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14257 for as_dir in $PATH
14260 test -z "$as_dir" && as_dir=.
14261 for ac_exec_ext in '' $ac_executable_extensions; do
14262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14263 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14271 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
14275 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
14276 if test -n "$UPDATE_MIME_DATABASE"; then
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
14278 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14281 $as_echo "no" >&6; }
14285 if test "$UPDATE_MIME_DATABASE" = "no"; then
14287 *** Could not find the Freedesktop.org mime database update tool.
14288 *** Web provisioning files could not be automatically installed." "$LINENO" 5
14290 # Extract the first word of "update-desktop-database", so it can be a program name with args.
14291 set dummy update-desktop-database; ac_word=$2
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14293 $as_echo_n "checking for $ac_word... " >&6; }
14294 if ${ac_cv_path_UPDATE_DESKTOP_DATABASE+:} false; then :
14295 $as_echo_n "(cached) " >&6
14297 case $UPDATE_DESKTOP_DATABASE in
14299 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
14302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14303 for as_dir in $PATH
14306 test -z "$as_dir" && as_dir=.
14307 for ac_exec_ext in '' $ac_executable_extensions; do
14308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14309 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14317 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
14321 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
14322 if test -n "$UPDATE_DESKTOP_DATABASE"; then
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
14324 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14327 $as_echo "no" >&6; }
14331 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
14333 *** Could not find the Freedesktop.org desktop entry database update
14334 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
14338 MOONSHOT_APP="$bindir/moonshot"
14339 MOONSHOT_WEBP="$bindir/moonshot-webp"
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
14355 $as_echo_n "checking for moonshot... " >&6; }
14357 if test -n "$moonshot_CFLAGS"; then
14358 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
14359 elif test -n "$PKG_CONFIG"; then
14360 if test -n "$PKG_CONFIG" && \
14361 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14364 gobject-2.0 >= 2.22
14366 \$SERVER_IPC_MODULE
14369 ($PKG_CONFIG --exists --print-errors "
14372 gobject-2.0 >= 2.22
14378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14379 test $ac_status = 0; }; then
14380 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
14383 gobject-2.0 >= 2.22
14388 test "x$?" != "x0" && pkg_failed=yes
14395 if test -n "$moonshot_LIBS"; then
14396 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
14397 elif test -n "$PKG_CONFIG"; then
14398 if test -n "$PKG_CONFIG" && \
14399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14402 gobject-2.0 >= 2.22
14404 \$SERVER_IPC_MODULE
14407 ($PKG_CONFIG --exists --print-errors "
14410 gobject-2.0 >= 2.22
14416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14417 test $ac_status = 0; }; then
14418 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
14421 gobject-2.0 >= 2.22
14426 test "x$?" != "x0" && pkg_failed=yes
14436 if test $pkg_failed = yes; then
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14438 $as_echo "no" >&6; }
14440 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14441 _pkg_short_errors_supported=yes
14443 _pkg_short_errors_supported=no
14445 if test $_pkg_short_errors_supported = yes; then
14446 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14449 gobject-2.0 >= 2.22
14455 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14458 gobject-2.0 >= 2.22
14464 # Put the nasty error message in config.log where it belongs
14465 echo "$moonshot_PKG_ERRORS" >&5
14467 as_fn_error $? "Package requirements (
14470 gobject-2.0 >= 2.22
14476 $moonshot_PKG_ERRORS
14478 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14479 installed software in a non-standard prefix.
14481 Alternatively, you may set the environment variables moonshot_CFLAGS
14482 and moonshot_LIBS to avoid the need to call pkg-config.
14483 See the pkg-config man page for more details." "$LINENO" 5
14484 elif test $pkg_failed = untried; then
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14486 $as_echo "no" >&6; }
14487 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14489 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14490 is in your PATH or set the PKG_CONFIG environment variable to the full
14491 path to pkg-config.
14493 Alternatively, you may set the environment variables moonshot_CFLAGS
14494 and moonshot_LIBS to avoid the need to call pkg-config.
14495 See the pkg-config man page for more details.
14497 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14498 See \`config.log' for more details" "$LINENO" 5; }
14500 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
14501 moonshot_LIBS=$pkg_cv_moonshot_LIBS
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14503 $as_echo "yes" >&6; }
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
14510 $as_echo_n "checking for libmoonshot... " >&6; }
14512 if test -n "$libmoonshot_CFLAGS"; then
14513 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
14514 elif test -n "$PKG_CONFIG"; then
14515 if test -n "$PKG_CONFIG" && \
14516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14517 \$CLIENT_IPC_MODULE
14519 ($PKG_CONFIG --exists --print-errors "
14523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14524 test $ac_status = 0; }; then
14525 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
14528 test "x$?" != "x0" && pkg_failed=yes
14535 if test -n "$libmoonshot_LIBS"; then
14536 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
14537 elif test -n "$PKG_CONFIG"; then
14538 if test -n "$PKG_CONFIG" && \
14539 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14540 \$CLIENT_IPC_MODULE
14542 ($PKG_CONFIG --exists --print-errors "
14546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14547 test $ac_status = 0; }; then
14548 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
14551 test "x$?" != "x0" && pkg_failed=yes
14561 if test $pkg_failed = yes; then
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14563 $as_echo "no" >&6; }
14565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14566 _pkg_short_errors_supported=yes
14568 _pkg_short_errors_supported=no
14570 if test $_pkg_short_errors_supported = yes; then
14571 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14575 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14579 # Put the nasty error message in config.log where it belongs
14580 echo "$libmoonshot_PKG_ERRORS" >&5
14582 as_fn_error $? "Package requirements (
14586 $libmoonshot_PKG_ERRORS
14588 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14589 installed software in a non-standard prefix.
14591 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14592 and libmoonshot_LIBS to avoid the need to call pkg-config.
14593 See the pkg-config man page for more details." "$LINENO" 5
14594 elif test $pkg_failed = untried; then
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14596 $as_echo "no" >&6; }
14597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14599 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14600 is in your PATH or set the PKG_CONFIG environment variable to the full
14601 path to pkg-config.
14603 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14604 and libmoonshot_LIBS to avoid the need to call pkg-config.
14605 See the pkg-config man page for more details.
14607 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14608 See \`config.log' for more details" "$LINENO" 5; }
14610 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
14611 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14613 $as_echo "yes" >&6; }
14621 [\\/$]* | ?:[\\/]*) ;;
14622 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14627 $as_echo_n "checking whether NLS is requested... " >&6; }
14628 # Check whether --enable-nls was given.
14629 if test "${enable_nls+set}" = set; then :
14630 enableval=$enable_nls; USE_NLS=$enableval
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14636 $as_echo "$USE_NLS" >&6; }
14641 GETTEXT_MACRO_VERSION=0.18
14646 # Prepare PATH_SEPARATOR.
14647 # The user is always right.
14648 if test "${PATH_SEPARATOR+set}" != set; then
14649 echo "#! /bin/sh" >conf$$.sh
14650 echo "exit 0" >>conf$$.sh
14652 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14660 # Find out how to test for executable files. Don't use a zero-byte file,
14661 # as systems may use methods other than mode bits to determine executability.
14662 cat >conf$$.file <<_ASEOF
14666 chmod +x conf$$.file
14667 if test -x conf$$.file >/dev/null 2>&1; then
14668 ac_executable_p="test -x"
14670 ac_executable_p="test -f"
14674 # Extract the first word of "msgfmt", so it can be a program name with args.
14675 set dummy msgfmt; ac_word=$2
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14677 $as_echo_n "checking for $ac_word... " >&6; }
14678 if ${ac_cv_path_MSGFMT+:} false; then :
14679 $as_echo_n "(cached) " >&6
14683 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14686 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14687 for ac_dir in $PATH; do
14689 test -z "$ac_dir" && ac_dir=.
14690 for ac_exec_ext in '' $ac_executable_extensions; do
14691 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14692 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14693 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14694 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14695 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14702 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14706 MSGFMT="$ac_cv_path_MSGFMT"
14707 if test "$MSGFMT" != ":"; then
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14709 $as_echo "$MSGFMT" >&6; }
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14712 $as_echo "no" >&6; }
14715 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14716 set dummy gmsgfmt; ac_word=$2
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14718 $as_echo_n "checking for $ac_word... " >&6; }
14719 if ${ac_cv_path_GMSGFMT+:} false; then :
14720 $as_echo_n "(cached) " >&6
14724 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14728 for as_dir in $PATH
14731 test -z "$as_dir" && as_dir=.
14732 for ac_exec_ext in '' $ac_executable_extensions; do
14733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14734 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14742 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14746 GMSGFMT=$ac_cv_path_GMSGFMT
14747 if test -n "$GMSGFMT"; then
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14749 $as_echo "$GMSGFMT" >&6; }
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14752 $as_echo "no" >&6; }
14757 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14758 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14759 *) MSGFMT_015=$MSGFMT ;;
14762 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14763 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14764 *) GMSGFMT_015=$GMSGFMT ;;
14769 # Prepare PATH_SEPARATOR.
14770 # The user is always right.
14771 if test "${PATH_SEPARATOR+set}" != set; then
14772 echo "#! /bin/sh" >conf$$.sh
14773 echo "exit 0" >>conf$$.sh
14775 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14783 # Find out how to test for executable files. Don't use a zero-byte file,
14784 # as systems may use methods other than mode bits to determine executability.
14785 cat >conf$$.file <<_ASEOF
14789 chmod +x conf$$.file
14790 if test -x conf$$.file >/dev/null 2>&1; then
14791 ac_executable_p="test -x"
14793 ac_executable_p="test -f"
14797 # Extract the first word of "xgettext", so it can be a program name with args.
14798 set dummy xgettext; ac_word=$2
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14800 $as_echo_n "checking for $ac_word... " >&6; }
14801 if ${ac_cv_path_XGETTEXT+:} false; then :
14802 $as_echo_n "(cached) " >&6
14804 case "$XGETTEXT" in
14806 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14809 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14810 for ac_dir in $PATH; do
14812 test -z "$ac_dir" && ac_dir=.
14813 for ac_exec_ext in '' $ac_executable_extensions; do
14814 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14815 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14816 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14817 (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
14818 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14825 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14829 XGETTEXT="$ac_cv_path_XGETTEXT"
14830 if test "$XGETTEXT" != ":"; then
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14832 $as_echo "$XGETTEXT" >&6; }
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14835 $as_echo "no" >&6; }
14840 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14841 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14842 *) XGETTEXT_015=$XGETTEXT ;;
14847 # Prepare PATH_SEPARATOR.
14848 # The user is always right.
14849 if test "${PATH_SEPARATOR+set}" != set; then
14850 echo "#! /bin/sh" >conf$$.sh
14851 echo "exit 0" >>conf$$.sh
14853 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14861 # Find out how to test for executable files. Don't use a zero-byte file,
14862 # as systems may use methods other than mode bits to determine executability.
14863 cat >conf$$.file <<_ASEOF
14867 chmod +x conf$$.file
14868 if test -x conf$$.file >/dev/null 2>&1; then
14869 ac_executable_p="test -x"
14871 ac_executable_p="test -f"
14875 # Extract the first word of "msgmerge", so it can be a program name with args.
14876 set dummy msgmerge; ac_word=$2
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14878 $as_echo_n "checking for $ac_word... " >&6; }
14879 if ${ac_cv_path_MSGMERGE+:} false; then :
14880 $as_echo_n "(cached) " >&6
14882 case "$MSGMERGE" in
14884 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14887 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14888 for ac_dir in $PATH; do
14890 test -z "$ac_dir" && ac_dir=.
14891 for ac_exec_ext in '' $ac_executable_extensions; do
14892 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14893 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14894 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14895 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14902 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14906 MSGMERGE="$ac_cv_path_MSGMERGE"
14907 if test "$MSGMERGE" != ":"; then
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14909 $as_echo "$MSGMERGE" >&6; }
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14912 $as_echo "no" >&6; }
14916 test -n "$localedir" || localedir='${datadir}/locale'
14919 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14922 ac_config_commands="$ac_config_commands po-directories"
14926 if test "X$prefix" = "XNONE"; then
14927 acl_final_prefix="$ac_default_prefix"
14929 acl_final_prefix="$prefix"
14931 if test "X$exec_prefix" = "XNONE"; then
14932 acl_final_exec_prefix='${prefix}'
14934 acl_final_exec_prefix="$exec_prefix"
14936 acl_save_prefix="$prefix"
14937 prefix="$acl_final_prefix"
14938 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14939 prefix="$acl_save_prefix"
14942 # Check whether --with-gnu-ld was given.
14943 if test "${with_gnu_ld+set}" = set; then :
14944 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14949 # Prepare PATH_SEPARATOR.
14950 # The user is always right.
14951 if test "${PATH_SEPARATOR+set}" != set; then
14952 echo "#! /bin/sh" >conf$$.sh
14953 echo "exit 0" >>conf$$.sh
14955 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14963 if test "$GCC" = yes; then
14964 # Check if gcc -print-prog-name=ld gives a path.
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14966 $as_echo_n "checking for ld used by GCC... " >&6; }
14969 # gcc leaves a trailing carriage return which upsets mingw
14970 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14972 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14975 # Accept absolute paths.
14976 [\\/]* | [A-Za-z]:[\\/]*)
14977 re_direlt='/[^/][^/]*/\.\./'
14978 # Canonicalize the path of ld
14979 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14980 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14981 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14983 test -z "$LD" && LD="$ac_prog"
14986 # If it fails, then pretend we aren't using GCC.
14990 # If it is relative, then search for the first ld in PATH.
14991 with_gnu_ld=unknown
14994 elif test "$with_gnu_ld" = yes; then
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14996 $as_echo_n "checking for GNU ld... " >&6; }
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14999 $as_echo_n "checking for non-GNU ld... " >&6; }
15001 if ${acl_cv_path_LD+:} false; then :
15002 $as_echo_n "(cached) " >&6
15004 if test -z "$LD"; then
15005 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
15006 for ac_dir in $PATH; do
15007 test -z "$ac_dir" && ac_dir=.
15008 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15009 acl_cv_path_LD="$ac_dir/$ac_prog"
15010 # Check to see if the program is GNU ld. I'd rather use --version,
15011 # but apparently some GNU ld's only accept -v.
15012 # Break only if it was the GNU/non-GNU ld that we prefer.
15013 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
15014 *GNU* | *'with BFD'*)
15015 test "$with_gnu_ld" != no && break ;;
15017 test "$with_gnu_ld" != yes && break ;;
15023 acl_cv_path_LD="$LD" # Let the user override the test with a path.
15027 LD="$acl_cv_path_LD"
15028 if test -n "$LD"; then
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15030 $as_echo "$LD" >&6; }
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15033 $as_echo "no" >&6; }
15035 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15037 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15038 if ${acl_cv_prog_gnu_ld+:} false; then :
15039 $as_echo_n "(cached) " >&6
15041 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15042 case `$LD -v 2>&1 </dev/null` in
15043 *GNU* | *'with BFD'*)
15044 acl_cv_prog_gnu_ld=yes ;;
15046 acl_cv_prog_gnu_ld=no ;;
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
15050 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
15051 with_gnu_ld=$acl_cv_prog_gnu_ld
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
15057 $as_echo_n "checking for shared library run path origin... " >&6; }
15058 if ${acl_cv_rpath+:} false; then :
15059 $as_echo_n "(cached) " >&6
15062 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
15063 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
15065 rm -f ./conftest.sh
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
15070 $as_echo "$acl_cv_rpath" >&6; }
15072 acl_libext="$acl_cv_libext"
15073 acl_shlibext="$acl_cv_shlibext"
15074 acl_libname_spec="$acl_cv_libname_spec"
15075 acl_library_names_spec="$acl_cv_library_names_spec"
15076 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
15077 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
15078 acl_hardcode_direct="$acl_cv_hardcode_direct"
15079 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
15080 # Check whether --enable-rpath was given.
15081 if test "${enable_rpath+set}" = set; then :
15082 enableval=$enable_rpath; :
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
15095 $as_echo_n "checking for 64-bit host... " >&6; }
15096 if ${gl_cv_solaris_64bit+:} false; then :
15097 $as_echo_n "(cached) " >&6
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15108 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
15109 gl_cv_solaris_64bit=yes
15111 gl_cv_solaris_64bit=no
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
15118 $as_echo "$gl_cv_solaris_64bit" >&6; }
15119 if test $gl_cv_solaris_64bit = yes; then
15120 acl_libdirstem=lib/64
15121 case "$host_cpu" in
15122 sparc*) acl_libdirstem2=lib/sparcv9 ;;
15123 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
15128 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
15129 if test -n "$searchpath"; then
15130 acl_save_IFS="${IFS= }"; IFS=":"
15131 for searchdir in $searchpath; do
15132 if test -d "$searchdir"; then
15133 case "$searchdir" in
15134 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
15136 # Better ignore directories of this form. They are misleading.
15138 *) searchdir=`cd "$searchdir" && pwd`
15139 case "$searchdir" in
15140 */lib64 ) acl_libdirstem=lib64 ;;
15145 IFS="$acl_save_IFS"
15149 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
15164 acl_save_prefix="$prefix"
15165 prefix="$acl_final_prefix"
15166 acl_save_exec_prefix="$exec_prefix"
15167 exec_prefix="$acl_final_exec_prefix"
15169 eval additional_includedir=\"$includedir\"
15170 eval additional_libdir=\"$libdir\"
15172 exec_prefix="$acl_save_exec_prefix"
15173 prefix="$acl_save_prefix"
15176 # Check whether --with-libiconv-prefix was given.
15177 if test "${with_libiconv_prefix+set}" = set; then :
15178 withval=$with_libiconv_prefix;
15179 if test "X$withval" = "Xno"; then
15182 if test "X$withval" = "X"; then
15184 acl_save_prefix="$prefix"
15185 prefix="$acl_final_prefix"
15186 acl_save_exec_prefix="$exec_prefix"
15187 exec_prefix="$acl_final_exec_prefix"
15189 eval additional_includedir=\"$includedir\"
15190 eval additional_libdir=\"$libdir\"
15192 exec_prefix="$acl_save_exec_prefix"
15193 prefix="$acl_save_prefix"
15196 additional_includedir="$withval/include"
15197 additional_libdir="$withval/$acl_libdirstem"
15198 if test "$acl_libdirstem2" != "$acl_libdirstem" \
15199 && ! test -d "$withval/$acl_libdirstem"; then
15200 additional_libdir="$withval/$acl_libdirstem2"
15214 names_already_handled=
15215 names_next_round='iconv '
15216 while test -n "$names_next_round"; do
15217 names_this_round="$names_next_round"
15219 for name in $names_this_round; do
15221 for n in $names_already_handled; do
15222 if test "$n" = "$name"; then
15223 already_handled=yes
15227 if test -z "$already_handled"; then
15228 names_already_handled="$names_already_handled $name"
15229 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15230 eval value=\"\$HAVE_LIB$uppername\"
15231 if test -n "$value"; then
15232 if test "$value" = yes; then
15233 eval value=\"\$LIB$uppername\"
15234 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
15235 eval value=\"\$LTLIB$uppername\"
15236 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
15245 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15246 if test -n "$acl_shlibext"; then
15247 shrext=".$acl_shlibext" # typically: shrext=.so
15251 if test $use_additional = yes; then
15252 dir="$additional_libdir"
15253 if test -n "$acl_shlibext"; then
15254 if test -f "$dir/$libname$shrext"; then
15256 found_so="$dir/$libname$shrext"
15258 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15259 ver=`(cd "$dir" && \
15260 for f in "$libname$shrext".*; do echo "$f"; done \
15261 | sed -e "s,^$libname$shrext\\\\.,," \
15262 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15263 | sed 1q ) 2>/dev/null`
15264 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15266 found_so="$dir/$libname$shrext.$ver"
15269 eval library_names=\"$acl_library_names_spec\"
15270 for f in $library_names; do
15271 if test -f "$dir/$f"; then
15280 if test "X$found_dir" = "X"; then
15281 if test -f "$dir/$libname.$acl_libext"; then
15283 found_a="$dir/$libname.$acl_libext"
15286 if test "X$found_dir" != "X"; then
15287 if test -f "$dir/$libname.la"; then
15288 found_la="$dir/$libname.la"
15292 if test "X$found_dir" = "X"; then
15293 for x in $LDFLAGS $LTLIBICONV; do
15295 acl_save_prefix="$prefix"
15296 prefix="$acl_final_prefix"
15297 acl_save_exec_prefix="$exec_prefix"
15298 exec_prefix="$acl_final_exec_prefix"
15300 exec_prefix="$acl_save_exec_prefix"
15301 prefix="$acl_save_prefix"
15305 dir=`echo "X$x" | sed -e 's/^X-L//'`
15306 if test -n "$acl_shlibext"; then
15307 if test -f "$dir/$libname$shrext"; then
15309 found_so="$dir/$libname$shrext"
15311 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15312 ver=`(cd "$dir" && \
15313 for f in "$libname$shrext".*; do echo "$f"; done \
15314 | sed -e "s,^$libname$shrext\\\\.,," \
15315 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15316 | sed 1q ) 2>/dev/null`
15317 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15319 found_so="$dir/$libname$shrext.$ver"
15322 eval library_names=\"$acl_library_names_spec\"
15323 for f in $library_names; do
15324 if test -f "$dir/$f"; then
15333 if test "X$found_dir" = "X"; then
15334 if test -f "$dir/$libname.$acl_libext"; then
15336 found_a="$dir/$libname.$acl_libext"
15339 if test "X$found_dir" != "X"; then
15340 if test -f "$dir/$libname.la"; then
15341 found_la="$dir/$libname.la"
15346 if test "X$found_dir" != "X"; then
15351 if test "X$found_dir" != "X"; then
15352 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15353 if test "X$found_so" != "X"; then
15354 if test "$enable_rpath" = no \
15355 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
15356 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
15357 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15360 for x in $ltrpathdirs; do
15361 if test "X$x" = "X$found_dir"; then
15366 if test -z "$haveit"; then
15367 ltrpathdirs="$ltrpathdirs $found_dir"
15369 if test "$acl_hardcode_direct" = yes; then
15370 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15372 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15373 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15375 for x in $rpathdirs; do
15376 if test "X$x" = "X$found_dir"; then
15381 if test -z "$haveit"; then
15382 rpathdirs="$rpathdirs $found_dir"
15386 for x in $LDFLAGS $LIBICONV; do
15388 acl_save_prefix="$prefix"
15389 prefix="$acl_final_prefix"
15390 acl_save_exec_prefix="$exec_prefix"
15391 exec_prefix="$acl_final_exec_prefix"
15393 exec_prefix="$acl_save_exec_prefix"
15394 prefix="$acl_save_prefix"
15396 if test "X$x" = "X-L$found_dir"; then
15401 if test -z "$haveit"; then
15402 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15404 if test "$acl_hardcode_minus_L" != no; then
15405 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15407 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15413 if test "X$found_a" != "X"; then
15414 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15416 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15419 additional_includedir=
15420 case "$found_dir" in
15421 */$acl_libdirstem | */$acl_libdirstem/)
15422 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15423 if test "$name" = 'iconv'; then
15424 LIBICONV_PREFIX="$basedir"
15426 additional_includedir="$basedir/include"
15428 */$acl_libdirstem2 | */$acl_libdirstem2/)
15429 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15430 if test "$name" = 'iconv'; then
15431 LIBICONV_PREFIX="$basedir"
15433 additional_includedir="$basedir/include"
15436 if test "X$additional_includedir" != "X"; then
15437 if test "X$additional_includedir" != "X/usr/include"; then
15439 if test "X$additional_includedir" = "X/usr/local/include"; then
15440 if test -n "$GCC"; then
15442 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15446 if test -z "$haveit"; then
15447 for x in $CPPFLAGS $INCICONV; do
15449 acl_save_prefix="$prefix"
15450 prefix="$acl_final_prefix"
15451 acl_save_exec_prefix="$exec_prefix"
15452 exec_prefix="$acl_final_exec_prefix"
15454 exec_prefix="$acl_save_exec_prefix"
15455 prefix="$acl_save_prefix"
15457 if test "X$x" = "X-I$additional_includedir"; then
15462 if test -z "$haveit"; then
15463 if test -d "$additional_includedir"; then
15464 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15470 if test -n "$found_la"; then
15471 save_libdir="$libdir"
15472 case "$found_la" in
15473 */* | *\\*) . "$found_la" ;;
15474 *) . "./$found_la" ;;
15476 libdir="$save_libdir"
15477 for dep in $dependency_libs; do
15480 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15481 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15482 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15484 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15485 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15486 if test -n "$GCC"; then
15488 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15492 if test -z "$haveit"; then
15494 for x in $LDFLAGS $LIBICONV; do
15496 acl_save_prefix="$prefix"
15497 prefix="$acl_final_prefix"
15498 acl_save_exec_prefix="$exec_prefix"
15499 exec_prefix="$acl_final_exec_prefix"
15501 exec_prefix="$acl_save_exec_prefix"
15502 prefix="$acl_save_prefix"
15504 if test "X$x" = "X-L$additional_libdir"; then
15509 if test -z "$haveit"; then
15510 if test -d "$additional_libdir"; then
15511 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15515 for x in $LDFLAGS $LTLIBICONV; do
15517 acl_save_prefix="$prefix"
15518 prefix="$acl_final_prefix"
15519 acl_save_exec_prefix="$exec_prefix"
15520 exec_prefix="$acl_final_exec_prefix"
15522 exec_prefix="$acl_save_exec_prefix"
15523 prefix="$acl_save_prefix"
15525 if test "X$x" = "X-L$additional_libdir"; then
15530 if test -z "$haveit"; then
15531 if test -d "$additional_libdir"; then
15532 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15539 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15540 if test "$enable_rpath" != no; then
15542 for x in $rpathdirs; do
15543 if test "X$x" = "X$dir"; then
15548 if test -z "$haveit"; then
15549 rpathdirs="$rpathdirs $dir"
15552 for x in $ltrpathdirs; do
15553 if test "X$x" = "X$dir"; then
15558 if test -z "$haveit"; then
15559 ltrpathdirs="$ltrpathdirs $dir"
15564 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15567 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15570 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15571 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15577 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15578 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15584 if test "X$rpathdirs" != "X"; then
15585 if test -n "$acl_hardcode_libdir_separator"; then
15587 for found_dir in $rpathdirs; do
15588 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15590 acl_save_libdir="$libdir"
15592 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15593 libdir="$acl_save_libdir"
15594 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15596 for found_dir in $rpathdirs; do
15597 acl_save_libdir="$libdir"
15598 libdir="$found_dir"
15599 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15600 libdir="$acl_save_libdir"
15601 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15605 if test "X$ltrpathdirs" != "X"; then
15606 for found_dir in $ltrpathdirs; do
15607 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15642 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15643 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15644 $as_echo_n "(cached) " >&6
15646 gt_save_LIBS="$LIBS"
15647 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15649 /* end confdefs.h. */
15650 #include <CoreFoundation/CFPreferences.h>
15654 CFPreferencesCopyAppValue(NULL, NULL)
15659 if ac_fn_c_try_link "$LINENO"; then :
15660 gt_cv_func_CFPreferencesCopyAppValue=yes
15662 gt_cv_func_CFPreferencesCopyAppValue=no
15664 rm -f core conftest.err conftest.$ac_objext \
15665 conftest$ac_exeext conftest.$ac_ext
15666 LIBS="$gt_save_LIBS"
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15669 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15670 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15672 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15676 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15677 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15678 $as_echo_n "(cached) " >&6
15680 gt_save_LIBS="$LIBS"
15681 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15684 #include <CoreFoundation/CFLocale.h>
15688 CFLocaleCopyCurrent();
15693 if ac_fn_c_try_link "$LINENO"; then :
15694 gt_cv_func_CFLocaleCopyCurrent=yes
15696 gt_cv_func_CFLocaleCopyCurrent=no
15698 rm -f core conftest.err conftest.$ac_objext \
15699 conftest$ac_exeext conftest.$ac_ext
15700 LIBS="$gt_save_LIBS"
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15703 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15704 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15706 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15710 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15711 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15723 case " $gt_needs " in
15724 *" need-formatstring-macros "*) gt_api_version=3 ;;
15725 *" need-ngettext "*) gt_api_version=2 ;;
15726 *) gt_api_version=1 ;;
15728 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15729 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15731 if test "$USE_NLS" = "yes"; then
15732 gt_use_preinstalled_gnugettext=no
15735 if test $gt_api_version -ge 3; then
15736 gt_revision_test_code='
15737 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15738 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15740 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15743 gt_revision_test_code=
15745 if test $gt_api_version -ge 2; then
15746 gt_expression_test_code=' + * ngettext ("", "", 0)'
15748 gt_expression_test_code=
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15752 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15753 if eval \${$gt_func_gnugettext_libc+:} false; then :
15754 $as_echo_n "(cached) " >&6
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15758 #include <libintl.h>
15759 $gt_revision_test_code
15760 extern int _nl_msg_cat_cntr;
15761 extern int *_nl_domain_bindings;
15765 bindtextdomain ("", "");
15766 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15771 if ac_fn_c_try_link "$LINENO"; then :
15772 eval "$gt_func_gnugettext_libc=yes"
15774 eval "$gt_func_gnugettext_libc=no"
15776 rm -f core conftest.err conftest.$ac_objext \
15777 conftest$ac_exeext conftest.$ac_ext
15779 eval ac_res=\$$gt_func_gnugettext_libc
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15781 $as_echo "$ac_res" >&6; }
15783 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15789 am_save_CPPFLAGS="$CPPFLAGS"
15791 for element in $INCICONV; do
15793 for x in $CPPFLAGS; do
15795 acl_save_prefix="$prefix"
15796 prefix="$acl_final_prefix"
15797 acl_save_exec_prefix="$exec_prefix"
15798 exec_prefix="$acl_final_exec_prefix"
15800 exec_prefix="$acl_save_exec_prefix"
15801 prefix="$acl_save_prefix"
15803 if test "X$x" = "X$element"; then
15808 if test -z "$haveit"; then
15809 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15815 $as_echo_n "checking for iconv... " >&6; }
15816 if ${am_cv_func_iconv+:} false; then :
15817 $as_echo_n "(cached) " >&6
15820 am_cv_func_iconv="no, consider installing GNU libiconv"
15822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15823 /* end confdefs.h. */
15824 #include <stdlib.h>
15829 iconv_t cd = iconv_open("","");
15830 iconv(cd,NULL,NULL,NULL,NULL);
15836 if ac_fn_c_try_link "$LINENO"; then :
15837 am_cv_func_iconv=yes
15839 rm -f core conftest.err conftest.$ac_objext \
15840 conftest$ac_exeext conftest.$ac_ext
15841 if test "$am_cv_func_iconv" != yes; then
15842 am_save_LIBS="$LIBS"
15843 LIBS="$LIBS $LIBICONV"
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15846 #include <stdlib.h>
15851 iconv_t cd = iconv_open("","");
15852 iconv(cd,NULL,NULL,NULL,NULL);
15858 if ac_fn_c_try_link "$LINENO"; then :
15859 am_cv_lib_iconv=yes
15860 am_cv_func_iconv=yes
15862 rm -f core conftest.err conftest.$ac_objext \
15863 conftest$ac_exeext conftest.$ac_ext
15864 LIBS="$am_save_LIBS"
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15869 $as_echo "$am_cv_func_iconv" >&6; }
15870 if test "$am_cv_func_iconv" = yes; then
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15872 $as_echo_n "checking for working iconv... " >&6; }
15873 if ${am_cv_func_iconv_works+:} false; then :
15874 $as_echo_n "(cached) " >&6
15877 am_save_LIBS="$LIBS"
15878 if test $am_cv_lib_iconv = yes; then
15879 LIBS="$LIBS $LIBICONV"
15881 if test "$cross_compiling" = yes; then :
15883 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15884 *) am_cv_func_iconv_works="guessing yes" ;;
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15891 #include <string.h>
15894 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15897 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15898 if (cd_utf8_to_88591 != (iconv_t)(-1))
15900 static const char input[] = "\342\202\254"; /* EURO SIGN */
15902 const char *inptr = input;
15903 size_t inbytesleft = strlen (input);
15904 char *outptr = buf;
15905 size_t outbytesleft = sizeof (buf);
15906 size_t res = iconv (cd_utf8_to_88591,
15907 (char **) &inptr, &inbytesleft,
15908 &outptr, &outbytesleft);
15913 /* Test against Solaris 10 bug: Failures are not distinguishable from
15914 successful returns. */
15916 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
15917 if (cd_ascii_to_88591 != (iconv_t)(-1))
15919 static const char input[] = "\263";
15921 const char *inptr = input;
15922 size_t inbytesleft = strlen (input);
15923 char *outptr = buf;
15924 size_t outbytesleft = sizeof (buf);
15925 size_t res = iconv (cd_ascii_to_88591,
15926 (char **) &inptr, &inbytesleft,
15927 &outptr, &outbytesleft);
15932 #if 0 /* This bug could be worked around by the caller. */
15933 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15935 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15936 if (cd_88591_to_utf8 != (iconv_t)(-1))
15938 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15940 const char *inptr = input;
15941 size_t inbytesleft = strlen (input);
15942 char *outptr = buf;
15943 size_t outbytesleft = sizeof (buf);
15944 size_t res = iconv (cd_88591_to_utf8,
15945 (char **) &inptr, &inbytesleft,
15946 &outptr, &outbytesleft);
15952 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15954 if (/* Try standardized names. */
15955 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15956 /* Try IRIX, OSF/1 names. */
15957 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15958 /* Try AIX names. */
15959 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15960 /* Try HP-UX names. */
15961 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15966 if ac_fn_c_try_run "$LINENO"; then :
15967 am_cv_func_iconv_works=yes
15969 am_cv_func_iconv_works=no
15971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15972 conftest.$ac_objext conftest.beam conftest.$ac_ext
15975 LIBS="$am_save_LIBS"
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15979 $as_echo "$am_cv_func_iconv_works" >&6; }
15980 case "$am_cv_func_iconv_works" in
15981 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15982 *) am_func_iconv=yes ;;
15985 am_func_iconv=no am_cv_lib_iconv=no
15987 if test "$am_func_iconv" = yes; then
15989 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15992 if test "$am_cv_lib_iconv" = yes; then
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15994 $as_echo_n "checking how to link with libiconv... " >&6; }
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15996 $as_echo "$LIBICONV" >&6; }
15998 CPPFLAGS="$am_save_CPPFLAGS"
16015 acl_save_prefix="$prefix"
16016 prefix="$acl_final_prefix"
16017 acl_save_exec_prefix="$exec_prefix"
16018 exec_prefix="$acl_final_exec_prefix"
16020 eval additional_includedir=\"$includedir\"
16021 eval additional_libdir=\"$libdir\"
16023 exec_prefix="$acl_save_exec_prefix"
16024 prefix="$acl_save_prefix"
16027 # Check whether --with-libintl-prefix was given.
16028 if test "${with_libintl_prefix+set}" = set; then :
16029 withval=$with_libintl_prefix;
16030 if test "X$withval" = "Xno"; then
16033 if test "X$withval" = "X"; then
16035 acl_save_prefix="$prefix"
16036 prefix="$acl_final_prefix"
16037 acl_save_exec_prefix="$exec_prefix"
16038 exec_prefix="$acl_final_exec_prefix"
16040 eval additional_includedir=\"$includedir\"
16041 eval additional_libdir=\"$libdir\"
16043 exec_prefix="$acl_save_exec_prefix"
16044 prefix="$acl_save_prefix"
16047 additional_includedir="$withval/include"
16048 additional_libdir="$withval/$acl_libdirstem"
16049 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16050 && ! test -d "$withval/$acl_libdirstem"; then
16051 additional_libdir="$withval/$acl_libdirstem2"
16065 names_already_handled=
16066 names_next_round='intl '
16067 while test -n "$names_next_round"; do
16068 names_this_round="$names_next_round"
16070 for name in $names_this_round; do
16072 for n in $names_already_handled; do
16073 if test "$n" = "$name"; then
16074 already_handled=yes
16078 if test -z "$already_handled"; then
16079 names_already_handled="$names_already_handled $name"
16080 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16081 eval value=\"\$HAVE_LIB$uppername\"
16082 if test -n "$value"; then
16083 if test "$value" = yes; then
16084 eval value=\"\$LIB$uppername\"
16085 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
16086 eval value=\"\$LTLIB$uppername\"
16087 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
16096 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16097 if test -n "$acl_shlibext"; then
16098 shrext=".$acl_shlibext" # typically: shrext=.so
16102 if test $use_additional = yes; then
16103 dir="$additional_libdir"
16104 if test -n "$acl_shlibext"; then
16105 if test -f "$dir/$libname$shrext"; then
16107 found_so="$dir/$libname$shrext"
16109 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16110 ver=`(cd "$dir" && \
16111 for f in "$libname$shrext".*; do echo "$f"; done \
16112 | sed -e "s,^$libname$shrext\\\\.,," \
16113 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16114 | sed 1q ) 2>/dev/null`
16115 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16117 found_so="$dir/$libname$shrext.$ver"
16120 eval library_names=\"$acl_library_names_spec\"
16121 for f in $library_names; do
16122 if test -f "$dir/$f"; then
16131 if test "X$found_dir" = "X"; then
16132 if test -f "$dir/$libname.$acl_libext"; then
16134 found_a="$dir/$libname.$acl_libext"
16137 if test "X$found_dir" != "X"; then
16138 if test -f "$dir/$libname.la"; then
16139 found_la="$dir/$libname.la"
16143 if test "X$found_dir" = "X"; then
16144 for x in $LDFLAGS $LTLIBINTL; do
16146 acl_save_prefix="$prefix"
16147 prefix="$acl_final_prefix"
16148 acl_save_exec_prefix="$exec_prefix"
16149 exec_prefix="$acl_final_exec_prefix"
16151 exec_prefix="$acl_save_exec_prefix"
16152 prefix="$acl_save_prefix"
16156 dir=`echo "X$x" | sed -e 's/^X-L//'`
16157 if test -n "$acl_shlibext"; then
16158 if test -f "$dir/$libname$shrext"; then
16160 found_so="$dir/$libname$shrext"
16162 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16163 ver=`(cd "$dir" && \
16164 for f in "$libname$shrext".*; do echo "$f"; done \
16165 | sed -e "s,^$libname$shrext\\\\.,," \
16166 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16167 | sed 1q ) 2>/dev/null`
16168 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16170 found_so="$dir/$libname$shrext.$ver"
16173 eval library_names=\"$acl_library_names_spec\"
16174 for f in $library_names; do
16175 if test -f "$dir/$f"; then
16184 if test "X$found_dir" = "X"; then
16185 if test -f "$dir/$libname.$acl_libext"; then
16187 found_a="$dir/$libname.$acl_libext"
16190 if test "X$found_dir" != "X"; then
16191 if test -f "$dir/$libname.la"; then
16192 found_la="$dir/$libname.la"
16197 if test "X$found_dir" != "X"; then
16202 if test "X$found_dir" != "X"; then
16203 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
16204 if test "X$found_so" != "X"; then
16205 if test "$enable_rpath" = no \
16206 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
16207 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16208 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16211 for x in $ltrpathdirs; do
16212 if test "X$x" = "X$found_dir"; then
16217 if test -z "$haveit"; then
16218 ltrpathdirs="$ltrpathdirs $found_dir"
16220 if test "$acl_hardcode_direct" = yes; then
16221 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16223 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16224 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16226 for x in $rpathdirs; do
16227 if test "X$x" = "X$found_dir"; then
16232 if test -z "$haveit"; then
16233 rpathdirs="$rpathdirs $found_dir"
16237 for x in $LDFLAGS $LIBINTL; do
16239 acl_save_prefix="$prefix"
16240 prefix="$acl_final_prefix"
16241 acl_save_exec_prefix="$exec_prefix"
16242 exec_prefix="$acl_final_exec_prefix"
16244 exec_prefix="$acl_save_exec_prefix"
16245 prefix="$acl_save_prefix"
16247 if test "X$x" = "X-L$found_dir"; then
16252 if test -z "$haveit"; then
16253 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
16255 if test "$acl_hardcode_minus_L" != no; then
16256 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16258 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16264 if test "X$found_a" != "X"; then
16265 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
16267 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
16270 additional_includedir=
16271 case "$found_dir" in
16272 */$acl_libdirstem | */$acl_libdirstem/)
16273 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16274 if test "$name" = 'intl'; then
16275 LIBINTL_PREFIX="$basedir"
16277 additional_includedir="$basedir/include"
16279 */$acl_libdirstem2 | */$acl_libdirstem2/)
16280 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16281 if test "$name" = 'intl'; then
16282 LIBINTL_PREFIX="$basedir"
16284 additional_includedir="$basedir/include"
16287 if test "X$additional_includedir" != "X"; then
16288 if test "X$additional_includedir" != "X/usr/include"; then
16290 if test "X$additional_includedir" = "X/usr/local/include"; then
16291 if test -n "$GCC"; then
16293 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16297 if test -z "$haveit"; then
16298 for x in $CPPFLAGS $INCINTL; do
16300 acl_save_prefix="$prefix"
16301 prefix="$acl_final_prefix"
16302 acl_save_exec_prefix="$exec_prefix"
16303 exec_prefix="$acl_final_exec_prefix"
16305 exec_prefix="$acl_save_exec_prefix"
16306 prefix="$acl_save_prefix"
16308 if test "X$x" = "X-I$additional_includedir"; then
16313 if test -z "$haveit"; then
16314 if test -d "$additional_includedir"; then
16315 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
16321 if test -n "$found_la"; then
16322 save_libdir="$libdir"
16323 case "$found_la" in
16324 */* | *\\*) . "$found_la" ;;
16325 *) . "./$found_la" ;;
16327 libdir="$save_libdir"
16328 for dep in $dependency_libs; do
16331 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16332 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16333 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16335 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16336 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16337 if test -n "$GCC"; then
16339 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16343 if test -z "$haveit"; then
16345 for x in $LDFLAGS $LIBINTL; do
16347 acl_save_prefix="$prefix"
16348 prefix="$acl_final_prefix"
16349 acl_save_exec_prefix="$exec_prefix"
16350 exec_prefix="$acl_final_exec_prefix"
16352 exec_prefix="$acl_save_exec_prefix"
16353 prefix="$acl_save_prefix"
16355 if test "X$x" = "X-L$additional_libdir"; then
16360 if test -z "$haveit"; then
16361 if test -d "$additional_libdir"; then
16362 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
16366 for x in $LDFLAGS $LTLIBINTL; do
16368 acl_save_prefix="$prefix"
16369 prefix="$acl_final_prefix"
16370 acl_save_exec_prefix="$exec_prefix"
16371 exec_prefix="$acl_final_exec_prefix"
16373 exec_prefix="$acl_save_exec_prefix"
16374 prefix="$acl_save_prefix"
16376 if test "X$x" = "X-L$additional_libdir"; then
16381 if test -z "$haveit"; then
16382 if test -d "$additional_libdir"; then
16383 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
16390 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16391 if test "$enable_rpath" != no; then
16393 for x in $rpathdirs; do
16394 if test "X$x" = "X$dir"; then
16399 if test -z "$haveit"; then
16400 rpathdirs="$rpathdirs $dir"
16403 for x in $ltrpathdirs; do
16404 if test "X$x" = "X$dir"; then
16409 if test -z "$haveit"; then
16410 ltrpathdirs="$ltrpathdirs $dir"
16415 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16418 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16421 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
16422 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
16428 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16429 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
16435 if test "X$rpathdirs" != "X"; then
16436 if test -n "$acl_hardcode_libdir_separator"; then
16438 for found_dir in $rpathdirs; do
16439 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16441 acl_save_libdir="$libdir"
16443 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16444 libdir="$acl_save_libdir"
16445 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16447 for found_dir in $rpathdirs; do
16448 acl_save_libdir="$libdir"
16449 libdir="$found_dir"
16450 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16451 libdir="$acl_save_libdir"
16452 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16456 if test "X$ltrpathdirs" != "X"; then
16457 for found_dir in $ltrpathdirs; do
16458 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16468 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16469 if eval \${$gt_func_gnugettext_libintl+:} false; then :
16470 $as_echo_n "(cached) " >&6
16472 gt_save_CPPFLAGS="$CPPFLAGS"
16473 CPPFLAGS="$CPPFLAGS $INCINTL"
16474 gt_save_LIBS="$LIBS"
16475 LIBS="$LIBS $LIBINTL"
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16478 #include <libintl.h>
16479 $gt_revision_test_code
16480 extern int _nl_msg_cat_cntr;
16485 const char *_nl_expand_alias (const char *);
16489 bindtextdomain ("", "");
16490 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16495 if ac_fn_c_try_link "$LINENO"; then :
16496 eval "$gt_func_gnugettext_libintl=yes"
16498 eval "$gt_func_gnugettext_libintl=no"
16500 rm -f core conftest.err conftest.$ac_objext \
16501 conftest$ac_exeext conftest.$ac_ext
16502 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16503 LIBS="$LIBS $LIBICONV"
16504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16505 /* end confdefs.h. */
16506 #include <libintl.h>
16507 $gt_revision_test_code
16508 extern int _nl_msg_cat_cntr;
16513 const char *_nl_expand_alias (const char *);
16517 bindtextdomain ("", "");
16518 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16523 if ac_fn_c_try_link "$LINENO"; then :
16524 LIBINTL="$LIBINTL $LIBICONV"
16525 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16526 eval "$gt_func_gnugettext_libintl=yes"
16529 rm -f core conftest.err conftest.$ac_objext \
16530 conftest$ac_exeext conftest.$ac_ext
16532 CPPFLAGS="$gt_save_CPPFLAGS"
16533 LIBS="$gt_save_LIBS"
16535 eval ac_res=\$$gt_func_gnugettext_libintl
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16537 $as_echo "$ac_res" >&6; }
16540 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16541 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16542 && test "$PACKAGE" != gettext-runtime \
16543 && test "$PACKAGE" != gettext-tools; }; then
16544 gt_use_preinstalled_gnugettext=yes
16553 if test -n "$INTL_MACOSX_LIBS"; then
16554 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16555 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16556 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16557 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16561 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16562 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16564 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16572 $as_echo_n "checking whether to use NLS... " >&6; }
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16574 $as_echo "$USE_NLS" >&6; }
16575 if test "$USE_NLS" = "yes"; then
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16577 $as_echo_n "checking where the gettext function comes from... " >&6; }
16578 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16579 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16580 gt_source="external libintl"
16585 gt_source="included intl directory"
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16588 $as_echo "$gt_source" >&6; }
16591 if test "$USE_NLS" = "yes"; then
16593 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16594 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16596 $as_echo_n "checking how to link with libintl... " >&6; }
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16598 $as_echo "$LIBINTL" >&6; }
16600 for element in $INCINTL; do
16602 for x in $CPPFLAGS; do
16604 acl_save_prefix="$prefix"
16605 prefix="$acl_final_prefix"
16606 acl_save_exec_prefix="$exec_prefix"
16607 exec_prefix="$acl_final_exec_prefix"
16609 exec_prefix="$acl_save_exec_prefix"
16610 prefix="$acl_save_prefix"
16612 if test "X$x" = "X$element"; then
16617 if test -z "$haveit"; then
16618 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16625 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16628 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16637 INTLLIBS="$LIBINTL"
16646 GETTEXT_PACKAGE=PACKAGE_TARNAME
16649 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
16652 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
16655 cat >confcache <<\_ACEOF
16656 # This file is a shell script that caches the results of configure
16657 # tests run on this system so they can be shared between configure
16658 # scripts and configure runs, see configure's option --config-cache.
16659 # It is not useful on other systems. If it contains results you don't
16660 # want to keep, you may remove or edit it.
16662 # config.status only pays attention to the cache file if you give it
16663 # the --recheck option to rerun configure.
16665 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16666 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16667 # following values.
16671 # The following way of writing the cache mishandles newlines in values,
16672 # but we know of no workaround that is simple, portable, and efficient.
16673 # So, we kill variables containing newlines.
16674 # Ultrix sh set writes to stderr and can't be redirected directly,
16675 # and sets the high bit in the cache file unless we assign to the vars.
16677 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16678 eval ac_val=\$$ac_var
16682 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16683 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16686 _ | IFS | as_nl) ;; #(
16687 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16688 *) { eval $ac_var=; unset $ac_var;} ;;
16694 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16695 *${as_nl}ac_space=\ *)
16696 # `set' does not quote correctly, so add quotes: double-quote
16697 # substitution turns \\\\ into \\, and sed turns \\ into \.
16700 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16703 # `set' quotes correctly as required by POSIX, so do not add quotes.
16704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16713 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16715 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16717 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16718 if test -w "$cache_file"; then
16719 if test "x$cache_file" != "x/dev/null"; then
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16721 $as_echo "$as_me: updating cache $cache_file" >&6;}
16722 if test ! -f "$cache_file" || test -h "$cache_file"; then
16723 cat confcache >"$cache_file"
16725 case $cache_file in #(
16727 mv -f confcache "$cache_file"$$ &&
16728 mv -f "$cache_file"$$ "$cache_file" ;; #(
16730 mv -f confcache "$cache_file" ;;
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16736 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16741 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16742 # Let make expand exec_prefix.
16743 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16745 DEFS=-DHAVE_CONFIG_H
16750 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16751 # 1. Remove the extension, and $U if already installed.
16752 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16753 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16754 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16755 # will be set to the directory where LIBOBJS objects are built.
16756 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16757 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16759 LIBOBJS=$ac_libobjs
16761 LTLIBOBJS=$ac_ltlibobjs
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16765 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16766 if test -n "$am_sleep_pid"; then
16767 # Hide warnings about reused PIDs.
16768 wait $am_sleep_pid 2>/dev/null
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16771 $as_echo "done" >&6; }
16772 if test -n "$EXEEXT"; then
16774 am__EXEEXT_FALSE='#'
16776 am__EXEEXT_TRUE='#'
16780 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16781 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16784 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16785 as_fn_error $? "conditional \"AMDEP\" was never defined.
16786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16788 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16789 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16792 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16793 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16796 if test -z "${GEE_0_8_TRUE}" && test -z "${GEE_0_8_FALSE}"; then
16797 as_fn_error $? "conditional \"GEE_0_8\" was never defined.
16798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16800 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
16801 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
16802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16804 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16805 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16808 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
16809 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
16810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16812 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
16813 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
16814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16816 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
16817 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
16818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16820 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
16821 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
16822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16824 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
16825 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
16826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16828 if test -z "${GIO_VAPI_USES_ARRAYS_TRUE}" && test -z "${GIO_VAPI_USES_ARRAYS_FALSE}"; then
16829 as_fn_error $? "conditional \"GIO_VAPI_USES_ARRAYS\" was never defined.
16830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16833 : "${CONFIG_STATUS=./config.status}"
16835 ac_clean_files_save=$ac_clean_files
16836 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16838 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16840 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16842 # Generated by $as_me.
16843 # Run this file to recreate the current configuration.
16844 # Compiler output produced by configure, useful for debugging
16845 # configure, is in config.log if it exists.
16848 ac_cs_recheck=false
16851 SHELL=\${CONFIG_SHELL-$SHELL}
16854 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16855 ## -------------------- ##
16856 ## M4sh Initialization. ##
16857 ## -------------------- ##
16859 # Be more Bourne compatible
16860 DUALCASE=1; export DUALCASE # for MKS sh
16861 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16864 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16865 # is contrary to our usage. Disable this feature.
16866 alias -g '${1+"$@"}'='"$@"'
16867 setopt NO_GLOB_SUBST
16869 case `(set -o) 2>/dev/null` in #(
16881 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16882 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16884 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16885 # Prefer a ksh shell builtin over an external printf program on Solaris,
16886 # but without wasting forks for bash or zsh.
16887 if test -z "$BASH_VERSION$ZSH_VERSION" \
16888 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16889 as_echo='print -r --'
16890 as_echo_n='print -rn --'
16891 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16892 as_echo='printf %s\n'
16893 as_echo_n='printf %s'
16895 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16896 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16897 as_echo_n='/usr/ucb/echo -n'
16899 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16900 as_echo_n_body='eval
16904 expr "X$arg" : "X\\(.*\\)$as_nl";
16905 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16907 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16909 export as_echo_n_body
16910 as_echo_n='sh -c $as_echo_n_body as_echo'
16912 export as_echo_body
16913 as_echo='sh -c $as_echo_body as_echo'
16916 # The user is always right.
16917 if test "${PATH_SEPARATOR+set}" != set; then
16919 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16920 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16927 # We need space, tab and new line, in precisely that order. Quoting is
16928 # there to prevent editors from complaining about space-tab.
16929 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16930 # splitting by setting IFS to empty value.)
16933 # Find who we are. Look in the path if we contain no directory separator.
16936 *[\\/]* ) as_myself=$0 ;;
16937 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16938 for as_dir in $PATH
16941 test -z "$as_dir" && as_dir=.
16942 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16948 # We did not find ourselves, most probably we were run as `sh COMMAND'
16949 # in which case we are not to be found in the path.
16950 if test "x$as_myself" = x; then
16953 if test ! -f "$as_myself"; then
16954 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16958 # Unset variables that we do not need and which cause bugs (e.g. in
16959 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16960 # suppresses any "Segmentation fault" message there. '((' could
16961 # trigger a bug in pdksh 5.2.14.
16962 for as_var in BASH_ENV ENV MAIL MAILPATH
16963 do eval test x\${$as_var+set} = xset \
16964 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16977 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16980 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16981 # ----------------------------------------
16982 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16983 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16984 # script with STATUS, using 1 if that was 0.
16987 as_status=$1; test $as_status -eq 0 && as_status=1
16989 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16990 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16992 $as_echo "$as_me: error: $2" >&2
16993 as_fn_exit $as_status
16997 # as_fn_set_status STATUS
16998 # -----------------------
16999 # Set $? to STATUS, without forking.
17000 as_fn_set_status ()
17003 } # as_fn_set_status
17005 # as_fn_exit STATUS
17006 # -----------------
17007 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17011 as_fn_set_status $1
17017 # Portably unset VAR.
17020 { eval $1=; unset $1;}
17022 as_unset=as_fn_unset
17023 # as_fn_append VAR VALUE
17024 # ----------------------
17025 # Append the text in VALUE to the end of the definition contained in VAR. Take
17026 # advantage of any shell optimizations that allow amortized linear growth over
17027 # repeated appends, instead of the typical quadratic growth present in naive
17029 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17030 eval 'as_fn_append ()
17041 # as_fn_arith ARG...
17042 # ------------------
17043 # Perform arithmetic evaluation on the ARGs, and store the result in the
17044 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17045 # must be portable across $(()) and expr.
17046 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17047 eval 'as_fn_arith ()
17054 as_val=`expr "$@" || test $? -eq 1`
17059 if expr a : '\(a\)' >/dev/null 2>&1 &&
17060 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17066 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17067 as_basename=basename
17072 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17078 as_me=`$as_basename -- "$0" ||
17079 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17080 X"$0" : 'X\(//\)$' \| \
17081 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17083 sed '/^.*\/\([^/][^/]*\)\/*$/{
17097 # Avoid depending upon Character Ranges.
17098 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17099 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17100 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17101 as_cr_digits='0123456789'
17102 as_cr_alnum=$as_cr_Letters$as_cr_digits
17104 ECHO_C= ECHO_N= ECHO_T=
17105 case `echo -n x` in #(((((
17107 case `echo 'xy\c'` in
17108 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17110 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17117 rm -f conf$$ conf$$.exe conf$$.file
17118 if test -d conf$$.dir; then
17119 rm -f conf$$.dir/conf$$.file
17122 mkdir conf$$.dir 2>/dev/null
17124 if (echo >conf$$.file) 2>/dev/null; then
17125 if ln -s conf$$.file conf$$ 2>/dev/null; then
17127 # ... but there are two gotchas:
17128 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17129 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17130 # In both cases, we have to default to `cp -pR'.
17131 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17133 elif ln conf$$.file conf$$ 2>/dev/null; then
17141 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17142 rmdir conf$$.dir 2>/dev/null
17147 # Create "$as_dir" as a directory, including parents if necessary.
17152 -*) as_dir=./$as_dir;;
17154 test -d "$as_dir" || eval $as_mkdir_p || {
17158 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17159 *) as_qdir=$as_dir;;
17161 as_dirs="'$as_qdir' $as_dirs"
17162 as_dir=`$as_dirname -- "$as_dir" ||
17163 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17164 X"$as_dir" : 'X\(//\)[^/]' \| \
17165 X"$as_dir" : 'X\(//\)$' \| \
17166 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17167 $as_echo X"$as_dir" |
17168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17172 /^X\(\/\/\)[^/].*/{
17185 test -d "$as_dir" && break
17187 test -z "$as_dirs" || eval "mkdir $as_dirs"
17188 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17192 if mkdir -p . 2>/dev/null; then
17193 as_mkdir_p='mkdir -p "$as_dir"'
17195 test -d ./-p && rmdir ./-p
17200 # as_fn_executable_p FILE
17201 # -----------------------
17202 # Test if FILE is an executable regular file.
17203 as_fn_executable_p ()
17205 test -f "$1" && test -x "$1"
17206 } # as_fn_executable_p
17207 as_test_x='test -x'
17208 as_executable_p=as_fn_executable_p
17210 # Sed expression to map a string onto a valid CPP name.
17211 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17213 # Sed expression to map a string onto a valid variable name.
17214 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17218 ## ----------------------------------- ##
17219 ## Main body of $CONFIG_STATUS script. ##
17220 ## ----------------------------------- ##
17222 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17225 # Save the log message, to keep $0 and so on meaningful, and to
17226 # report actual input values of CONFIG_FILES etc. instead of their
17227 # values after options handling.
17229 This file was extended by Moonshot-ui $as_me 0.7.2, which was
17230 generated by GNU Autoconf 2.69. Invocation command line was
17232 CONFIG_FILES = $CONFIG_FILES
17233 CONFIG_HEADERS = $CONFIG_HEADERS
17234 CONFIG_LINKS = $CONFIG_LINKS
17235 CONFIG_COMMANDS = $CONFIG_COMMANDS
17238 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17243 case $ac_config_files in *"
17244 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17247 case $ac_config_headers in *"
17248 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17253 # Files that config.status was made for.
17254 config_files="$ac_config_files"
17255 config_headers="$ac_config_headers"
17256 config_commands="$ac_config_commands"
17260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17262 \`$as_me' instantiates files and other configuration actions
17263 from templates according to the current configuration. Unless the files
17264 and actions are specified as TAGs, all are instantiated by default.
17266 Usage: $0 [OPTION]... [TAG]...
17268 -h, --help print this help, then exit
17269 -V, --version print version number and configuration settings, then exit
17270 --config print configuration, then exit
17271 -q, --quiet, --silent
17272 do not print progress messages
17273 -d, --debug don't remove temporary files
17274 --recheck update $as_me by reconfiguring in the same conditions
17275 --file=FILE[:TEMPLATE]
17276 instantiate the configuration file FILE
17277 --header=FILE[:TEMPLATE]
17278 instantiate the configuration header FILE
17280 Configuration files:
17283 Configuration headers:
17286 Configuration commands:
17289 Report bugs to <moonshot-community@jiscmail.ac.uk>.
17290 Moonshot-ui home page: <http://www.project-moonshot.org/>."
17293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17294 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17296 Moonshot-ui config.status 0.7.2
17297 configured by $0, generated by GNU Autoconf 2.69,
17298 with options \\"\$ac_cs_config\\"
17300 Copyright (C) 2012 Free Software Foundation, Inc.
17301 This config.status script is free software; the Free Software Foundation
17302 gives unlimited permission to copy, distribute and modify it."
17309 test -n "\$AWK" || AWK=awk
17312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17313 # The default lists apply if the user does not specify any file.
17319 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17320 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17324 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17336 # Handling of the options.
17337 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17339 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17340 $as_echo "$ac_cs_version"; exit ;;
17341 --config | --confi | --conf | --con | --co | --c )
17342 $as_echo "$ac_cs_config"; exit ;;
17343 --debug | --debu | --deb | --de | --d | -d )
17345 --file | --fil | --fi | --f )
17348 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17349 '') as_fn_error $? "missing file argument" ;;
17351 as_fn_append CONFIG_FILES " '$ac_optarg'"
17352 ac_need_defaults=false;;
17353 --header | --heade | --head | --hea )
17356 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17358 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17359 ac_need_defaults=false;;
17361 # Conflict between --help and --header
17362 as_fn_error $? "ambiguous option: \`$1'
17363 Try \`$0 --help' for more information.";;
17364 --help | --hel | -h )
17365 $as_echo "$ac_cs_usage"; exit ;;
17366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17367 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17370 # This is an error.
17371 -*) as_fn_error $? "unrecognized option: \`$1'
17372 Try \`$0 --help' for more information." ;;
17374 *) as_fn_append ac_config_targets " $1"
17375 ac_need_defaults=false ;;
17381 ac_configure_extra_args=
17383 if $ac_cs_silent; then
17385 ac_configure_extra_args="$ac_configure_extra_args --silent"
17389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17390 if \$ac_cs_recheck; then
17391 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17393 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17394 CONFIG_SHELL='$SHELL'
17395 export CONFIG_SHELL
17400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17404 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17405 ## Running $as_me. ##
17411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17415 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17418 # The HP-UX ksh and POSIX shell print the target directory to stdout
17419 # if CDPATH is set.
17420 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17422 sed_quote_subst='$sed_quote_subst'
17423 double_quote_subst='$double_quote_subst'
17424 delay_variable_subst='$delay_variable_subst'
17425 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17426 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17427 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17428 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17429 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17430 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17431 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17432 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17433 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17434 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17435 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17436 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17437 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17438 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17439 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17440 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17441 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17442 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17443 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17444 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17445 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17446 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17447 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17448 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17449 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17450 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17451 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17452 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17453 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17454 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17455 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17456 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17457 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17458 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17459 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17460 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17461 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17462 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17463 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17464 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17465 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17466 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17467 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17468 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17469 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17470 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17471 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17472 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17473 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17474 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17475 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17476 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17477 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17478 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17479 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17480 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17481 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17482 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"`'
17483 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17484 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17485 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17486 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17487 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17488 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17489 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17490 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17491 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17492 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17493 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17494 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17495 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17496 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17497 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17498 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17499 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17500 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17501 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17502 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17503 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17504 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17505 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17506 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17507 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17508 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17509 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17510 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17511 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17512 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17513 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17514 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17515 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17516 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17517 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17518 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17519 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17520 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17521 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17522 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17523 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17524 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17525 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17526 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17527 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17528 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17529 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17530 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17531 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17532 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17533 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17534 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17535 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17536 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17537 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17538 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17539 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17540 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17541 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17542 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17543 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17544 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17545 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17546 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17547 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17548 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17549 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17550 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17551 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17552 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17553 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17554 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17555 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17558 LTCFLAGS='$LTCFLAGS'
17559 compiler='$compiler_DEFAULT'
17561 # A function that is used when there is no print builtin or printf.
17562 func_fallback_echo ()
17564 eval 'cat <<_LTECHO_EOF
17569 # Quote evaled strings.
17586 deplibs_check_method \
17590 sharedlib_from_linklib_cmd \
17593 archiver_list_spec \
17599 lt_cv_sys_global_symbol_pipe \
17600 lt_cv_sys_global_symbol_to_cdecl \
17601 lt_cv_sys_global_symbol_to_c_name_address \
17602 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17603 nm_file_list_spec \
17604 lt_prog_compiler_no_builtin_flag \
17605 lt_prog_compiler_pic \
17606 lt_prog_compiler_wl \
17607 lt_prog_compiler_static \
17608 lt_cv_prog_compiler_c_o \
17617 export_dynamic_flag_spec \
17618 whole_archive_flag_spec \
17619 compiler_needs_object \
17621 allow_undefined_flag \
17622 no_undefined_flag \
17623 hardcode_libdir_flag_spec \
17624 hardcode_libdir_separator \
17628 variables_saved_for_relink \
17630 library_names_spec \
17632 install_override_mode \
17636 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17637 *[\\\\\\\`\\"\\\$]*)
17638 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17641 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17646 # Double-quote double-evaled strings.
17647 for var in reload_cmds \
17648 old_postinstall_cmds \
17649 old_postuninstall_cmds \
17651 extract_expsyms_cmds \
17652 old_archive_from_new_cmds \
17653 old_archive_from_expsyms_cmds \
17655 archive_expsym_cmds \
17657 module_expsym_cmds \
17658 export_symbols_cmds \
17662 postuninstall_cmds \
17664 sys_lib_search_path_spec \
17665 sys_lib_dlsearch_path_spec; do
17666 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17667 *[\\\\\\\`\\"\\\$]*)
17668 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17671 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17676 ac_aux_dir='$ac_aux_dir'
17677 xsi_shell='$xsi_shell'
17678 lt_shell_append='$lt_shell_append'
17680 # See if we are running on zsh, and set the options which allow our
17681 # commands through without removal of \ escapes INIT.
17682 if test -n "\${ZSH_VERSION+set}" ; then
17683 setopt NO_GLOB_SUBST
17689 TIMESTAMP='$TIMESTAMP'
17695 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17696 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17697 # from automake < 1.5.
17698 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17699 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17700 LINGUAS="${LINGUAS-%UNSET%}"
17705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17707 # Handling of arguments.
17708 for ac_config_target in $ac_config_targets
17710 case $ac_config_target in
17711 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17712 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17713 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17714 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17715 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17716 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17717 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
17718 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
17719 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
17721 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17726 # If the user did not use the arguments to specify the items to instantiate,
17727 # then the envvar interface is used. Set only those that are not.
17728 # We use the long form for the default assignment because of an extremely
17729 # bizarre bug on SunOS 4.1.3.
17730 if $ac_need_defaults; then
17731 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17732 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17733 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17736 # Have a temporary directory for convenience. Make it in the build tree
17737 # simply because there is no reason against having it here, and in addition,
17738 # creating and moving files from /tmp can sometimes cause problems.
17739 # Hook for its removal unless debugging.
17740 # Note that there is a small window in which the directory will not be cleaned:
17741 # after its creation but before its name has been assigned to `$tmp'.
17745 trap 'exit_status=$?
17746 : "${ac_tmp:=$tmp}"
17747 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17749 trap 'as_fn_exit 1' 1 2 13 15
17751 # Create a (secure) tmp directory for tmp files.
17754 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17758 tmp=./conf$$-$RANDOM
17759 (umask 077 && mkdir "$tmp")
17760 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17763 # Set up the scripts for CONFIG_FILES section.
17764 # No need to generate them if there are no CONFIG_FILES.
17765 # This happens for instance with `./config.status config.h'.
17766 if test -n "$CONFIG_FILES"; then
17769 ac_cr=`echo X | tr X '\015'`
17770 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17771 # But we know of no other shell where ac_cr would be empty at this
17772 # point, so we can use a bashism as a fallback.
17773 if test "x$ac_cr" = x; then
17774 eval ac_cr=\$\'\\r\'
17776 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17777 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17780 ac_cs_awk_cr=$ac_cr
17783 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17788 echo "cat >conf$$subs.awk <<_ACEOF" &&
17789 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17791 } >conf$$subs.sh ||
17792 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17793 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17795 for ac_last_try in false false false false false :; do
17796 . ./conf$$subs.sh ||
17797 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17799 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17800 if test $ac_delim_n = $ac_delim_num; then
17802 elif $ac_last_try; then
17803 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17805 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17808 rm -f conf$$subs.sh
17810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17811 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17815 s/^/S["/; s/!.*/"]=/
17825 s/\(.\{148\}\)..*/\1/
17827 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17832 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17839 s/\(.\{148\}\)..*/\1/
17841 s/["\\]/\\&/g; s/^/"/; s/$/"/
17845 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17850 ' <conf$$subs.awk | sed '
17855 ' >>$CONFIG_STATUS || ac_write_fail=1
17856 rm -f conf$$subs.awk
17857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17859 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17860 for (key in S) S_is_set[key] = 1
17866 nfields = split(line, field, "@")
17868 len = length(field[1])
17869 for (i = 2; i < nfields; i++) {
17871 keylen = length(key)
17872 if (S_is_set[key]) {
17874 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17875 len += length(value) + length(field[++i])
17886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17887 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17888 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17891 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17892 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17895 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17896 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17897 # trailing colons and then remove the whole line if VPATH becomes empty
17898 # (actually we leave an empty line to preserve line numbers).
17899 if test "x$srcdir" = x.; then
17900 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17919 fi # test -n "$CONFIG_FILES"
17921 # Set up the scripts for CONFIG_HEADERS section.
17922 # No need to generate them if there are no CONFIG_HEADERS.
17923 # This happens for instance with `./config.status Makefile'.
17924 if test -n "$CONFIG_HEADERS"; then
17925 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17929 # Transform confdefs.h into an awk script `defines.awk', embedded as
17930 # here-document in config.status, that substitutes the proper values into
17931 # config.h.in to produce config.h.
17933 # Create a delimiter string that does not exist in confdefs.h, to ease
17934 # handling of long lines.
17936 for ac_last_try in false false :; do
17937 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17938 if test -z "$ac_tt"; then
17940 elif $ac_last_try; then
17941 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17943 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17947 # For the awk script, D is an array of macro values keyed by name,
17948 # likewise P contains macro parameters if any. Preserve backslash
17949 # newline sequences.
17951 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17953 s/.\{148\}/&'"$ac_delim"'/g
17956 s/^[ ]*#[ ]*define[ ][ ]*/ /
17963 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17965 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17969 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17970 D["\1"]=" \3\\\\\\n"\\/p
17972 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17977 s/.\{148\}/&'"$ac_delim"'/g
17982 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17985 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17987 ' <confdefs.h | sed '
17988 s/'"$ac_delim"'/"\\\
17989 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17992 for (key in D) D_is_set[key] = 1
17995 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17997 split(line, arg, " ")
17998 if (arg[1] == "#") {
18002 defundef = substr(arg[1], 2)
18005 split(mac1, mac2, "(") #)
18007 prefix = substr(line, 1, index(line, defundef) - 1)
18008 if (D_is_set[macro]) {
18009 # Preserve the white space surrounding the "#".
18010 print prefix "define", macro P[macro] D[macro]
18013 # Replace #undef with comments. This is necessary, for example,
18014 # in the case of _POSIX_SOURCE, which is predefined and required
18015 # on some systems where configure will not decide to define it.
18016 if (defundef == "undef") {
18017 print "/*", prefix defundef, macro, "*/"
18025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18026 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18027 fi # test -n "$CONFIG_HEADERS"
18030 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18035 :[FHLC]) ac_mode=$ac_tag; continue;;
18037 case $ac_mode$ac_tag in
18039 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18040 :[FH]-) ac_tag=-:-;;
18041 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18058 -) ac_f="$ac_tmp/stdin";;
18059 *) # Look for the file first in the build tree, then in the source tree
18060 # (if the path is not absolute). The absolute path cannot be DOS-style,
18061 # because $ac_f cannot contain `:'.
18065 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18067 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18069 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18070 as_fn_append ac_file_inputs " '$ac_f'"
18073 # Let's still pretend it is `configure' which instantiates (i.e., don't
18074 # use $as_me), people would be surprised to read:
18075 # /* config.h. Generated by config.status. */
18076 configure_input='Generated from '`
18077 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18079 if test x"$ac_file" != x-; then
18080 configure_input="$ac_file. $configure_input"
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18082 $as_echo "$as_me: creating $ac_file" >&6;}
18084 # Neutralize special characters interpreted by sed in replacement strings.
18085 case $configure_input in #(
18086 *\&* | *\|* | *\\* )
18087 ac_sed_conf_input=`$as_echo "$configure_input" |
18088 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18089 *) ac_sed_conf_input=$configure_input;;
18093 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18094 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18099 ac_dir=`$as_dirname -- "$ac_file" ||
18100 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18101 X"$ac_file" : 'X\(//\)[^/]' \| \
18102 X"$ac_file" : 'X\(//\)$' \| \
18103 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18104 $as_echo X"$ac_file" |
18105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18109 /^X\(\/\/\)[^/].*/{
18122 as_dir="$ac_dir"; as_fn_mkdir_p
18126 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18128 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18129 # A ".." for each directory in $ac_dir_suffix.
18130 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18131 case $ac_top_builddir_sub in
18132 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18133 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18136 ac_abs_top_builddir=$ac_pwd
18137 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18138 # for backward compatibility:
18139 ac_top_builddir=$ac_top_build_prefix
18142 .) # We are building in place.
18144 ac_top_srcdir=$ac_top_builddir_sub
18145 ac_abs_top_srcdir=$ac_pwd ;;
18146 [\\/]* | ?:[\\/]* ) # Absolute name.
18147 ac_srcdir=$srcdir$ac_dir_suffix;
18148 ac_top_srcdir=$srcdir
18149 ac_abs_top_srcdir=$srcdir ;;
18150 *) # Relative name.
18151 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18152 ac_top_srcdir=$ac_top_build_prefix$srcdir
18153 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18155 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18165 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18166 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18168 ac_MKDIR_P=$MKDIR_P
18170 [\\/$]* | ?:[\\/]* ) ;;
18171 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18176 # If the template does not know about datarootdir, expand it.
18177 # FIXME: This hack should be removed a few years after 2.60.
18178 ac_datarootdir_hack=; ac_datarootdir_seen=
18189 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18190 *datarootdir*) ac_datarootdir_seen=yes;;
18191 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18193 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18196 ac_datarootdir_hack='
18197 s&@datadir@&$datadir&g
18198 s&@docdir@&$docdir&g
18199 s&@infodir@&$infodir&g
18200 s&@localedir@&$localedir&g
18201 s&@mandir@&$mandir&g
18202 s&\\\${datarootdir}&$datarootdir&g' ;;
18206 # Neutralize VPATH when `$srcdir' = `.'.
18207 # Shell code in configure.ac might set extrasub.
18208 # FIXME: do we really want to maintain this feature?
18209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18210 ac_sed_extra="$ac_vpsub
18213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18215 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18216 s|@configure_input@|$ac_sed_conf_input|;t t
18217 s&@top_builddir@&$ac_top_builddir_sub&;t t
18218 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18219 s&@srcdir@&$ac_srcdir&;t t
18220 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18221 s&@top_srcdir@&$ac_top_srcdir&;t t
18222 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18223 s&@builddir@&$ac_builddir&;t t
18224 s&@abs_builddir@&$ac_abs_builddir&;t t
18225 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18226 s&@INSTALL@&$ac_INSTALL&;t t
18227 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18228 $ac_datarootdir_hack
18230 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18231 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18233 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18234 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18235 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18236 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18238 which seems to be undefined. Please make sure it is defined" >&5
18239 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18240 which seems to be undefined. Please make sure it is defined" >&2;}
18242 rm -f "$ac_tmp/stdin"
18244 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18245 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18247 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18253 if test x"$ac_file" != x-; then
18255 $as_echo "/* $configure_input */" \
18256 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18257 } >"$ac_tmp/config.h" \
18258 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18259 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18261 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18264 mv "$ac_tmp/config.h" "$ac_file" \
18265 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18268 $as_echo "/* $configure_input */" \
18269 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18270 || as_fn_error $? "could not create -" "$LINENO" 5
18272 # Compute "$ac_file"'s index in $config_headers.
18275 for _am_header in $config_headers :; do
18276 case $_am_header in
18277 $_am_arg | $_am_arg:* )
18280 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18283 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18284 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18285 X"$_am_arg" : 'X\(//\)[^/]' \| \
18286 X"$_am_arg" : 'X\(//\)$' \| \
18287 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18288 $as_echo X"$_am_arg" |
18289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18293 /^X\(\/\/\)[^/].*/{
18305 s/.*/./; q'`/stamp-h$_am_stamp_count
18308 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18309 $as_echo "$as_me: executing $ac_file commands" >&6;}
18314 case $ac_file$ac_mode in
18315 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18316 # Older Autoconf quotes --file arguments for eval, but not when files
18317 # are listed without --file. Let's play safe and only enable the eval
18318 # if we detect the quoting.
18319 case $CONFIG_FILES in
18320 *\'*) eval set x "$CONFIG_FILES" ;;
18321 *) set x $CONFIG_FILES ;;
18326 # Strip MF so we end up with the name of the file.
18327 mf=`echo "$mf" | sed -e 's/:.*$//'`
18328 # Check whether this is an Automake generated Makefile or not.
18329 # We used to match only the files named 'Makefile.in', but
18330 # some people rename them; so instead we look at the file content.
18331 # Grep'ing the first line is not enough: some people post-process
18332 # each Makefile.in and add a new line on top of each file to say so.
18333 # Grep'ing the whole file is not good either: AIX grep has a line
18334 # limit of 2048, but all sed's we know have understand at least 4000.
18335 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18336 dirpart=`$as_dirname -- "$mf" ||
18337 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18338 X"$mf" : 'X\(//\)[^/]' \| \
18339 X"$mf" : 'X\(//\)$' \| \
18340 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18346 /^X\(\/\/\)[^/].*/{
18362 # Extract the definition of DEPDIR, am__include, and am__quote
18363 # from the Makefile without running 'make'.
18364 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18365 test -z "$DEPDIR" && continue
18366 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18367 test -z "$am__include" && continue
18368 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18369 # Find all dependency output files, they are included files with
18370 # $(DEPDIR) in their names. We invoke sed twice because it is the
18371 # simplest approach to changing $(DEPDIR) to its actual value in the
18373 for file in `sed -n "
18374 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18375 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18376 # Make sure the directory exists.
18377 test -f "$dirpart/$file" && continue
18378 fdir=`$as_dirname -- "$file" ||
18379 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18380 X"$file" : 'X\(//\)[^/]' \| \
18381 X"$file" : 'X\(//\)$' \| \
18382 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18383 $as_echo X"$file" |
18384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18388 /^X\(\/\/\)[^/].*/{
18401 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18402 # echo "creating $dirpart/$file"
18403 echo '# dummy' > "$dirpart/$file"
18410 # See if we are running on zsh, and set the options which allow our
18411 # commands through without removal of \ escapes.
18412 if test -n "${ZSH_VERSION+set}" ; then
18413 setopt NO_GLOB_SUBST
18416 cfgfile="${ofile}T"
18417 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18420 cat <<_LT_EOF >> "$cfgfile"
18423 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18424 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18425 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18426 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18428 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18429 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18431 # Written by Gordon Matzigkeit, 1996
18433 # This file is part of GNU Libtool.
18435 # GNU Libtool is free software; you can redistribute it and/or
18436 # modify it under the terms of the GNU General Public License as
18437 # published by the Free Software Foundation; either version 2 of
18438 # the License, or (at your option) any later version.
18440 # As a special exception to the GNU General Public License,
18441 # if you distribute this file as part of a program or library that
18442 # is built using GNU Libtool, you may include this file under the
18443 # same distribution terms that you use for the rest of that program.
18445 # GNU Libtool is distributed in the hope that it will be useful,
18446 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18447 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18448 # GNU General Public License for more details.
18450 # You should have received a copy of the GNU General Public License
18451 # along with GNU Libtool; see the file COPYING. If not, a copy
18452 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18453 # obtained by writing to the Free Software Foundation, Inc.,
18454 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18457 # The names of the tagged configurations supported by this script.
18460 # ### BEGIN LIBTOOL CONFIG
18462 # Which release of libtool.m4 was used?
18463 macro_version=$macro_version
18464 macro_revision=$macro_revision
18466 # Assembler program.
18469 # DLL creation program.
18470 DLLTOOL=$lt_DLLTOOL
18472 # Object dumper program.
18473 OBJDUMP=$lt_OBJDUMP
18475 # Whether or not to build shared libraries.
18476 build_libtool_libs=$enable_shared
18478 # Whether or not to build static libraries.
18479 build_old_libs=$enable_static
18481 # What type of objects to build.
18484 # Whether or not to optimize for fast installation.
18485 fast_install=$enable_fast_install
18487 # Shell to use when invoking shell scripts.
18490 # An echo program that protects backslashes.
18493 # The PATH separator for the build system.
18494 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18497 host_alias=$host_alias
18501 # The build system.
18502 build_alias=$build_alias
18506 # A sed program that does not truncate output.
18509 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18510 Xsed="\$SED -e 1s/^X//"
18512 # A grep program that handles long lines.
18518 # A literal string matcher.
18521 # A BSD- or MS-compatible name lister.
18524 # Whether we need soft or hard links.
18527 # What is the maximum length of a command?
18528 max_cmd_len=$max_cmd_len
18530 # Object file suffix (normally "o").
18533 # Executable file suffix (normally "").
18536 # whether the shell understands "unset".
18539 # turn spaces into newlines.
18542 # turn newlines into spaces.
18545 # convert \$build file names to \$host format.
18546 to_host_file_cmd=$lt_cv_to_host_file_cmd
18548 # convert \$build files to toolchain format.
18549 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18551 # Method to check whether dependent libraries are shared objects.
18552 deplibs_check_method=$lt_deplibs_check_method
18554 # Command to use when deplibs_check_method = "file_magic".
18555 file_magic_cmd=$lt_file_magic_cmd
18557 # How to find potential files when deplibs_check_method = "file_magic".
18558 file_magic_glob=$lt_file_magic_glob
18560 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18561 want_nocaseglob=$lt_want_nocaseglob
18563 # Command to associate shared and link libraries.
18564 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18569 # Flags to create an archive.
18570 AR_FLAGS=$lt_AR_FLAGS
18572 # How to feed a file listing to the archiver.
18573 archiver_list_spec=$lt_archiver_list_spec
18575 # A symbol stripping program.
18578 # Commands used to install an old-style archive.
18580 old_postinstall_cmds=$lt_old_postinstall_cmds
18581 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18583 # Whether to use a lock for old archive extraction.
18584 lock_old_archive_extraction=$lock_old_archive_extraction
18589 # LTCC compiler flags.
18590 LTCFLAGS=$lt_CFLAGS
18592 # Take the output of nm and produce a listing of raw symbols and C names.
18593 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18595 # Transform the output of nm in a proper C declaration.
18596 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18598 # Transform the output of nm in a C name address pair.
18599 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18601 # Transform the output of nm in a C name address pair when lib prefix is needed.
18602 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18604 # Specify filename containing input files for \$NM.
18605 nm_file_list_spec=$lt_nm_file_list_spec
18607 # The root where to search for dependent libraries,and in which our libraries should be installed.
18608 lt_sysroot=$lt_sysroot
18610 # The name of the directory that contains temporary libtool files.
18613 # Used to examine libraries when file_magic_cmd begins with "file".
18614 MAGIC_CMD=$MAGIC_CMD
18616 # Must we lock files when doing compilation?
18617 need_locks=$lt_need_locks
18620 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18622 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18623 DSYMUTIL=$lt_DSYMUTIL
18625 # Tool to change global to local symbols on Mac OS X.
18628 # Tool to manipulate fat objects and archives on Mac OS X.
18631 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18634 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18635 OTOOL64=$lt_OTOOL64
18637 # Old archive suffix (normally "a").
18640 # Shared library suffix (normally ".so").
18641 shrext_cmds=$lt_shrext_cmds
18643 # The commands to extract the exported symbol list from a shared archive.
18644 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18646 # Variables whose values should be saved in libtool wrapper scripts and
18647 # restored at link time.
18648 variables_saved_for_relink=$lt_variables_saved_for_relink
18650 # Do we need the "lib" prefix for modules?
18651 need_lib_prefix=$need_lib_prefix
18653 # Do we need a version for libraries?
18654 need_version=$need_version
18656 # Library versioning type.
18657 version_type=$version_type
18659 # Shared library runtime path variable.
18660 runpath_var=$runpath_var
18662 # Shared library path variable.
18663 shlibpath_var=$shlibpath_var
18665 # Is shlibpath searched before the hard-coded library search path?
18666 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18668 # Format of library name prefix.
18669 libname_spec=$lt_libname_spec
18671 # List of archive names. First name is the real one, the rest are links.
18672 # The last name is the one that the linker finds with -lNAME
18673 library_names_spec=$lt_library_names_spec
18675 # The coded name of the library, if different from the real name.
18676 soname_spec=$lt_soname_spec
18678 # Permission mode override for installation of shared libraries.
18679 install_override_mode=$lt_install_override_mode
18681 # Command to use after installation of a shared archive.
18682 postinstall_cmds=$lt_postinstall_cmds
18684 # Command to use after uninstallation of a shared archive.
18685 postuninstall_cmds=$lt_postuninstall_cmds
18687 # Commands used to finish a libtool library installation in a directory.
18688 finish_cmds=$lt_finish_cmds
18690 # As "finish_cmds", except a single script fragment to be evaled but
18692 finish_eval=$lt_finish_eval
18694 # Whether we should hardcode library paths into libraries.
18695 hardcode_into_libs=$hardcode_into_libs
18697 # Compile-time system search path for libraries.
18698 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18700 # Run-time system search path for libraries.
18701 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18703 # Whether dlopen is supported.
18704 dlopen_support=$enable_dlopen
18706 # Whether dlopen of programs is supported.
18707 dlopen_self=$enable_dlopen_self
18709 # Whether dlopen of statically linked programs is supported.
18710 dlopen_self_static=$enable_dlopen_self_static
18712 # Commands to strip libraries.
18713 old_striplib=$lt_old_striplib
18714 striplib=$lt_striplib
18717 # The linker used to build libraries.
18720 # How to create reloadable object files.
18721 reload_flag=$lt_reload_flag
18722 reload_cmds=$lt_reload_cmds
18724 # Commands used to build an old-style archive.
18725 old_archive_cmds=$lt_old_archive_cmds
18727 # A language specific compiler.
18730 # Is the compiler the GNU compiler?
18733 # Compiler flag to turn off builtin functions.
18734 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18736 # Additional compiler flags for building library objects.
18737 pic_flag=$lt_lt_prog_compiler_pic
18739 # How to pass a linker flag through the compiler.
18740 wl=$lt_lt_prog_compiler_wl
18742 # Compiler flag to prevent dynamic linking.
18743 link_static_flag=$lt_lt_prog_compiler_static
18745 # Does compiler simultaneously support -c and -o options?
18746 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18748 # Whether or not to add -lc for building shared libraries.
18749 build_libtool_need_lc=$archive_cmds_need_lc
18751 # Whether or not to disallow shared libs when runtime libs are static.
18752 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18754 # Compiler flag to allow reflexive dlopens.
18755 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18757 # Compiler flag to generate shared objects directly from archives.
18758 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18760 # Whether the compiler copes with passing no objects directly.
18761 compiler_needs_object=$lt_compiler_needs_object
18763 # Create an old-style archive from a shared archive.
18764 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18766 # Create a temporary old-style archive to link instead of a shared archive.
18767 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18769 # Commands used to build a shared archive.
18770 archive_cmds=$lt_archive_cmds
18771 archive_expsym_cmds=$lt_archive_expsym_cmds
18773 # Commands used to build a loadable module if different from building
18774 # a shared archive.
18775 module_cmds=$lt_module_cmds
18776 module_expsym_cmds=$lt_module_expsym_cmds
18778 # Whether we are building with GNU ld or not.
18779 with_gnu_ld=$lt_with_gnu_ld
18781 # Flag that allows shared libraries with undefined symbols to be built.
18782 allow_undefined_flag=$lt_allow_undefined_flag
18784 # Flag that enforces no undefined symbols.
18785 no_undefined_flag=$lt_no_undefined_flag
18787 # Flag to hardcode \$libdir into a binary during linking.
18788 # This must work even if \$libdir does not exist
18789 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18791 # Whether we need a single "-rpath" flag with a separated argument.
18792 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18794 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18795 # DIR into the resulting binary.
18796 hardcode_direct=$hardcode_direct
18798 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18799 # DIR into the resulting binary and the resulting library dependency is
18800 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18801 # library is relocated.
18802 hardcode_direct_absolute=$hardcode_direct_absolute
18804 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18805 # into the resulting binary.
18806 hardcode_minus_L=$hardcode_minus_L
18808 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18809 # into the resulting binary.
18810 hardcode_shlibpath_var=$hardcode_shlibpath_var
18812 # Set to "yes" if building a shared library automatically hardcodes DIR
18813 # into the library and all subsequent libraries and executables linked
18815 hardcode_automatic=$hardcode_automatic
18817 # Set to yes if linker adds runtime paths of dependent libraries
18818 # to runtime path list.
18819 inherit_rpath=$inherit_rpath
18821 # Whether libtool must link a program against all its dependency libraries.
18822 link_all_deplibs=$link_all_deplibs
18824 # Set to "yes" if exported symbols are required.
18825 always_export_symbols=$always_export_symbols
18827 # The commands to list exported symbols.
18828 export_symbols_cmds=$lt_export_symbols_cmds
18830 # Symbols that should not be listed in the preloaded symbols.
18831 exclude_expsyms=$lt_exclude_expsyms
18833 # Symbols that must always be exported.
18834 include_expsyms=$lt_include_expsyms
18836 # Commands necessary for linking programs (against libraries) with templates.
18837 prelink_cmds=$lt_prelink_cmds
18839 # Commands necessary for finishing linking programs.
18840 postlink_cmds=$lt_postlink_cmds
18842 # Specify filename containing input files.
18843 file_list_spec=$lt_file_list_spec
18845 # How to hardcode a shared library path into an executable.
18846 hardcode_action=$hardcode_action
18848 # ### END LIBTOOL CONFIG
18854 cat <<\_LT_EOF >> "$cfgfile"
18855 # AIX sometimes has problems with the GCC collect2 program. For some
18856 # reason, if we set the COLLECT_NAMES environment variable, the problems
18857 # vanish in a puff of smoke.
18858 if test "X${COLLECT_NAMES+set}" != Xset; then
18860 export COLLECT_NAMES
18867 ltmain="$ac_aux_dir/ltmain.sh"
18870 # We use sed instead of cat because bash on DJGPP gets confused if
18871 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18872 # text mode, it properly converts lines to CR/LF. This bash problem
18873 # is reportedly fixed, but why not run on old versions too?
18874 sed '$q' "$ltmain" >> "$cfgfile" \
18875 || (rm -f "$cfgfile"; exit 1)
18877 if test x"$xsi_shell" = xyes; then
18878 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18882 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18883 \ * ) func_dirname_result="${3}" ;;\
18885 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18886 && mv -f "$cfgfile.tmp" "$cfgfile" \
18887 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18888 test 0 -eq $? || _lt_function_replace_fail=:
18891 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18894 \ func_basename_result="${1##*/}"\
18895 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18896 && mv -f "$cfgfile.tmp" "$cfgfile" \
18897 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18898 test 0 -eq $? || _lt_function_replace_fail=:
18901 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18902 func_dirname_and_basename ()\
18905 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18906 \ * ) func_dirname_result="${3}" ;;\
18908 \ func_basename_result="${1##*/}"\
18909 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18910 && mv -f "$cfgfile.tmp" "$cfgfile" \
18911 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18912 test 0 -eq $? || _lt_function_replace_fail=:
18915 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18918 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18919 \ # positional parameters, so assign one to ordinary parameter first.\
18920 \ func_stripname_result=${3}\
18921 \ func_stripname_result=${func_stripname_result#"${1}"}\
18922 \ func_stripname_result=${func_stripname_result%"${2}"}\
18923 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18924 && mv -f "$cfgfile.tmp" "$cfgfile" \
18925 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18926 test 0 -eq $? || _lt_function_replace_fail=:
18929 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18930 func_split_long_opt ()\
18932 \ func_split_long_opt_name=${1%%=*}\
18933 \ func_split_long_opt_arg=${1#*=}\
18934 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18935 && mv -f "$cfgfile.tmp" "$cfgfile" \
18936 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18937 test 0 -eq $? || _lt_function_replace_fail=:
18940 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18941 func_split_short_opt ()\
18943 \ func_split_short_opt_arg=${1#??}\
18944 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18945 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18946 && mv -f "$cfgfile.tmp" "$cfgfile" \
18947 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18948 test 0 -eq $? || _lt_function_replace_fail=:
18951 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18955 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18956 \ *) func_lo2o_result=${1} ;;\
18958 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18959 && mv -f "$cfgfile.tmp" "$cfgfile" \
18960 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18961 test 0 -eq $? || _lt_function_replace_fail=:
18964 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18967 func_xform_result=${1%.*}.lo\
18968 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18969 && mv -f "$cfgfile.tmp" "$cfgfile" \
18970 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18971 test 0 -eq $? || _lt_function_replace_fail=:
18974 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18977 func_arith_result=$(( $* ))\
18978 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18979 && mv -f "$cfgfile.tmp" "$cfgfile" \
18980 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18981 test 0 -eq $? || _lt_function_replace_fail=:
18984 sed -e '/^func_len ()$/,/^} # func_len /c\
18987 func_len_result=${#1}\
18988 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18989 && mv -f "$cfgfile.tmp" "$cfgfile" \
18990 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18991 test 0 -eq $? || _lt_function_replace_fail=:
18995 if test x"$lt_shell_append" = xyes; then
18996 sed -e '/^func_append ()$/,/^} # func_append /c\
18999 eval "${1}+=\\${2}"\
19000 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19001 && mv -f "$cfgfile.tmp" "$cfgfile" \
19002 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19003 test 0 -eq $? || _lt_function_replace_fail=:
19006 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19007 func_append_quoted ()\
19009 \ func_quote_for_eval "${2}"\
19010 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19011 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19012 && mv -f "$cfgfile.tmp" "$cfgfile" \
19013 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19014 test 0 -eq $? || _lt_function_replace_fail=:
19017 # Save a `func_append' function call where possible by direct use of '+='
19018 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19019 && mv -f "$cfgfile.tmp" "$cfgfile" \
19020 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19021 test 0 -eq $? || _lt_function_replace_fail=:
19023 # Save a `func_append' function call even when '+=' is not available
19024 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19025 && mv -f "$cfgfile.tmp" "$cfgfile" \
19026 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19027 test 0 -eq $? || _lt_function_replace_fail=:
19030 if test x"$_lt_function_replace_fail" = x":"; then
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19032 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19036 mv -f "$cfgfile" "$ofile" ||
19037 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19041 "po-directories":C)
19042 for ac_file in $CONFIG_FILES; do
19043 # Support "outfile[:infile[:infile...]]"
19045 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19047 # PO directories have a Makefile.in generated from Makefile.in.in.
19048 case "$ac_file" in */Makefile.in)
19049 # Adjust a relative srcdir.
19050 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19051 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
19052 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19053 # In autoconf-2.13 it is called $ac_given_srcdir.
19054 # In autoconf-2.50 it is called $srcdir.
19055 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
19056 case "$ac_given_srcdir" in
19057 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
19058 /*) top_srcdir="$ac_given_srcdir" ;;
19059 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
19061 # Treat a directory as a PO directory if and only if it has a
19062 # POTFILES.in file. This allows packages to have multiple PO
19063 # directories under different names or in different locations.
19064 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19065 rm -f "$ac_dir/POTFILES"
19066 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
19067 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19068 POMAKEFILEDEPS="POTFILES.in"
19069 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
19070 # on $ac_dir but don't depend on user-specified configuration
19072 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19073 # The LINGUAS file contains the set of available languages.
19074 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19075 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
19077 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19078 # Hide the ALL_LINGUAS assigment from automake < 1.5.
19079 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19080 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
19082 # The set of available languages was given in configure.in.
19083 # Hide the ALL_LINGUAS assigment from automake < 1.5.
19084 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19087 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
19088 # Compute UPDATEPOFILES
19089 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
19090 # Compute DUMMYPOFILES
19091 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
19093 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
19094 case "$ac_given_srcdir" in
19096 *) srcdirpre='$(srcdir)/' ;;
19102 for lang in $ALL_LINGUAS; do
19103 POFILES="$POFILES $srcdirpre$lang.po"
19104 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
19105 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
19106 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
19108 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19109 # environment variable.
19111 if test -n "$ALL_LINGUAS"; then
19112 for presentlang in $ALL_LINGUAS; do
19114 if test "%UNSET%" != "$LINGUAS"; then
19115 desiredlanguages="$LINGUAS"
19117 desiredlanguages="$ALL_LINGUAS"
19119 for desiredlang in $desiredlanguages; do
19120 # Use the presentlang catalog if desiredlang is
19121 # a. equal to presentlang, or
19122 # b. a variant of presentlang (because in this case,
19123 # presentlang can be used as a fallback for messages
19124 # which are not translated in the desiredlang catalog).
19125 case "$desiredlang" in
19126 "$presentlang"*) useit=yes;;
19129 if test $useit = yes; then
19130 INST_LINGUAS="$INST_LINGUAS $presentlang"
19135 if test -n "$INST_LINGUAS"; then
19136 for lang in $INST_LINGUAS; do
19137 CATALOGS="$CATALOGS $lang.gmo"
19140 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
19141 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"
19142 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
19143 if test -f "$f"; then
19145 *.orig | *.bak | *~) ;;
19146 *) cat "$f" >> "$ac_dir/Makefile" ;;
19161 ac_clean_files=$ac_clean_files_save
19163 test $ac_write_fail = 0 ||
19164 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19167 # configure is writing to config.log, and then calls config.status.
19168 # config.status does its own redirection, appending to config.log.
19169 # Unfortunately, on DOS this fails, as config.log is still kept open
19170 # by configure, so config.status won't be able to write to it; its
19171 # output is simply discarded. So we exec the FD to /dev/null,
19172 # effectively closing config.log, so it can be properly (re)opened and
19173 # appended to by config.status. When coming back to configure, we
19174 # need to make the FD available again.
19175 if test "$no_create" != yes; then
19177 ac_config_status_args=
19178 test "$silent" = yes &&
19179 ac_config_status_args="$ac_config_status_args --quiet"
19181 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19183 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19184 # would make configure fail if this is the last instruction.
19185 $ac_cs_success || as_fn_exit 1
19187 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19189 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}