2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Moonshot-ui 1.0.3.
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='1.0.3'
654 PACKAGE_STRING='Moonshot-ui 1.0.3'
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
820 MAINTAINER_MODE_FALSE
834 INSTALL_STRIP_PROGRAM
877 program_transform_name
890 enable_option_checking
892 enable_maintainer_mode
898 enable_dependency_tracking
908 ac_precious_vars='build_alias
937 # Initialize some variables set by options.
939 ac_init_version=false
940 ac_unrecognized_opts=
942 # The variables have the same names as the options, with
943 # dashes changed to underlines.
951 program_transform_name=s,x,x,
959 # Installation directory options.
960 # These are left unexpanded so users can "make install exec_prefix=/foo"
961 # and all the variables that are supposed to be based on exec_prefix
962 # by default will actually change.
963 # Use braces instead of parens because sh, perl, etc. also accept them.
964 # (The list follows the same order as the GNU Coding Standards.)
965 bindir='${exec_prefix}/bin'
966 sbindir='${exec_prefix}/sbin'
967 libexecdir='${exec_prefix}/libexec'
968 datarootdir='${prefix}/share'
969 datadir='${datarootdir}'
970 sysconfdir='${prefix}/etc'
971 sharedstatedir='${prefix}/com'
972 localstatedir='${prefix}/var'
973 runstatedir='${localstatedir}/run'
974 includedir='${prefix}/include'
975 oldincludedir='/usr/include'
976 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
977 infodir='${datarootdir}/info'
982 libdir='${exec_prefix}/lib'
983 localedir='${datarootdir}/locale'
984 mandir='${datarootdir}/man'
990 # If the previous option needs an argument, assign it.
991 if test -n "$ac_prev"; then
992 eval $ac_prev=\$ac_option
998 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1003 # Accept the important Cygnus configure options, so we can diagnose typos.
1005 case $ac_dashdash$ac_option in
1009 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1011 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1012 bindir=$ac_optarg ;;
1014 -build | --build | --buil | --bui | --bu)
1015 ac_prev=build_alias ;;
1016 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1017 build_alias=$ac_optarg ;;
1019 -cache-file | --cache-file | --cache-fil | --cache-fi \
1020 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1021 ac_prev=cache_file ;;
1022 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1023 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1024 cache_file=$ac_optarg ;;
1026 --config-cache | -C)
1027 cache_file=config.cache ;;
1029 -datadir | --datadir | --datadi | --datad)
1031 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1032 datadir=$ac_optarg ;;
1034 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1035 | --dataroo | --dataro | --datar)
1036 ac_prev=datarootdir ;;
1037 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1038 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1039 datarootdir=$ac_optarg ;;
1041 -disable-* | --disable-*)
1042 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045 as_fn_error $? "invalid feature name: $ac_useropt"
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "enable_$ac_useropt"
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1055 eval enable_$ac_useropt=no ;;
1057 -docdir | --docdir | --docdi | --doc | --do)
1059 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1060 docdir=$ac_optarg ;;
1062 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1064 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1065 dvidir=$ac_optarg ;;
1067 -enable-* | --enable-*)
1068 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1071 as_fn_error $? "invalid feature name: $ac_useropt"
1072 ac_useropt_orig=$ac_useropt
1073 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1076 "enable_$ac_useropt"
1078 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1079 ac_unrecognized_sep=', ';;
1081 eval enable_$ac_useropt=\$ac_optarg ;;
1083 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1084 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1085 | --exec | --exe | --ex)
1086 ac_prev=exec_prefix ;;
1087 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1088 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1089 | --exec=* | --exe=* | --ex=*)
1090 exec_prefix=$ac_optarg ;;
1092 -gas | --gas | --ga | --g)
1093 # Obsolete; use --with-gas.
1096 -help | --help | --hel | --he | -h)
1097 ac_init_help=long ;;
1098 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1099 ac_init_help=recursive ;;
1100 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1101 ac_init_help=short ;;
1103 -host | --host | --hos | --ho)
1104 ac_prev=host_alias ;;
1105 -host=* | --host=* | --hos=* | --ho=*)
1106 host_alias=$ac_optarg ;;
1108 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1110 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1112 htmldir=$ac_optarg ;;
1114 -includedir | --includedir | --includedi | --included | --include \
1115 | --includ | --inclu | --incl | --inc)
1116 ac_prev=includedir ;;
1117 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1118 | --includ=* | --inclu=* | --incl=* | --inc=*)
1119 includedir=$ac_optarg ;;
1121 -infodir | --infodir | --infodi | --infod | --info | --inf)
1123 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1124 infodir=$ac_optarg ;;
1126 -libdir | --libdir | --libdi | --libd)
1128 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1129 libdir=$ac_optarg ;;
1131 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1132 | --libexe | --libex | --libe)
1133 ac_prev=libexecdir ;;
1134 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1135 | --libexe=* | --libex=* | --libe=*)
1136 libexecdir=$ac_optarg ;;
1138 -localedir | --localedir | --localedi | --localed | --locale)
1139 ac_prev=localedir ;;
1140 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1141 localedir=$ac_optarg ;;
1143 -localstatedir | --localstatedir | --localstatedi | --localstated \
1144 | --localstate | --localstat | --localsta | --localst | --locals)
1145 ac_prev=localstatedir ;;
1146 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1147 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1148 localstatedir=$ac_optarg ;;
1150 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1152 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1153 mandir=$ac_optarg ;;
1155 -nfp | --nfp | --nf)
1156 # Obsolete; use --without-fp.
1159 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1160 | --no-cr | --no-c | -n)
1163 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1164 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1167 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1168 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1169 | --oldin | --oldi | --old | --ol | --o)
1170 ac_prev=oldincludedir ;;
1171 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1172 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1173 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1174 oldincludedir=$ac_optarg ;;
1176 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1178 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1179 prefix=$ac_optarg ;;
1181 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1182 | --program-pre | --program-pr | --program-p)
1183 ac_prev=program_prefix ;;
1184 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1185 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1186 program_prefix=$ac_optarg ;;
1188 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1189 | --program-suf | --program-su | --program-s)
1190 ac_prev=program_suffix ;;
1191 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1192 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1193 program_suffix=$ac_optarg ;;
1195 -program-transform-name | --program-transform-name \
1196 | --program-transform-nam | --program-transform-na \
1197 | --program-transform-n | --program-transform- \
1198 | --program-transform | --program-transfor \
1199 | --program-transfo | --program-transf \
1200 | --program-trans | --program-tran \
1201 | --progr-tra | --program-tr | --program-t)
1202 ac_prev=program_transform_name ;;
1203 -program-transform-name=* | --program-transform-name=* \
1204 | --program-transform-nam=* | --program-transform-na=* \
1205 | --program-transform-n=* | --program-transform-=* \
1206 | --program-transform=* | --program-transfor=* \
1207 | --program-transfo=* | --program-transf=* \
1208 | --program-trans=* | --program-tran=* \
1209 | --progr-tra=* | --program-tr=* | --program-t=*)
1210 program_transform_name=$ac_optarg ;;
1212 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1214 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1215 pdfdir=$ac_optarg ;;
1217 -psdir | --psdir | --psdi | --psd | --ps)
1219 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1223 | -silent | --silent | --silen | --sile | --sil)
1226 -runstatedir | --runstatedir | --runstatedi | --runstated \
1227 | --runstate | --runstat | --runsta | --runst | --runs \
1228 | --run | --ru | --r)
1229 ac_prev=runstatedir ;;
1230 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1231 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1232 | --run=* | --ru=* | --r=*)
1233 runstatedir=$ac_optarg ;;
1235 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1237 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1239 sbindir=$ac_optarg ;;
1241 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1242 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1243 | --sharedst | --shareds | --shared | --share | --shar \
1245 ac_prev=sharedstatedir ;;
1246 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1247 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1248 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1250 sharedstatedir=$ac_optarg ;;
1252 -site | --site | --sit)
1254 -site=* | --site=* | --sit=*)
1257 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1259 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1260 srcdir=$ac_optarg ;;
1262 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1263 | --syscon | --sysco | --sysc | --sys | --sy)
1264 ac_prev=sysconfdir ;;
1265 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1266 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1267 sysconfdir=$ac_optarg ;;
1269 -target | --target | --targe | --targ | --tar | --ta | --t)
1270 ac_prev=target_alias ;;
1271 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1272 target_alias=$ac_optarg ;;
1274 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1277 -version | --version | --versio | --versi | --vers | -V)
1278 ac_init_version=: ;;
1281 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1284 as_fn_error $? "invalid package name: $ac_useropt"
1285 ac_useropt_orig=$ac_useropt
1286 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287 case $ac_user_opts in
1291 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1292 ac_unrecognized_sep=', ';;
1294 eval with_$ac_useropt=\$ac_optarg ;;
1296 -without-* | --without-*)
1297 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1298 # Reject names that are not valid shell variable names.
1299 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1300 as_fn_error $? "invalid package name: $ac_useropt"
1301 ac_useropt_orig=$ac_useropt
1302 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303 case $ac_user_opts in
1307 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1308 ac_unrecognized_sep=', ';;
1310 eval with_$ac_useropt=no ;;
1313 # Obsolete; use --with-x.
1316 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1317 | --x-incl | --x-inc | --x-in | --x-i)
1318 ac_prev=x_includes ;;
1319 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1320 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1321 x_includes=$ac_optarg ;;
1323 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1324 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1325 ac_prev=x_libraries ;;
1326 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1327 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1328 x_libraries=$ac_optarg ;;
1330 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1331 Try \`$0 --help' for more information"
1335 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1336 # Reject names that are not valid shell variable names.
1337 case $ac_envvar in #(
1338 '' | [0-9]* | *[!_$as_cr_alnum]* )
1339 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1341 eval $ac_envvar=\$ac_optarg
1342 export $ac_envvar ;;
1345 # FIXME: should be removed in autoconf 3.0.
1346 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1347 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1348 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1349 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1355 if test -n "$ac_prev"; then
1356 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1357 as_fn_error $? "missing argument to $ac_option"
1360 if test -n "$ac_unrecognized_opts"; then
1361 case $enable_option_checking in
1363 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1364 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1368 # Check all directory arguments for consistency.
1369 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1370 datadir sysconfdir sharedstatedir localstatedir includedir \
1371 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1372 libdir localedir mandir runstatedir
1374 eval ac_val=\$$ac_var
1375 # Remove trailing slashes.
1378 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1379 eval $ac_var=\$ac_val;;
1381 # Be sure to have absolute directory names.
1383 [\\/$]* | ?:[\\/]* ) continue;;
1384 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1386 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1389 # There might be people who depend on the old broken behavior: `$host'
1390 # used to hold the argument of --host etc.
1391 # FIXME: To remove some day.
1394 target=$target_alias
1396 # FIXME: To remove some day.
1397 if test "x$host_alias" != x; then
1398 if test "x$build_alias" = x; then
1399 cross_compiling=maybe
1400 elif test "x$build_alias" != "x$host_alias"; then
1406 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1408 test "$silent" = yes && exec 6>/dev/null
1411 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1412 ac_ls_di=`ls -di .` &&
1413 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1414 as_fn_error $? "working directory cannot be determined"
1415 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1416 as_fn_error $? "pwd does not report name of working directory"
1419 # Find the source files, if location was not specified.
1420 if test -z "$srcdir"; then
1421 ac_srcdir_defaulted=yes
1422 # Try the directory containing this script, then the parent directory.
1423 ac_confdir=`$as_dirname -- "$as_myself" ||
1424 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1425 X"$as_myself" : 'X\(//\)[^/]' \| \
1426 X"$as_myself" : 'X\(//\)$' \| \
1427 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1428 $as_echo X"$as_myself" |
1429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1447 if test ! -r "$srcdir/$ac_unique_file"; then
1451 ac_srcdir_defaulted=no
1453 if test ! -r "$srcdir/$ac_unique_file"; then
1454 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1455 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1457 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1459 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1461 # When building in place, set srcdir=.
1462 if test "$ac_abs_confdir" = "$ac_pwd"; then
1465 # Remove unnecessary trailing slashes from srcdir.
1466 # Double slashes in file names in object file debugging info
1467 # mess up M-x gdb in Emacs.
1469 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1471 for ac_var in $ac_precious_vars; do
1472 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1473 eval ac_env_${ac_var}_value=\$${ac_var}
1474 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1475 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1479 # Report the --help message.
1481 if test "$ac_init_help" = "long"; then
1482 # Omit some internal or obsolete options to make the list less imposing.
1483 # This message is too long to be a string in the A/UX 3.1 sh.
1485 \`configure' configures Moonshot-ui 1.0.3 to adapt to many kinds of systems.
1487 Usage: $0 [OPTION]... [VAR=VALUE]...
1489 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1490 VAR=VALUE. See below for descriptions of some of the useful variables.
1492 Defaults for the options are specified in brackets.
1495 -h, --help display this help and exit
1496 --help=short display options specific to this package
1497 --help=recursive display the short help of all the included packages
1498 -V, --version display version information and exit
1499 -q, --quiet, --silent do not print \`checking ...' messages
1500 --cache-file=FILE cache test results in FILE [disabled]
1501 -C, --config-cache alias for \`--cache-file=config.cache'
1502 -n, --no-create do not create output files
1503 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1505 Installation directories:
1506 --prefix=PREFIX install architecture-independent files in PREFIX
1507 [$ac_default_prefix]
1508 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1511 By default, \`make install' will install all the files in
1512 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1513 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1514 for instance \`--prefix=\$HOME'.
1516 For better control, use the options below.
1518 Fine tuning of the installation directories:
1519 --bindir=DIR user executables [EPREFIX/bin]
1520 --sbindir=DIR system admin executables [EPREFIX/sbin]
1521 --libexecdir=DIR program executables [EPREFIX/libexec]
1522 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1523 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1524 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1525 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1526 --libdir=DIR object code libraries [EPREFIX/lib]
1527 --includedir=DIR C header files [PREFIX/include]
1528 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1531 --infodir=DIR info documentation [DATAROOTDIR/info]
1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1533 --mandir=DIR man documentation [DATAROOTDIR/man]
1534 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot-ui]
1535 --htmldir=DIR html documentation [DOCDIR]
1536 --dvidir=DIR dvi documentation [DOCDIR]
1537 --pdfdir=DIR pdf documentation [DOCDIR]
1538 --psdir=DIR ps documentation [DOCDIR]
1544 --program-prefix=PREFIX prepend PREFIX to installed program names
1545 --program-suffix=SUFFIX append SUFFIX to installed program names
1546 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1549 --build=BUILD configure for building on BUILD [guessed]
1550 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short | recursive ) echo "Configuration of Moonshot-ui 1.0.3:";;
1561 --disable-option-checking ignore unrecognized --enable/--with options
1562 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1563 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1564 --enable-silent-rules less verbose build output (undo: "make V=1")
1565 --disable-silent-rules verbose build output (undo: "make V=0")
1566 --disable-maintainer-mode
1567 disable make rules and dependencies not useful (and
1568 sometimes confusing) to the casual installer
1569 --enable-shared[=PKGS] build shared libraries [default=yes]
1570 --enable-static[=PKGS] build static libraries [default=yes]
1571 --enable-fast-install[=PKGS]
1572 optimize for fast installation [default=yes]
1573 --enable-dependency-tracking
1574 do not reject slow dependency extractors
1575 --disable-dependency-tracking
1576 speeds up one-time build
1577 --disable-libtool-lock avoid locking (might break parallel builds)
1578 --enable-log4vala Enable use of log4vala for logging
1579 --disable-nls do not use Native Language Support
1580 --disable-rpath do not hardcode runtime library paths
1583 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1584 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1585 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1587 --with-aix-soname=aix|svr4|both
1588 shared library versioning (aka "SONAME") variant to
1589 provide on AIX, [default=aix].
1590 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1591 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1592 compiler's sysroot if not specified).
1593 --with-gnu-ld assume the C compiler uses GNU ld default=no
1594 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1595 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1596 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1597 --without-libintl-prefix don't search for libintl in includedir and libdir
1599 Some influential environment variables:
1600 CC C compiler command
1601 CFLAGS C compiler flags
1602 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1603 nonstandard directory <lib dir>
1604 LIBS libraries to pass to the linker, e.g. -l<library>
1605 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1606 you have headers in a nonstandard directory <include dir>
1608 User-defined run-time library search path.
1610 PKG_CONFIG path to pkg-config utility
1612 directories to add to pkg-config's search path
1614 path overriding pkg-config's built-in search path
1615 MAC_CFLAGS C compiler flags for MAC, overriding pkg-config
1616 MAC_LIBS linker flags for MAC, overriding pkg-config
1618 C compiler flags for GDBUS, overriding pkg-config
1619 GDBUS_LIBS linker flags for GDBUS, overriding pkg-config
1620 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1621 GTK_LIBS linker flags for GTK, overriding pkg-config
1623 C compiler flags for LOG4VALA, overriding pkg-config
1625 linker flags for LOG4VALA, overriding pkg-config
1627 C compiler flags for LIB_GEE, overriding pkg-config
1629 linker flags for LIB_GEE, overriding pkg-config
1631 C compiler flags for moonshot, overriding pkg-config
1633 linker flags for moonshot, overriding pkg-config
1635 C compiler flags for libmoonshot, overriding pkg-config
1637 linker flags for libmoonshot, overriding pkg-config
1639 Use these variables to override the choices made by `configure' or to help
1640 it to find libraries and programs with nonstandard names/locations.
1642 Report bugs to <moonshot-community@jiscmail.ac.uk>.
1643 Moonshot-ui home page: <http://www.project-moonshot.org/>.
1648 if test "$ac_init_help" = "recursive"; then
1649 # If there are subdirs, report their specific --help.
1650 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1651 test -d "$ac_dir" ||
1652 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1660 # A ".." for each directory in $ac_dir_suffix.
1661 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1662 case $ac_top_builddir_sub in
1663 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1667 ac_abs_top_builddir=$ac_pwd
1668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1669 # for backward compatibility:
1670 ac_top_builddir=$ac_top_build_prefix
1673 .) # We are building in place.
1675 ac_top_srcdir=$ac_top_builddir_sub
1676 ac_abs_top_srcdir=$ac_pwd ;;
1677 [\\/]* | ?:[\\/]* ) # Absolute name.
1678 ac_srcdir=$srcdir$ac_dir_suffix;
1679 ac_top_srcdir=$srcdir
1680 ac_abs_top_srcdir=$srcdir ;;
1682 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1683 ac_top_srcdir=$ac_top_build_prefix$srcdir
1684 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1688 cd "$ac_dir" || { ac_status=$?; continue; }
1689 # Check for guested configure.
1690 if test -f "$ac_srcdir/configure.gnu"; then
1692 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1693 elif test -f "$ac_srcdir/configure"; then
1695 $SHELL "$ac_srcdir/configure" --help=recursive
1697 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1699 cd "$ac_pwd" || { ac_status=$?; break; }
1703 test -n "$ac_init_help" && exit $ac_status
1704 if $ac_init_version; then
1706 Moonshot-ui configure 1.0.3
1707 generated by GNU Autoconf 2.69
1709 Copyright (C) 2012 Free Software Foundation, Inc.
1710 This configure script is free software; the Free Software Foundation
1711 gives unlimited permission to copy, distribute and modify it.
1716 ## ------------------------ ##
1717 ## Autoconf initialization. ##
1718 ## ------------------------ ##
1720 # ac_fn_c_try_compile LINENO
1721 # --------------------------
1722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1723 ac_fn_c_try_compile ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 rm -f conftest.$ac_objext
1727 if { { ac_try="$ac_compile"
1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_compile") 2>conftest.err
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest.$ac_objext; then :
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1756 } # ac_fn_c_try_compile
1758 # ac_fn_c_try_link LINENO
1759 # -----------------------
1760 # Try to link conftest.$ac_ext, and return whether this succeeded.
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 rm -f conftest.$ac_objext conftest$ac_exeext
1765 if { { ac_try="$ac_link"
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_link") 2>conftest.err
1774 if test -s conftest.err; then
1775 grep -v '^ *+' conftest.err >conftest.er1
1776 cat conftest.er1 >&5
1777 mv -f conftest.er1 conftest.err
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && {
1781 test -z "$ac_c_werror_flag" ||
1782 test ! -s conftest.err
1783 } && test -s conftest$ac_exeext && {
1784 test "$cross_compiling" = yes ||
1785 test -x conftest$ac_exeext
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1794 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796 # interfere with the next link command; also delete a directory that is
1797 # left behind by Apple's compiler. We do this before executing the actions.
1798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 as_fn_set_status $ac_retval
1802 } # ac_fn_c_try_link
1804 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1805 # -------------------------------------------------------
1806 # Tests whether HEADER exists and can be compiled using the include files in
1807 # INCLUDES, setting the cache variable VAR accordingly.
1808 ac_fn_c_check_header_compile ()
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval \${$3+:} false; then :
1814 $as_echo_n "(cached) " >&6
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1821 if ac_fn_c_try_compile "$LINENO"; then :
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 } # ac_fn_c_check_header_compile
1835 # ac_fn_c_try_cpp LINENO
1836 # ----------------------
1837 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 if { { ac_try="$ac_cpp conftest.$ac_ext"
1843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1850 if test -s conftest.err; then
1851 grep -v '^ *+' conftest.err >conftest.er1
1852 cat conftest.er1 >&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } > conftest.i && {
1857 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1858 test ! -s conftest.err
1862 $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 as_fn_set_status $ac_retval
1872 # ac_fn_c_try_run LINENO
1873 # ----------------------
1874 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1875 # that executables *can* be run.
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 if { { ac_try="$ac_link"
1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_link") 2>&5
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1890 { { case "(($ac_try" in
1891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_try") 2>&5
1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test $ac_status = 0; }; }; then :
1902 $as_echo "$as_me: program exited with status $ac_status" >&5
1903 $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1906 ac_retval=$ac_status
1908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval
1914 # ac_fn_c_check_func LINENO FUNC VAR
1915 # ----------------------------------
1916 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1917 ac_fn_c_check_func ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval \${$3+:} false; then :
1923 $as_echo_n "(cached) " >&6
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1929 #define $2 innocuous_$2
1931 /* System header to define __stub macros and hopefully few prototypes,
1932 which can conflict with char $2 (); below.
1933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934 <limits.h> exists even on freestanding compilers. */
1937 # include <limits.h>
1939 # include <assert.h>
1944 /* Override any GCC internal prototype to avoid an error.
1945 Use char because int might match the return type of a GCC
1946 builtin and then its argument prototype would still apply. */
1951 /* The GNU C library defines this for functions which it implements
1952 to always fail with ENOSYS. Some functions are actually named
1953 something starting with __ and the normal name is an alias. */
1954 #if defined __stub_$2 || defined __stub___$2
1966 if ac_fn_c_try_link "$LINENO"; then :
1971 rm -f core conftest.err conftest.$ac_objext \
1972 conftest$ac_exeext conftest.$ac_ext
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1979 } # ac_fn_c_check_func
1980 cat >config.log <<_ACEOF
1981 This file contains any messages produced by compilers while
1982 running configure, to aid debugging if configure makes a mistake.
1984 It was created by Moonshot-ui $as_me 1.0.3, which was
1985 generated by GNU Autoconf 2.69. Invocation command line was
1997 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1998 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1999 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2000 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2001 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2003 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2004 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2006 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2007 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2008 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2009 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2010 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2011 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2012 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir=.
2021 $as_echo "PATH: $as_dir"
2037 # Keep a trace of the command line.
2038 # Strip out --no-create and --no-recursion so they do not pile up.
2039 # Strip out --silent because we don't want to record it for future runs.
2040 # Also quote any args containing shell meta-characters.
2041 # Make two passes to allow for proper duplicate-argument suppression.
2045 ac_must_keep_next=false
2051 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2053 | -silent | --silent | --silen | --sile | --sil)
2056 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2059 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2061 as_fn_append ac_configure_args1 " '$ac_arg'"
2062 if test $ac_must_keep_next = true; then
2063 ac_must_keep_next=false # Got value, back to normal.
2066 *=* | --config-cache | -C | -disable-* | --disable-* \
2067 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2068 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2069 | -with-* | --with-* | -without-* | --without-* | --x)
2070 case "$ac_configure_args0 " in
2071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2074 -* ) ac_must_keep_next=true ;;
2077 as_fn_append ac_configure_args " '$ac_arg'"
2082 { ac_configure_args0=; unset ac_configure_args0;}
2083 { ac_configure_args1=; unset ac_configure_args1;}
2085 # When interrupted or exit'd, cleanup temporary files, and complete
2086 # config.log. We remove comments because anyway the quotes in there
2087 # would cause problems or look ugly.
2088 # WARNING: Use '\'' to represent an apostrophe within the trap.
2089 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2090 trap 'exit_status=$?
2091 # Save into config.log some information that might help in debugging.
2095 $as_echo "## ---------------- ##
2096 ## Cache variables. ##
2097 ## ---------------- ##"
2099 # The following way of writing the cache mishandles newlines in values,
2101 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2102 eval ac_val=\$$ac_var
2106 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2107 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2110 _ | IFS | as_nl) ;; #(
2111 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2112 *) { eval $ac_var=; unset $ac_var;} ;;
2117 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2118 *${as_nl}ac_space=\ *)
2120 "s/'\''/'\''\\\\'\'''\''/g;
2121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2124 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2131 $as_echo "## ----------------- ##
2132 ## Output variables. ##
2133 ## ----------------- ##"
2135 for ac_var in $ac_subst_vars
2137 eval ac_val=\$$ac_var
2139 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2141 $as_echo "$ac_var='\''$ac_val'\''"
2145 if test -n "$ac_subst_files"; then
2146 $as_echo "## ------------------- ##
2147 ## File substitutions. ##
2148 ## ------------------- ##"
2150 for ac_var in $ac_subst_files
2152 eval ac_val=\$$ac_var
2154 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2156 $as_echo "$ac_var='\''$ac_val'\''"
2161 if test -s confdefs.h; then
2162 $as_echo "## ----------- ##
2169 test "$ac_signal" != 0 &&
2170 $as_echo "$as_me: caught signal $ac_signal"
2171 $as_echo "$as_me: exit $exit_status"
2173 rm -f core *.core core.conftest.* &&
2174 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2177 for ac_signal in 1 2 13 15; do
2178 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2183 rm -f -r conftest* confdefs.h
2185 $as_echo "/* confdefs.h */" > confdefs.h
2187 # Predefined preprocessor variables.
2189 cat >>confdefs.h <<_ACEOF
2190 #define PACKAGE_NAME "$PACKAGE_NAME"
2193 cat >>confdefs.h <<_ACEOF
2194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2197 cat >>confdefs.h <<_ACEOF
2198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_STRING "$PACKAGE_STRING"
2205 cat >>confdefs.h <<_ACEOF
2206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_URL "$PACKAGE_URL"
2214 # Let the site file select an alternate cache file if it wants to.
2215 # Prefer an explicitly selected file to automatically selected ones.
2218 if test -n "$CONFIG_SITE"; then
2219 # We do not want a PATH search for config.site.
2220 case $CONFIG_SITE in #((
2221 -*) ac_site_file1=./$CONFIG_SITE;;
2222 */*) ac_site_file1=$CONFIG_SITE;;
2223 *) ac_site_file1=./$CONFIG_SITE;;
2225 elif test "x$prefix" != xNONE; then
2226 ac_site_file1=$prefix/share/config.site
2227 ac_site_file2=$prefix/etc/config.site
2229 ac_site_file1=$ac_default_prefix/share/config.site
2230 ac_site_file2=$ac_default_prefix/etc/config.site
2232 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2234 test "x$ac_site_file" = xNONE && continue
2235 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2237 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2238 sed 's/^/| /' "$ac_site_file" >&5
2240 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2242 as_fn_error $? "failed to load site script $ac_site_file
2243 See \`config.log' for more details" "$LINENO" 5; }
2247 if test -r "$cache_file"; then
2248 # Some versions of bash will fail to source /dev/null (special files
2249 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2250 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2252 $as_echo "$as_me: loading cache $cache_file" >&6;}
2254 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2255 *) . "./$cache_file";;
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2260 $as_echo "$as_me: creating cache $cache_file" >&6;}
2264 as_fn_append ac_func_list " geteuid"
2265 as_fn_append ac_func_list " getpwuid"
2266 gt_needs="$gt_needs "
2267 # Check that the precious variables saved in the cache have kept the same
2269 ac_cache_corrupted=false
2270 for ac_var in $ac_precious_vars; do
2271 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2272 eval ac_new_set=\$ac_env_${ac_var}_set
2273 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2274 eval ac_new_val=\$ac_env_${ac_var}_value
2275 case $ac_old_set,$ac_new_set in
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2278 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2279 ac_cache_corrupted=: ;;
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2282 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2283 ac_cache_corrupted=: ;;
2286 if test "x$ac_old_val" != "x$ac_new_val"; then
2287 # differences in whitespace do not lead to failure.
2288 ac_old_val_w=`echo x $ac_old_val`
2289 ac_new_val_w=`echo x $ac_new_val`
2290 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2292 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2293 ac_cache_corrupted=:
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2296 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2297 eval $ac_var=\$ac_old_val
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2300 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2302 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2305 # Pass precious variables to config.status.
2306 if test "$ac_new_set" = set; then
2308 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2309 *) ac_arg=$ac_var=$ac_new_val ;;
2311 case " $ac_configure_args " in
2312 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2313 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2317 if $ac_cache_corrupted; then
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2321 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2322 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2324 ## -------------------- ##
2325 ## Main body of script. ##
2326 ## -------------------- ##
2329 ac_cpp='$CPP $CPPFLAGS'
2330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2336 # Remove this when we can depend on autoconf >= 2.64
2337 PACKAGE_URL=http://www.project-moonshot.org/
2340 $as_echo "#define PACKAGE_URL \"http://www.project-moonshot.org\"" >>confdefs.h
2342 ac_config_headers="$ac_config_headers config.h"
2347 for ac_dir in build-aux "$srcdir"/build-aux; do
2348 if test -f "$ac_dir/install-sh"; then
2350 ac_install_sh="$ac_aux_dir/install-sh -c"
2352 elif test -f "$ac_dir/install.sh"; then
2354 ac_install_sh="$ac_aux_dir/install.sh -c"
2356 elif test -f "$ac_dir/shtool"; then
2358 ac_install_sh="$ac_aux_dir/shtool install -c"
2362 if test -z "$ac_aux_dir"; then
2363 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2366 # These three variables are undocumented and unsupported,
2367 # and are intended to be withdrawn in a future Autoconf release.
2368 # They can cause serious problems if a builder's source tree is in a directory
2369 # whose full name contains unusual characters.
2370 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2371 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2372 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2376 am__api_version='1.15'
2378 # Find a good install program. We prefer a C program (faster),
2379 # so one script is as good as another. But avoid the broken or
2380 # incompatible versions:
2381 # SysV /etc/install, /usr/sbin/install
2382 # SunOS /usr/etc/install
2383 # IRIX /sbin/install
2385 # AmigaOS /C/install, which installs bootblocks on floppy discs
2386 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2387 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2388 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2389 # OS/2's system install, which has a completely different semantic
2390 # ./install, which can be erroneously created by make from ./install.sh.
2391 # Reject install programs that cannot install multiple files.
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2393 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2394 if test -z "$INSTALL"; then
2395 if ${ac_cv_path_install+:} false; then :
2396 $as_echo_n "(cached) " >&6
2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir=.
2403 # Account for people who put trailing slashes in PATH elements.
2404 case $as_dir/ in #((
2405 ./ | .// | /[cC]/* | \
2406 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2407 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2410 # OSF1 and SCO ODT 3.0 have their own names for install.
2411 # Don't use installbsd from OSF since it installs stuff as root
2413 for ac_prog in ginstall scoinst install; do
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2416 if test $ac_prog = install &&
2417 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2418 # AIX install. It has an incompatible calling convention.
2420 elif test $ac_prog = install &&
2421 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2422 # program-specific install script used by HP pwplus--don't use.
2425 rm -rf conftest.one conftest.two conftest.dir
2426 echo one > conftest.one
2427 echo two > conftest.two
2429 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2430 test -s conftest.one && test -s conftest.two &&
2431 test -s conftest.dir/conftest.one &&
2432 test -s conftest.dir/conftest.two
2434 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2447 rm -rf conftest.one conftest.two conftest.dir
2450 if test "${ac_cv_path_install+set}" = set; then
2451 INSTALL=$ac_cv_path_install
2453 # As a last resort, use the slow shell script. Don't cache a
2454 # value for INSTALL within a source directory, because that will
2455 # break other packages using the cache if that directory is
2456 # removed, or if the value is a relative name.
2457 INSTALL=$ac_install_sh
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2461 $as_echo "$INSTALL" >&6; }
2463 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2464 # It thinks the first close brace ends the variable substitution.
2465 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2467 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2469 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2472 $as_echo_n "checking whether build environment is sane... " >&6; }
2473 # Reject unsafe characters in $srcdir or the absolute working directory
2474 # name. Accept space and tab only in the latter.
2478 *[\\\"\#\$\&\'\`$am_lf]*)
2479 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2482 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2483 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2486 # Do 'set' in a subshell so we don't clobber the current shell's
2487 # arguments. Must try -L first in case configure is actually a
2488 # symlink; some systems play weird games with the mod time of symlinks
2489 # (eg FreeBSD returns the mod time of the symlink's containing
2493 for am_try in 1 2; do
2494 echo "timestamp, slept: $am_has_slept" > conftest.file
2495 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2496 if test "$*" = "X"; then
2498 set X `ls -t "$srcdir/configure" conftest.file`
2500 if test "$*" != "X $srcdir/configure conftest.file" \
2501 && test "$*" != "X conftest.file $srcdir/configure"; then
2503 # If neither matched, then we have a broken ls. This can happen
2504 # if, for instance, CONFIG_SHELL is bash and it inherits a
2505 # broken ls alias from the environment. This has actually
2506 # happened. Such a system could not be considered "sane".
2507 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2508 alias in your environment" "$LINENO" 5
2510 if test "$2" = conftest.file || test $am_try -eq 2; then
2517 test "$2" = conftest.file
2523 as_fn_error $? "newly created file is older than distributed files!
2524 Check your system clock" "$LINENO" 5
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2527 $as_echo "yes" >&6; }
2528 # If we didn't sleep, we still need to ensure time stamps of config.status and
2529 # generated files are strictly newer.
2531 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2538 test "$program_prefix" != NONE &&
2539 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2540 # Use a double $ so make ignores it.
2541 test "$program_suffix" != NONE &&
2542 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2543 # Double any \ or $.
2544 # By default was `s,x,x', remove it if useless.
2545 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2546 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2548 # Expand $ac_aux_dir to an absolute path.
2549 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2551 if test x"${MISSING+set}" != xset; then
2554 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2556 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2559 # Use eval to expand $SHELL
2560 if eval "$MISSING --is-lightweight"; then
2561 am_missing_run="$MISSING "
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2565 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2568 if test x"${install_sh+set}" != xset; then
2571 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2573 install_sh="\${SHELL} $am_aux_dir/install-sh"
2577 # Installed binaries are usually stripped using 'strip' when the user
2578 # run "make install-strip". However 'strip' might not be the right
2579 # tool to use in cross-compilation environments, therefore Automake
2580 # will honor the 'STRIP' environment variable to overrule this program.
2581 if test "$cross_compiling" != no; then
2582 if test -n "$ac_tool_prefix"; then
2583 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2584 set dummy ${ac_tool_prefix}strip; ac_word=$2
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2586 $as_echo_n "checking for $ac_word... " >&6; }
2587 if ${ac_cv_prog_STRIP+:} false; then :
2588 $as_echo_n "(cached) " >&6
2590 if test -n "$STRIP"; then
2591 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 test -z "$as_dir" && as_dir=.
2598 for ac_exec_ext in '' $ac_executable_extensions; do
2599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2600 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2610 STRIP=$ac_cv_prog_STRIP
2611 if test -n "$STRIP"; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2613 $as_echo "$STRIP" >&6; }
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2616 $as_echo "no" >&6; }
2621 if test -z "$ac_cv_prog_STRIP"; then
2623 # Extract the first word of "strip", so it can be a program name with args.
2624 set dummy strip; ac_word=$2
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626 $as_echo_n "checking for $ac_word... " >&6; }
2627 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2628 $as_echo_n "(cached) " >&6
2630 if test -n "$ac_ct_STRIP"; then
2631 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir=.
2638 for ac_exec_ext in '' $ac_executable_extensions; do
2639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2640 ac_cv_prog_ac_ct_STRIP="strip"
2641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2651 if test -n "$ac_ct_STRIP"; then
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2653 $as_echo "$ac_ct_STRIP" >&6; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656 $as_echo "no" >&6; }
2659 if test "x$ac_ct_STRIP" = x; then
2662 case $cross_compiling:$ac_tool_warned in
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2666 ac_tool_warned=yes ;;
2671 STRIP="$ac_cv_prog_STRIP"
2675 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2678 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2679 if test -z "$MKDIR_P"; then
2680 if ${ac_cv_path_mkdir+:} false; then :
2681 $as_echo_n "(cached) " >&6
2683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2687 test -z "$as_dir" && as_dir=.
2688 for ac_prog in mkdir gmkdir; do
2689 for ac_exec_ext in '' $ac_executable_extensions; do
2690 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2691 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2692 'mkdir (GNU coreutils) '* | \
2693 'mkdir (coreutils) '* | \
2694 'mkdir (fileutils) '4.1*)
2695 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2705 test -d ./--version && rmdir ./--version
2706 if test "${ac_cv_path_mkdir+set}" = set; then
2707 MKDIR_P="$ac_cv_path_mkdir -p"
2709 # As a last resort, use the slow shell script. Don't cache a
2710 # value for MKDIR_P within a source directory, because that will
2711 # break other packages using the cache if that directory is
2712 # removed, or if the value is a relative name.
2713 MKDIR_P="$ac_install_sh -d"
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2717 $as_echo "$MKDIR_P" >&6; }
2719 for ac_prog in gawk mawk nawk awk
2721 # Extract the first word of "$ac_prog", so it can be a program name with args.
2722 set dummy $ac_prog; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if ${ac_cv_prog_AWK+:} false; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$AWK"; then
2729 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2738 ac_cv_prog_AWK="$ac_prog"
2739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 if test -n "$AWK"; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2751 $as_echo "$AWK" >&6; }
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
2758 test -n "$AWK" && break
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2762 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2764 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2765 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 cat >conftest.make <<\_ACEOF
2771 @echo '@@@%%%=$(MAKE)=@@@%%%'
2773 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2774 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2776 eval ac_cv_prog_make_${ac_make}_set=yes;;
2778 eval ac_cv_prog_make_${ac_make}_set=no;;
2782 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2784 $as_echo "yes" >&6; }
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788 $as_echo "no" >&6; }
2789 SET_MAKE="MAKE=${MAKE-make}"
2792 rm -rf .tst 2>/dev/null
2793 mkdir .tst 2>/dev/null
2794 if test -d .tst; then
2799 rmdir .tst 2>/dev/null
2801 # Check whether --enable-silent-rules was given.
2802 if test "${enable_silent_rules+set}" = set; then :
2803 enableval=$enable_silent_rules;
2806 case $enable_silent_rules in # (((
2807 yes) AM_DEFAULT_VERBOSITY=0;;
2808 no) AM_DEFAULT_VERBOSITY=1;;
2809 *) AM_DEFAULT_VERBOSITY=1;;
2811 am_make=${MAKE-make}
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2813 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2814 if ${am_cv_make_support_nested_variables+:} false; then :
2815 $as_echo_n "(cached) " >&6
2817 if $as_echo 'TRUE=$(BAR$(V))
2823 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2824 am_cv_make_support_nested_variables=yes
2826 am_cv_make_support_nested_variables=no
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2830 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2831 if test $am_cv_make_support_nested_variables = yes; then
2833 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2835 AM_V=$AM_DEFAULT_VERBOSITY
2836 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2840 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2841 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2842 # is not polluted with repeated "-I."
2843 am__isrc=' -I$(srcdir)'
2844 # test to see if srcdir already configured
2845 if test -f $srcdir/config.status; then
2846 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2850 # test whether we have cygpath
2851 if test -z "$CYGPATH_W"; then
2852 if (cygpath --version) >/dev/null 2>/dev/null; then
2853 CYGPATH_W='cygpath -w'
2860 # Define the identity of the package.
2861 PACKAGE='moonshot-ui'
2865 cat >>confdefs.h <<_ACEOF
2866 #define PACKAGE "$PACKAGE"
2870 cat >>confdefs.h <<_ACEOF
2871 #define VERSION "$VERSION"
2874 # Some tools Automake needs.
2876 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2879 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2882 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2885 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2888 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2890 # For better backward compatibility. To be removed once Automake 1.9.x
2891 # dies out for good. For more background, see:
2892 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2893 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2894 mkdir_p='$(MKDIR_P)'
2896 # We need awk for the "check" target (and possibly the TAP driver). The
2897 # system "awk" is bad on some platforms.
2898 # Always define AMTAR for backward compatibility. Yes, it's still used
2899 # in the wild :-( We should find a proper way to deprecate it ...
2903 # We'll loop over all known methods to create a tar archive until one works.
2904 _am_tools='gnutar pax cpio none'
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2909 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2911 # Go ahead even if we have the value already cached. We do so because we
2912 # need to set the values for the 'am__tar' and 'am__untar' variables.
2913 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2915 for _am_tool in $_am_tools; do
2918 for _am_tar in tar gnutar gtar; do
2919 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2920 ($_am_tar --version) >&5 2>&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); } && break
2925 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2926 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2927 am__untar="$_am_tar -xf -"
2930 # Must skip GNU tar: if it does not support --format= it doesn't create
2931 # ustar tarball either.
2932 (tar --version) >/dev/null 2>&1 && continue
2933 am__tar='tar chf - "$$tardir"'
2934 am__tar_='tar chf - "$tardir"'
2935 am__untar='tar xf -'
2938 am__tar='pax -L -x pax -w "$$tardir"'
2939 am__tar_='pax -L -x pax -w "$tardir"'
2943 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2944 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2945 am__untar='cpio -i -H pax -d'
2954 # If the value was cached, stop now. We just wanted to have am__tar
2955 # and am__untar set.
2956 test -n "${am_cv_prog_tar_pax}" && break
2958 # tar/untar a dummy directory, and stop if the command works.
2961 echo GrepMe > conftest.dir/file
2962 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2963 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }
2968 if test -s conftest.tar; then
2969 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2970 ($am__untar <conftest.tar) >&5 2>&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }
2974 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2975 (cat conftest.dir/file) >&5 2>&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }
2979 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2984 if ${am_cv_prog_tar_pax+:} false; then :
2985 $as_echo_n "(cached) " >&6
2987 am_cv_prog_tar_pax=$_am_tool
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2991 $as_echo "$am_cv_prog_tar_pax" >&6; }
2998 # POSIX will say in a future version that running "rm -f" with no argument
2999 # is OK; and we want to be able to make that assumption in our Makefile
3000 # recipes. So use an aggressive probe to check that the usage we want is
3001 # actually supported "in the wild" to an acceptable degree.
3002 # See automake bug#10828.
3003 # To make any issue more visible, cause the running configure to be aborted
3004 # by default if the 'rm' program in use doesn't match our expectations; the
3005 # user can still override this though.
3006 if rm -f && rm -fr && rm -rf; then : OK; else
3010 Your 'rm' program seems unable to run without file operands specified
3011 on the command line, even when the '-f' option is present. This is contrary
3012 to the behaviour of most rm programs out there, and not conforming with
3013 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3015 Please tell bug-automake@gnu.org about your system, including the value
3016 of your $PATH and any error possibly output before this message. This
3017 can help us improve future automake versions.
3020 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3021 echo 'Configuration will proceed anyway, since you have set the' >&2
3022 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3026 Aborting the configuration process, to ensure you take notice of the issue.
3028 You can download and install GNU coreutils to get an 'rm' implementation
3029 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3031 If you want to complete the configuration process using your problematic
3032 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3033 to "yes", and re-run configure.
3036 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3040 # Check whether --enable-silent-rules was given.
3041 if test "${enable_silent_rules+set}" = set; then :
3042 enableval=$enable_silent_rules;
3045 case $enable_silent_rules in # (((
3046 yes) AM_DEFAULT_VERBOSITY=0;;
3047 no) AM_DEFAULT_VERBOSITY=1;;
3048 *) AM_DEFAULT_VERBOSITY=0;;
3050 am_make=${MAKE-make}
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3052 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3053 if ${am_cv_make_support_nested_variables+:} false; then :
3054 $as_echo_n "(cached) " >&6
3056 if $as_echo 'TRUE=$(BAR$(V))
3062 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3063 am_cv_make_support_nested_variables=yes
3065 am_cv_make_support_nested_variables=no
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3069 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3070 if test $am_cv_make_support_nested_variables = yes; then
3072 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3074 AM_V=$AM_DEFAULT_VERBOSITY
3075 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3081 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3082 # Check whether --enable-maintainer-mode was given.
3083 if test "${enable_maintainer_mode+set}" = set; then :
3084 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3086 USE_MAINTAINER_MODE=yes
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3090 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3091 if test $USE_MAINTAINER_MODE = yes; then
3092 MAINTAINER_MODE_TRUE=
3093 MAINTAINER_MODE_FALSE='#'
3095 MAINTAINER_MODE_TRUE='#'
3096 MAINTAINER_MODE_FALSE=
3099 MAINT=$MAINTAINER_MODE_TRUE
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3107 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3112 macro_version='2.4.6'
3113 macro_revision='2.4.6'
3127 ltmain=$ac_aux_dir/ltmain.sh
3129 # Make sure we can run config.sub.
3130 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3131 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3134 $as_echo_n "checking build system type... " >&6; }
3135 if ${ac_cv_build+:} false; then :
3136 $as_echo_n "(cached) " >&6
3138 ac_build_alias=$build_alias
3139 test "x$ac_build_alias" = x &&
3140 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3141 test "x$ac_build_alias" = x &&
3142 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3143 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3148 $as_echo "$ac_cv_build" >&6; }
3149 case $ac_cv_build in
3151 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3154 ac_save_IFS=$IFS; IFS='-'
3160 # Remember, the first character of IFS is used to create $*,
3161 # except with old shells:
3164 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3168 $as_echo_n "checking host system type... " >&6; }
3169 if ${ac_cv_host+:} false; then :
3170 $as_echo_n "(cached) " >&6
3172 if test "x$host_alias" = x; then
3173 ac_cv_host=$ac_cv_build
3175 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3176 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3181 $as_echo "$ac_cv_host" >&6; }
3184 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3187 ac_save_IFS=$IFS; IFS='-'
3193 # Remember, the first character of IFS is used to create $*,
3194 # except with old shells:
3197 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3200 # Backslashify metacharacters that are still active within
3201 # double-quoted strings.
3202 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3204 # Same as above, but do not quote variable references.
3205 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3207 # Sed substitution to delay expansion of an escaped shell variable in a
3208 # double_quote_subst'ed string.
3209 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3211 # Sed substitution to delay expansion of an escaped single quote.
3212 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3214 # Sed substitution to avoid accidental globbing in evaled expressions
3215 no_glob_subst='s/\*/\\\*/g'
3217 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3218 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3219 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3222 $as_echo_n "checking how to print strings... " >&6; }
3223 # Test print first, because it will be a builtin if present.
3224 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3225 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3227 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3230 # Use this function as a fallback that always works.
3231 func_fallback_echo ()
3233 eval 'cat <<_LTECHO_EOF
3237 ECHO='func_fallback_echo'
3240 # func_echo_all arg...
3241 # Invoke $ECHO with all args, space-separated.
3248 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3249 $as_echo "printf" >&6; } ;;
3250 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3251 $as_echo "print -r" >&6; } ;;
3252 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3253 $as_echo "cat" >&6; } ;;
3269 DEPDIR="${am__leading_dot}deps"
3271 ac_config_commands="$ac_config_commands depfiles"
3274 am_make=${MAKE-make}
3275 cat > confinc << 'END'
3277 @echo this is the am__doit target
3280 # If we don't find an include directive, just comment out the code.
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3282 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3286 # First try GNU make style include.
3287 echo "include confinc" > confmf
3288 # Ignore all kinds of additional output from 'make'.
3289 case `$am_make -s -f confmf 2> /dev/null` in #(
3290 *the\ am__doit\ target*)
3296 # Now try BSD make style include.
3297 if test "$am__include" = "#"; then
3298 echo '.include "confinc"' > confmf
3299 case `$am_make -s -f confmf 2> /dev/null` in #(
3300 *the\ am__doit\ target*)
3301 am__include=.include
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3310 $as_echo "$_am_result" >&6; }
3311 rm -f confinc confmf
3313 # Check whether --enable-dependency-tracking was given.
3314 if test "${enable_dependency_tracking+set}" = set; then :
3315 enableval=$enable_dependency_tracking;
3318 if test "x$enable_dependency_tracking" != xno; then
3319 am_depcomp="$ac_aux_dir/depcomp"
3323 if test "x$enable_dependency_tracking" != xno; then
3333 ac_cpp='$CPP $CPPFLAGS'
3334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3337 if test -n "$ac_tool_prefix"; then
3338 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3339 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3341 $as_echo_n "checking for $ac_word... " >&6; }
3342 if ${ac_cv_prog_CC+:} false; then :
3343 $as_echo_n "(cached) " >&6
3345 if test -n "$CC"; then
3346 ac_cv_prog_CC="$CC" # Let the user override the test.
3348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 test -z "$as_dir" && as_dir=.
3353 for ac_exec_ext in '' $ac_executable_extensions; do
3354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3355 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3366 if test -n "$CC"; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3368 $as_echo "$CC" >&6; }
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3371 $as_echo "no" >&6; }
3376 if test -z "$ac_cv_prog_CC"; then
3378 # Extract the first word of "gcc", so it can be a program name with args.
3379 set dummy gcc; ac_word=$2
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381 $as_echo_n "checking for $ac_word... " >&6; }
3382 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3383 $as_echo_n "(cached) " >&6
3385 if test -n "$ac_ct_CC"; then
3386 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 test -z "$as_dir" && as_dir=.
3393 for ac_exec_ext in '' $ac_executable_extensions; do
3394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3395 ac_cv_prog_ac_ct_CC="gcc"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3405 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3406 if test -n "$ac_ct_CC"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3408 $as_echo "$ac_ct_CC" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411 $as_echo "no" >&6; }
3414 if test "x$ac_ct_CC" = x; then
3417 case $cross_compiling:$ac_tool_warned in
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3421 ac_tool_warned=yes ;;
3429 if test -z "$CC"; then
3430 if test -n "$ac_tool_prefix"; then
3431 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3432 set dummy ${ac_tool_prefix}cc; ac_word=$2
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3434 $as_echo_n "checking for $ac_word... " >&6; }
3435 if ${ac_cv_prog_CC+:} false; then :
3436 $as_echo_n "(cached) " >&6
3438 if test -n "$CC"; then
3439 ac_cv_prog_CC="$CC" # Let the user override the test.
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 test -z "$as_dir" && as_dir=.
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448 ac_cv_prog_CC="${ac_tool_prefix}cc"
3449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3459 if test -n "$CC"; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3461 $as_echo "$CC" >&6; }
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3470 if test -z "$CC"; then
3471 # Extract the first word of "cc", so it can be a program name with args.
3472 set dummy cc; ac_word=$2
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3474 $as_echo_n "checking for $ac_word... " >&6; }
3475 if ${ac_cv_prog_CC+:} false; then :
3476 $as_echo_n "(cached) " >&6
3478 if test -n "$CC"; then
3479 ac_cv_prog_CC="$CC" # Let the user override the test.
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 test -z "$as_dir" && as_dir=.
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3489 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3490 ac_prog_rejected=yes
3494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3501 if test $ac_prog_rejected = yes; then
3502 # We found a bogon in the path, so make sure we never use it.
3503 set dummy $ac_cv_prog_CC
3505 if test $# != 0; then
3506 # We chose a different compiler from the bogus one.
3507 # However, it has the same basename, so the bogon will be chosen
3508 # first if we set CC to just the basename; use the full file name.
3510 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3516 if test -n "$CC"; then
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3518 $as_echo "$CC" >&6; }
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3526 if test -z "$CC"; then
3527 if test -n "$ac_tool_prefix"; then
3528 for ac_prog in cl.exe
3530 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3531 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3533 $as_echo_n "checking for $ac_word... " >&6; }
3534 if ${ac_cv_prog_CC+:} false; then :
3535 $as_echo_n "(cached) " >&6
3537 if test -n "$CC"; then
3538 ac_cv_prog_CC="$CC" # Let the user override the test.
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 if test -n "$CC"; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3560 $as_echo "$CC" >&6; }
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3567 test -n "$CC" && break
3570 if test -z "$CC"; then
3572 for ac_prog in cl.exe
3574 # Extract the first word of "$ac_prog", so it can be a program name with args.
3575 set dummy $ac_prog; ac_word=$2
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577 $as_echo_n "checking for $ac_word... " >&6; }
3578 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3579 $as_echo_n "(cached) " >&6
3581 if test -n "$ac_ct_CC"; then
3582 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 test -z "$as_dir" && as_dir=.
3589 for ac_exec_ext in '' $ac_executable_extensions; do
3590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3591 ac_cv_prog_ac_ct_CC="$ac_prog"
3592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3602 if test -n "$ac_ct_CC"; then
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3604 $as_echo "$ac_ct_CC" >&6; }
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3611 test -n "$ac_ct_CC" && break
3614 if test "x$ac_ct_CC" = x; then
3617 case $cross_compiling:$ac_tool_warned in
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3621 ac_tool_warned=yes ;;
3630 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3632 as_fn_error $? "no acceptable C compiler found in \$PATH
3633 See \`config.log' for more details" "$LINENO" 5; }
3635 # Provide some information about the compiler.
3636 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3639 for ac_option in --version -v -V -qversion; do
3640 { { ac_try="$ac_compiler $ac_option >&5"
3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
3645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3646 $as_echo "$ac_try_echo"; } >&5
3647 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3649 if test -s conftest.err; then
3651 ... rest of stderr output deleted ...
3652 10q' conftest.err >conftest.er1
3653 cat conftest.er1 >&5
3655 rm -f conftest.er1 conftest.err
3656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657 test $ac_status = 0; }
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3671 ac_clean_files_save=$ac_clean_files
3672 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3673 # Try to create an executable without -o first, disregard a.out.
3674 # It will help us diagnose broken compilers, and finding out an intuition
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3677 $as_echo_n "checking whether the C compiler works... " >&6; }
3678 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3680 # The possible output files:
3681 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3684 for ac_file in $ac_files
3687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3688 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3693 if { { ac_try="$ac_link_default"
3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3699 $as_echo "$ac_try_echo"; } >&5
3700 (eval "$ac_link_default") 2>&5
3702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703 test $ac_status = 0; }; then :
3704 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3705 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3706 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3707 # so that the user can short-circuit this test for compilers unknown to
3709 for ac_file in $ac_files ''
3711 test -f "$ac_file" || continue
3713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3716 # We found the default executable, but exeext='' is most
3720 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3722 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3724 # We set ac_cv_exeext here because the later test for it is not
3725 # safe: cross compilers may not add the suffix if given an `-o'
3726 # argument, so we may need to know it at that point already.
3727 # Even if this section looks crufty: it has the advantage of
3734 test "$ac_cv_exeext" = no && ac_cv_exeext=
3739 if test -z "$ac_file"; then :
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3742 $as_echo "$as_me: failed program was:" >&5
3743 sed 's/^/| /' conftest.$ac_ext >&5
3745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747 as_fn_error 77 "C compiler cannot create executables
3748 See \`config.log' for more details" "$LINENO" 5; }
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3751 $as_echo "yes" >&6; }
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3754 $as_echo_n "checking for C compiler default output file name... " >&6; }
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3756 $as_echo "$ac_file" >&6; }
3757 ac_exeext=$ac_cv_exeext
3759 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3760 ac_clean_files=$ac_clean_files_save
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3762 $as_echo_n "checking for suffix of executables... " >&6; }
3763 if { { ac_try="$ac_link"
3765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3766 *) ac_try_echo=$ac_try;;
3768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3769 $as_echo "$ac_try_echo"; } >&5
3770 (eval "$ac_link") 2>&5
3772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3773 test $ac_status = 0; }; then :
3774 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3775 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3776 # work properly (i.e., refer to `conftest.exe'), while it won't with
3778 for ac_file in conftest.exe conftest conftest.*; do
3779 test -f "$ac_file" || continue
3781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3782 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3790 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3791 See \`config.log' for more details" "$LINENO" 5; }
3793 rm -f conftest conftest$ac_cv_exeext
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3795 $as_echo "$ac_cv_exeext" >&6; }
3797 rm -f conftest.$ac_ext
3798 EXEEXT=$ac_cv_exeext
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3806 FILE *f = fopen ("conftest.out", "w");
3807 return ferror (f) || fclose (f) != 0;
3813 ac_clean_files="$ac_clean_files conftest.out"
3814 # Check that the compiler produces executables we can run. If not, either
3815 # the compiler is broken, or we cross compile.
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3817 $as_echo_n "checking whether we are cross compiling... " >&6; }
3818 if test "$cross_compiling" != yes; then
3819 { { ac_try="$ac_link"
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826 (eval "$ac_link") 2>&5
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; }
3830 if { ac_try='./conftest$ac_cv_exeext'
3831 { { case "(($ac_try" in
3832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833 *) ac_try_echo=$ac_try;;
3835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3836 $as_echo "$ac_try_echo"; } >&5
3837 (eval "$ac_try") 2>&5
3839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3840 test $ac_status = 0; }; }; then
3843 if test "$cross_compiling" = maybe; then
3846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error $? "cannot run C compiled programs.
3849 If you meant to cross compile, use \`--host'.
3850 See \`config.log' for more details" "$LINENO" 5; }
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3855 $as_echo "$cross_compiling" >&6; }
3857 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3858 ac_clean_files=$ac_clean_files_save
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3860 $as_echo_n "checking for suffix of object files... " >&6; }
3861 if ${ac_cv_objext+:} false; then :
3862 $as_echo_n "(cached) " >&6
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3875 rm -f conftest.o conftest.obj
3876 if { { ac_try="$ac_compile"
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3882 $as_echo "$ac_try_echo"; } >&5
3883 (eval "$ac_compile") 2>&5
3885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3886 test $ac_status = 0; }; then :
3887 for ac_file in conftest.o conftest.obj conftest.*; do
3888 test -f "$ac_file" || continue;
3890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3891 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3896 $as_echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.$ac_ext >&5
3899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3901 as_fn_error $? "cannot compute suffix of object files: cannot compile
3902 See \`config.log' for more details" "$LINENO" 5; }
3904 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3907 $as_echo "$ac_cv_objext" >&6; }
3908 OBJEXT=$ac_cv_objext
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3911 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3912 if ${ac_cv_c_compiler_gnu+:} false; then :
3913 $as_echo_n "(cached) " >&6
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3929 if ac_fn_c_try_compile "$LINENO"; then :
3934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3939 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3940 if test $ac_compiler_gnu = yes; then
3945 ac_test_CFLAGS=${CFLAGS+set}
3946 ac_save_CFLAGS=$CFLAGS
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3948 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3949 if ${ac_cv_prog_cc_g+:} false; then :
3950 $as_echo_n "(cached) " >&6
3952 ac_save_c_werror_flag=$ac_c_werror_flag
3953 ac_c_werror_flag=yes
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3967 if ac_fn_c_try_compile "$LINENO"; then :
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3982 if ac_fn_c_try_compile "$LINENO"; then :
3985 ac_c_werror_flag=$ac_save_c_werror_flag
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3998 if ac_fn_c_try_compile "$LINENO"; then :
4001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006 ac_c_werror_flag=$ac_save_c_werror_flag
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4009 $as_echo "$ac_cv_prog_cc_g" >&6; }
4010 if test "$ac_test_CFLAGS" = set; then
4011 CFLAGS=$ac_save_CFLAGS
4012 elif test $ac_cv_prog_cc_g = yes; then
4013 if test "$GCC" = yes; then
4019 if test "$GCC" = yes; then
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4026 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4027 if ${ac_cv_prog_cc_c89+:} false; then :
4028 $as_echo_n "(cached) " >&6
4030 ac_cv_prog_cc_c89=no
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4037 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4038 struct buf { int x; };
4039 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4040 static char *e (p, i)
4046 static char *f (char * (*g) (char **, int), char **p, ...)
4051 s = g (p, va_arg (v,int));
4056 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4057 function prototypes and stuff, but not '\xHH' hex character constants.
4058 These don't provoke an error unfortunately, instead are silently treated
4059 as 'x'. The following induces an error, until -std is added to get
4060 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4061 array size at least. It's necessary to write '\x00'==0 to get something
4062 that's true only with -std. */
4063 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4065 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4066 inside strings and character constants. */
4068 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4070 int test (int i, double x);
4071 struct s1 {int (*f) (int a);};
4072 struct s2 {int (*f) (double a);};
4073 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4079 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4084 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4085 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4087 CC="$ac_save_CC $ac_arg"
4088 if ac_fn_c_try_compile "$LINENO"; then :
4089 ac_cv_prog_cc_c89=$ac_arg
4091 rm -f core conftest.err conftest.$ac_objext
4092 test "x$ac_cv_prog_cc_c89" != "xno" && break
4094 rm -f conftest.$ac_ext
4099 case "x$ac_cv_prog_cc_c89" in
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4102 $as_echo "none needed" >&6; } ;;
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4105 $as_echo "unsupported" >&6; } ;;
4107 CC="$CC $ac_cv_prog_cc_c89"
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4109 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4111 if test "x$ac_cv_prog_cc_c89" != xno; then :
4116 ac_cpp='$CPP $CPPFLAGS'
4117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4122 ac_cpp='$CPP $CPPFLAGS'
4123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4127 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4128 if ${am_cv_prog_cc_c_o+:} false; then :
4129 $as_echo_n "(cached) " >&6
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4142 # Make sure it works both with $CC and with simple cc.
4143 # Following AC_PROG_CC_C_O, we do the test twice because some
4144 # compilers refuse to overwrite an existing .o file with -o,
4145 # though they will create one.
4146 am_cv_prog_cc_c_o=yes
4148 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4149 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); } \
4153 && test -f conftest2.$ac_objext; then
4156 am_cv_prog_cc_c_o=no
4160 rm -f core conftest*
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4164 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4165 if test "$am_cv_prog_cc_c_o" != yes; then
4166 # Losing compiler, so override with the script.
4167 # FIXME: It is wrong to rewrite CC.
4168 # But if we don't then we get into trouble of one sort or another.
4169 # A longer-term fix would be to have automake use am__CC in this case,
4170 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4171 CC="$am_aux_dir/compile $CC"
4174 ac_cpp='$CPP $CPPFLAGS'
4175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4180 depcc="$CC" am_compiler_list=
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4183 $as_echo_n "checking dependency style of $depcc... " >&6; }
4184 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4185 $as_echo_n "(cached) " >&6
4187 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4188 # We make a subdir and do the tests there. Otherwise we can end up
4189 # making bogus files that we don't know about and never remove. For
4190 # instance it was reported that on HP-UX the gcc test will end up
4191 # making a dummy file named 'D' -- because '-MD' means "put the output
4195 # Copy depcomp to subdir because otherwise we won't find it if we're
4196 # using a relative directory.
4197 cp "$am_depcomp" conftest.dir
4199 # We will build objects and dependencies in a subdirectory because
4200 # it helps to detect inapplicable dependency modes. For instance
4201 # both Tru64's cc and ICC support -MD to output dependencies as a
4202 # side effect of compilation, but ICC will put the dependencies in
4203 # the current directory while Tru64 will put them in the object
4207 am_cv_CC_dependencies_compiler_type=none
4208 if test "$am_compiler_list" = ""; then
4209 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4212 case " $depcc " in #(
4213 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4216 for depmode in $am_compiler_list; do
4217 # Setup a source with many dependencies, because some compilers
4218 # like to wrap large dependency lists on column 80 (with \), and
4219 # we should not choose a depcomp mode which is confused by this.
4221 # We need to recreate these files for each test, as the compiler may
4222 # overwrite some of them when testing with obscure command lines.
4223 # This happens at least with the AIX C compiler.
4225 for i in 1 2 3 4 5 6; do
4226 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4227 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4228 # Solaris 10 /bin/sh.
4229 echo '/* dummy */' > sub/conftst$i.h
4231 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4233 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4234 # mode. It turns out that the SunPro C++ compiler does not properly
4235 # handle '-M -o', and we need to detect this. Also, some Intel
4236 # versions had trouble with output in subdirs.
4237 am__obj=sub/conftest.${OBJEXT-o}
4238 am__minus_obj="-o $am__obj"
4241 # This depmode causes a compiler race in universal mode.
4242 test "$am__universal" = false || continue
4245 # After this tag, mechanisms are not by side-effect, so they'll
4246 # only be used when explicitly requested.
4247 if test "x$enable_dependency_tracking" = xyes; then
4253 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4254 # This compiler won't grok '-c -o', but also, the minuso test has
4255 # not run yet. These depmodes are late enough in the game, and
4256 # so weak that their functioning should not be impacted.
4257 am__obj=conftest.${OBJEXT-o}
4262 if depmode=$depmode \
4263 source=sub/conftest.c object=$am__obj \
4264 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4265 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4266 >/dev/null 2>conftest.err &&
4267 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4268 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4269 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4270 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4271 # icc doesn't choke on unknown options, it will just issue warnings
4272 # or remarks (even with -Werror). So we grep stderr for any message
4273 # that says an option was ignored or not supported.
4274 # When given -MP, icc 7.0 and 7.1 complain thusly:
4275 # icc: Command line warning: ignoring option '-M'; no argument required
4276 # The diagnosis changed in icc 8.0:
4277 # icc: Command line remark: option '-MP' not supported
4278 if (grep 'ignoring option' conftest.err ||
4279 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4280 am_cv_CC_dependencies_compiler_type=$depmode
4289 am_cv_CC_dependencies_compiler_type=none
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4294 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4295 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4298 test "x$enable_dependency_tracking" != xno \
4299 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4301 am__fastdepCC_FALSE='#'
4303 am__fastdepCC_TRUE='#'
4304 am__fastdepCC_FALSE=
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4309 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4310 if ${ac_cv_path_SED+:} false; then :
4311 $as_echo_n "(cached) " >&6
4313 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4314 for ac_i in 1 2 3 4 5 6 7; do
4315 ac_script="$ac_script$as_nl$ac_script"
4317 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4318 { ac_script=; unset ac_script;}
4319 if test -z "$SED"; then
4320 ac_path_SED_found=false
4321 # Loop through the user's path and test for each of PROGNAME-LIST
4322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir=.
4327 for ac_prog in sed gsed; do
4328 for ac_exec_ext in '' $ac_executable_extensions; do
4329 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4330 as_fn_executable_p "$ac_path_SED" || continue
4331 # Check for GNU ac_path_SED and select it if it is found.
4332 # Check for GNU $ac_path_SED
4333 case `"$ac_path_SED" --version 2>&1` in
4335 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4338 $as_echo_n 0123456789 >"conftest.in"
4341 cat "conftest.in" "conftest.in" >"conftest.tmp"
4342 mv "conftest.tmp" "conftest.in"
4343 cp "conftest.in" "conftest.nl"
4344 $as_echo '' >> "conftest.nl"
4345 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4346 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4347 as_fn_arith $ac_count + 1 && ac_count=$as_val
4348 if test $ac_count -gt ${ac_path_SED_max-0}; then
4349 # Best one so far, save it but keep looking for a better one
4350 ac_cv_path_SED="$ac_path_SED"
4351 ac_path_SED_max=$ac_count
4353 # 10*(2^10) chars as input seems more than enough
4354 test $ac_count -gt 10 && break
4356 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4359 $ac_path_SED_found && break 3
4364 if test -z "$ac_cv_path_SED"; then
4365 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4373 $as_echo "$ac_cv_path_SED" >&6; }
4374 SED="$ac_cv_path_SED"
4377 test -z "$SED" && SED=sed
4378 Xsed="$SED -e 1s/^X//"
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4391 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4392 if ${ac_cv_path_GREP+:} false; then :
4393 $as_echo_n "(cached) " >&6
4395 if test -z "$GREP"; then
4396 ac_path_GREP_found=false
4397 # Loop through the user's path and test for each of PROGNAME-LIST
4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4402 test -z "$as_dir" && as_dir=.
4403 for ac_prog in grep ggrep; do
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4406 as_fn_executable_p "$ac_path_GREP" || continue
4407 # Check for GNU ac_path_GREP and select it if it is found.
4408 # Check for GNU $ac_path_GREP
4409 case `"$ac_path_GREP" --version 2>&1` in
4411 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4414 $as_echo_n 0123456789 >"conftest.in"
4417 cat "conftest.in" "conftest.in" >"conftest.tmp"
4418 mv "conftest.tmp" "conftest.in"
4419 cp "conftest.in" "conftest.nl"
4420 $as_echo 'GREP' >> "conftest.nl"
4421 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4422 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4423 as_fn_arith $ac_count + 1 && ac_count=$as_val
4424 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4425 # Best one so far, save it but keep looking for a better one
4426 ac_cv_path_GREP="$ac_path_GREP"
4427 ac_path_GREP_max=$ac_count
4429 # 10*(2^10) chars as input seems more than enough
4430 test $ac_count -gt 10 && break
4432 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4435 $ac_path_GREP_found && break 3
4440 if test -z "$ac_cv_path_GREP"; then
4441 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4444 ac_cv_path_GREP=$GREP
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4449 $as_echo "$ac_cv_path_GREP" >&6; }
4450 GREP="$ac_cv_path_GREP"
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4454 $as_echo_n "checking for egrep... " >&6; }
4455 if ${ac_cv_path_EGREP+:} false; then :
4456 $as_echo_n "(cached) " >&6
4458 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4459 then ac_cv_path_EGREP="$GREP -E"
4461 if test -z "$EGREP"; then
4462 ac_path_EGREP_found=false
4463 # Loop through the user's path and test for each of PROGNAME-LIST
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4468 test -z "$as_dir" && as_dir=.
4469 for ac_prog in egrep; do
4470 for ac_exec_ext in '' $ac_executable_extensions; do
4471 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4472 as_fn_executable_p "$ac_path_EGREP" || continue
4473 # Check for GNU ac_path_EGREP and select it if it is found.
4474 # Check for GNU $ac_path_EGREP
4475 case `"$ac_path_EGREP" --version 2>&1` in
4477 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4480 $as_echo_n 0123456789 >"conftest.in"
4483 cat "conftest.in" "conftest.in" >"conftest.tmp"
4484 mv "conftest.tmp" "conftest.in"
4485 cp "conftest.in" "conftest.nl"
4486 $as_echo 'EGREP' >> "conftest.nl"
4487 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4489 as_fn_arith $ac_count + 1 && ac_count=$as_val
4490 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4491 # Best one so far, save it but keep looking for a better one
4492 ac_cv_path_EGREP="$ac_path_EGREP"
4493 ac_path_EGREP_max=$ac_count
4495 # 10*(2^10) chars as input seems more than enough
4496 test $ac_count -gt 10 && break
4498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4501 $ac_path_EGREP_found && break 3
4506 if test -z "$ac_cv_path_EGREP"; then
4507 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4510 ac_cv_path_EGREP=$EGREP
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4516 $as_echo "$ac_cv_path_EGREP" >&6; }
4517 EGREP="$ac_cv_path_EGREP"
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4521 $as_echo_n "checking for fgrep... " >&6; }
4522 if ${ac_cv_path_FGREP+:} false; then :
4523 $as_echo_n "(cached) " >&6
4525 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4526 then ac_cv_path_FGREP="$GREP -F"
4528 if test -z "$FGREP"; then
4529 ac_path_FGREP_found=false
4530 # Loop through the user's path and test for each of PROGNAME-LIST
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4535 test -z "$as_dir" && as_dir=.
4536 for ac_prog in fgrep; do
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4539 as_fn_executable_p "$ac_path_FGREP" || continue
4540 # Check for GNU ac_path_FGREP and select it if it is found.
4541 # Check for GNU $ac_path_FGREP
4542 case `"$ac_path_FGREP" --version 2>&1` in
4544 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4547 $as_echo_n 0123456789 >"conftest.in"
4550 cat "conftest.in" "conftest.in" >"conftest.tmp"
4551 mv "conftest.tmp" "conftest.in"
4552 cp "conftest.in" "conftest.nl"
4553 $as_echo 'FGREP' >> "conftest.nl"
4554 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4555 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4556 as_fn_arith $ac_count + 1 && ac_count=$as_val
4557 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4558 # Best one so far, save it but keep looking for a better one
4559 ac_cv_path_FGREP="$ac_path_FGREP"
4560 ac_path_FGREP_max=$ac_count
4562 # 10*(2^10) chars as input seems more than enough
4563 test $ac_count -gt 10 && break
4565 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4568 $ac_path_FGREP_found && break 3
4573 if test -z "$ac_cv_path_FGREP"; then
4574 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4577 ac_cv_path_FGREP=$FGREP
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4583 $as_echo "$ac_cv_path_FGREP" >&6; }
4584 FGREP="$ac_cv_path_FGREP"
4587 test -z "$GREP" && GREP=grep
4607 # Check whether --with-gnu-ld was given.
4608 if test "${with_gnu_ld+set}" = set; then :
4609 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4615 if test yes = "$GCC"; then
4616 # Check if gcc -print-prog-name=ld gives a path.
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4618 $as_echo_n "checking for ld used by $CC... " >&6; }
4621 # gcc leaves a trailing carriage return, which upsets mingw
4622 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4624 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4627 # Accept absolute paths.
4629 re_direlt='/[^/][^/]*/\.\./'
4630 # Canonicalize the pathname of ld
4631 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4632 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4633 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4635 test -z "$LD" && LD=$ac_prog
4638 # If it fails, then pretend we aren't using GCC.
4642 # If it is relative, then search for the first ld in PATH.
4646 elif test yes = "$with_gnu_ld"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4648 $as_echo_n "checking for GNU ld... " >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4651 $as_echo_n "checking for non-GNU ld... " >&6; }
4653 if ${lt_cv_path_LD+:} false; then :
4654 $as_echo_n "(cached) " >&6
4656 if test -z "$LD"; then
4657 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4658 for ac_dir in $PATH; do
4660 test -z "$ac_dir" && ac_dir=.
4661 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4662 lt_cv_path_LD=$ac_dir/$ac_prog
4663 # Check to see if the program is GNU ld. I'd rather use --version,
4664 # but apparently some variants of GNU ld only accept -v.
4665 # Break only if it was the GNU/non-GNU ld that we prefer.
4666 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4667 *GNU* | *'with BFD'*)
4668 test no != "$with_gnu_ld" && break
4671 test yes != "$with_gnu_ld" && break
4678 lt_cv_path_LD=$LD # Let the user override the test with a path.
4683 if test -n "$LD"; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4685 $as_echo "$LD" >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 $as_echo "no" >&6; }
4690 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4692 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4693 if ${lt_cv_prog_gnu_ld+:} false; then :
4694 $as_echo_n "(cached) " >&6
4696 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4697 case `$LD -v 2>&1 </dev/null` in
4698 *GNU* | *'with BFD'*)
4699 lt_cv_prog_gnu_ld=yes
4702 lt_cv_prog_gnu_ld=no
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4707 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4708 with_gnu_ld=$lt_cv_prog_gnu_ld
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4719 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4720 if ${lt_cv_path_NM+:} false; then :
4721 $as_echo_n "(cached) " >&6
4723 if test -n "$NM"; then
4724 # Let the user override the test.
4727 lt_nm_to_check=${ac_tool_prefix}nm
4728 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4729 lt_nm_to_check="$lt_nm_to_check nm"
4731 for lt_tmp_nm in $lt_nm_to_check; do
4732 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4733 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4735 test -z "$ac_dir" && ac_dir=.
4736 tmp_nm=$ac_dir/$lt_tmp_nm
4737 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4738 # Check to see if the nm accepts a BSD-compat flag.
4739 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4740 # nm: unknown option "B" ignored
4741 # Tru64's nm complains that /dev/null is an invalid object file
4742 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4744 mingw*) lt_bad_file=conftest.nm/nofile ;;
4745 *) lt_bad_file=/dev/null ;;
4747 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4748 *$lt_bad_file* | *'Invalid file or object type'*)
4749 lt_cv_path_NM="$tmp_nm -B"
4753 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4755 lt_cv_path_NM="$tmp_nm -p"
4759 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4760 continue # so that we can try to find one that supports BSD flags
4769 : ${lt_cv_path_NM=no}
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4773 $as_echo "$lt_cv_path_NM" >&6; }
4774 if test no != "$lt_cv_path_NM"; then
4777 # Didn't find any BSD compatible name lister, look for dumpbin.
4778 if test -n "$DUMPBIN"; then :
4779 # Let the user override the test.
4781 if test -n "$ac_tool_prefix"; then
4782 for ac_prog in dumpbin "link -dump"
4784 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4785 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if ${ac_cv_prog_DUMPBIN+:} false; then :
4789 $as_echo_n "(cached) " >&6
4791 if test -n "$DUMPBIN"; then
4792 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 DUMPBIN=$ac_cv_prog_DUMPBIN
4812 if test -n "$DUMPBIN"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4814 $as_echo "$DUMPBIN" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4821 test -n "$DUMPBIN" && break
4824 if test -z "$DUMPBIN"; then
4825 ac_ct_DUMPBIN=$DUMPBIN
4826 for ac_prog in dumpbin "link -dump"
4828 # Extract the first word of "$ac_prog", so it can be a program name with args.
4829 set dummy $ac_prog; ac_word=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4833 $as_echo_n "(cached) " >&6
4835 if test -n "$ac_ct_DUMPBIN"; then
4836 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4845 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4856 if test -n "$ac_ct_DUMPBIN"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4858 $as_echo "$ac_ct_DUMPBIN" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4865 test -n "$ac_ct_DUMPBIN" && break
4868 if test "x$ac_ct_DUMPBIN" = x; then
4871 case $cross_compiling:$ac_tool_warned in
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4875 ac_tool_warned=yes ;;
4877 DUMPBIN=$ac_ct_DUMPBIN
4881 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4883 DUMPBIN="$DUMPBIN -symbols -headers"
4891 if test : != "$DUMPBIN"; then
4895 test -z "$NM" && NM=nm
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4903 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4904 if ${lt_cv_nm_interface+:} false; then :
4905 $as_echo_n "(cached) " >&6
4907 lt_cv_nm_interface="BSD nm"
4908 echo "int some_variable = 0;" > conftest.$ac_ext
4909 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4910 (eval "$ac_compile" 2>conftest.err)
4911 cat conftest.err >&5
4912 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4913 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4914 cat conftest.err >&5
4915 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4916 cat conftest.out >&5
4917 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4918 lt_cv_nm_interface="MS dumpbin"
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4923 $as_echo "$lt_cv_nm_interface" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4926 $as_echo_n "checking whether ln -s works... " >&6; }
4928 if test "$LN_S" = "ln -s"; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4930 $as_echo "yes" >&6; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4933 $as_echo "no, using $LN_S" >&6; }
4936 # find the maximum length of command line arguments
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4938 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4939 if ${lt_cv_sys_max_cmd_len+:} false; then :
4940 $as_echo_n "(cached) " >&6
4947 # On DJGPP, this test can blow up pretty badly due to problems in libc
4948 # (any single argument exceeding 2000 bytes causes a buffer overrun
4949 # during glob expansion). Even if it were fixed, the result of this
4950 # check would be larger than it should be.
4951 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4955 # Under GNU Hurd, this test is not required because there is
4956 # no limit to the length of command line arguments.
4957 # Libtool will interpret -1 as no limit whatsoever
4958 lt_cv_sys_max_cmd_len=-1;
4961 cygwin* | mingw* | cegcc*)
4962 # On Win9x/ME, this test blows up -- it succeeds, but takes
4963 # about 5 minutes as the teststring grows exponentially.
4964 # Worse, since 9x/ME are not pre-emptively multitasking,
4965 # you end up with a "frozen" computer, even though with patience
4966 # the test eventually succeeds (with a max line length of 256k).
4967 # Instead, let's just punt: use the minimum linelength reported by
4968 # all of the supported platforms: 8192 (on NT/2K/XP).
4969 lt_cv_sys_max_cmd_len=8192;
4973 # On MiNT this can take a long time and run out of memory.
4974 lt_cv_sys_max_cmd_len=8192;
4978 # On AmigaOS with pdksh, this test takes hours, literally.
4979 # So we just punt and use a minimum line length of 8192.
4980 lt_cv_sys_max_cmd_len=8192;
4983 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4984 # This has been around since 386BSD, at least. Likely further.
4985 if test -x /sbin/sysctl; then
4986 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4987 elif test -x /usr/sbin/sysctl; then
4988 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4990 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4992 # And add a safety zone
4993 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4994 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4998 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4999 lt_cv_sys_max_cmd_len=196608
5003 # The test takes a long time on OS/2.
5004 lt_cv_sys_max_cmd_len=8192
5008 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5009 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5010 # nice to cause kernel panics so lets avoid the loop below.
5011 # First set a reasonable default.
5012 lt_cv_sys_max_cmd_len=16384
5014 if test -x /sbin/sysconfig; then
5015 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5016 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5021 lt_cv_sys_max_cmd_len=102400
5023 sysv5* | sco5v6* | sysv4.2uw2*)
5024 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5025 if test -n "$kargmax"; then
5026 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5028 lt_cv_sys_max_cmd_len=32768
5032 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5033 if test -n "$lt_cv_sys_max_cmd_len" && \
5034 test undefined != "$lt_cv_sys_max_cmd_len"; then
5035 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5036 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5038 # Make teststring a little bigger before we do anything with it.
5039 # a 1K string should be a reasonable start.
5040 for i in 1 2 3 4 5 6 7 8; do
5041 teststring=$teststring$teststring
5043 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5044 # If test is not a shell built-in, we'll probably end up computing a
5045 # maximum length that is only half of the actual maximum length, but
5047 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5048 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5049 test 17 != "$i" # 1/2 MB should be enough
5052 teststring=$teststring$teststring
5054 # Only check the string length outside the loop.
5055 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5057 # Add a significant safety factor because C++ compilers can tack on
5058 # massive amounts of additional arguments before passing them to the
5059 # linker. It appears as though 1/2 is a usable value.
5060 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5067 if test -n "$lt_cv_sys_max_cmd_len"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5069 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5072 $as_echo "none" >&6; }
5074 max_cmd_len=$lt_cv_sys_max_cmd_len
5085 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5095 # test EBCDIC or ASCII
5096 case `echo X|tr X '\101'` in
5097 A) # ASCII based system
5098 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5099 lt_SP2NL='tr \040 \012'
5100 lt_NL2SP='tr \015\012 \040\040'
5102 *) # EBCDIC based system
5103 lt_SP2NL='tr \100 \n'
5104 lt_NL2SP='tr \r\n \100\100'
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5117 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5118 if ${lt_cv_to_host_file_cmd+:} false; then :
5119 $as_echo_n "(cached) " >&6
5124 *-*-mingw* ) # actually msys
5125 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5128 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5130 * ) # otherwise, assume *nix
5131 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5137 *-*-mingw* ) # actually msys
5138 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5141 lt_cv_to_host_file_cmd=func_convert_file_noop
5143 * ) # otherwise, assume *nix
5144 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5148 * ) # unhandled hosts (and "normal" native builds)
5149 lt_cv_to_host_file_cmd=func_convert_file_noop
5155 to_host_file_cmd=$lt_cv_to_host_file_cmd
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5157 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5164 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5165 if ${lt_cv_to_tool_file_cmd+:} false; then :
5166 $as_echo_n "(cached) " >&6
5168 #assume ordinary cross tools, or native build.
5169 lt_cv_to_tool_file_cmd=func_convert_file_noop
5173 *-*-mingw* ) # actually msys
5174 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5182 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5184 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5191 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5192 if ${lt_cv_ld_reload_flag+:} false; then :
5193 $as_echo_n "(cached) " >&6
5195 lt_cv_ld_reload_flag='-r'
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5198 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5199 reload_flag=$lt_cv_ld_reload_flag
5200 case $reload_flag in
5202 *) reload_flag=" $reload_flag" ;;
5204 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5206 cygwin* | mingw* | pw32* | cegcc*)
5207 if test yes != "$GCC"; then
5212 if test yes = "$GCC"; then
5213 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5215 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5228 if test -n "$ac_tool_prefix"; then
5229 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5230 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5232 $as_echo_n "checking for $ac_word... " >&6; }
5233 if ${ac_cv_prog_OBJDUMP+:} false; then :
5234 $as_echo_n "(cached) " >&6
5236 if test -n "$OBJDUMP"; then
5237 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 test -z "$as_dir" && as_dir=.
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5246 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 OBJDUMP=$ac_cv_prog_OBJDUMP
5257 if test -n "$OBJDUMP"; then
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5259 $as_echo "$OBJDUMP" >&6; }
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5262 $as_echo "no" >&6; }
5267 if test -z "$ac_cv_prog_OBJDUMP"; then
5268 ac_ct_OBJDUMP=$OBJDUMP
5269 # Extract the first word of "objdump", so it can be a program name with args.
5270 set dummy objdump; ac_word=$2
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272 $as_echo_n "checking for $ac_word... " >&6; }
5273 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5274 $as_echo_n "(cached) " >&6
5276 if test -n "$ac_ct_OBJDUMP"; then
5277 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5283 test -z "$as_dir" && as_dir=.
5284 for ac_exec_ext in '' $ac_executable_extensions; do
5285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5286 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5297 if test -n "$ac_ct_OBJDUMP"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5299 $as_echo "$ac_ct_OBJDUMP" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5305 if test "x$ac_ct_OBJDUMP" = x; then
5308 case $cross_compiling:$ac_tool_warned in
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5312 ac_tool_warned=yes ;;
5314 OBJDUMP=$ac_ct_OBJDUMP
5317 OBJDUMP="$ac_cv_prog_OBJDUMP"
5320 test -z "$OBJDUMP" && OBJDUMP=objdump
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5328 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5329 if ${lt_cv_deplibs_check_method+:} false; then :
5330 $as_echo_n "(cached) " >&6
5332 lt_cv_file_magic_cmd='$MAGIC_CMD'
5333 lt_cv_file_magic_test_file=
5334 lt_cv_deplibs_check_method='unknown'
5335 # Need to set the preceding variable on all platforms that support
5336 # interlibrary dependencies.
5337 # 'none' -- dependencies not supported.
5338 # 'unknown' -- same as none, but documents that we really don't know.
5339 # 'pass_all' -- all dependencies passed with no checks.
5340 # 'test_compile' -- check by making test program.
5341 # 'file_magic [[regex]]' -- check by looking for files in library path
5342 # that responds to the $file_magic_cmd with a given extended regex.
5343 # If you have 'file' or equivalent on your system and you're not sure
5344 # whether 'pass_all' will *always* work, you probably want this one.
5348 lt_cv_deplibs_check_method=pass_all
5352 lt_cv_deplibs_check_method=pass_all
5356 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5357 lt_cv_file_magic_cmd='/usr/bin/file -L'
5358 lt_cv_file_magic_test_file=/shlib/libc.so
5362 # func_win32_libid is a shell function defined in ltmain.sh
5363 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5364 lt_cv_file_magic_cmd='func_win32_libid'
5368 # Base MSYS/MinGW do not provide the 'file' command needed by
5369 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5370 # unless we find 'file', for example because we are cross-compiling.
5371 if ( file / ) >/dev/null 2>&1; then
5372 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5373 lt_cv_file_magic_cmd='func_win32_libid'
5375 # Keep this pattern in sync with the one in func_win32_libid.
5376 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5377 lt_cv_file_magic_cmd='$OBJDUMP -f'
5382 # use the weaker test based on 'objdump'. See mingw*.
5383 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5384 lt_cv_file_magic_cmd='$OBJDUMP -f'
5387 darwin* | rhapsody*)
5388 lt_cv_deplibs_check_method=pass_all
5391 freebsd* | dragonfly*)
5392 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5395 # Not sure whether the presence of OpenBSD here was a mistake.
5396 # Let's accept both of them until this is cleared up.
5397 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5398 lt_cv_file_magic_cmd=/usr/bin/file
5399 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5403 lt_cv_deplibs_check_method=pass_all
5408 lt_cv_deplibs_check_method=pass_all
5411 hpux10.20* | hpux11*)
5412 lt_cv_file_magic_cmd=/usr/bin/file
5415 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5416 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5419 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]'
5420 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5423 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5424 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5430 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5434 irix5* | irix6* | nonstopux*)
5436 *-32|*"-32 ") libmagic=32-bit;;
5437 *-n32|*"-n32 ") libmagic=N32;;
5438 *-64|*"-64 ") libmagic=64-bit;;
5439 *) libmagic=never-match;;
5441 lt_cv_deplibs_check_method=pass_all
5444 # This must be glibc/ELF.
5445 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5446 lt_cv_deplibs_check_method=pass_all
5449 netbsd* | netbsdelf*-gnu)
5450 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5451 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5453 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5458 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5459 lt_cv_file_magic_cmd=/usr/bin/file
5460 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5464 lt_cv_deplibs_check_method=pass_all
5468 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5469 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5471 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5475 osf3* | osf4* | osf5*)
5476 lt_cv_deplibs_check_method=pass_all
5480 lt_cv_deplibs_check_method=pass_all
5484 lt_cv_deplibs_check_method=pass_all
5487 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5488 lt_cv_deplibs_check_method=pass_all
5492 case $host_vendor in
5494 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]'
5495 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5498 lt_cv_deplibs_check_method=pass_all
5501 lt_cv_file_magic_cmd='/bin/file'
5502 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5505 lt_cv_file_magic_cmd='/bin/file'
5506 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5507 lt_cv_file_magic_test_file=/lib/libc.so
5510 lt_cv_deplibs_check_method=pass_all
5513 lt_cv_deplibs_check_method=pass_all
5519 lt_cv_deplibs_check_method=pass_all
5522 lt_cv_deplibs_check_method=pass_all
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5528 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5532 if test "$build" = "$host"; then
5535 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5538 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5544 file_magic_cmd=$lt_cv_file_magic_cmd
5545 deplibs_check_method=$lt_cv_deplibs_check_method
5546 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5569 if test -n "$ac_tool_prefix"; then
5570 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5571 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573 $as_echo_n "checking for $ac_word... " >&6; }
5574 if ${ac_cv_prog_DLLTOOL+:} false; then :
5575 $as_echo_n "(cached) " >&6
5577 if test -n "$DLLTOOL"; then
5578 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 test -z "$as_dir" && as_dir=.
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5597 DLLTOOL=$ac_cv_prog_DLLTOOL
5598 if test -n "$DLLTOOL"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5600 $as_echo "$DLLTOOL" >&6; }
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5608 if test -z "$ac_cv_prog_DLLTOOL"; then
5609 ac_ct_DLLTOOL=$DLLTOOL
5610 # Extract the first word of "dlltool", so it can be a program name with args.
5611 set dummy dlltool; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5615 $as_echo_n "(cached) " >&6
5617 if test -n "$ac_ct_DLLTOOL"; then
5618 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5638 if test -n "$ac_ct_DLLTOOL"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5640 $as_echo "$ac_ct_DLLTOOL" >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5646 if test "x$ac_ct_DLLTOOL" = x; then
5649 case $cross_compiling:$ac_tool_warned in
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5653 ac_tool_warned=yes ;;
5655 DLLTOOL=$ac_ct_DLLTOOL
5658 DLLTOOL="$ac_cv_prog_DLLTOOL"
5661 test -z "$DLLTOOL" && DLLTOOL=dlltool
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5670 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5671 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5672 $as_echo_n "(cached) " >&6
5674 lt_cv_sharedlib_from_linklib_cmd='unknown'
5677 cygwin* | mingw* | pw32* | cegcc*)
5678 # two different shell functions defined in ltmain.sh;
5679 # decide which one to use based on capabilities of $DLLTOOL
5680 case `$DLLTOOL --help 2>&1` in
5681 *--identify-strict*)
5682 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5685 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5690 # fallback: assume linklib IS sharedlib
5691 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5697 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5698 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5699 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5708 if test -n "$ac_tool_prefix"; then
5711 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5712 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_AR+:} false; then :
5716 $as_echo_n "(cached) " >&6
5718 if test -n "$AR"; then
5719 ac_cv_prog_AR="$AR" # Let the user override the test.
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 if test -n "$AR"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5741 $as_echo "$AR" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5748 test -n "$AR" && break
5751 if test -z "$AR"; then
5755 # Extract the first word of "$ac_prog", so it can be a program name with args.
5756 set dummy $ac_prog; ac_word=$2
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5758 $as_echo_n "checking for $ac_word... " >&6; }
5759 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5760 $as_echo_n "(cached) " >&6
5762 if test -n "$ac_ct_AR"; then
5763 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 test -z "$as_dir" && as_dir=.
5770 for ac_exec_ext in '' $ac_executable_extensions; do
5771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5772 ac_cv_prog_ac_ct_AR="$ac_prog"
5773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5783 if test -n "$ac_ct_AR"; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5785 $as_echo "$ac_ct_AR" >&6; }
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5792 test -n "$ac_ct_AR" && break
5795 if test "x$ac_ct_AR" = x; then
5798 case $cross_compiling:$ac_tool_warned in
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5802 ac_tool_warned=yes ;;
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5822 $as_echo_n "checking for archiver @FILE support... " >&6; }
5823 if ${lt_cv_ar_at_file+:} false; then :
5824 $as_echo_n "(cached) " >&6
5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5838 if ac_fn_c_try_compile "$LINENO"; then :
5839 echo conftest.$ac_objext > conftest.lst
5840 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5841 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5842 (eval $lt_ar_try) 2>&5
5844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5845 test $ac_status = 0; }
5846 if test 0 -eq "$ac_status"; then
5847 # Ensure the archiver fails upon bogus file names.
5848 rm -f conftest.$ac_objext libconftest.a
5849 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5850 (eval $lt_ar_try) 2>&5
5852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5853 test $ac_status = 0; }
5854 if test 0 -ne "$ac_status"; then
5858 rm -f conftest.* libconftest.a
5861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5865 $as_echo "$lt_cv_ar_at_file" >&6; }
5867 if test no = "$lt_cv_ar_at_file"; then
5870 archiver_list_spec=$lt_cv_ar_at_file
5879 if test -n "$ac_tool_prefix"; then
5880 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5881 set dummy ${ac_tool_prefix}strip; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_STRIP+:} false; then :
5885 $as_echo_n "(cached) " >&6
5887 if test -n "$STRIP"; then
5888 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 STRIP=$ac_cv_prog_STRIP
5908 if test -n "$STRIP"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5910 $as_echo "$STRIP" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5918 if test -z "$ac_cv_prog_STRIP"; then
5920 # Extract the first word of "strip", so it can be a program name with args.
5921 set dummy strip; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5925 $as_echo_n "(cached) " >&6
5927 if test -n "$ac_ct_STRIP"; then
5928 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_ac_ct_STRIP="strip"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5948 if test -n "$ac_ct_STRIP"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5950 $as_echo "$ac_ct_STRIP" >&6; }
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5956 if test "x$ac_ct_STRIP" = x; then
5959 case $cross_compiling:$ac_tool_warned in
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5963 ac_tool_warned=yes ;;
5968 STRIP="$ac_cv_prog_STRIP"
5971 test -z "$STRIP" && STRIP=:
5978 if test -n "$ac_tool_prefix"; then
5979 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5980 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982 $as_echo_n "checking for $ac_word... " >&6; }
5983 if ${ac_cv_prog_RANLIB+:} false; then :
5984 $as_echo_n "(cached) " >&6
5986 if test -n "$RANLIB"; then
5987 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 test -z "$as_dir" && as_dir=.
5994 for ac_exec_ext in '' $ac_executable_extensions; do
5995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5996 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 RANLIB=$ac_cv_prog_RANLIB
6007 if test -n "$RANLIB"; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6009 $as_echo "$RANLIB" >&6; }
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6017 if test -z "$ac_cv_prog_RANLIB"; then
6018 ac_ct_RANLIB=$RANLIB
6019 # Extract the first word of "ranlib", so it can be a program name with args.
6020 set dummy ranlib; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6024 $as_echo_n "(cached) " >&6
6026 if test -n "$ac_ct_RANLIB"; then
6027 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_ac_ct_RANLIB="ranlib"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6047 if test -n "$ac_ct_RANLIB"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6049 $as_echo "$ac_ct_RANLIB" >&6; }
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6055 if test "x$ac_ct_RANLIB" = x; then
6058 case $cross_compiling:$ac_tool_warned in
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6062 ac_tool_warned=yes ;;
6064 RANLIB=$ac_ct_RANLIB
6067 RANLIB="$ac_cv_prog_RANLIB"
6070 test -z "$RANLIB" && RANLIB=:
6077 # Determine commands to create old-style static archives.
6078 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6079 old_postinstall_cmds='chmod 644 $oldlib'
6080 old_postuninstall_cmds=
6082 if test -n "$RANLIB"; then
6085 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6088 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6091 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6096 lock_old_archive_extraction=yes ;;
6098 lock_old_archive_extraction=no ;;
6139 # If no C compiler was specified, use CC.
6142 # If no C compiler flags were specified, use CFLAGS.
6143 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6145 # Allow CC to be a program name with arguments.
6149 # Check for command to grab the raw symbol name followed by C symbol from nm.
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6151 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6152 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6153 $as_echo_n "(cached) " >&6
6156 # These are sane defaults that work on at least a few old systems.
6157 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6159 # Character class describing NM global symbol codes.
6160 symcode='[BCDEGRST]'
6162 # Regexp to match symbols that can be accessed directly from C.
6163 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6165 # Define system-specific variables.
6170 cygwin* | mingw* | pw32* | cegcc*)
6171 symcode='[ABCDGISTW]'
6174 if test ia64 = "$host_cpu"; then
6175 symcode='[ABCDEGRST]'
6179 symcode='[BCDEGRST]'
6182 symcode='[BCDEGQRST]'
6193 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6201 # If we're using GNU nm, then use its standard symbol codes.
6202 case `$NM -V 2>&1` in
6203 *GNU* | *'with BFD'*)
6204 symcode='[ABCDGIRSTW]' ;;
6207 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6208 # Gets list of data symbols to import.
6209 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6210 # Adjust the below global symbol transforms to fixup imported variables.
6211 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6212 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6213 lt_c_name_lib_hook="\
6214 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6215 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6217 # Disable hooks by default.
6218 lt_cv_sys_global_symbol_to_import=
6224 # Transform an extracted symbol line into a proper C declaration.
6225 # Some systems (esp. on ia64) link data and code symbols differently,
6226 # so use this general approach.
6227 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6229 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6230 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6232 # Transform an extracted symbol line into symbol name and symbol address
6233 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6235 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6236 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6238 # Transform an extracted symbol line into symbol name with lib prefix and
6240 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6241 $lt_c_name_lib_hook\
6242 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6243 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6244 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6246 # Handle CRLF in mingw tool chain
6250 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6254 # Try without a prefix underscore, then with it.
6255 for ac_symprfx in "" "_"; do
6257 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6258 symxfrm="\\1 $ac_symprfx\\2 \\2"
6260 # Write the raw and C identifiers.
6261 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6262 # Fake it for dumpbin and say T for any non-static function,
6263 # D for any global variable and I for any imported variable.
6264 # Also find C++ and __fastcall symbols from MSVC++,
6265 # which start with @ or ?.
6266 lt_cv_sys_global_symbol_pipe="$AWK '"\
6267 " {last_section=section; section=\$ 3};"\
6268 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6269 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6270 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6271 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6272 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6273 " \$ 0!~/External *\|/{next};"\
6274 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6275 " {if(hide[section]) next};"\
6276 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6277 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6278 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6279 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6280 " ' prfx=^$ac_symprfx"
6282 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6284 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6286 # Check to see that the pipe works correctly.
6290 cat > conftest.$ac_ext <<_LT_EOF
6295 void nm_test_func(void);
6296 void nm_test_func(void){}
6300 int main(){nm_test_var='a';nm_test_func();return(0);}
6303 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6304 (eval $ac_compile) 2>&5
6306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6307 test $ac_status = 0; }; then
6308 # Now try to grab the symbols.
6310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6311 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6314 test $ac_status = 0; } && test -s "$nlist"; then
6315 # Try sorting and uniquifying the output.
6316 if sort "$nlist" | uniq > "$nlist"T; then
6317 mv -f "$nlist"T "$nlist"
6322 # Make sure that we snagged all the symbols we need.
6323 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6324 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6325 cat <<_LT_EOF > conftest.$ac_ext
6326 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6327 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6328 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6329 relocations are performed -- see ld's documentation on pseudo-relocs. */
6330 # define LT_DLSYM_CONST
6331 #elif defined __osf__
6332 /* This system does not cope well with relocations in const data. */
6333 # define LT_DLSYM_CONST
6335 # define LT_DLSYM_CONST const
6343 # Now generate the symbol file.
6344 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6346 cat <<_LT_EOF >> conftest.$ac_ext
6348 /* The mapping between symbol names and symbols. */
6349 LT_DLSYM_CONST struct {
6353 lt__PROGRAM__LTX_preloaded_symbols[] =
6355 { "@PROGRAM@", (void *) 0 },
6357 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6358 cat <<\_LT_EOF >> conftest.$ac_ext
6362 /* This works around a problem in FreeBSD linker */
6363 #ifdef FREEBSD_WORKAROUND
6364 static const void *lt_preloaded_setup() {
6365 return lt__PROGRAM__LTX_preloaded_symbols;
6373 # Now try linking the two files.
6374 mv conftest.$ac_objext conftstm.$ac_objext
6375 lt_globsym_save_LIBS=$LIBS
6376 lt_globsym_save_CFLAGS=$CFLAGS
6377 LIBS=conftstm.$ac_objext
6378 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6380 (eval $ac_link) 2>&5
6382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6383 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6386 LIBS=$lt_globsym_save_LIBS
6387 CFLAGS=$lt_globsym_save_CFLAGS
6389 echo "cannot find nm_test_func in $nlist" >&5
6392 echo "cannot find nm_test_var in $nlist" >&5
6395 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6398 echo "$progname: failed program was:" >&5
6399 cat conftest.$ac_ext >&5
6401 rm -rf conftest* conftst*
6403 # Do not use the global_symbol_pipe unless it works.
6404 if test yes = "$pipe_works"; then
6407 lt_cv_sys_global_symbol_pipe=
6413 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6414 lt_cv_sys_global_symbol_to_cdecl=
6416 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6418 $as_echo "failed" >&6; }
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6421 $as_echo "ok" >&6; }
6424 # Response file support.
6425 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6426 nm_file_list_spec='@'
6427 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6428 nm_file_list_spec='@'
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6468 $as_echo_n "checking for sysroot... " >&6; }
6470 # Check whether --with-sysroot was given.
6471 if test "${with_sysroot+set}" = set; then :
6472 withval=$with_sysroot;
6479 case $with_sysroot in #(
6481 if test yes = "$GCC"; then
6482 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6486 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6492 $as_echo "$with_sysroot" >&6; }
6493 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6498 $as_echo "${lt_sysroot:-no}" >&6; }
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6505 $as_echo_n "checking for a working dd... " >&6; }
6506 if ${ac_cv_path_lt_DD+:} false; then :
6507 $as_echo_n "(cached) " >&6
6509 printf 0123456789abcdef0123456789abcdef >conftest.i
6510 cat conftest.i conftest.i >conftest2.i
6512 if test -z "$lt_DD"; then
6513 ac_path_lt_DD_found=false
6514 # Loop through the user's path and test for each of PROGNAME-LIST
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 test -z "$as_dir" && as_dir=.
6520 for ac_prog in dd; do
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6523 as_fn_executable_p "$ac_path_lt_DD" || continue
6524 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6525 cmp -s conftest.i conftest.out \
6526 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6528 $ac_path_lt_DD_found && break 3
6533 if test -z "$ac_cv_path_lt_DD"; then
6537 ac_cv_path_lt_DD=$lt_DD
6540 rm -f conftest.i conftest2.i conftest.out
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6543 $as_echo "$ac_cv_path_lt_DD" >&6; }
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6547 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6548 if ${lt_cv_truncate_bin+:} false; then :
6549 $as_echo_n "(cached) " >&6
6551 printf 0123456789abcdef0123456789abcdef >conftest.i
6552 cat conftest.i conftest.i >conftest2.i
6554 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6555 cmp -s conftest.i conftest.out \
6556 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6558 rm -f conftest.i conftest2.i conftest.out
6559 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6562 $as_echo "$lt_cv_truncate_bin" >&6; }
6570 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6573 for cc_temp in $*""; do
6575 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6576 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6581 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6584 # Check whether --enable-libtool-lock was given.
6585 if test "${enable_libtool_lock+set}" = set; then :
6586 enableval=$enable_libtool_lock;
6589 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6591 # Some flags need to be propagated to the compiler or linker for good
6595 # Find out what ABI is being produced by ac_compile, and set mode
6596 # options accordingly.
6597 echo 'int i;' > conftest.$ac_ext
6598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6599 (eval $ac_compile) 2>&5
6601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6602 test $ac_status = 0; }; then
6603 case `/usr/bin/file conftest.$ac_objext` in
6615 # Find out what ABI is being produced by ac_compile, and set linker
6616 # options accordingly.
6617 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6619 (eval $ac_compile) 2>&5
6621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6622 test $ac_status = 0; }; then
6623 if test yes = "$lt_cv_prog_gnu_ld"; then
6624 case `/usr/bin/file conftest.$ac_objext` in
6626 LD="${LD-ld} -melf32bsmip"
6629 LD="${LD-ld} -melf32bmipn32"
6632 LD="${LD-ld} -melf64bmip"
6636 case `/usr/bin/file conftest.$ac_objext` in
6653 # Find out what ABI is being produced by ac_compile, and set linker
6654 # options accordingly.
6655 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6657 (eval $ac_compile) 2>&5
6659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6660 test $ac_status = 0; }; then
6662 case `/usr/bin/file conftest.$ac_objext` in
6670 case `/usr/bin/file conftest.$ac_objext` in
6672 emul="${emul}btsmip"
6675 emul="${emul}ltsmip"
6678 case `/usr/bin/file conftest.$ac_objext` in
6683 LD="${LD-ld} -m $emul"
6688 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6689 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6690 # Find out what ABI is being produced by ac_compile, and set linker
6691 # options accordingly. Note that the listed cases only cover the
6692 # situations where additional linker options are needed (such as when
6693 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6694 # vice versa); the common cases where no linker options are needed do
6695 # not appear in the list.
6696 echo 'int i;' > conftest.$ac_ext
6697 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6698 (eval $ac_compile) 2>&5
6700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6701 test $ac_status = 0; }; then
6702 case `/usr/bin/file conftest.o` in
6705 x86_64-*kfreebsd*-gnu)
6706 LD="${LD-ld} -m elf_i386_fbsd"
6709 case `/usr/bin/file conftest.o` in
6711 LD="${LD-ld} -m elf32_x86_64"
6714 LD="${LD-ld} -m elf_i386"
6718 powerpc64le-*linux*)
6719 LD="${LD-ld} -m elf32lppclinux"
6722 LD="${LD-ld} -m elf32ppclinux"
6725 LD="${LD-ld} -m elf_s390"
6728 LD="${LD-ld} -m elf32_sparc"
6734 x86_64-*kfreebsd*-gnu)
6735 LD="${LD-ld} -m elf_x86_64_fbsd"
6738 LD="${LD-ld} -m elf_x86_64"
6741 LD="${LD-ld} -m elf64lppc"
6744 LD="${LD-ld} -m elf64ppc"
6746 s390*-*linux*|s390*-*tpf*)
6747 LD="${LD-ld} -m elf64_s390"
6750 LD="${LD-ld} -m elf64_sparc"
6760 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6762 CFLAGS="$CFLAGS -belf"
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6764 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6765 if ${lt_cv_cc_needs_belf+:} false; then :
6766 $as_echo_n "(cached) " >&6
6769 ac_cpp='$CPP $CPPFLAGS'
6770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6775 /* end confdefs.h. */
6785 if ac_fn_c_try_link "$LINENO"; then :
6786 lt_cv_cc_needs_belf=yes
6788 lt_cv_cc_needs_belf=no
6790 rm -f core conftest.err conftest.$ac_objext \
6791 conftest$ac_exeext conftest.$ac_ext
6793 ac_cpp='$CPP $CPPFLAGS'
6794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6800 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6801 if test yes != "$lt_cv_cc_needs_belf"; then
6802 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6807 # Find out what ABI is being produced by ac_compile, and set linker
6808 # options accordingly.
6809 echo 'int i;' > conftest.$ac_ext
6810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6811 (eval $ac_compile) 2>&5
6813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6814 test $ac_status = 0; }; then
6815 case `/usr/bin/file conftest.o` in
6817 case $lt_cv_prog_gnu_ld in
6820 i?86-*-solaris*|x86_64-*-solaris*)
6821 LD="${LD-ld} -m elf_x86_64"
6824 LD="${LD-ld} -m elf64_sparc"
6827 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6828 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6833 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6845 need_locks=$enable_libtool_lock
6847 if test -n "$ac_tool_prefix"; then
6848 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6849 set dummy ${ac_tool_prefix}mt; ac_word=$2
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6851 $as_echo_n "checking for $ac_word... " >&6; }
6852 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6853 $as_echo_n "(cached) " >&6
6855 if test -n "$MANIFEST_TOOL"; then
6856 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6862 test -z "$as_dir" && as_dir=.
6863 for ac_exec_ext in '' $ac_executable_extensions; do
6864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6865 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6875 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6876 if test -n "$MANIFEST_TOOL"; then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6878 $as_echo "$MANIFEST_TOOL" >&6; }
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6881 $as_echo "no" >&6; }
6886 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6887 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6888 # Extract the first word of "mt", so it can be a program name with args.
6889 set dummy mt; ac_word=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 $as_echo_n "checking for $ac_word... " >&6; }
6892 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6893 $as_echo_n "(cached) " >&6
6895 if test -n "$ac_ct_MANIFEST_TOOL"; then
6896 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 test -z "$as_dir" && as_dir=.
6903 for ac_exec_ext in '' $ac_executable_extensions; do
6904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6905 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6915 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6916 if test -n "$ac_ct_MANIFEST_TOOL"; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6918 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921 $as_echo "no" >&6; }
6924 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6927 case $cross_compiling:$ac_tool_warned in
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6931 ac_tool_warned=yes ;;
6933 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6936 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6939 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6941 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6942 if ${lt_cv_path_mainfest_tool+:} false; then :
6943 $as_echo_n "(cached) " >&6
6945 lt_cv_path_mainfest_tool=no
6946 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6947 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6948 cat conftest.err >&5
6949 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6950 lt_cv_path_mainfest_tool=yes
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6955 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6956 if test yes != "$lt_cv_path_mainfest_tool"; then
6966 rhapsody* | darwin*)
6967 if test -n "$ac_tool_prefix"; then
6968 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6969 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6971 $as_echo_n "checking for $ac_word... " >&6; }
6972 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6973 $as_echo_n "(cached) " >&6
6975 if test -n "$DSYMUTIL"; then
6976 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 test -z "$as_dir" && as_dir=.
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6985 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6996 if test -n "$DSYMUTIL"; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6998 $as_echo "$DSYMUTIL" >&6; }
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7001 $as_echo "no" >&6; }
7006 if test -z "$ac_cv_prog_DSYMUTIL"; then
7007 ac_ct_DSYMUTIL=$DSYMUTIL
7008 # Extract the first word of "dsymutil", so it can be a program name with args.
7009 set dummy dsymutil; ac_word=$2
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7011 $as_echo_n "checking for $ac_word... " >&6; }
7012 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7013 $as_echo_n "(cached) " >&6
7015 if test -n "$ac_ct_DSYMUTIL"; then
7016 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7022 test -z "$as_dir" && as_dir=.
7023 for ac_exec_ext in '' $ac_executable_extensions; do
7024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7025 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7036 if test -n "$ac_ct_DSYMUTIL"; then
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7038 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7041 $as_echo "no" >&6; }
7044 if test "x$ac_ct_DSYMUTIL" = x; then
7047 case $cross_compiling:$ac_tool_warned in
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7051 ac_tool_warned=yes ;;
7053 DSYMUTIL=$ac_ct_DSYMUTIL
7056 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7059 if test -n "$ac_tool_prefix"; then
7060 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7061 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063 $as_echo_n "checking for $ac_word... " >&6; }
7064 if ${ac_cv_prog_NMEDIT+:} false; then :
7065 $as_echo_n "(cached) " >&6
7067 if test -n "$NMEDIT"; then
7068 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087 NMEDIT=$ac_cv_prog_NMEDIT
7088 if test -n "$NMEDIT"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7090 $as_echo "$NMEDIT" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7098 if test -z "$ac_cv_prog_NMEDIT"; then
7099 ac_ct_NMEDIT=$NMEDIT
7100 # Extract the first word of "nmedit", so it can be a program name with args.
7101 set dummy nmedit; ac_word=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7105 $as_echo_n "(cached) " >&6
7107 if test -n "$ac_ct_NMEDIT"; then
7108 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7127 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7128 if test -n "$ac_ct_NMEDIT"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7130 $as_echo "$ac_ct_NMEDIT" >&6; }
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7136 if test "x$ac_ct_NMEDIT" = x; then
7139 case $cross_compiling:$ac_tool_warned in
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7143 ac_tool_warned=yes ;;
7145 NMEDIT=$ac_ct_NMEDIT
7148 NMEDIT="$ac_cv_prog_NMEDIT"
7151 if test -n "$ac_tool_prefix"; then
7152 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7153 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 $as_echo_n "checking for $ac_word... " >&6; }
7156 if ${ac_cv_prog_LIPO+:} false; then :
7157 $as_echo_n "(cached) " >&6
7159 if test -n "$LIPO"; then
7160 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 test -z "$as_dir" && as_dir=.
7167 for ac_exec_ext in '' $ac_executable_extensions; do
7168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7169 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7179 LIPO=$ac_cv_prog_LIPO
7180 if test -n "$LIPO"; then
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7182 $as_echo "$LIPO" >&6; }
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7185 $as_echo "no" >&6; }
7190 if test -z "$ac_cv_prog_LIPO"; then
7192 # Extract the first word of "lipo", so it can be a program name with args.
7193 set dummy lipo; ac_word=$2
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7195 $as_echo_n "checking for $ac_word... " >&6; }
7196 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7197 $as_echo_n "(cached) " >&6
7199 if test -n "$ac_ct_LIPO"; then
7200 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7206 test -z "$as_dir" && as_dir=.
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_ac_ct_LIPO="lipo"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7219 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7220 if test -n "$ac_ct_LIPO"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7222 $as_echo "$ac_ct_LIPO" >&6; }
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7228 if test "x$ac_ct_LIPO" = x; then
7231 case $cross_compiling:$ac_tool_warned in
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7235 ac_tool_warned=yes ;;
7240 LIPO="$ac_cv_prog_LIPO"
7243 if test -n "$ac_tool_prefix"; then
7244 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7245 set dummy ${ac_tool_prefix}otool; ac_word=$2
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7247 $as_echo_n "checking for $ac_word... " >&6; }
7248 if ${ac_cv_prog_OTOOL+:} false; then :
7249 $as_echo_n "(cached) " >&6
7251 if test -n "$OTOOL"; then
7252 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7261 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7271 OTOOL=$ac_cv_prog_OTOOL
7272 if test -n "$OTOOL"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7274 $as_echo "$OTOOL" >&6; }
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 $as_echo "no" >&6; }
7282 if test -z "$ac_cv_prog_OTOOL"; then
7284 # Extract the first word of "otool", so it can be a program name with args.
7285 set dummy otool; ac_word=$2
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287 $as_echo_n "checking for $ac_word... " >&6; }
7288 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7289 $as_echo_n "(cached) " >&6
7291 if test -n "$ac_ct_OTOOL"; then
7292 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7301 ac_cv_prog_ac_ct_OTOOL="otool"
7302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7311 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7312 if test -n "$ac_ct_OTOOL"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7314 $as_echo "$ac_ct_OTOOL" >&6; }
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7320 if test "x$ac_ct_OTOOL" = x; then
7323 case $cross_compiling:$ac_tool_warned in
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7327 ac_tool_warned=yes ;;
7332 OTOOL="$ac_cv_prog_OTOOL"
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if ${ac_cv_prog_OTOOL64+:} false; then :
7341 $as_echo_n "(cached) " >&6
7343 if test -n "$OTOOL64"; then
7344 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7353 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7363 OTOOL64=$ac_cv_prog_OTOOL64
7364 if test -n "$OTOOL64"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7366 $as_echo "$OTOOL64" >&6; }
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7374 if test -z "$ac_cv_prog_OTOOL64"; then
7375 ac_ct_OTOOL64=$OTOOL64
7376 # Extract the first word of "otool64", so it can be a program name with args.
7377 set dummy otool64; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7381 $as_echo_n "(cached) " >&6
7383 if test -n "$ac_ct_OTOOL64"; then
7384 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7393 ac_cv_prog_ac_ct_OTOOL64="otool64"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7403 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7404 if test -n "$ac_ct_OTOOL64"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7406 $as_echo "$ac_ct_OTOOL64" >&6; }
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7412 if test "x$ac_ct_OTOOL64" = x; then
7415 case $cross_compiling:$ac_tool_warned in
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7421 OTOOL64=$ac_ct_OTOOL64
7424 OTOOL64="$ac_cv_prog_OTOOL64"
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7454 $as_echo_n "checking for -single_module linker flag... " >&6; }
7455 if ${lt_cv_apple_cc_single_mod+:} false; then :
7456 $as_echo_n "(cached) " >&6
7458 lt_cv_apple_cc_single_mod=no
7459 if test -z "$LT_MULTI_MODULE"; then
7460 # By default we will add the -single_module flag. You can override
7461 # by either setting the environment variable LT_MULTI_MODULE
7462 # non-empty at configure time, or by adding -multi_module to the
7464 rm -rf libconftest.dylib*
7465 echo "int foo(void){return 1;}" > conftest.c
7466 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7467 -dynamiclib -Wl,-single_module conftest.c" >&5
7468 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7469 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7471 # If there is a non-empty error log, and "single_module"
7472 # appears in it, assume the flag caused a linker warning
7473 if test -s conftest.err && $GREP single_module conftest.err; then
7474 cat conftest.err >&5
7475 # Otherwise, if the output was created with a 0 exit code from
7476 # the compiler, it worked.
7477 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7478 lt_cv_apple_cc_single_mod=yes
7480 cat conftest.err >&5
7482 rm -rf libconftest.dylib*
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7487 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7490 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7491 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7492 $as_echo_n "(cached) " >&6
7494 lt_cv_ld_exported_symbols_list=no
7495 save_LDFLAGS=$LDFLAGS
7496 echo "_main" > conftest.sym
7497 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7499 /* end confdefs.h. */
7509 if ac_fn_c_try_link "$LINENO"; then :
7510 lt_cv_ld_exported_symbols_list=yes
7512 lt_cv_ld_exported_symbols_list=no
7514 rm -f core conftest.err conftest.$ac_objext \
7515 conftest$ac_exeext conftest.$ac_ext
7516 LDFLAGS=$save_LDFLAGS
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7520 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7523 $as_echo_n "checking for -force_load linker flag... " >&6; }
7524 if ${lt_cv_ld_force_load+:} false; then :
7525 $as_echo_n "(cached) " >&6
7527 lt_cv_ld_force_load=no
7528 cat > conftest.c << _LT_EOF
7529 int forced_loaded() { return 2;}
7531 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7532 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7533 echo "$AR cru libconftest.a conftest.o" >&5
7534 $AR cru libconftest.a conftest.o 2>&5
7535 echo "$RANLIB libconftest.a" >&5
7536 $RANLIB libconftest.a 2>&5
7537 cat > conftest.c << _LT_EOF
7538 int main() { return 0;}
7540 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7541 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7543 if test -s conftest.err && $GREP force_load conftest.err; then
7544 cat conftest.err >&5
7545 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7546 lt_cv_ld_force_load=yes
7548 cat conftest.err >&5
7550 rm -f conftest.err libconftest.a conftest conftest.c
7551 rm -rf conftest.dSYM
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7555 $as_echo "$lt_cv_ld_force_load" >&6; }
7557 rhapsody* | darwin1.[012])
7558 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7560 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7561 darwin*) # darwin 5.x on
7562 # if running on 10.5 or later, the deployment target defaults
7563 # to the OS version, if on x86, and 10.4, the deployment
7564 # target defaults to 10.4. Don't you love it?
7565 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7566 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7567 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7569 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7571 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7575 if test yes = "$lt_cv_apple_cc_single_mod"; then
7576 _lt_dar_single_mod='$single_module'
7578 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7579 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7581 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7583 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7584 _lt_dsymutil='~$DSYMUTIL $lib || :'
7591 # func_munge_path_list VARIABLE PATH
7592 # -----------------------------------
7593 # VARIABLE is name of variable containing _space_ separated list of
7594 # directories to be munged by the contents of PATH, which is string
7597 # string "DIR[ DIR]" will be prepended to VARIABLE
7599 # string "DIR[ DIR]" will be appended to VARIABLE
7600 # "DIRP[:DIRP]::[DIRA:]DIRA"
7601 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7602 # "DIRA[ DIRA]" will be appended to VARIABLE
7604 # VARIABLE will be replaced by "DIR[ DIR]"
7605 func_munge_path_list ()
7611 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7614 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7617 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7618 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7621 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7627 ac_cpp='$CPP $CPPFLAGS'
7628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7632 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7633 # On Suns, sometimes $CPP names a directory.
7634 if test -n "$CPP" && test -d "$CPP"; then
7637 if test -z "$CPP"; then
7638 if ${ac_cv_prog_CPP+:} false; then :
7639 $as_echo_n "(cached) " >&6
7641 # Double quotes because CPP needs to be expanded
7642 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7645 for ac_c_preproc_warn_flag in '' yes
7647 # Use a header file that comes with gcc, so configuring glibc
7648 # with a fresh cross-compiler works.
7649 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7650 # <limits.h> exists even on freestanding compilers.
7651 # On the NeXT, cc -E runs the code through the compiler's parser,
7652 # not just through cpp. "Syntax error" is here to catch this case.
7653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7654 /* end confdefs.h. */
7656 # include <limits.h>
7658 # include <assert.h>
7662 if ac_fn_c_try_cpp "$LINENO"; then :
7665 # Broken: fails on valid input.
7668 rm -f conftest.err conftest.i conftest.$ac_ext
7670 # OK, works on sane cases. Now check whether nonexistent headers
7671 # can be detected and how.
7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 #include <ac_nonexistent.h>
7676 if ac_fn_c_try_cpp "$LINENO"; then :
7677 # Broken: success on invalid input.
7680 # Passes both tests.
7684 rm -f conftest.err conftest.i conftest.$ac_ext
7687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7688 rm -f conftest.i conftest.err conftest.$ac_ext
7689 if $ac_preproc_ok; then :
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7702 $as_echo "$CPP" >&6; }
7704 for ac_c_preproc_warn_flag in '' yes
7706 # Use a header file that comes with gcc, so configuring glibc
7707 # with a fresh cross-compiler works.
7708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7709 # <limits.h> exists even on freestanding compilers.
7710 # On the NeXT, cc -E runs the code through the compiler's parser,
7711 # not just through cpp. "Syntax error" is here to catch this case.
7712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7713 /* end confdefs.h. */
7715 # include <limits.h>
7717 # include <assert.h>
7721 if ac_fn_c_try_cpp "$LINENO"; then :
7724 # Broken: fails on valid input.
7727 rm -f conftest.err conftest.i conftest.$ac_ext
7729 # OK, works on sane cases. Now check whether nonexistent headers
7730 # can be detected and how.
7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7733 #include <ac_nonexistent.h>
7735 if ac_fn_c_try_cpp "$LINENO"; then :
7736 # Broken: success on invalid input.
7739 # Passes both tests.
7743 rm -f conftest.err conftest.i conftest.$ac_ext
7746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7747 rm -f conftest.i conftest.err conftest.$ac_ext
7748 if $ac_preproc_ok; then :
7751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7753 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7754 See \`config.log' for more details" "$LINENO" 5; }
7758 ac_cpp='$CPP $CPPFLAGS'
7759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7765 $as_echo_n "checking for ANSI C header files... " >&6; }
7766 if ${ac_cv_header_stdc+:} false; then :
7767 $as_echo_n "(cached) " >&6
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7784 if ac_fn_c_try_compile "$LINENO"; then :
7785 ac_cv_header_stdc=yes
7787 ac_cv_header_stdc=no
7789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7791 if test $ac_cv_header_stdc = yes; then
7792 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7799 $EGREP "memchr" >/dev/null 2>&1; then :
7802 ac_cv_header_stdc=no
7808 if test $ac_cv_header_stdc = yes; then
7809 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7811 /* end confdefs.h. */
7815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7816 $EGREP "free" >/dev/null 2>&1; then :
7819 ac_cv_header_stdc=no
7825 if test $ac_cv_header_stdc = yes; then
7826 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7827 if test "$cross_compiling" = yes; then :
7830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h. */
7834 #if ((' ' & 0x0FF) == 0x020)
7835 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7836 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7838 # define ISLOWER(c) \
7839 (('a' <= (c) && (c) <= 'i') \
7840 || ('j' <= (c) && (c) <= 'r') \
7841 || ('s' <= (c) && (c) <= 'z'))
7842 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7845 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7850 for (i = 0; i < 256; i++)
7851 if (XOR (islower (i), ISLOWER (i))
7852 || toupper (i) != TOUPPER (i))
7857 if ac_fn_c_try_run "$LINENO"; then :
7860 ac_cv_header_stdc=no
7862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7863 conftest.$ac_objext conftest.beam conftest.$ac_ext
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7869 $as_echo "$ac_cv_header_stdc" >&6; }
7870 if test $ac_cv_header_stdc = yes; then
7872 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7876 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7877 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7878 inttypes.h stdint.h unistd.h
7880 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7881 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7883 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7884 cat >>confdefs.h <<_ACEOF
7885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7893 for ac_header in dlfcn.h
7895 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7897 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7898 cat >>confdefs.h <<_ACEOF
7899 #define HAVE_DLFCN_H 1
7911 enable_win32_dll=yes
7914 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7915 if test -n "$ac_tool_prefix"; then
7916 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7917 set dummy ${ac_tool_prefix}as; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_AS+:} false; then :
7921 $as_echo_n "(cached) " >&6
7923 if test -n "$AS"; then
7924 ac_cv_prog_AS="$AS" # Let the user override the test.
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_AS="${ac_tool_prefix}as"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 if test -n "$AS"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7946 $as_echo "$AS" >&6; }
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7954 if test -z "$ac_cv_prog_AS"; then
7956 # Extract the first word of "as", so it can be a program name with args.
7957 set dummy as; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7961 $as_echo_n "(cached) " >&6
7963 if test -n "$ac_ct_AS"; then
7964 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_ac_ct_AS="as"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7984 if test -n "$ac_ct_AS"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7986 $as_echo "$ac_ct_AS" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7992 if test "x$ac_ct_AS" = x; then
7995 case $cross_compiling:$ac_tool_warned in
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7999 ac_tool_warned=yes ;;
8007 if test -n "$ac_tool_prefix"; then
8008 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8009 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_DLLTOOL+:} false; then :
8013 $as_echo_n "(cached) " >&6
8015 if test -n "$DLLTOOL"; then
8016 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035 DLLTOOL=$ac_cv_prog_DLLTOOL
8036 if test -n "$DLLTOOL"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8038 $as_echo "$DLLTOOL" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8046 if test -z "$ac_cv_prog_DLLTOOL"; then
8047 ac_ct_DLLTOOL=$DLLTOOL
8048 # Extract the first word of "dlltool", so it can be a program name with args.
8049 set dummy dlltool; ac_word=$2
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8051 $as_echo_n "checking for $ac_word... " >&6; }
8052 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8053 $as_echo_n "(cached) " >&6
8055 if test -n "$ac_ct_DLLTOOL"; then
8056 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8075 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8076 if test -n "$ac_ct_DLLTOOL"; then
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8078 $as_echo "$ac_ct_DLLTOOL" >&6; }
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8081 $as_echo "no" >&6; }
8084 if test "x$ac_ct_DLLTOOL" = x; then
8087 case $cross_compiling:$ac_tool_warned in
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8091 ac_tool_warned=yes ;;
8093 DLLTOOL=$ac_ct_DLLTOOL
8096 DLLTOOL="$ac_cv_prog_DLLTOOL"
8099 if test -n "$ac_tool_prefix"; then
8100 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8101 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_prog_OBJDUMP+:} false; then :
8105 $as_echo_n "(cached) " >&6
8107 if test -n "$OBJDUMP"; then
8108 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8127 OBJDUMP=$ac_cv_prog_OBJDUMP
8128 if test -n "$OBJDUMP"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8130 $as_echo "$OBJDUMP" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8138 if test -z "$ac_cv_prog_OBJDUMP"; then
8139 ac_ct_OBJDUMP=$OBJDUMP
8140 # Extract the first word of "objdump", so it can be a program name with args.
8141 set dummy objdump; ac_word=$2
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8143 $as_echo_n "checking for $ac_word... " >&6; }
8144 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8145 $as_echo_n "(cached) " >&6
8147 if test -n "$ac_ct_OBJDUMP"; then
8148 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8154 test -z "$as_dir" && as_dir=.
8155 for ac_exec_ext in '' $ac_executable_extensions; do
8156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8157 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8167 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8168 if test -n "$ac_ct_OBJDUMP"; then
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8170 $as_echo "$ac_ct_OBJDUMP" >&6; }
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8173 $as_echo "no" >&6; }
8176 if test "x$ac_ct_OBJDUMP" = x; then
8179 case $cross_compiling:$ac_tool_warned in
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8183 ac_tool_warned=yes ;;
8185 OBJDUMP=$ac_ct_OBJDUMP
8188 OBJDUMP="$ac_cv_prog_OBJDUMP"
8194 test -z "$AS" && AS=as
8200 test -z "$DLLTOOL" && DLLTOOL=dlltool
8206 test -z "$OBJDUMP" && OBJDUMP=objdump
8218 # Check whether --enable-shared was given.
8219 if test "${enable_shared+set}" = set; then :
8220 enableval=$enable_shared; p=${PACKAGE-default}
8222 yes) enable_shared=yes ;;
8223 no) enable_shared=no ;;
8226 # Look at the argument we got. We use all the common list separators.
8227 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8228 for pkg in $enableval; do
8230 if test "X$pkg" = "X$p"; then
8249 # Check whether --enable-static was given.
8250 if test "${enable_static+set}" = set; then :
8251 enableval=$enable_static; p=${PACKAGE-default}
8253 yes) enable_static=yes ;;
8254 no) enable_static=no ;;
8257 # Look at the argument we got. We use all the common list separators.
8258 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8259 for pkg in $enableval; do
8261 if test "X$pkg" = "X$p"; then
8281 # Check whether --with-pic was given.
8282 if test "${with_pic+set}" = set; then :
8283 withval=$with_pic; lt_p=${PACKAGE-default}
8285 yes|no) pic_mode=$withval ;;
8288 # Look at the argument we got. We use all the common list separators.
8289 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8290 for lt_pkg in $withval; do
8292 if test "X$lt_pkg" = "X$lt_p"; then
8310 # Check whether --enable-fast-install was given.
8311 if test "${enable_fast_install+set}" = set; then :
8312 enableval=$enable_fast_install; p=${PACKAGE-default}
8314 yes) enable_fast_install=yes ;;
8315 no) enable_fast_install=no ;;
8317 enable_fast_install=no
8318 # Look at the argument we got. We use all the common list separators.
8319 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8320 for pkg in $enableval; do
8322 if test "X$pkg" = "X$p"; then
8323 enable_fast_install=yes
8330 enable_fast_install=yes
8340 shared_archive_member_spec=
8341 case $host,$enable_shared in
8342 power*-*-aix[5-9]*,yes)
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8344 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8346 # Check whether --with-aix-soname was given.
8347 if test "${with_aix_soname+set}" = set; then :
8348 withval=$with_aix_soname; case $withval in
8352 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8355 lt_cv_with_aix_soname=$with_aix_soname
8357 if ${lt_cv_with_aix_soname+:} false; then :
8358 $as_echo_n "(cached) " >&6
8360 lt_cv_with_aix_soname=aix
8363 with_aix_soname=$lt_cv_with_aix_soname
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8367 $as_echo "$with_aix_soname" >&6; }
8368 if test aix != "$with_aix_soname"; then
8369 # For the AIX way of multilib, we name the shared archive member
8370 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8371 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8372 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8373 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8374 if test 64 = "${OBJECT_MODE-32}"; then
8375 shared_archive_member_spec=shr_64
8377 shared_archive_member_spec=shr
8395 # This can be used to rebuild libtool when needed
8396 LIBTOOL_DEPS=$ltmain
8398 # Always use our own libtool.
8399 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8430 test -z "$LN_S" && LN_S="ln -s"
8445 if test -n "${ZSH_VERSION+set}"; then
8446 setopt NO_GLOB_SUBST
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8450 $as_echo_n "checking for objdir... " >&6; }
8451 if ${lt_cv_objdir+:} false; then :
8452 $as_echo_n "(cached) " >&6
8454 rm -f .libs 2>/dev/null
8455 mkdir .libs 2>/dev/null
8456 if test -d .libs; then
8459 # MS-DOS does not allow filenames that begin with a dot.
8462 rmdir .libs 2>/dev/null
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8465 $as_echo "$lt_cv_objdir" >&6; }
8466 objdir=$lt_cv_objdir
8472 cat >>confdefs.h <<_ACEOF
8473 #define LT_OBJDIR "$lt_cv_objdir/"
8481 # AIX sometimes has problems with the GCC collect2 program. For some
8482 # reason, if we set the COLLECT_NAMES environment variable, the problems
8483 # vanish in a puff of smoke.
8484 if test set != "${COLLECT_NAMES+set}"; then
8486 export COLLECT_NAMES
8493 can_build_shared=yes
8495 # All known linkers require a '.a' archive for static linking (except MSVC,
8496 # which needs '.lib').
8499 with_gnu_ld=$lt_cv_prog_gnu_ld
8504 # Set sane defaults for various variables
8505 test -z "$CC" && CC=cc
8506 test -z "$LTCC" && LTCC=$CC
8507 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8508 test -z "$LD" && LD=ld
8509 test -z "$ac_objext" && ac_objext=o
8511 func_cc_basename $compiler
8512 cc_basename=$func_cc_basename_result
8515 # Only perform the check for file, if the check method requires it
8516 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8517 case $deplibs_check_method in
8519 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8521 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8522 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8523 $as_echo_n "(cached) " >&6
8527 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8530 lt_save_MAGIC_CMD=$MAGIC_CMD
8531 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8532 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8533 for ac_dir in $ac_dummy; do
8535 test -z "$ac_dir" && ac_dir=.
8536 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8537 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8538 if test -n "$file_magic_test_file"; then
8539 case $deplibs_check_method in
8541 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8542 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8543 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8544 $EGREP "$file_magic_regex" > /dev/null; then
8549 *** Warning: the command libtool uses to detect shared libraries,
8550 *** $file_magic_cmd, produces output that libtool cannot recognize.
8551 *** The result is that libtool may fail to recognize shared libraries
8552 *** as such. This will affect the creation of libtool libraries that
8553 *** depend on shared libraries, but programs linked with such libtool
8554 *** libraries will work regardless of this problem. Nevertheless, you
8555 *** may want to report the problem to your system manager and/or to
8556 *** bug-libtool@gnu.org
8566 MAGIC_CMD=$lt_save_MAGIC_CMD
8571 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8572 if test -n "$MAGIC_CMD"; then
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8574 $as_echo "$MAGIC_CMD" >&6; }
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8577 $as_echo "no" >&6; }
8584 if test -z "$lt_cv_path_MAGIC_CMD"; then
8585 if test -n "$ac_tool_prefix"; then
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8587 $as_echo_n "checking for file... " >&6; }
8588 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8589 $as_echo_n "(cached) " >&6
8593 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8596 lt_save_MAGIC_CMD=$MAGIC_CMD
8597 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8598 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8599 for ac_dir in $ac_dummy; do
8601 test -z "$ac_dir" && ac_dir=.
8602 if test -f "$ac_dir/file"; then
8603 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8604 if test -n "$file_magic_test_file"; then
8605 case $deplibs_check_method in
8607 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8608 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8609 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8610 $EGREP "$file_magic_regex" > /dev/null; then
8615 *** Warning: the command libtool uses to detect shared libraries,
8616 *** $file_magic_cmd, produces output that libtool cannot recognize.
8617 *** The result is that libtool may fail to recognize shared libraries
8618 *** as such. This will affect the creation of libtool libraries that
8619 *** depend on shared libraries, but programs linked with such libtool
8620 *** libraries will work regardless of this problem. Nevertheless, you
8621 *** may want to report the problem to your system manager and/or to
8622 *** bug-libtool@gnu.org
8632 MAGIC_CMD=$lt_save_MAGIC_CMD
8637 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8638 if test -n "$MAGIC_CMD"; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8640 $as_echo "$MAGIC_CMD" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8643 $as_echo "no" >&6; }
8656 # Use C for the default configuration in the libtool script
8660 ac_cpp='$CPP $CPPFLAGS'
8661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8666 # Source file extension for C test sources.
8669 # Object file extension for compiled C test sources.
8673 # Code to be used in simple compile tests
8674 lt_simple_compile_test_code="int some_variable = 0;"
8676 # Code to be used in simple link tests
8677 lt_simple_link_test_code='int main(){return(0);}'
8685 # If no C compiler was specified, use CC.
8688 # If no C compiler flags were specified, use CFLAGS.
8689 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8691 # Allow CC to be a program name with arguments.
8694 # Save the default compiler, since it gets overwritten when the other
8695 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8696 compiler_DEFAULT=$CC
8698 # save warnings/boilerplate of simple test code
8699 ac_outfile=conftest.$ac_objext
8700 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8701 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8702 _lt_compiler_boilerplate=`cat conftest.err`
8705 ac_outfile=conftest.$ac_objext
8706 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8707 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8708 _lt_linker_boilerplate=`cat conftest.err`
8713 ## There is no encapsulation within the following macros, do not change
8714 ## the running order or otherwise move them around unless you know exactly
8715 ## what you are doing...
8716 if test -n "$compiler"; then
8718 lt_prog_compiler_no_builtin_flag=
8720 if test yes = "$GCC"; then
8721 case $cc_basename in
8723 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8725 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8729 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8730 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8731 $as_echo_n "(cached) " >&6
8733 lt_cv_prog_compiler_rtti_exceptions=no
8734 ac_outfile=conftest.$ac_objext
8735 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8736 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8737 # Insert the option either (1) after the last *FLAGS variable, or
8738 # (2) before a word containing "conftest.", or (3) at the end.
8739 # Note that $ac_compile itself does not contain backslashes and begins
8740 # with a dollar sign (not a hyphen), so the echo should work correctly.
8741 # The option is referenced via a variable to avoid confusing sed.
8742 lt_compile=`echo "$ac_compile" | $SED \
8743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8745 -e 's:$: $lt_compiler_flag:'`
8746 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8747 (eval "$lt_compile" 2>conftest.err)
8749 cat conftest.err >&5
8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8751 if (exit $ac_status) && test -s "$ac_outfile"; then
8752 # The compiler can only warn and ignore the option if not recognized
8753 # So say no if there are warnings other than the usual output.
8754 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8755 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8756 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8757 lt_cv_prog_compiler_rtti_exceptions=yes
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8764 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8766 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8767 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8779 lt_prog_compiler_wl=
8780 lt_prog_compiler_pic=
8781 lt_prog_compiler_static=
8784 if test yes = "$GCC"; then
8785 lt_prog_compiler_wl='-Wl,'
8786 lt_prog_compiler_static='-static'
8790 # All AIX code is PIC.
8791 if test ia64 = "$host_cpu"; then
8792 # AIX 5 now supports IA64 processor
8793 lt_prog_compiler_static='-Bstatic'
8795 lt_prog_compiler_pic='-fPIC'
8801 # see comment about AmigaOS4 .so support
8802 lt_prog_compiler_pic='-fPIC'
8805 # FIXME: we need at least 68020 code to build shared libraries, but
8806 # adding the '-m68020' flag to GCC prevents building anything better,
8808 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8813 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8814 # PIC is the default for these OSes.
8817 mingw* | cygwin* | pw32* | os2* | cegcc*)
8818 # This hack is so that the source file can tell whether it is being
8819 # built for inclusion in a dll (and should export symbols for example).
8820 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8821 # (--disable-auto-import) libraries
8822 lt_prog_compiler_pic='-DDLL_EXPORT'
8825 lt_prog_compiler_static='$wl-static'
8830 darwin* | rhapsody*)
8831 # PIC is the default on this platform
8832 # Common symbols not allowed in MH_DYLIB files
8833 lt_prog_compiler_pic='-fno-common'
8837 # PIC is the default for Haiku.
8838 # The "-static" flag exists, but is broken.
8839 lt_prog_compiler_static=
8843 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8844 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8845 # sets the default TLS model and affects inlining.
8851 lt_prog_compiler_pic='-fPIC'
8857 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8858 # Instead, we relocate shared libraries at runtime.
8862 # Just because we use GCC doesn't mean we suddenly get shared libraries
8863 # on systems that don't support them.
8864 lt_prog_compiler_can_build_shared=no
8869 # QNX uses GNU C++, but need to define -shared option too, otherwise
8871 lt_prog_compiler_pic='-fPIC -shared'
8875 if test -d /usr/nec; then
8876 lt_prog_compiler_pic=-Kconform_pic
8881 lt_prog_compiler_pic='-fPIC'
8885 case $cc_basename in
8886 nvcc*) # Cuda Compiler Driver 2.2
8887 lt_prog_compiler_wl='-Xlinker '
8888 if test -n "$lt_prog_compiler_pic"; then
8889 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8894 # PORTME Check for flag to pass linker flags through the system compiler.
8897 lt_prog_compiler_wl='-Wl,'
8898 if test ia64 = "$host_cpu"; then
8899 # AIX 5 now supports IA64 processor
8900 lt_prog_compiler_static='-Bstatic'
8902 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8906 darwin* | rhapsody*)
8907 # PIC is the default on this platform
8908 # Common symbols not allowed in MH_DYLIB files
8909 lt_prog_compiler_pic='-fno-common'
8910 case $cc_basename in
8912 # NAG Fortran compiler
8913 lt_prog_compiler_wl='-Wl,-Wl,,'
8914 lt_prog_compiler_pic='-PIC'
8915 lt_prog_compiler_static='-Bstatic'
8920 mingw* | cygwin* | pw32* | os2* | cegcc*)
8921 # This hack is so that the source file can tell whether it is being
8922 # built for inclusion in a dll (and should export symbols for example).
8923 lt_prog_compiler_pic='-DDLL_EXPORT'
8926 lt_prog_compiler_static='$wl-static'
8931 hpux9* | hpux10* | hpux11*)
8932 lt_prog_compiler_wl='-Wl,'
8933 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8940 lt_prog_compiler_pic='+Z'
8943 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8944 lt_prog_compiler_static='$wl-a ${wl}archive'
8947 irix5* | irix6* | nonstopux*)
8948 lt_prog_compiler_wl='-Wl,'
8949 # PIC (with -KPIC) is the default.
8950 lt_prog_compiler_static='-non_shared'
8953 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8954 case $cc_basename in
8955 # old Intel for x86_64, which still supported -KPIC.
8957 lt_prog_compiler_wl='-Wl,'
8958 lt_prog_compiler_pic='-KPIC'
8959 lt_prog_compiler_static='-static'
8961 # icc used to be incompatible with GCC.
8962 # ICC 10 doesn't accept -KPIC any more.
8964 lt_prog_compiler_wl='-Wl,'
8965 lt_prog_compiler_pic='-fPIC'
8966 lt_prog_compiler_static='-static'
8968 # Lahey Fortran 8.1.
8970 lt_prog_compiler_wl='-Wl,'
8971 lt_prog_compiler_pic='--shared'
8972 lt_prog_compiler_static='--static'
8975 # NAG Fortran compiler
8976 lt_prog_compiler_wl='-Wl,-Wl,,'
8977 lt_prog_compiler_pic='-PIC'
8978 lt_prog_compiler_static='-Bstatic'
8981 # Fabrice Bellard et al's Tiny C Compiler
8982 lt_prog_compiler_wl='-Wl,'
8983 lt_prog_compiler_pic='-fPIC'
8984 lt_prog_compiler_static='-static'
8986 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8987 # Portland Group compilers (*not* the Pentium gcc compiler,
8988 # which looks to be a dead project)
8989 lt_prog_compiler_wl='-Wl,'
8990 lt_prog_compiler_pic='-fpic'
8991 lt_prog_compiler_static='-Bstatic'
8994 lt_prog_compiler_wl='-Wl,'
8995 # All Alpha code is PIC.
8996 lt_prog_compiler_static='-non_shared'
8998 xl* | bgxl* | bgf* | mpixl*)
8999 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9000 lt_prog_compiler_wl='-Wl,'
9001 lt_prog_compiler_pic='-qpic'
9002 lt_prog_compiler_static='-qstaticlink'
9005 case `$CC -V 2>&1 | sed 5q` in
9006 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9007 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9008 lt_prog_compiler_pic='-KPIC'
9009 lt_prog_compiler_static='-Bstatic'
9010 lt_prog_compiler_wl=''
9012 *Sun\ F* | *Sun*Fortran*)
9013 lt_prog_compiler_pic='-KPIC'
9014 lt_prog_compiler_static='-Bstatic'
9015 lt_prog_compiler_wl='-Qoption ld '
9019 lt_prog_compiler_pic='-KPIC'
9020 lt_prog_compiler_static='-Bstatic'
9021 lt_prog_compiler_wl='-Wl,'
9023 *Intel*\ [CF]*Compiler*)
9024 lt_prog_compiler_wl='-Wl,'
9025 lt_prog_compiler_pic='-fPIC'
9026 lt_prog_compiler_static='-static'
9029 lt_prog_compiler_wl='-Wl,'
9030 lt_prog_compiler_pic='-fpic'
9031 lt_prog_compiler_static='-Bstatic'
9039 lt_prog_compiler_pic='-KPIC'
9040 lt_prog_compiler_static='-Bstatic'
9044 # QNX uses GNU C++, but need to define -shared option too, otherwise
9046 lt_prog_compiler_pic='-fPIC -shared'
9049 osf3* | osf4* | osf5*)
9050 lt_prog_compiler_wl='-Wl,'
9051 # All OSF/1 code is PIC.
9052 lt_prog_compiler_static='-non_shared'
9056 lt_prog_compiler_static='-non_shared'
9060 lt_prog_compiler_pic='-KPIC'
9061 lt_prog_compiler_static='-Bstatic'
9062 case $cc_basename in
9063 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9064 lt_prog_compiler_wl='-Qoption ld ';;
9066 lt_prog_compiler_wl='-Wl,';;
9071 lt_prog_compiler_wl='-Qoption ld '
9072 lt_prog_compiler_pic='-PIC'
9073 lt_prog_compiler_static='-Bstatic'
9076 sysv4 | sysv4.2uw2* | sysv4.3*)
9077 lt_prog_compiler_wl='-Wl,'
9078 lt_prog_compiler_pic='-KPIC'
9079 lt_prog_compiler_static='-Bstatic'
9083 if test -d /usr/nec; then
9084 lt_prog_compiler_pic='-Kconform_pic'
9085 lt_prog_compiler_static='-Bstatic'
9089 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9090 lt_prog_compiler_wl='-Wl,'
9091 lt_prog_compiler_pic='-KPIC'
9092 lt_prog_compiler_static='-Bstatic'
9096 lt_prog_compiler_wl='-Wl,'
9097 lt_prog_compiler_can_build_shared=no
9101 lt_prog_compiler_pic='-pic'
9102 lt_prog_compiler_static='-Bstatic'
9106 lt_prog_compiler_can_build_shared=no
9112 # For platforms that do not support PIC, -DPIC is meaningless:
9114 lt_prog_compiler_pic=
9117 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9122 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9123 if ${lt_cv_prog_compiler_pic+:} false; then :
9124 $as_echo_n "(cached) " >&6
9126 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9129 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9130 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9133 # Check to make sure the PIC flag actually works.
9135 if test -n "$lt_prog_compiler_pic"; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9137 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9138 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9139 $as_echo_n "(cached) " >&6
9141 lt_cv_prog_compiler_pic_works=no
9142 ac_outfile=conftest.$ac_objext
9143 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9144 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9145 # Insert the option either (1) after the last *FLAGS variable, or
9146 # (2) before a word containing "conftest.", or (3) at the end.
9147 # Note that $ac_compile itself does not contain backslashes and begins
9148 # with a dollar sign (not a hyphen), so the echo should work correctly.
9149 # The option is referenced via a variable to avoid confusing sed.
9150 lt_compile=`echo "$ac_compile" | $SED \
9151 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9152 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9153 -e 's:$: $lt_compiler_flag:'`
9154 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9155 (eval "$lt_compile" 2>conftest.err)
9157 cat conftest.err >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 if (exit $ac_status) && test -s "$ac_outfile"; then
9160 # The compiler can only warn and ignore the option if not recognized
9161 # So say no if there are warnings other than the usual output.
9162 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9163 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9164 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9165 lt_cv_prog_compiler_pic_works=yes
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9172 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9174 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9175 case $lt_prog_compiler_pic in
9177 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9180 lt_prog_compiler_pic=
9181 lt_prog_compiler_can_build_shared=no
9197 # Check to make sure the static flag actually works.
9199 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9201 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9202 if ${lt_cv_prog_compiler_static_works+:} false; then :
9203 $as_echo_n "(cached) " >&6
9205 lt_cv_prog_compiler_static_works=no
9206 save_LDFLAGS=$LDFLAGS
9207 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9208 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9209 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9210 # The linker can only warn and ignore the option if not recognized
9211 # So say no if there are warnings
9212 if test -s conftest.err; then
9213 # Append any errors to the config.log.
9214 cat conftest.err 1>&5
9215 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9216 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9217 if diff conftest.exp conftest.er2 >/dev/null; then
9218 lt_cv_prog_compiler_static_works=yes
9221 lt_cv_prog_compiler_static_works=yes
9225 LDFLAGS=$save_LDFLAGS
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9229 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9231 if test yes = "$lt_cv_prog_compiler_static_works"; then
9234 lt_prog_compiler_static=
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9244 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9245 if ${lt_cv_prog_compiler_c_o+:} false; then :
9246 $as_echo_n "(cached) " >&6
9248 lt_cv_prog_compiler_c_o=no
9249 $RM -r conftest 2>/dev/null
9253 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9255 lt_compiler_flag="-o out/conftest2.$ac_objext"
9256 # Insert the option either (1) after the last *FLAGS variable, or
9257 # (2) before a word containing "conftest.", or (3) at the end.
9258 # Note that $ac_compile itself does not contain backslashes and begins
9259 # with a dollar sign (not a hyphen), so the echo should work correctly.
9260 lt_compile=`echo "$ac_compile" | $SED \
9261 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9262 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9263 -e 's:$: $lt_compiler_flag:'`
9264 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9265 (eval "$lt_compile" 2>out/conftest.err)
9267 cat out/conftest.err >&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9271 # The compiler can only warn and ignore the option if not recognized
9272 # So say no if there are warnings
9273 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9274 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9275 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9276 lt_cv_prog_compiler_c_o=yes
9281 # SGI C++ compiler will create directory out/ii_files/ for
9282 # template instantiation
9283 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9284 $RM out/* && rmdir out
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9291 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9299 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9300 if ${lt_cv_prog_compiler_c_o+:} false; then :
9301 $as_echo_n "(cached) " >&6
9303 lt_cv_prog_compiler_c_o=no
9304 $RM -r conftest 2>/dev/null
9308 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9310 lt_compiler_flag="-o out/conftest2.$ac_objext"
9311 # Insert the option either (1) after the last *FLAGS variable, or
9312 # (2) before a word containing "conftest.", or (3) at the end.
9313 # Note that $ac_compile itself does not contain backslashes and begins
9314 # with a dollar sign (not a hyphen), so the echo should work correctly.
9315 lt_compile=`echo "$ac_compile" | $SED \
9316 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9317 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9318 -e 's:$: $lt_compiler_flag:'`
9319 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9320 (eval "$lt_compile" 2>out/conftest.err)
9322 cat out/conftest.err >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9326 # The compiler can only warn and ignore the option if not recognized
9327 # So say no if there are warnings
9328 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9329 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9330 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9331 lt_cv_prog_compiler_c_o=yes
9336 # SGI C++ compiler will create directory out/ii_files/ for
9337 # template instantiation
9338 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9339 $RM out/* && rmdir out
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9346 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9351 hard_links=nottested
9352 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9353 # do not overwrite the value of need_locks provided by the user
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9355 $as_echo_n "checking if we can lock with hard links... " >&6; }
9358 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9360 ln conftest.a conftest.b 2>&5 || hard_links=no
9361 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9363 $as_echo "$hard_links" >&6; }
9364 if test no = "$hard_links"; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9366 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9379 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9382 allow_undefined_flag=
9383 always_export_symbols=no
9385 archive_expsym_cmds=
9386 compiler_needs_object=no
9387 enable_shared_with_static_runtimes=no
9388 export_dynamic_flag_spec=
9389 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9390 hardcode_automatic=no
9392 hardcode_direct_absolute=no
9393 hardcode_libdir_flag_spec=
9394 hardcode_libdir_separator=
9396 hardcode_shlibpath_var=unsupported
9398 link_all_deplibs=unknown
9401 old_archive_from_new_cmds=
9402 old_archive_from_expsyms_cmds=
9403 thread_safe_flag_spec=
9404 whole_archive_flag_spec=
9405 # include_expsyms should be a list of space-separated symbols to be *always*
9406 # included in the symbol list
9408 # exclude_expsyms can be an extended regexp of symbols to exclude
9409 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9410 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9411 # as well as any symbol that contains 'd'.
9412 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9413 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9414 # platforms (ab)use it in PIC code, but their linkers get confused if
9415 # the symbol is explicitly referenced. Since portable code cannot
9416 # rely on this symbol name, it's probably fine to never include it in
9417 # preloaded symbol tables.
9418 # Exclude shared library initialization/finalization symbols.
9419 extract_expsyms_cmds=
9422 cygwin* | mingw* | pw32* | cegcc*)
9423 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9424 # When not using gcc, we currently assume that we are using
9425 # Microsoft Visual C++.
9426 if test yes != "$GCC"; then
9431 # we just hope/assume this is gcc and not c89 (= MSVC++)
9437 linux* | k*bsd*-gnu | gnu*)
9444 # On some targets, GNU ld is compatible enough with the native linker
9445 # that we're better off using the native interface for both.
9446 lt_use_gnu_ld_interface=no
9447 if test yes = "$with_gnu_ld"; then
9450 # The AIX port of GNU ld has always aspired to compatibility
9451 # with the native linker. However, as the warning in the GNU ld
9452 # block says, versions before 2.19.5* couldn't really create working
9453 # shared libraries, regardless of the interface used.
9454 case `$LD -v 2>&1` in
9455 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9456 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9457 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9459 lt_use_gnu_ld_interface=yes
9464 lt_use_gnu_ld_interface=yes
9469 if test yes = "$lt_use_gnu_ld_interface"; then
9470 # If archive_cmds runs LD, not CC, wlarc should be empty
9473 # Set some defaults for GNU ld with shared library support. These
9474 # are reset later if shared libraries are not supported. Putting them
9475 # here allows them to be overridden if necessary.
9476 runpath_var=LD_RUN_PATH
9477 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9478 export_dynamic_flag_spec='$wl--export-dynamic'
9479 # ancient GNU ld didn't support --whole-archive et. al.
9480 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9481 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9483 whole_archive_flag_spec=
9485 supports_anon_versioning=no
9486 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9487 *GNU\ gold*) supports_anon_versioning=yes ;;
9488 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9489 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9490 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9491 *\ 2.11.*) ;; # other 2.11 versions
9492 *) supports_anon_versioning=yes ;;
9495 # See if GNU ld supports shared libraries.
9498 # On AIX/PPC, the GNU linker is very broken
9499 if test ia64 != "$host_cpu"; then
9503 *** Warning: the GNU linker, at least up to release 2.19, is reported
9504 *** to be unable to reliably create shared libraries on AIX.
9505 *** Therefore, libtool is disabling shared libraries support. If you
9506 *** really care for shared libraries, you may want to install binutils
9507 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9508 *** You will then need to restart the configuration process.
9517 # see comment about AmigaOS4 .so support
9518 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9519 archive_expsym_cmds=''
9522 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)'
9523 hardcode_libdir_flag_spec='-L$libdir'
9524 hardcode_minus_L=yes
9530 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9531 allow_undefined_flag=unsupported
9532 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9533 # support --undefined. This deserves some investigation. FIXME
9534 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9540 cygwin* | mingw* | pw32* | cegcc*)
9541 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9542 # as there is no search path for DLLs.
9543 hardcode_libdir_flag_spec='-L$libdir'
9544 export_dynamic_flag_spec='$wl--export-all-symbols'
9545 allow_undefined_flag=unsupported
9546 always_export_symbols=no
9547 enable_shared_with_static_runtimes=yes
9548 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'
9549 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9551 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9552 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9553 # If the export-symbols file already is a .def file, use it as
9554 # is; otherwise, prepend EXPORTS...
9555 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9556 cp $export_symbols $output_objdir/$soname.def;
9558 echo EXPORTS > $output_objdir/$soname.def;
9559 cat $export_symbols >> $output_objdir/$soname.def;
9561 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9568 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9569 link_all_deplibs=yes
9573 hardcode_libdir_flag_spec='-L$libdir'
9574 hardcode_minus_L=yes
9575 allow_undefined_flag=unsupported
9577 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9578 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9579 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9580 $ECHO EXPORTS >> $output_objdir/$libname.def~
9581 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9582 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9583 emximp -o $lib $output_objdir/$libname.def'
9584 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9585 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9586 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9587 $ECHO EXPORTS >> $output_objdir/$libname.def~
9589 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9590 prefix_cmds="$prefix_cmds -e 1d";
9592 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9593 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9594 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9595 emximp -o $lib $output_objdir/$libname.def'
9596 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9597 enable_shared_with_static_runtimes=yes
9602 hardcode_shlibpath_var=no
9603 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9604 export_dynamic_flag_spec='$wl-E'
9605 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9606 # Instead, shared libraries are loaded at an image base (0x10000000 by
9607 # default) and relocated if they conflict, which is a slow very memory
9608 # consuming and fragmenting process. To avoid this, we pick a random,
9609 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9610 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9611 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9612 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'
9615 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9617 if test linux-dietlibc = "$host_os"; then
9618 case $cc_basename in
9619 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9622 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9623 && test no = "$tmp_diet"
9625 tmp_addflag=' $pic_flag'
9626 tmp_sharedflag='-shared'
9627 case $cc_basename,$host_cpu in
9628 pgcc*) # Portland Group C compiler
9629 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'
9630 tmp_addflag=' $pic_flag'
9632 pgf77* | pgf90* | pgf95* | pgfortran*)
9633 # Portland Group f77 and f90 compilers
9634 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'
9635 tmp_addflag=' $pic_flag -Mnomain' ;;
9636 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9637 tmp_addflag=' -i_dynamic' ;;
9638 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9639 tmp_addflag=' -i_dynamic -nofor_main' ;;
9640 ifc* | ifort*) # Intel Fortran compiler
9641 tmp_addflag=' -nofor_main' ;;
9642 lf95*) # Lahey Fortran 8.1
9643 whole_archive_flag_spec=
9644 tmp_sharedflag='--shared' ;;
9645 nagfor*) # NAGFOR 5.3
9646 tmp_sharedflag='-Wl,-shared' ;;
9647 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9648 tmp_sharedflag='-qmkshrobj'
9650 nvcc*) # Cuda Compiler Driver 2.2
9651 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'
9652 compiler_needs_object=yes
9655 case `$CC -V 2>&1 | sed 5q` in
9656 *Sun\ C*) # Sun C 5.9
9657 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'
9658 compiler_needs_object=yes
9659 tmp_sharedflag='-G' ;;
9660 *Sun\ F*) # Sun Fortran 8.3
9661 tmp_sharedflag='-G' ;;
9663 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9665 if test yes = "$supports_anon_versioning"; then
9666 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9667 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9668 echo "local: *; };" >> $output_objdir/$libname.ver~
9669 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9672 case $cc_basename in
9674 export_dynamic_flag_spec='-rdynamic'
9676 xlf* | bgf* | bgxlf* | mpixlf*)
9677 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9678 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9679 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9680 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9681 if test yes = "$supports_anon_versioning"; then
9682 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9683 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9684 echo "local: *; };" >> $output_objdir/$libname.ver~
9685 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9694 netbsd* | netbsdelf*-gnu)
9695 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9696 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9699 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9700 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9705 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9709 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9710 *** create shared libraries on Solaris systems. Therefore, libtool
9711 *** is disabling shared libraries support. We urge you to upgrade GNU
9712 *** binutils to release 2.9.1 or newer. Another option is to modify
9713 *** your PATH or compiler configuration so that the native linker is
9714 *** used, and then restart.
9717 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9718 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9719 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9725 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9726 case `$LD -v 2>&1` in
9727 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9731 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9732 *** reliably create shared libraries on SCO systems. Therefore, libtool
9733 *** is disabling shared libraries support. We urge you to upgrade GNU
9734 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9735 *** your PATH or compiler configuration so that the native linker is
9736 *** used, and then restart.
9741 # For security reasons, it is highly recommended that you always
9742 # use absolute paths for naming shared libraries, and exclude the
9743 # DT_RUNPATH tag from executables and libraries. But doing so
9744 # requires that you compile everything twice, which is a pain.
9745 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9746 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9748 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9757 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9760 hardcode_shlibpath_var=no
9764 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9765 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9766 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9773 if test no = "$ld_shlibs"; then
9775 hardcode_libdir_flag_spec=
9776 export_dynamic_flag_spec=
9777 whole_archive_flag_spec=
9780 # PORTME fill in a description of your system's linker (not GNU ld)
9783 allow_undefined_flag=unsupported
9784 always_export_symbols=yes
9785 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'
9786 # Note: this linker hardcodes the directories in LIBPATH if there
9787 # are no directories specified by -L.
9788 hardcode_minus_L=yes
9789 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9790 # Neither direct hardcoding nor static linking is supported with a
9792 hardcode_direct=unsupported
9797 if test ia64 = "$host_cpu"; then
9798 # On IA64, the linker does run time linking by default, so we don't
9799 # have to do anything special.
9800 aix_use_runtimelinking=no
9801 exp_sym_flag='-Bexport'
9804 # If we're using GNU nm, then we don't want the "-C" option.
9805 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9806 # Without the "-l" option, or with the "-B" option, AIX nm treats
9807 # weak defined symbols like other global defined symbols, whereas
9808 # GNU nm marks them as "W".
9809 # While the 'weak' keyword is ignored in the Export File, we need
9810 # it in the Import File for the 'aix-soname' feature, so we have
9811 # to replace the "-B" option with "-P" for AIX nm.
9812 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9813 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9815 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9817 aix_use_runtimelinking=no
9819 # Test if we are trying to use run time linking or normal
9820 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9821 # have runtime linking enabled, and use it for executables.
9822 # For shared libraries, we enable/disable runtime linking
9823 # depending on the kind of the shared library created -
9824 # when "with_aix_soname,aix_use_runtimelinking" is:
9825 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9826 # "aix,yes" lib.so shared, rtl:yes, for executables
9827 # lib.a static archive
9828 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9829 # lib.a(lib.so.V) shared, rtl:no, for executables
9830 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9831 # lib.a(lib.so.V) shared, rtl:no
9832 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9833 # lib.a static archive
9834 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9835 for ld_flag in $LDFLAGS; do
9836 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9837 aix_use_runtimelinking=yes
9841 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9842 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9843 # so we don't have lib.a shared libs to link our executables.
9844 # We have to force runtime linking in this case.
9845 aix_use_runtimelinking=yes
9846 LDFLAGS="$LDFLAGS -Wl,-brtl"
9851 exp_sym_flag='-bexport'
9852 no_entry_flag='-bnoentry'
9855 # When large executables or shared objects are built, AIX ld can
9856 # have problems creating the table of contents. If linking a library
9857 # or program results in "error TOC overflow" add -mminimal-toc to
9858 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9859 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9863 hardcode_direct_absolute=yes
9864 hardcode_libdir_separator=':'
9865 link_all_deplibs=yes
9866 file_list_spec='$wl-f,'
9867 case $with_aix_soname,$aix_use_runtimelinking in
9868 aix,*) ;; # traditional, no import file
9869 svr4,* | *,yes) # use import file
9870 # The Import File defines what to hardcode.
9872 hardcode_direct_absolute=no
9876 if test yes = "$GCC"; then
9877 case $host_os in aix4.[012]|aix4.[012].*)
9878 # We only want to do this on AIX 4.2 and lower, the check
9879 # below for broken collect2 doesn't work under 4.3+
9880 collect2name=`$CC -print-prog-name=collect2`
9881 if test -f "$collect2name" &&
9882 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9884 # We have reworked collect2
9887 # We have old collect2
9888 hardcode_direct=unsupported
9889 # It fails to find uninstalled libraries when the uninstalled
9890 # path is not listed in the libpath. Setting hardcode_minus_L
9891 # to unsupported forces relinking
9892 hardcode_minus_L=yes
9893 hardcode_libdir_flag_spec='-L$libdir'
9894 hardcode_libdir_separator=
9898 shared_flag='-shared'
9899 if test yes = "$aix_use_runtimelinking"; then
9900 shared_flag="$shared_flag "'$wl-G'
9902 # Need to ensure runtime linking is disabled for the traditional
9903 # shared library, or the linker may eventually find shared libraries
9904 # /with/ Import File - we do not want to mix them.
9905 shared_flag_aix='-shared'
9906 shared_flag_svr4='-shared $wl-G'
9909 if test ia64 = "$host_cpu"; then
9910 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9911 # chokes on -Wl,-G. The following line is correct:
9914 if test yes = "$aix_use_runtimelinking"; then
9917 shared_flag='$wl-bM:SRE'
9919 shared_flag_aix='$wl-bM:SRE'
9920 shared_flag_svr4='$wl-G'
9924 export_dynamic_flag_spec='$wl-bexpall'
9925 # It seems that -bexpall does not export symbols beginning with
9926 # underscore (_), so it is better to generate a list of symbols to export.
9927 always_export_symbols=yes
9928 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9929 # Warning - without using the other runtime loading flags (-brtl),
9930 # -berok will link without error, but may produce a broken library.
9931 allow_undefined_flag='-berok'
9932 # Determine the default libpath from the value encoded in an
9934 if test set = "${lt_cv_aix_libpath+set}"; then
9935 aix_libpath=$lt_cv_aix_libpath
9937 if ${lt_cv_aix_libpath_+:} false; then :
9938 $as_echo_n "(cached) " >&6
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9951 if ac_fn_c_try_link "$LINENO"; then :
9953 lt_aix_libpath_sed='
9954 /Import File Strings/,/^$/ {
9956 s/^0 *\([^ ]*\) *$/\1/
9960 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9961 # Check for a 64-bit object if we didn't find anything.
9962 if test -z "$lt_cv_aix_libpath_"; then
9963 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 if test -z "$lt_cv_aix_libpath_"; then
9969 lt_cv_aix_libpath_=/usr/lib:/lib
9974 aix_libpath=$lt_cv_aix_libpath_
9977 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9978 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9980 if test ia64 = "$host_cpu"; then
9981 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9982 allow_undefined_flag="-z nodefs"
9983 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"
9985 # Determine the default libpath from the value encoded in an
9987 if test set = "${lt_cv_aix_libpath+set}"; then
9988 aix_libpath=$lt_cv_aix_libpath
9990 if ${lt_cv_aix_libpath_+:} false; then :
9991 $as_echo_n "(cached) " >&6
9993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
10004 if ac_fn_c_try_link "$LINENO"; then :
10006 lt_aix_libpath_sed='
10007 /Import File Strings/,/^$/ {
10009 s/^0 *\([^ ]*\) *$/\1/
10013 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10014 # Check for a 64-bit object if we didn't find anything.
10015 if test -z "$lt_cv_aix_libpath_"; then
10016 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 if test -z "$lt_cv_aix_libpath_"; then
10022 lt_cv_aix_libpath_=/usr/lib:/lib
10027 aix_libpath=$lt_cv_aix_libpath_
10030 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10031 # Warning - without using the other run time loading flags,
10032 # -berok will link without error, but may produce a broken library.
10033 no_undefined_flag=' $wl-bernotok'
10034 allow_undefined_flag=' $wl-berok'
10035 if test yes = "$with_gnu_ld"; then
10036 # We only use this code for GNU lds that support --whole-archive.
10037 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10039 # Exported symbols can be pulled into shared objects from archives
10040 whole_archive_flag_spec='$convenience'
10042 archive_cmds_need_lc=yes
10043 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10044 # -brtl affects multiple linker settings, -berok does not and is overridden later
10045 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10046 if test svr4 != "$with_aix_soname"; then
10047 # This is similar to how AIX traditionally builds its shared libraries.
10048 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10050 if test aix != "$with_aix_soname"; then
10051 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10053 # used by -dlpreopen to get the symbols
10054 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10056 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10064 # see comment about AmigaOS4 .so support
10065 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10066 archive_expsym_cmds=''
10069 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)'
10070 hardcode_libdir_flag_spec='-L$libdir'
10071 hardcode_minus_L=yes
10077 export_dynamic_flag_spec=-rdynamic
10080 cygwin* | mingw* | pw32* | cegcc*)
10081 # When not using gcc, we currently assume that we are using
10082 # Microsoft Visual C++.
10083 # hardcode_libdir_flag_spec is actually meaningless, as there is
10084 # no search path for DLLs.
10085 case $cc_basename in
10088 hardcode_libdir_flag_spec=' '
10089 allow_undefined_flag=unsupported
10090 always_export_symbols=yes
10092 # Tell ltmain to make .lib files, not .a files.
10094 # Tell ltmain to make .dll files, not .so files.
10096 # FIXME: Setting linknames here is a bad hack.
10097 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10098 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10099 cp "$export_symbols" "$output_objdir/$soname.def";
10100 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10102 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10104 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10106 # The linker will not automatically build a static lib if we build a DLL.
10107 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10108 enable_shared_with_static_runtimes=yes
10109 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10110 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10112 old_postinstall_cmds='chmod 644 $oldlib'
10113 postlink_cmds='lt_outputfile="@OUTPUT@"~
10114 lt_tool_outputfile="@TOOL_OUTPUT@"~
10115 case $lt_outputfile in
10118 lt_outputfile=$lt_outputfile.exe
10119 lt_tool_outputfile=$lt_tool_outputfile.exe
10122 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10123 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10124 $RM "$lt_outputfile.manifest";
10128 # Assume MSVC wrapper
10129 hardcode_libdir_flag_spec=' '
10130 allow_undefined_flag=unsupported
10131 # Tell ltmain to make .lib files, not .a files.
10133 # Tell ltmain to make .dll files, not .so files.
10135 # FIXME: Setting linknames here is a bad hack.
10136 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10137 # The linker will automatically build a .lib file if we build a DLL.
10138 old_archive_from_new_cmds='true'
10139 # FIXME: Should let the user specify the lib program.
10140 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10141 enable_shared_with_static_runtimes=yes
10146 darwin* | rhapsody*)
10149 archive_cmds_need_lc=no
10151 hardcode_automatic=yes
10152 hardcode_shlibpath_var=unsupported
10153 if test yes = "$lt_cv_ld_force_load"; then
10154 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\"`'
10157 whole_archive_flag_spec=''
10159 link_all_deplibs=yes
10160 allow_undefined_flag=$_lt_dar_allow_undefined
10161 case $cc_basename in
10162 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10163 *) _lt_dar_can_shared=$GCC ;;
10165 if test yes = "$_lt_dar_can_shared"; then
10166 output_verbose_link_cmd=func_echo_all
10167 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10168 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10169 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"
10170 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"
10179 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10180 hardcode_libdir_flag_spec='-L$libdir'
10181 hardcode_shlibpath_var=no
10184 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10185 # support. Future versions do this automatically, but an explicit c++rt0.o
10186 # does not break anything, and helps significantly (at the cost of a little
10189 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10190 hardcode_libdir_flag_spec='-R$libdir'
10191 hardcode_direct=yes
10192 hardcode_shlibpath_var=no
10195 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10197 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10198 hardcode_direct=yes
10199 hardcode_minus_L=yes
10200 hardcode_shlibpath_var=no
10203 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10204 freebsd* | dragonfly*)
10205 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10206 hardcode_libdir_flag_spec='-R$libdir'
10207 hardcode_direct=yes
10208 hardcode_shlibpath_var=no
10212 if test yes = "$GCC"; then
10213 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10215 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10217 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10218 hardcode_libdir_separator=:
10219 hardcode_direct=yes
10221 # hardcode_minus_L: Not really in the search PATH,
10222 # but as the default location of the library.
10223 hardcode_minus_L=yes
10224 export_dynamic_flag_spec='$wl-E'
10228 if test yes,no = "$GCC,$with_gnu_ld"; then
10229 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10231 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10233 if test no = "$with_gnu_ld"; then
10234 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10235 hardcode_libdir_separator=:
10236 hardcode_direct=yes
10237 hardcode_direct_absolute=yes
10238 export_dynamic_flag_spec='$wl-E'
10239 # hardcode_minus_L: Not really in the search PATH,
10240 # but as the default location of the library.
10241 hardcode_minus_L=yes
10246 if test yes,no = "$GCC,$with_gnu_ld"; then
10249 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10252 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10255 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10264 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10268 # Older versions of the 11.00 compiler do not understand -b yet
10269 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10271 $as_echo_n "checking if $CC understands -b... " >&6; }
10272 if ${lt_cv_prog_compiler__b+:} false; then :
10273 $as_echo_n "(cached) " >&6
10275 lt_cv_prog_compiler__b=no
10276 save_LDFLAGS=$LDFLAGS
10277 LDFLAGS="$LDFLAGS -b"
10278 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10279 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10280 # The linker can only warn and ignore the option if not recognized
10281 # So say no if there are warnings
10282 if test -s conftest.err; then
10283 # Append any errors to the config.log.
10284 cat conftest.err 1>&5
10285 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10286 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10287 if diff conftest.exp conftest.er2 >/dev/null; then
10288 lt_cv_prog_compiler__b=yes
10291 lt_cv_prog_compiler__b=yes
10295 LDFLAGS=$save_LDFLAGS
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10299 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10301 if test yes = "$lt_cv_prog_compiler__b"; then
10302 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10304 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10310 if test no = "$with_gnu_ld"; then
10311 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10312 hardcode_libdir_separator=:
10317 hardcode_shlibpath_var=no
10320 hardcode_direct=yes
10321 hardcode_direct_absolute=yes
10322 export_dynamic_flag_spec='$wl-E'
10324 # hardcode_minus_L: Not really in the search PATH,
10325 # but as the default location of the library.
10326 hardcode_minus_L=yes
10332 irix5* | irix6* | nonstopux*)
10333 if test yes = "$GCC"; then
10334 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'
10335 # Try to use the -exported_symbol ld option, if it does not
10336 # work, assume that -exports_file does not work either and
10337 # implicitly export all symbols.
10338 # This should be the same for all languages, so no per-tag cache variable.
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10340 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10341 if ${lt_cv_irix_exported_symbol+:} false; then :
10342 $as_echo_n "(cached) " >&6
10344 save_LDFLAGS=$LDFLAGS
10345 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10348 int foo (void) { return 0; }
10350 if ac_fn_c_try_link "$LINENO"; then :
10351 lt_cv_irix_exported_symbol=yes
10353 lt_cv_irix_exported_symbol=no
10355 rm -f core conftest.err conftest.$ac_objext \
10356 conftest$ac_exeext conftest.$ac_ext
10357 LDFLAGS=$save_LDFLAGS
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10360 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10361 if test yes = "$lt_cv_irix_exported_symbol"; then
10362 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'
10364 link_all_deplibs=no
10366 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'
10367 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'
10369 archive_cmds_need_lc='no'
10370 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10371 hardcode_libdir_separator=:
10373 link_all_deplibs=yes
10377 case $cc_basename in
10379 # Fabrice Bellard et al's Tiny C Compiler
10381 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10386 netbsd* | netbsdelf*-gnu)
10387 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10388 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10390 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10392 hardcode_libdir_flag_spec='-R$libdir'
10393 hardcode_direct=yes
10394 hardcode_shlibpath_var=no
10398 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10399 hardcode_direct=yes
10400 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10401 hardcode_libdir_separator=:
10402 hardcode_shlibpath_var=no
10408 openbsd* | bitrig*)
10409 if test -f /usr/libexec/ld.so; then
10410 hardcode_direct=yes
10411 hardcode_shlibpath_var=no
10412 hardcode_direct_absolute=yes
10413 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10414 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10415 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10416 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10417 export_dynamic_flag_spec='$wl-E'
10419 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10420 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10428 hardcode_libdir_flag_spec='-L$libdir'
10429 hardcode_minus_L=yes
10430 allow_undefined_flag=unsupported
10432 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10433 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10434 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10435 $ECHO EXPORTS >> $output_objdir/$libname.def~
10436 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10437 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10438 emximp -o $lib $output_objdir/$libname.def'
10439 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10440 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10441 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10442 $ECHO EXPORTS >> $output_objdir/$libname.def~
10443 prefix_cmds="$SED"~
10444 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10445 prefix_cmds="$prefix_cmds -e 1d";
10447 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10448 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10449 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10450 emximp -o $lib $output_objdir/$libname.def'
10451 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10452 enable_shared_with_static_runtimes=yes
10456 if test yes = "$GCC"; then
10457 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10458 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'
10460 allow_undefined_flag=' -expect_unresolved \*'
10461 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'
10463 archive_cmds_need_lc='no'
10464 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10465 hardcode_libdir_separator=:
10468 osf4* | osf5*) # as osf3* with the addition of -msym flag
10469 if test yes = "$GCC"; then
10470 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10471 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'
10472 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10474 allow_undefined_flag=' -expect_unresolved \*'
10475 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'
10476 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~
10477 $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'
10479 # Both c and cxx compiler support -rpath directly
10480 hardcode_libdir_flag_spec='-rpath $libdir'
10482 archive_cmds_need_lc='no'
10483 hardcode_libdir_separator=:
10487 no_undefined_flag=' -z defs'
10488 if test yes = "$GCC"; then
10490 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10491 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10492 $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'
10494 case `$CC -V 2>&1` in
10497 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10498 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10499 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10503 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10504 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10505 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10509 hardcode_libdir_flag_spec='-R$libdir'
10510 hardcode_shlibpath_var=no
10512 solaris2.[0-5] | solaris2.[0-5].*) ;;
10514 # The compiler driver will combine and reorder linker options,
10515 # but understands '-z linker_flag'. GCC discards it without '$wl',
10516 # but is careful enough not to reorder.
10517 # Supported since Solaris 2.6 (maybe 2.5.1?)
10518 if test yes = "$GCC"; then
10519 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10521 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10525 link_all_deplibs=yes
10529 if test sequent = "$host_vendor"; then
10530 # Use $CC to link under sequent, because it throws in some extra .o
10531 # files that make .init and .fini sections work.
10532 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10534 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10536 hardcode_libdir_flag_spec='-L$libdir'
10537 hardcode_direct=yes
10538 hardcode_minus_L=yes
10539 hardcode_shlibpath_var=no
10543 case $host_vendor in
10545 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10546 hardcode_direct=yes # is this really true???
10549 ## LD is ld it makes a PLAMLIB
10550 ## CC just makes a GrossModule.
10551 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10552 reload_cmds='$CC -r -o $output$reload_objs'
10556 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10557 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10560 runpath_var='LD_RUN_PATH'
10561 hardcode_shlibpath_var=no
10565 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10566 hardcode_shlibpath_var=no
10567 export_dynamic_flag_spec='-Bexport'
10571 if test -d /usr/nec; then
10572 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10573 hardcode_shlibpath_var=no
10574 runpath_var=LD_RUN_PATH
10575 hardcode_runpath_var=yes
10580 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10581 no_undefined_flag='$wl-z,text'
10582 archive_cmds_need_lc=no
10583 hardcode_shlibpath_var=no
10584 runpath_var='LD_RUN_PATH'
10586 if test yes = "$GCC"; then
10587 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10588 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10590 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10591 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10595 sysv5* | sco3.2v5* | sco5v6*)
10596 # Note: We CANNOT use -z defs as we might desire, because we do not
10597 # link with -lc, and that would cause any symbols used from libc to
10598 # always be unresolved, which means just about no library would
10599 # ever link correctly. If we're not using GNU ld we use -z text
10600 # though, which does catch some bad symbols but isn't as heavy-handed
10602 no_undefined_flag='$wl-z,text'
10603 allow_undefined_flag='$wl-z,nodefs'
10604 archive_cmds_need_lc=no
10605 hardcode_shlibpath_var=no
10606 hardcode_libdir_flag_spec='$wl-R,$libdir'
10607 hardcode_libdir_separator=':'
10608 link_all_deplibs=yes
10609 export_dynamic_flag_spec='$wl-Bexport'
10610 runpath_var='LD_RUN_PATH'
10612 if test yes = "$GCC"; then
10613 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10614 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10616 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10617 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10622 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10623 hardcode_libdir_flag_spec='-L$libdir'
10624 hardcode_shlibpath_var=no
10632 if test sni = "$host_vendor"; then
10634 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10635 export_dynamic_flag_spec='$wl-Blargedynsym'
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10642 $as_echo "$ld_shlibs" >&6; }
10643 test no = "$ld_shlibs" && can_build_shared=no
10645 with_gnu_ld=$with_gnu_ld
10662 # Do we need to explicitly link libc?
10664 case "x$archive_cmds_need_lc" in
10666 # Assume -lc should be added
10667 archive_cmds_need_lc=yes
10669 if test yes,yes = "$GCC,$enable_shared"; then
10670 case $archive_cmds in
10672 # FIXME: we may have to deal with multi-command sequences.
10675 # Test whether the compiler implicitly links with -lc since on some
10676 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10677 # to ld, don't add -lc before -lgcc.
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10679 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10680 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10681 $as_echo_n "(cached) " >&6
10684 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10686 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10687 (eval $ac_compile) 2>&5
10689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10690 test $ac_status = 0; } 2>conftest.err; then
10693 libobjs=conftest.$ac_objext
10695 wl=$lt_prog_compiler_wl
10696 pic_flag=$lt_prog_compiler_pic
10702 lt_save_allow_undefined_flag=$allow_undefined_flag
10703 allow_undefined_flag=
10704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10705 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10708 test $ac_status = 0; }
10710 lt_cv_archive_cmds_need_lc=no
10712 lt_cv_archive_cmds_need_lc=yes
10714 allow_undefined_flag=$lt_save_allow_undefined_flag
10716 cat conftest.err 1>&5
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10722 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10723 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10882 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10884 if test yes = "$GCC"; then
10886 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10887 *) lt_awk_arg='/^libraries:/' ;;
10890 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10891 *) lt_sed_strip_eq='s|=/|/|g' ;;
10893 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10894 case $lt_search_path_spec in
10896 # if the path contains ";" then we assume it to be the separator
10897 # otherwise default to the standard path separator (i.e. ":") - it is
10898 # assumed that no part of a normal pathname contains ";" but that should
10899 # okay in the real world where ";" in dirpaths is itself problematic.
10900 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10903 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10906 # Ok, now we have the path, separated by spaces, we can step through it
10907 # and add multilib dir if necessary...
10908 lt_tmp_lt_search_path_spec=
10909 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10910 # ...but if some path component already ends with the multilib dir we assume
10911 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10912 case "$lt_multi_os_dir; $lt_search_path_spec " in
10913 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10917 for lt_sys_path in $lt_search_path_spec; do
10918 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10919 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10920 elif test -n "$lt_multi_os_dir"; then
10921 test -d "$lt_sys_path" && \
10922 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10925 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10926 BEGIN {RS = " "; FS = "/|\n";} {
10929 for (lt_i = NF; lt_i > 0; lt_i--) {
10930 if ($lt_i != "" && $lt_i != ".") {
10931 if ($lt_i == "..") {
10934 if (lt_count == 0) {
10935 lt_foo = "/" $lt_i lt_foo;
10942 if (lt_foo != "") { lt_freq[lt_foo]++; }
10943 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10945 # AWK program above erroneously prepends '/' to C:/dos/paths
10948 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10949 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10951 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10953 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10955 library_names_spec=
10956 libname_spec='lib$name'
10960 postuninstall_cmds=
10964 shlibpath_overrides_runpath=unknown
10966 dynamic_linker="$host_os ld.so"
10967 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10968 need_lib_prefix=unknown
10969 hardcode_into_libs=no
10971 # when you set need_version to no, make sure it does not cause -set_version
10972 # flags to be left without arguments
10973 need_version=unknown
10979 version_type=linux # correct to gnu/linux during the next big refactor
10980 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10981 shlibpath_var=LIBPATH
10983 # AIX 3 has no versioning support, so we append a major version to the name.
10984 soname_spec='$libname$release$shared_ext$major'
10988 version_type=linux # correct to gnu/linux during the next big refactor
10991 hardcode_into_libs=yes
10992 if test ia64 = "$host_cpu"; then
10993 # AIX 5 supports IA64
10994 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10995 shlibpath_var=LD_LIBRARY_PATH
10997 # With GCC up to 2.95.x, collect2 would create an import file
10998 # for dependence libraries. The import file would start with
10999 # the line '#! .'. This would cause the generated library to
11000 # depend on '.', always an invalid library. This was fixed in
11001 # development snapshots of GCC prior to 3.0.
11003 aix4 | aix4.[01] | aix4.[01].*)
11004 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11006 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11009 can_build_shared=no
11013 # Using Import Files as archive members, it is possible to support
11014 # filename-based versioning of shared library archives on AIX. While
11015 # this would work for both with and without runtime linking, it will
11016 # prevent static linking of such archives. So we do filename-based
11017 # shared library versioning with .so extension only, which is used
11018 # when both runtime linking and shared linking is enabled.
11019 # Unfortunately, runtime linking may impact performance, so we do
11020 # not want this to be the default eventually. Also, we use the
11021 # versioned .so libs for executables only if there is the -brtl
11022 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11023 # To allow for filename-based versioning support, we need to create
11024 # libNAME.so.V as an archive file, containing:
11025 # *) an Import File, referring to the versioned filename of the
11026 # archive as well as the shared archive member, telling the
11027 # bitwidth (32 or 64) of that shared object, and providing the
11028 # list of exported symbols of that shared object, eventually
11029 # decorated with the 'weak' keyword
11030 # *) the shared object with the F_LOADONLY flag set, to really avoid
11031 # it being seen by the linker.
11032 # At run time we better use the real file rather than another symlink,
11033 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11035 case $with_aix_soname,$aix_use_runtimelinking in
11036 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11037 # soname into executable. Probably we can add versioning support to
11038 # collect2, so additional links can be useful in future.
11039 aix,yes) # traditional libtool
11040 dynamic_linker='AIX unversionable lib.so'
11041 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11042 # instead of lib<name>.a to let people know that these are not
11043 # typical AIX shared libraries.
11044 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11046 aix,no) # traditional AIX only
11047 dynamic_linker='AIX lib.a(lib.so.V)'
11048 # We preserve .a as extension for shared libraries through AIX4.2
11049 # and later when we are not doing run time linking.
11050 library_names_spec='$libname$release.a $libname.a'
11051 soname_spec='$libname$release$shared_ext$major'
11053 svr4,*) # full svr4 only
11054 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11055 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11056 # We do not specify a path in Import Files, so LIBPATH fires.
11057 shlibpath_overrides_runpath=yes
11059 *,yes) # both, prefer svr4
11060 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11061 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11062 # unpreferred sharedlib libNAME.a needs extra handling
11063 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11064 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11065 # We do not specify a path in Import Files, so LIBPATH fires.
11066 shlibpath_overrides_runpath=yes
11068 *,no) # both, prefer aix
11069 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11070 library_names_spec='$libname$release.a $libname.a'
11071 soname_spec='$libname$release$shared_ext$major'
11072 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11073 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11074 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11077 shlibpath_var=LIBPATH
11084 # Since July 2007 AmigaOS4 officially supports .so libraries.
11085 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11086 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11089 library_names_spec='$libname.ixlibrary $libname.a'
11090 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11091 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11097 library_names_spec='$libname$shared_ext'
11098 dynamic_linker="$host_os ld.so"
11099 shlibpath_var=LIBRARY_PATH
11103 version_type=linux # correct to gnu/linux during the next big refactor
11105 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11106 soname_spec='$libname$release$shared_ext$major'
11107 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11108 shlibpath_var=LD_LIBRARY_PATH
11109 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11110 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11111 # the default ld.so.conf also contains /usr/contrib/lib and
11112 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11113 # libtool to hard-code these into programs
11116 cygwin* | mingw* | pw32* | cegcc*)
11117 version_type=windows
11122 case $GCC,$cc_basename in
11125 library_names_spec='$libname.dll.a'
11126 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11127 postinstall_cmds='base_file=`basename \$file`~
11128 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11129 dldir=$destdir/`dirname \$dlpath`~
11130 test -d \$dldir || mkdir -p \$dldir~
11131 $install_prog $dir/$dlname \$dldir/$dlname~
11132 chmod a+x \$dldir/$dlname~
11133 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11134 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11136 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11137 dlpath=$dir/\$dldll~
11139 shlibpath_overrides_runpath=yes
11143 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11144 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11146 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11149 # MinGW DLLs use traditional 'lib' prefix
11150 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11153 # pw32 DLLs use 'pw' prefix rather than 'lib'
11154 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11157 dynamic_linker='Win32 ld.exe'
11162 libname_spec='$name'
11163 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11164 library_names_spec='$libname.dll.lib'
11168 sys_lib_search_path_spec=
11171 for lt_path in $LIB
11174 # Let DOS variable expansion print the short 8.3 style file name.
11175 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11176 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11179 # Convert to MSYS style.
11180 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11183 # Convert to unix form, then to dos form, then back to unix form
11184 # but this time dos style (no spaces!) so that the unix form looks
11185 # like /cygdrive/c/PROGRA~1:/cygdr...
11186 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11187 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11188 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11191 sys_lib_search_path_spec=$LIB
11192 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11193 # It is most probably a Windows format PATH.
11194 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11196 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11198 # FIXME: find the short name or the path components, as spaces are
11199 # common. (e.g. "Program Files" -> "PROGRA~1")
11203 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11204 postinstall_cmds='base_file=`basename \$file`~
11205 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11206 dldir=$destdir/`dirname \$dlpath`~
11207 test -d \$dldir || mkdir -p \$dldir~
11208 $install_prog $dir/$dlname \$dldir/$dlname'
11209 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11210 dlpath=$dir/\$dldll~
11212 shlibpath_overrides_runpath=yes
11213 dynamic_linker='Win32 link.exe'
11217 # Assume MSVC wrapper
11218 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11219 dynamic_linker='Win32 ld.exe'
11222 # FIXME: first we should search . and the directory the executable is in
11226 darwin* | rhapsody*)
11227 dynamic_linker="$host_os dyld"
11228 version_type=darwin
11231 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11232 soname_spec='$libname$release$major$shared_ext'
11233 shlibpath_overrides_runpath=yes
11234 shlibpath_var=DYLD_LIBRARY_PATH
11235 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11237 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11238 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11242 version_type=linux # correct to gnu/linux during the next big refactor
11245 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11246 soname_spec='$libname$release$shared_ext$major'
11247 shlibpath_var=LD_LIBRARY_PATH
11250 freebsd* | dragonfly*)
11251 # DragonFly does not have aout. When/if they implement a new
11252 # versioning mechanism, adjust this.
11253 if test -x /usr/bin/objformat; then
11254 objformat=`/usr/bin/objformat`
11257 freebsd[23].*) objformat=aout ;;
11258 *) objformat=elf ;;
11261 version_type=freebsd-$objformat
11262 case $version_type in
11264 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11265 soname_spec='$libname$release$shared_ext$major'
11270 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11274 shlibpath_var=LD_LIBRARY_PATH
11277 shlibpath_overrides_runpath=yes
11279 freebsd3.[01]* | freebsdelf3.[01]*)
11280 shlibpath_overrides_runpath=yes
11281 hardcode_into_libs=yes
11283 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11284 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11285 shlibpath_overrides_runpath=no
11286 hardcode_into_libs=yes
11288 *) # from 4.6 on, and DragonFly
11289 shlibpath_overrides_runpath=yes
11290 hardcode_into_libs=yes
11296 version_type=linux # correct to gnu/linux during the next big refactor
11299 dynamic_linker="$host_os runtime_loader"
11300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11301 soname_spec='$libname$release$shared_ext$major'
11302 shlibpath_var=LIBRARY_PATH
11303 shlibpath_overrides_runpath=no
11304 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11305 hardcode_into_libs=yes
11308 hpux9* | hpux10* | hpux11*)
11309 # Give a soname corresponding to the major version so that dld.sl refuses to
11310 # link against other versions.
11317 hardcode_into_libs=yes
11318 dynamic_linker="$host_os dld.so"
11319 shlibpath_var=LD_LIBRARY_PATH
11320 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11321 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11322 soname_spec='$libname$release$shared_ext$major'
11323 if test 32 = "$HPUX_IA64_MODE"; then
11324 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11325 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11327 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11328 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11333 hardcode_into_libs=yes
11334 dynamic_linker="$host_os dld.sl"
11335 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11336 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11337 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11338 soname_spec='$libname$release$shared_ext$major'
11339 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11340 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11344 dynamic_linker="$host_os dld.sl"
11345 shlibpath_var=SHLIB_PATH
11346 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11347 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11348 soname_spec='$libname$release$shared_ext$major'
11351 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11352 postinstall_cmds='chmod 555 $lib'
11353 # or fails outright, so override atomically:
11354 install_override_mode=555
11358 version_type=linux # correct to gnu/linux during the next big refactor
11361 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11362 soname_spec='$libname$release$shared_ext$major'
11363 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11364 shlibpath_var=LD_LIBRARY_PATH
11365 shlibpath_overrides_runpath=no
11366 hardcode_into_libs=yes
11369 irix5* | irix6* | nonstopux*)
11371 nonstopux*) version_type=nonstopux ;;
11373 if test yes = "$lt_cv_prog_gnu_ld"; then
11374 version_type=linux # correct to gnu/linux during the next big refactor
11381 soname_spec='$libname$release$shared_ext$major'
11382 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11384 irix5* | nonstopux*)
11385 libsuff= shlibsuff=
11388 case $LD in # libtool.m4 will add one of these switches to LD
11389 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11390 libsuff= shlibsuff= libmagic=32-bit;;
11391 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11392 libsuff=32 shlibsuff=N32 libmagic=N32;;
11393 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11394 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11395 *) libsuff= shlibsuff= libmagic=never-match;;
11399 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11400 shlibpath_overrides_runpath=no
11401 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11402 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11403 hardcode_into_libs=yes
11406 # No shared lib support for Linux oldld, aout, or coff.
11407 linux*oldld* | linux*aout* | linux*coff*)
11412 version_type=none # Android doesn't support versioned libraries.
11415 library_names_spec='$libname$release$shared_ext'
11416 soname_spec='$libname$release$shared_ext'
11418 shlibpath_var=LD_LIBRARY_PATH
11419 shlibpath_overrides_runpath=yes
11421 # This implies no fast_install, which is unacceptable.
11422 # Some rework will be needed to allow for fast_install
11423 # before this can be enabled.
11424 hardcode_into_libs=yes
11426 dynamic_linker='Android linker'
11427 # Don't embed -rpath directories since the linker doesn't support them.
11428 hardcode_libdir_flag_spec='-L$libdir'
11431 # This must be glibc/ELF.
11432 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11433 version_type=linux # correct to gnu/linux during the next big refactor
11436 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11437 soname_spec='$libname$release$shared_ext$major'
11438 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11439 shlibpath_var=LD_LIBRARY_PATH
11440 shlibpath_overrides_runpath=no
11442 # Some binutils ld are patched to set DT_RUNPATH
11443 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11444 $as_echo_n "(cached) " >&6
11446 lt_cv_shlibpath_overrides_runpath=no
11447 save_LDFLAGS=$LDFLAGS
11448 save_libdir=$libdir
11449 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11450 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11464 lt_cv_shlibpath_overrides_runpath=yes
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LDFLAGS=$save_LDFLAGS
11470 libdir=$save_libdir
11474 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11476 # This implies no fast_install, which is unacceptable.
11477 # Some rework will be needed to allow for fast_install
11478 # before this can be enabled.
11479 hardcode_into_libs=yes
11481 # Ideally, we could use ldconfig to report *all* directores which are
11482 # searched for libraries, however this is still not possible. Aside from not
11483 # being certain /sbin/ldconfig is available, command
11484 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11485 # even though it is searched at run-time. Try to do the best guess by
11486 # appending ld.so.conf contents (and includes) to the search path.
11487 if test -f /etc/ld.so.conf; then
11488 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' ' '`
11489 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11492 # We used to test for /lib/ld.so.1 and disable shared libraries on
11493 # powerpc, because MkLinux only supported shared libraries with the
11494 # GNU dynamic linker. Since this was broken with cross compilers,
11495 # most powerpc-linux boxes support dynamic linking these days and
11496 # people can always --disable-shared, the test was removed, and we
11497 # assume the GNU/Linux dynamic linker is in use.
11498 dynamic_linker='GNU/Linux ld.so'
11505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11506 soname_spec='${libname}${release}${shared_ext}$major'
11507 shlibpath_var=LD_LIBRARY_PATH
11508 shlibpath_overrides_runpath=no
11509 hardcode_into_libs=yes
11510 dynamic_linker='NetBSD ld.elf_so'
11517 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11518 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11519 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11520 dynamic_linker='NetBSD (a.out) ld.so'
11522 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11523 soname_spec='$libname$release$shared_ext$major'
11524 dynamic_linker='NetBSD ld.elf_so'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 shlibpath_overrides_runpath=yes
11528 hardcode_into_libs=yes
11532 version_type=linux # correct to gnu/linux during the next big refactor
11533 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11534 shlibpath_var=LD_LIBRARY_PATH
11535 shlibpath_overrides_runpath=yes
11542 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11543 soname_spec='$libname$release$shared_ext$major'
11544 shlibpath_var=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath=no
11546 hardcode_into_libs=yes
11547 dynamic_linker='ldqnx.so'
11550 openbsd* | bitrig*)
11552 sys_lib_dlsearch_path_spec=/usr/lib
11554 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11559 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11560 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11561 shlibpath_var=LD_LIBRARY_PATH
11562 shlibpath_overrides_runpath=yes
11566 libname_spec='$name'
11567 version_type=windows
11571 # OS/2 can only load a DLL with a base name of 8 characters or less.
11572 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11573 v=$($ECHO $release$versuffix | tr -d .-);
11574 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11575 $ECHO $n$v`$shared_ext'
11576 library_names_spec='${libname}_dll.$libext'
11577 dynamic_linker='OS/2 ld.exe'
11578 shlibpath_var=BEGINLIBPATH
11579 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11580 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11581 postinstall_cmds='base_file=`basename \$file`~
11582 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11583 dldir=$destdir/`dirname \$dlpath`~
11584 test -d \$dldir || mkdir -p \$dldir~
11585 $install_prog $dir/$dlname \$dldir/$dlname~
11586 chmod a+x \$dldir/$dlname~
11587 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11588 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11590 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11591 dlpath=$dir/\$dldll~
11595 osf3* | osf4* | osf5*)
11599 soname_spec='$libname$release$shared_ext$major'
11600 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11601 shlibpath_var=LD_LIBRARY_PATH
11602 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11603 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11611 version_type=linux # correct to gnu/linux during the next big refactor
11614 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11615 soname_spec='$libname$release$shared_ext$major'
11616 shlibpath_var=LD_LIBRARY_PATH
11617 shlibpath_overrides_runpath=yes
11618 hardcode_into_libs=yes
11619 # ldd complains unless libraries are executable
11620 postinstall_cmds='chmod +x $lib'
11625 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11626 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11627 shlibpath_var=LD_LIBRARY_PATH
11628 shlibpath_overrides_runpath=yes
11629 if test yes = "$with_gnu_ld"; then
11636 version_type=linux # correct to gnu/linux during the next big refactor
11637 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11638 soname_spec='$libname$release$shared_ext$major'
11639 shlibpath_var=LD_LIBRARY_PATH
11640 case $host_vendor in
11642 shlibpath_overrides_runpath=no
11644 runpath_var=LD_RUN_PATH
11652 shlibpath_overrides_runpath=no
11653 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11659 if test -d /usr/nec; then
11660 version_type=linux # correct to gnu/linux during the next big refactor
11661 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11662 soname_spec='$libname$shared_ext.$major'
11663 shlibpath_var=LD_LIBRARY_PATH
11667 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11671 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11672 soname_spec='$libname$release$shared_ext$major'
11673 shlibpath_var=LD_LIBRARY_PATH
11674 shlibpath_overrides_runpath=yes
11675 hardcode_into_libs=yes
11676 if test yes = "$with_gnu_ld"; then
11677 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11679 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11682 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11686 sys_lib_dlsearch_path_spec='/usr/lib'
11690 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11691 version_type=linux # correct to gnu/linux during the next big refactor
11694 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11695 shlibpath_var=LD_LIBRARY_PATH
11696 shlibpath_overrides_runpath=no
11697 hardcode_into_libs=yes
11701 version_type=linux # correct to gnu/linux during the next big refactor
11702 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11703 soname_spec='$libname$release$shared_ext$major'
11704 shlibpath_var=LD_LIBRARY_PATH
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11712 $as_echo "$dynamic_linker" >&6; }
11713 test no = "$dynamic_linker" && can_build_shared=no
11715 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11716 if test yes = "$GCC"; then
11717 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11720 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11721 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11724 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11725 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11728 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11729 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11731 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11732 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11734 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11735 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11834 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11836 if test -n "$hardcode_libdir_flag_spec" ||
11837 test -n "$runpath_var" ||
11838 test yes = "$hardcode_automatic"; then
11840 # We can hardcode non-existent directories.
11841 if test no != "$hardcode_direct" &&
11842 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11843 # have to relink, otherwise we might link with an installed library
11844 # when we should be linking with a yet-to-be-installed one
11845 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11846 test no != "$hardcode_minus_L"; then
11847 # Linking always hardcodes the temporary library directory.
11848 hardcode_action=relink
11850 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11851 hardcode_action=immediate
11854 # We cannot hardcode anything, or else we can only hardcode existing
11856 hardcode_action=unsupported
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11859 $as_echo "$hardcode_action" >&6; }
11861 if test relink = "$hardcode_action" ||
11862 test yes = "$inherit_rpath"; then
11863 # Fast installation is not supported
11864 enable_fast_install=no
11865 elif test yes = "$shlibpath_overrides_runpath" ||
11866 test no = "$enable_shared"; then
11867 # Fast installation is not necessary
11868 enable_fast_install=needless
11876 if test yes != "$enable_dlopen"; then
11877 enable_dlopen=unknown
11878 enable_dlopen_self=unknown
11879 enable_dlopen_self_static=unknown
11886 lt_cv_dlopen=load_add_on
11888 lt_cv_dlopen_self=yes
11891 mingw* | pw32* | cegcc*)
11892 lt_cv_dlopen=LoadLibrary
11897 lt_cv_dlopen=dlopen
11902 # if libdl is installed we need to link against it
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11904 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11905 if ${ac_cv_lib_dl_dlopen+:} false; then :
11906 $as_echo_n "(cached) " >&6
11908 ac_check_lib_save_LIBS=$LIBS
11910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11913 /* Override any GCC internal prototype to avoid an error.
11914 Use char because int might match the return type of a GCC
11915 builtin and then its argument prototype would still apply. */
11928 if ac_fn_c_try_link "$LINENO"; then :
11929 ac_cv_lib_dl_dlopen=yes
11931 ac_cv_lib_dl_dlopen=no
11933 rm -f core conftest.err conftest.$ac_objext \
11934 conftest$ac_exeext conftest.$ac_ext
11935 LIBS=$ac_check_lib_save_LIBS
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11938 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11939 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11940 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11945 lt_cv_dlopen_self=yes
11952 # Don't try to run any link tests for TPF. We know it's impossible
11953 # because TPF is a cross-compiler, and we know how we open DSOs.
11954 lt_cv_dlopen=dlopen
11956 lt_cv_dlopen_self=no
11960 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11961 if test "x$ac_cv_func_shl_load" = xyes; then :
11962 lt_cv_dlopen=shl_load
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11965 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11966 if ${ac_cv_lib_dld_shl_load+:} false; then :
11967 $as_echo_n "(cached) " >&6
11969 ac_check_lib_save_LIBS=$LIBS
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11984 return shl_load ();
11989 if ac_fn_c_try_link "$LINENO"; then :
11990 ac_cv_lib_dld_shl_load=yes
11992 ac_cv_lib_dld_shl_load=no
11994 rm -f core conftest.err conftest.$ac_objext \
11995 conftest$ac_exeext conftest.$ac_ext
11996 LIBS=$ac_check_lib_save_LIBS
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11999 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12000 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12001 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12003 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12004 if test "x$ac_cv_func_dlopen" = xyes; then :
12005 lt_cv_dlopen=dlopen
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12008 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12009 if ${ac_cv_lib_dl_dlopen+:} false; then :
12010 $as_echo_n "(cached) " >&6
12012 ac_check_lib_save_LIBS=$LIBS
12014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12017 /* Override any GCC internal prototype to avoid an error.
12018 Use char because int might match the return type of a GCC
12019 builtin and then its argument prototype would still apply. */
12032 if ac_fn_c_try_link "$LINENO"; then :
12033 ac_cv_lib_dl_dlopen=yes
12035 ac_cv_lib_dl_dlopen=no
12037 rm -f core conftest.err conftest.$ac_objext \
12038 conftest$ac_exeext conftest.$ac_ext
12039 LIBS=$ac_check_lib_save_LIBS
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12042 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12043 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12044 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12047 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12048 if ${ac_cv_lib_svld_dlopen+:} false; then :
12049 $as_echo_n "(cached) " >&6
12051 ac_check_lib_save_LIBS=$LIBS
12052 LIBS="-lsvld $LIBS"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12071 if ac_fn_c_try_link "$LINENO"; then :
12072 ac_cv_lib_svld_dlopen=yes
12074 ac_cv_lib_svld_dlopen=no
12076 rm -f core conftest.err conftest.$ac_objext \
12077 conftest$ac_exeext conftest.$ac_ext
12078 LIBS=$ac_check_lib_save_LIBS
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12081 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12082 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12083 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12086 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12087 if ${ac_cv_lib_dld_dld_link+:} false; then :
12088 $as_echo_n "(cached) " >&6
12090 ac_check_lib_save_LIBS=$LIBS
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12105 return dld_link ();
12110 if ac_fn_c_try_link "$LINENO"; then :
12111 ac_cv_lib_dld_dld_link=yes
12113 ac_cv_lib_dld_dld_link=no
12115 rm -f core conftest.err conftest.$ac_objext \
12116 conftest$ac_exeext conftest.$ac_ext
12117 LIBS=$ac_check_lib_save_LIBS
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12120 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12121 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12122 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12143 if test no = "$lt_cv_dlopen"; then
12149 case $lt_cv_dlopen in
12151 save_CPPFLAGS=$CPPFLAGS
12152 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12154 save_LDFLAGS=$LDFLAGS
12155 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12158 LIBS="$lt_cv_dlopen_libs $LIBS"
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12161 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12162 if ${lt_cv_dlopen_self+:} false; then :
12163 $as_echo_n "(cached) " >&6
12165 if test yes = "$cross_compiling"; then :
12166 lt_cv_dlopen_self=cross
12168 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12169 lt_status=$lt_dlunknown
12170 cat > conftest.$ac_ext <<_LT_EOF
12171 #line $LINENO "configure"
12172 #include "confdefs.h"
12181 # define LT_DLGLOBAL RTLD_GLOBAL
12184 # define LT_DLGLOBAL DL_GLOBAL
12186 # define LT_DLGLOBAL 0
12190 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12191 find out it does not work in some platform. */
12192 #ifndef LT_DLLAZY_OR_NOW
12194 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12197 # define LT_DLLAZY_OR_NOW DL_LAZY
12200 # define LT_DLLAZY_OR_NOW RTLD_NOW
12203 # define LT_DLLAZY_OR_NOW DL_NOW
12205 # define LT_DLLAZY_OR_NOW 0
12212 /* When -fvisibility=hidden is used, assume the code has been annotated
12213 correspondingly for the symbols needed. */
12214 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12215 int fnord () __attribute__((visibility("default")));
12218 int fnord () { return 42; }
12221 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12222 int status = $lt_dlunknown;
12226 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12229 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12230 else puts (dlerror ());
12232 /* dlclose (self); */
12240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12241 (eval $ac_link) 2>&5
12243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12244 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12245 (./conftest; exit; ) >&5 2>/dev/null
12247 case x$lt_status in
12248 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12249 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12250 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12253 # compilation failed
12254 lt_cv_dlopen_self=no
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12262 $as_echo "$lt_cv_dlopen_self" >&6; }
12264 if test yes = "$lt_cv_dlopen_self"; then
12265 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12267 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12268 if ${lt_cv_dlopen_self_static+:} false; then :
12269 $as_echo_n "(cached) " >&6
12271 if test yes = "$cross_compiling"; then :
12272 lt_cv_dlopen_self_static=cross
12274 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12275 lt_status=$lt_dlunknown
12276 cat > conftest.$ac_ext <<_LT_EOF
12277 #line $LINENO "configure"
12278 #include "confdefs.h"
12287 # define LT_DLGLOBAL RTLD_GLOBAL
12290 # define LT_DLGLOBAL DL_GLOBAL
12292 # define LT_DLGLOBAL 0
12296 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12297 find out it does not work in some platform. */
12298 #ifndef LT_DLLAZY_OR_NOW
12300 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12303 # define LT_DLLAZY_OR_NOW DL_LAZY
12306 # define LT_DLLAZY_OR_NOW RTLD_NOW
12309 # define LT_DLLAZY_OR_NOW DL_NOW
12311 # define LT_DLLAZY_OR_NOW 0
12318 /* When -fvisibility=hidden is used, assume the code has been annotated
12319 correspondingly for the symbols needed. */
12320 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12321 int fnord () __attribute__((visibility("default")));
12324 int fnord () { return 42; }
12327 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12328 int status = $lt_dlunknown;
12332 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12335 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12336 else puts (dlerror ());
12338 /* dlclose (self); */
12346 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12347 (eval $ac_link) 2>&5
12349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12350 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12351 (./conftest; exit; ) >&5 2>/dev/null
12353 case x$lt_status in
12354 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12355 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12356 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12359 # compilation failed
12360 lt_cv_dlopen_self_static=no
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12368 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12371 CPPFLAGS=$save_CPPFLAGS
12372 LDFLAGS=$save_LDFLAGS
12377 case $lt_cv_dlopen_self in
12378 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12379 *) enable_dlopen_self=unknown ;;
12382 case $lt_cv_dlopen_self_static in
12383 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12384 *) enable_dlopen_self_static=unknown ;;
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12407 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12408 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12409 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12410 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12412 $as_echo "yes" >&6; }
12414 # FIXME - insert some real tests, host_os isn't really good enough
12417 if test -n "$STRIP"; then
12418 striplib="$STRIP -x"
12419 old_striplib="$STRIP -S"
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12421 $as_echo "yes" >&6; }
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12424 $as_echo "no" >&6; }
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12429 $as_echo "no" >&6; }
12445 # Report what library types will actually be built
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12447 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12449 $as_echo "$can_build_shared" >&6; }
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12452 $as_echo_n "checking whether to build shared libraries... " >&6; }
12453 test no = "$can_build_shared" && enable_shared=no
12455 # On AIX, shared libraries and static libraries use the same namespace, and
12456 # are all built from PIC.
12459 test yes = "$enable_shared" && enable_static=no
12460 if test -n "$RANLIB"; then
12461 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12462 postinstall_cmds='$RANLIB $lib'
12467 if test ia64 != "$host_cpu"; then
12468 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12469 yes,aix,yes) ;; # shared object as lib.so file only
12470 yes,svr4,*) ;; # shared object as lib.so archive member only
12471 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12477 $as_echo "$enable_shared" >&6; }
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12480 $as_echo_n "checking whether to build static libraries... " >&6; }
12481 # Make sure either enable_shared or enable_static is yes.
12482 test yes = "$enable_shared" || enable_static=yes
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12484 $as_echo "$enable_static" >&6; }
12491 ac_cpp='$CPP $CPPFLAGS'
12492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12512 ac_config_commands="$ac_config_commands libtool"
12517 # Only expand once:
12523 for ac_func in $ac_func_list
12525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12528 cat >>confdefs.h <<_ACEOF
12529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12541 # Checks for programs.
12549 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12550 if test -n "$ac_tool_prefix"; then
12551 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12552 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12554 $as_echo_n "checking for $ac_word... " >&6; }
12555 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12556 $as_echo_n "(cached) " >&6
12558 case $PKG_CONFIG in
12560 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12564 for as_dir in $PATH
12567 test -z "$as_dir" && as_dir=.
12568 for ac_exec_ext in '' $ac_executable_extensions; do
12569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12570 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12581 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12582 if test -n "$PKG_CONFIG"; then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12584 $as_echo "$PKG_CONFIG" >&6; }
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12587 $as_echo "no" >&6; }
12592 if test -z "$ac_cv_path_PKG_CONFIG"; then
12593 ac_pt_PKG_CONFIG=$PKG_CONFIG
12594 # Extract the first word of "pkg-config", so it can be a program name with args.
12595 set dummy pkg-config; ac_word=$2
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12597 $as_echo_n "checking for $ac_word... " >&6; }
12598 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12599 $as_echo_n "(cached) " >&6
12601 case $ac_pt_PKG_CONFIG in
12603 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12607 for as_dir in $PATH
12610 test -z "$as_dir" && as_dir=.
12611 for ac_exec_ext in '' $ac_executable_extensions; do
12612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12613 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12624 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12625 if test -n "$ac_pt_PKG_CONFIG"; then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12627 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12630 $as_echo "no" >&6; }
12633 if test "x$ac_pt_PKG_CONFIG" = x; then
12636 case $cross_compiling:$ac_tool_warned in
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12640 ac_tool_warned=yes ;;
12642 PKG_CONFIG=$ac_pt_PKG_CONFIG
12645 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12649 if test -n "$PKG_CONFIG"; then
12650 _pkg_min_version=0.23
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12652 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12653 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12655 $as_echo "yes" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12658 $as_echo "no" >&6; }
12663 ac_cpp='$CPP $CPPFLAGS'
12664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12667 if test -n "$ac_tool_prefix"; then
12668 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12669 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12671 $as_echo_n "checking for $ac_word... " >&6; }
12672 if ${ac_cv_prog_CC+:} false; then :
12673 $as_echo_n "(cached) " >&6
12675 if test -n "$CC"; then
12676 ac_cv_prog_CC="$CC" # Let the user override the test.
12678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12679 for as_dir in $PATH
12682 test -z "$as_dir" && as_dir=.
12683 for ac_exec_ext in '' $ac_executable_extensions; do
12684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12685 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12696 if test -n "$CC"; then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12698 $as_echo "$CC" >&6; }
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12701 $as_echo "no" >&6; }
12706 if test -z "$ac_cv_prog_CC"; then
12708 # Extract the first word of "gcc", so it can be a program name with args.
12709 set dummy gcc; ac_word=$2
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12711 $as_echo_n "checking for $ac_word... " >&6; }
12712 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12713 $as_echo_n "(cached) " >&6
12715 if test -n "$ac_ct_CC"; then
12716 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12719 for as_dir in $PATH
12722 test -z "$as_dir" && as_dir=.
12723 for ac_exec_ext in '' $ac_executable_extensions; do
12724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12725 ac_cv_prog_ac_ct_CC="gcc"
12726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12735 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12736 if test -n "$ac_ct_CC"; then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12738 $as_echo "$ac_ct_CC" >&6; }
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12741 $as_echo "no" >&6; }
12744 if test "x$ac_ct_CC" = x; then
12747 case $cross_compiling:$ac_tool_warned in
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12751 ac_tool_warned=yes ;;
12756 CC="$ac_cv_prog_CC"
12759 if test -z "$CC"; then
12760 if test -n "$ac_tool_prefix"; then
12761 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12762 set dummy ${ac_tool_prefix}cc; ac_word=$2
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12764 $as_echo_n "checking for $ac_word... " >&6; }
12765 if ${ac_cv_prog_CC+:} false; then :
12766 $as_echo_n "(cached) " >&6
12768 if test -n "$CC"; then
12769 ac_cv_prog_CC="$CC" # Let the user override the test.
12771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12772 for as_dir in $PATH
12775 test -z "$as_dir" && as_dir=.
12776 for ac_exec_ext in '' $ac_executable_extensions; do
12777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12778 ac_cv_prog_CC="${ac_tool_prefix}cc"
12779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12789 if test -n "$CC"; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12791 $as_echo "$CC" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12800 if test -z "$CC"; then
12801 # Extract the first word of "cc", so it can be a program name with args.
12802 set dummy cc; ac_word=$2
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12804 $as_echo_n "checking for $ac_word... " >&6; }
12805 if ${ac_cv_prog_CC+:} false; then :
12806 $as_echo_n "(cached) " >&6
12808 if test -n "$CC"; then
12809 ac_cv_prog_CC="$CC" # Let the user override the test.
12811 ac_prog_rejected=no
12812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12813 for as_dir in $PATH
12816 test -z "$as_dir" && as_dir=.
12817 for ac_exec_ext in '' $ac_executable_extensions; do
12818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12819 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12820 ac_prog_rejected=yes
12824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12831 if test $ac_prog_rejected = yes; then
12832 # We found a bogon in the path, so make sure we never use it.
12833 set dummy $ac_cv_prog_CC
12835 if test $# != 0; then
12836 # We chose a different compiler from the bogus one.
12837 # However, it has the same basename, so the bogon will be chosen
12838 # first if we set CC to just the basename; use the full file name.
12840 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12846 if test -n "$CC"; then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12848 $as_echo "$CC" >&6; }
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12851 $as_echo "no" >&6; }
12856 if test -z "$CC"; then
12857 if test -n "$ac_tool_prefix"; then
12858 for ac_prog in cl.exe
12860 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12861 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12863 $as_echo_n "checking for $ac_word... " >&6; }
12864 if ${ac_cv_prog_CC+:} false; then :
12865 $as_echo_n "(cached) " >&6
12867 if test -n "$CC"; then
12868 ac_cv_prog_CC="$CC" # Let the user override the test.
12870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12871 for as_dir in $PATH
12874 test -z "$as_dir" && as_dir=.
12875 for ac_exec_ext in '' $ac_executable_extensions; do
12876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12877 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12888 if test -n "$CC"; then
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12890 $as_echo "$CC" >&6; }
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12893 $as_echo "no" >&6; }
12897 test -n "$CC" && break
12900 if test -z "$CC"; then
12902 for ac_prog in cl.exe
12904 # Extract the first word of "$ac_prog", so it can be a program name with args.
12905 set dummy $ac_prog; ac_word=$2
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12907 $as_echo_n "checking for $ac_word... " >&6; }
12908 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12909 $as_echo_n "(cached) " >&6
12911 if test -n "$ac_ct_CC"; then
12912 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12915 for as_dir in $PATH
12918 test -z "$as_dir" && as_dir=.
12919 for ac_exec_ext in '' $ac_executable_extensions; do
12920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12921 ac_cv_prog_ac_ct_CC="$ac_prog"
12922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12931 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12932 if test -n "$ac_ct_CC"; then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12934 $as_echo "$ac_ct_CC" >&6; }
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12937 $as_echo "no" >&6; }
12941 test -n "$ac_ct_CC" && break
12944 if test "x$ac_ct_CC" = x; then
12947 case $cross_compiling:$ac_tool_warned in
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12951 ac_tool_warned=yes ;;
12960 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12962 as_fn_error $? "no acceptable C compiler found in \$PATH
12963 See \`config.log' for more details" "$LINENO" 5; }
12965 # Provide some information about the compiler.
12966 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12969 for ac_option in --version -v -V -qversion; do
12970 { { ac_try="$ac_compiler $ac_option >&5"
12971 case "(($ac_try" in
12972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12973 *) ac_try_echo=$ac_try;;
12975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12976 $as_echo "$ac_try_echo"; } >&5
12977 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12979 if test -s conftest.err; then
12981 ... rest of stderr output deleted ...
12982 10q' conftest.err >conftest.er1
12983 cat conftest.er1 >&5
12985 rm -f conftest.er1 conftest.err
12986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12987 test $ac_status = 0; }
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12991 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12992 if ${ac_cv_c_compiler_gnu+:} false; then :
12993 $as_echo_n "(cached) " >&6
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
13009 if ac_fn_c_try_compile "$LINENO"; then :
13010 ac_compiler_gnu=yes
13014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13015 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13019 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13020 if test $ac_compiler_gnu = yes; then
13025 ac_test_CFLAGS=${CFLAGS+set}
13026 ac_save_CFLAGS=$CFLAGS
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13028 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13029 if ${ac_cv_prog_cc_g+:} false; then :
13030 $as_echo_n "(cached) " >&6
13032 ac_save_c_werror_flag=$ac_c_werror_flag
13033 ac_c_werror_flag=yes
13036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h. */
13047 if ac_fn_c_try_compile "$LINENO"; then :
13048 ac_cv_prog_cc_g=yes
13051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13052 /* end confdefs.h. */
13062 if ac_fn_c_try_compile "$LINENO"; then :
13065 ac_c_werror_flag=$ac_save_c_werror_flag
13067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13078 if ac_fn_c_try_compile "$LINENO"; then :
13079 ac_cv_prog_cc_g=yes
13081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13086 ac_c_werror_flag=$ac_save_c_werror_flag
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13089 $as_echo "$ac_cv_prog_cc_g" >&6; }
13090 if test "$ac_test_CFLAGS" = set; then
13091 CFLAGS=$ac_save_CFLAGS
13092 elif test $ac_cv_prog_cc_g = yes; then
13093 if test "$GCC" = yes; then
13099 if test "$GCC" = yes; then
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13106 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13107 if ${ac_cv_prog_cc_c89+:} false; then :
13108 $as_echo_n "(cached) " >&6
13110 ac_cv_prog_cc_c89=no
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13114 #include <stdarg.h>
13117 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13118 struct buf { int x; };
13119 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13120 static char *e (p, i)
13126 static char *f (char * (*g) (char **, int), char **p, ...)
13131 s = g (p, va_arg (v,int));
13136 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13137 function prototypes and stuff, but not '\xHH' hex character constants.
13138 These don't provoke an error unfortunately, instead are silently treated
13139 as 'x'. The following induces an error, until -std is added to get
13140 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13141 array size at least. It's necessary to write '\x00'==0 to get something
13142 that's true only with -std. */
13143 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13145 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13146 inside strings and character constants. */
13148 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13150 int test (int i, double x);
13151 struct s1 {int (*f) (int a);};
13152 struct s2 {int (*f) (double a);};
13153 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13159 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13164 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13165 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13167 CC="$ac_save_CC $ac_arg"
13168 if ac_fn_c_try_compile "$LINENO"; then :
13169 ac_cv_prog_cc_c89=$ac_arg
13171 rm -f core conftest.err conftest.$ac_objext
13172 test "x$ac_cv_prog_cc_c89" != "xno" && break
13174 rm -f conftest.$ac_ext
13179 case "x$ac_cv_prog_cc_c89" in
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13182 $as_echo "none needed" >&6; } ;;
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13185 $as_echo "unsupported" >&6; } ;;
13187 CC="$CC $ac_cv_prog_cc_c89"
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13189 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13191 if test "x$ac_cv_prog_cc_c89" != xno; then :
13196 ac_cpp='$CPP $CPPFLAGS'
13197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13202 ac_cpp='$CPP $CPPFLAGS'
13203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13207 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13208 if ${am_cv_prog_cc_c_o+:} false; then :
13209 $as_echo_n "(cached) " >&6
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13222 # Make sure it works both with $CC and with simple cc.
13223 # Following AC_PROG_CC_C_O, we do the test twice because some
13224 # compilers refuse to overwrite an existing .o file with -o,
13225 # though they will create one.
13226 am_cv_prog_cc_c_o=yes
13227 for am_i in 1 2; do
13228 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13229 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); } \
13233 && test -f conftest2.$ac_objext; then
13236 am_cv_prog_cc_c_o=no
13240 rm -f core conftest*
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13244 $as_echo "$am_cv_prog_cc_c_o" >&6; }
13245 if test "$am_cv_prog_cc_c_o" != yes; then
13246 # Losing compiler, so override with the script.
13247 # FIXME: It is wrong to rewrite CC.
13248 # But if we don't then we get into trouble of one sort or another.
13249 # A longer-term fix would be to have automake use am__CC in this case,
13250 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13251 CC="$am_aux_dir/compile $CC"
13254 ac_cpp='$CPP $CPPFLAGS'
13255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13260 depcc="$CC" am_compiler_list=
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13263 $as_echo_n "checking dependency style of $depcc... " >&6; }
13264 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13265 $as_echo_n "(cached) " >&6
13267 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13268 # We make a subdir and do the tests there. Otherwise we can end up
13269 # making bogus files that we don't know about and never remove. For
13270 # instance it was reported that on HP-UX the gcc test will end up
13271 # making a dummy file named 'D' -- because '-MD' means "put the output
13273 rm -rf conftest.dir
13275 # Copy depcomp to subdir because otherwise we won't find it if we're
13276 # using a relative directory.
13277 cp "$am_depcomp" conftest.dir
13279 # We will build objects and dependencies in a subdirectory because
13280 # it helps to detect inapplicable dependency modes. For instance
13281 # both Tru64's cc and ICC support -MD to output dependencies as a
13282 # side effect of compilation, but ICC will put the dependencies in
13283 # the current directory while Tru64 will put them in the object
13287 am_cv_CC_dependencies_compiler_type=none
13288 if test "$am_compiler_list" = ""; then
13289 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13291 am__universal=false
13292 case " $depcc " in #(
13293 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13296 for depmode in $am_compiler_list; do
13297 # Setup a source with many dependencies, because some compilers
13298 # like to wrap large dependency lists on column 80 (with \), and
13299 # we should not choose a depcomp mode which is confused by this.
13301 # We need to recreate these files for each test, as the compiler may
13302 # overwrite some of them when testing with obscure command lines.
13303 # This happens at least with the AIX C compiler.
13305 for i in 1 2 3 4 5 6; do
13306 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13307 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13308 # Solaris 10 /bin/sh.
13309 echo '/* dummy */' > sub/conftst$i.h
13311 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13313 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13314 # mode. It turns out that the SunPro C++ compiler does not properly
13315 # handle '-M -o', and we need to detect this. Also, some Intel
13316 # versions had trouble with output in subdirs.
13317 am__obj=sub/conftest.${OBJEXT-o}
13318 am__minus_obj="-o $am__obj"
13321 # This depmode causes a compiler race in universal mode.
13322 test "$am__universal" = false || continue
13325 # After this tag, mechanisms are not by side-effect, so they'll
13326 # only be used when explicitly requested.
13327 if test "x$enable_dependency_tracking" = xyes; then
13333 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13334 # This compiler won't grok '-c -o', but also, the minuso test has
13335 # not run yet. These depmodes are late enough in the game, and
13336 # so weak that their functioning should not be impacted.
13337 am__obj=conftest.${OBJEXT-o}
13342 if depmode=$depmode \
13343 source=sub/conftest.c object=$am__obj \
13344 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13345 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13346 >/dev/null 2>conftest.err &&
13347 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13348 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13349 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13350 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13351 # icc doesn't choke on unknown options, it will just issue warnings
13352 # or remarks (even with -Werror). So we grep stderr for any message
13353 # that says an option was ignored or not supported.
13354 # When given -MP, icc 7.0 and 7.1 complain thusly:
13355 # icc: Command line warning: ignoring option '-M'; no argument required
13356 # The diagnosis changed in icc 8.0:
13357 # icc: Command line remark: option '-MP' not supported
13358 if (grep 'ignoring option' conftest.err ||
13359 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13360 am_cv_CC_dependencies_compiler_type=$depmode
13367 rm -rf conftest.dir
13369 am_cv_CC_dependencies_compiler_type=none
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13374 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13375 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13378 test "x$enable_dependency_tracking" != xno \
13379 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13380 am__fastdepCC_TRUE=
13381 am__fastdepCC_FALSE='#'
13383 am__fastdepCC_TRUE='#'
13384 am__fastdepCC_FALSE=
13389 # Extract the first word of "valac", so it can be a program name with args.
13390 set dummy valac; ac_word=$2
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13392 $as_echo_n "checking for $ac_word... " >&6; }
13393 if ${ac_cv_path_VALAC+:} false; then :
13394 $as_echo_n "(cached) " >&6
13398 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
13401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13402 for as_dir in $PATH
13405 test -z "$as_dir" && as_dir=.
13406 for ac_exec_ext in '' $ac_executable_extensions; do
13407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13408 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
13409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13416 test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
13420 VALAC=$ac_cv_path_VALAC
13421 if test -n "$VALAC"; then
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
13423 $as_echo "$VALAC" >&6; }
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13426 $as_echo "no" >&6; }
13430 if test "$VALAC" != valac && test -n "0.9"; then :
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.9" >&5
13432 $as_echo_n "checking whether $VALAC is at least version 0.9... " >&6; }
13433 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
13435 as_arg_v2="$am__vala_version"
13436 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13440 $as_echo "yes" >&6; } ;; #(
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13443 $as_echo "yes" >&6; } ;; #(
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13446 $as_echo "no" >&6; }
13452 if test "$VALAC" = valac; then
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
13454 $as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
13456 $as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
13469 SERVER_IPC_MODULE="msrpc-glib2-1.0"
13470 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
13478 # We require dbus-glib for the client library even if we are using GDBus
13479 # in the server. The reason we can't always use dbus-glib in the server is
13480 # because Vala drops support for it, but as it ships with DBus there is very
13481 # little danger of it being dropped by distros any time soon.
13482 CLIENT_IPC_MODULE="dbus-glib-1"
13483 SERVER_IPC_MODULE="dbus-glib-1"
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
13488 $as_echo_n "checking for MAC... " >&6; }
13490 if test -n "$MAC_CFLAGS"; then
13491 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
13492 elif test -n "$PKG_CONFIG"; then
13493 if test -n "$PKG_CONFIG" && \
13494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13496 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13500 test $ac_status = 0; }; then
13501 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
13503 test "x$?" != "x0" && pkg_failed=yes
13510 if test -n "$MAC_LIBS"; then
13511 pkg_cv_MAC_LIBS="$MAC_LIBS"
13512 elif test -n "$PKG_CONFIG"; then
13513 if test -n "$PKG_CONFIG" && \
13514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13516 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13520 test $ac_status = 0; }; then
13521 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
13523 test "x$?" != "x0" && pkg_failed=yes
13533 if test $pkg_failed = yes; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13538 _pkg_short_errors_supported=yes
13540 _pkg_short_errors_supported=no
13542 if test $_pkg_short_errors_supported = yes; then
13543 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13546 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13549 # Put the nasty error message in config.log where it belongs
13550 echo "$MAC_PKG_ERRORS" >&5
13552 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
13557 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13558 installed software in a non-standard prefix.
13560 Alternatively, you may set the environment variables MAC_CFLAGS
13561 and MAC_LIBS to avoid the need to call pkg-config.
13562 See the pkg-config man page for more details." "$LINENO" 5
13563 elif test $pkg_failed = untried; then
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13565 $as_echo "no" >&6; }
13566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13568 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13569 is in your PATH or set the PKG_CONFIG environment variable to the full
13570 path to pkg-config.
13572 Alternatively, you may set the environment variables MAC_CFLAGS
13573 and MAC_LIBS to avoid the need to call pkg-config.
13574 See the pkg-config man page for more details.
13576 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13577 See \`config.log' for more details" "$LINENO" 5; }
13579 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
13580 MAC_LIBS=$pkg_cv_MAC_LIBS
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13582 $as_echo "yes" >&6; }
13592 # We require dbus-glib for the client library even if we are using GDBus
13593 # in the server. The reason we can't always use dbus-glib in the server is
13594 # because Vala drops support for it, but as it ships with DBus there is very
13595 # little danger of it being dropped by distros any time soon.
13596 CLIENT_IPC_MODULE="dbus-glib-1"
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
13600 $as_echo_n "checking for GDBUS... " >&6; }
13602 if test -n "$GDBUS_CFLAGS"; then
13603 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
13604 elif test -n "$PKG_CONFIG"; then
13605 if test -n "$PKG_CONFIG" && \
13606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13607 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13610 test $ac_status = 0; }; then
13611 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
13612 test "x$?" != "x0" && pkg_failed=yes
13619 if test -n "$GDBUS_LIBS"; then
13620 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
13621 elif test -n "$PKG_CONFIG"; then
13622 if test -n "$PKG_CONFIG" && \
13623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13624 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13627 test $ac_status = 0; }; then
13628 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
13629 test "x$?" != "x0" && pkg_failed=yes
13639 if test $pkg_failed = yes; then
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13641 $as_echo "no" >&6; }
13643 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13644 _pkg_short_errors_supported=yes
13646 _pkg_short_errors_supported=no
13648 if test $_pkg_short_errors_supported = yes; then
13649 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13651 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13653 # Put the nasty error message in config.log where it belongs
13654 echo "$GDBUS_PKG_ERRORS" >&5
13656 SERVER_IPC_MODULE="dbus-glib-1"
13658 elif test $pkg_failed = untried; then
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13660 $as_echo "no" >&6; }
13661 SERVER_IPC_MODULE="dbus-glib-1"
13664 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
13665 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13667 $as_echo "yes" >&6; }
13668 SERVER_IPC_MODULE="gio-2.0"
13675 # For all platforms: Use Gtk+3.0 if available; else revert to Gtk+2.0
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13679 $as_echo_n "checking for GTK... " >&6; }
13681 if test -n "$GTK_CFLAGS"; then
13682 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13683 elif test -n "$PKG_CONFIG"; then
13684 if test -n "$PKG_CONFIG" && \
13685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.1\""; } >&5
13686 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.1") 2>&5
13688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13689 test $ac_status = 0; }; then
13690 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.1" 2>/dev/null`
13691 test "x$?" != "x0" && pkg_failed=yes
13698 if test -n "$GTK_LIBS"; then
13699 pkg_cv_GTK_LIBS="$GTK_LIBS"
13700 elif test -n "$PKG_CONFIG"; then
13701 if test -n "$PKG_CONFIG" && \
13702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.1\""; } >&5
13703 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.1") 2>&5
13705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13706 test $ac_status = 0; }; then
13707 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.1" 2>/dev/null`
13708 test "x$?" != "x0" && pkg_failed=yes
13718 if test $pkg_failed = yes; then
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13720 $as_echo "no" >&6; }
13722 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13723 _pkg_short_errors_supported=yes
13725 _pkg_short_errors_supported=no
13727 if test $_pkg_short_errors_supported = yes; then
13728 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.1" 2>&1`
13730 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.1" 2>&1`
13732 # Put the nasty error message in config.log where it belongs
13733 echo "$GTK_PKG_ERRORS" >&5
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13738 $as_echo_n "checking for GTK... " >&6; }
13740 if test -n "$GTK_CFLAGS"; then
13741 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13742 elif test -n "$PKG_CONFIG"; then
13743 if test -n "$PKG_CONFIG" && \
13744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13745 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13748 test $ac_status = 0; }; then
13749 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13750 test "x$?" != "x0" && pkg_failed=yes
13757 if test -n "$GTK_LIBS"; then
13758 pkg_cv_GTK_LIBS="$GTK_LIBS"
13759 elif test -n "$PKG_CONFIG"; then
13760 if test -n "$PKG_CONFIG" && \
13761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13762 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13765 test $ac_status = 0; }; then
13766 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13767 test "x$?" != "x0" && pkg_failed=yes
13777 if test $pkg_failed = yes; then
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13779 $as_echo "no" >&6; }
13781 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13782 _pkg_short_errors_supported=yes
13784 _pkg_short_errors_supported=no
13786 if test $_pkg_short_errors_supported = yes; then
13787 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13789 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13791 # Put the nasty error message in config.log where it belongs
13792 echo "$GTK_PKG_ERRORS" >&5
13794 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13798 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13799 installed software in a non-standard prefix.
13801 Alternatively, you may set the environment variables GTK_CFLAGS
13802 and GTK_LIBS to avoid the need to call pkg-config.
13803 See the pkg-config man page for more details." "$LINENO" 5
13804 elif test $pkg_failed = untried; then
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13806 $as_echo "no" >&6; }
13807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13809 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13810 is in your PATH or set the PKG_CONFIG environment variable to the full
13811 path to pkg-config.
13813 Alternatively, you may set the environment variables GTK_CFLAGS
13814 and GTK_LIBS to avoid the need to call pkg-config.
13815 See the pkg-config man page for more details.
13817 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13818 See \`config.log' for more details" "$LINENO" 5; }
13820 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13821 GTK_LIBS=$pkg_cv_GTK_LIBS
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13823 $as_echo "yes" >&6; }
13824 GTK_VERSION="gtk+-2.0"
13828 elif test $pkg_failed = untried; then
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13830 $as_echo "no" >&6; }
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13834 $as_echo_n "checking for GTK... " >&6; }
13836 if test -n "$GTK_CFLAGS"; then
13837 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13838 elif test -n "$PKG_CONFIG"; then
13839 if test -n "$PKG_CONFIG" && \
13840 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13841 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13844 test $ac_status = 0; }; then
13845 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13846 test "x$?" != "x0" && pkg_failed=yes
13853 if test -n "$GTK_LIBS"; then
13854 pkg_cv_GTK_LIBS="$GTK_LIBS"
13855 elif test -n "$PKG_CONFIG"; then
13856 if test -n "$PKG_CONFIG" && \
13857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13858 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13861 test $ac_status = 0; }; then
13862 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13863 test "x$?" != "x0" && pkg_failed=yes
13873 if test $pkg_failed = yes; then
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13875 $as_echo "no" >&6; }
13877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13878 _pkg_short_errors_supported=yes
13880 _pkg_short_errors_supported=no
13882 if test $_pkg_short_errors_supported = yes; then
13883 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13885 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13887 # Put the nasty error message in config.log where it belongs
13888 echo "$GTK_PKG_ERRORS" >&5
13890 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13894 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13895 installed software in a non-standard prefix.
13897 Alternatively, you may set the environment variables GTK_CFLAGS
13898 and GTK_LIBS to avoid the need to call pkg-config.
13899 See the pkg-config man page for more details." "$LINENO" 5
13900 elif test $pkg_failed = untried; then
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13902 $as_echo "no" >&6; }
13903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13905 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13906 is in your PATH or set the PKG_CONFIG environment variable to the full
13907 path to pkg-config.
13909 Alternatively, you may set the environment variables GTK_CFLAGS
13910 and GTK_LIBS to avoid the need to call pkg-config.
13911 See the pkg-config man page for more details.
13913 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13914 See \`config.log' for more details" "$LINENO" 5; }
13916 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13917 GTK_LIBS=$pkg_cv_GTK_LIBS
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13919 $as_echo "yes" >&6; }
13920 GTK_VERSION="gtk+-2.0"
13925 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13926 GTK_LIBS=$pkg_cv_GTK_LIBS
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13928 $as_echo "yes" >&6; }
13929 GTK_VERSION="gtk+-3.0"
13934 # For all platforms: If Log4Vala is enabled, then Use Log4Vala 0.2 if available; else revert to 0.1
13935 if test x$log4vala = xtrue; then
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG4VALA" >&5
13939 $as_echo_n "checking for LOG4VALA... " >&6; }
13941 if test -n "$LOG4VALA_CFLAGS"; then
13942 pkg_cv_LOG4VALA_CFLAGS="$LOG4VALA_CFLAGS"
13943 elif test -n "$PKG_CONFIG"; then
13944 if test -n "$PKG_CONFIG" && \
13945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"log4vala-0.2\""; } >&5
13946 ($PKG_CONFIG --exists --print-errors "log4vala-0.2") 2>&5
13948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13949 test $ac_status = 0; }; then
13950 pkg_cv_LOG4VALA_CFLAGS=`$PKG_CONFIG --cflags "log4vala-0.2" 2>/dev/null`
13951 test "x$?" != "x0" && pkg_failed=yes
13958 if test -n "$LOG4VALA_LIBS"; then
13959 pkg_cv_LOG4VALA_LIBS="$LOG4VALA_LIBS"
13960 elif test -n "$PKG_CONFIG"; then
13961 if test -n "$PKG_CONFIG" && \
13962 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"log4vala-0.2\""; } >&5
13963 ($PKG_CONFIG --exists --print-errors "log4vala-0.2") 2>&5
13965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13966 test $ac_status = 0; }; then
13967 pkg_cv_LOG4VALA_LIBS=`$PKG_CONFIG --libs "log4vala-0.2" 2>/dev/null`
13968 test "x$?" != "x0" && pkg_failed=yes
13978 if test $pkg_failed = yes; then
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13980 $as_echo "no" >&6; }
13982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13983 _pkg_short_errors_supported=yes
13985 _pkg_short_errors_supported=no
13987 if test $_pkg_short_errors_supported = yes; then
13988 LOG4VALA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "log4vala-0.2" 2>&1`
13990 LOG4VALA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "log4vala-0.2" 2>&1`
13992 # Put the nasty error message in config.log where it belongs
13993 echo "$LOG4VALA_PKG_ERRORS" >&5
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG4VALA" >&5
13998 $as_echo_n "checking for LOG4VALA... " >&6; }
14000 if test -n "$LOG4VALA_CFLAGS"; then
14001 pkg_cv_LOG4VALA_CFLAGS="$LOG4VALA_CFLAGS"
14002 elif test -n "$PKG_CONFIG"; then
14003 if test -n "$PKG_CONFIG" && \
14004 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"log4vala-0.1\""; } >&5
14005 ($PKG_CONFIG --exists --print-errors "log4vala-0.1") 2>&5
14007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14008 test $ac_status = 0; }; then
14009 pkg_cv_LOG4VALA_CFLAGS=`$PKG_CONFIG --cflags "log4vala-0.1" 2>/dev/null`
14010 test "x$?" != "x0" && pkg_failed=yes
14017 if test -n "$LOG4VALA_LIBS"; then
14018 pkg_cv_LOG4VALA_LIBS="$LOG4VALA_LIBS"
14019 elif test -n "$PKG_CONFIG"; then
14020 if test -n "$PKG_CONFIG" && \
14021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"log4vala-0.1\""; } >&5
14022 ($PKG_CONFIG --exists --print-errors "log4vala-0.1") 2>&5
14024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14025 test $ac_status = 0; }; then
14026 pkg_cv_LOG4VALA_LIBS=`$PKG_CONFIG --libs "log4vala-0.1" 2>/dev/null`
14027 test "x$?" != "x0" && pkg_failed=yes
14037 if test $pkg_failed = yes; then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14039 $as_echo "no" >&6; }
14041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14042 _pkg_short_errors_supported=yes
14044 _pkg_short_errors_supported=no
14046 if test $_pkg_short_errors_supported = yes; then
14047 LOG4VALA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "log4vala-0.1" 2>&1`
14049 LOG4VALA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "log4vala-0.1" 2>&1`
14051 # Put the nasty error message in config.log where it belongs
14052 echo "$LOG4VALA_PKG_ERRORS" >&5
14054 as_fn_error $? "Package requirements (log4vala-0.1) were not met:
14056 $LOG4VALA_PKG_ERRORS
14058 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14059 installed software in a non-standard prefix.
14061 Alternatively, you may set the environment variables LOG4VALA_CFLAGS
14062 and LOG4VALA_LIBS to avoid the need to call pkg-config.
14063 See the pkg-config man page for more details." "$LINENO" 5
14064 elif test $pkg_failed = untried; then
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14066 $as_echo "no" >&6; }
14067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14069 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14070 is in your PATH or set the PKG_CONFIG environment variable to the full
14071 path to pkg-config.
14073 Alternatively, you may set the environment variables LOG4VALA_CFLAGS
14074 and LOG4VALA_LIBS to avoid the need to call pkg-config.
14075 See the pkg-config man page for more details.
14077 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14078 See \`config.log' for more details" "$LINENO" 5; }
14080 LOG4VALA_CFLAGS=$pkg_cv_LOG4VALA_CFLAGS
14081 LOG4VALA_LIBS=$pkg_cv_LOG4VALA_LIBS
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14083 $as_echo "yes" >&6; }
14084 LOG4VALA_VERSION="log4vala-0.1"
14088 elif test $pkg_failed = untried; then
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14090 $as_echo "no" >&6; }
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG4VALA" >&5
14094 $as_echo_n "checking for LOG4VALA... " >&6; }
14096 if test -n "$LOG4VALA_CFLAGS"; then
14097 pkg_cv_LOG4VALA_CFLAGS="$LOG4VALA_CFLAGS"
14098 elif test -n "$PKG_CONFIG"; then
14099 if test -n "$PKG_CONFIG" && \
14100 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"log4vala-0.1\""; } >&5
14101 ($PKG_CONFIG --exists --print-errors "log4vala-0.1") 2>&5
14103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14104 test $ac_status = 0; }; then
14105 pkg_cv_LOG4VALA_CFLAGS=`$PKG_CONFIG --cflags "log4vala-0.1" 2>/dev/null`
14106 test "x$?" != "x0" && pkg_failed=yes
14113 if test -n "$LOG4VALA_LIBS"; then
14114 pkg_cv_LOG4VALA_LIBS="$LOG4VALA_LIBS"
14115 elif test -n "$PKG_CONFIG"; then
14116 if test -n "$PKG_CONFIG" && \
14117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"log4vala-0.1\""; } >&5
14118 ($PKG_CONFIG --exists --print-errors "log4vala-0.1") 2>&5
14120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14121 test $ac_status = 0; }; then
14122 pkg_cv_LOG4VALA_LIBS=`$PKG_CONFIG --libs "log4vala-0.1" 2>/dev/null`
14123 test "x$?" != "x0" && pkg_failed=yes
14133 if test $pkg_failed = yes; then
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14135 $as_echo "no" >&6; }
14137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14138 _pkg_short_errors_supported=yes
14140 _pkg_short_errors_supported=no
14142 if test $_pkg_short_errors_supported = yes; then
14143 LOG4VALA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "log4vala-0.1" 2>&1`
14145 LOG4VALA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "log4vala-0.1" 2>&1`
14147 # Put the nasty error message in config.log where it belongs
14148 echo "$LOG4VALA_PKG_ERRORS" >&5
14150 as_fn_error $? "Package requirements (log4vala-0.1) were not met:
14152 $LOG4VALA_PKG_ERRORS
14154 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14155 installed software in a non-standard prefix.
14157 Alternatively, you may set the environment variables LOG4VALA_CFLAGS
14158 and LOG4VALA_LIBS to avoid the need to call pkg-config.
14159 See the pkg-config man page for more details." "$LINENO" 5
14160 elif test $pkg_failed = untried; then
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14162 $as_echo "no" >&6; }
14163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14165 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14166 is in your PATH or set the PKG_CONFIG environment variable to the full
14167 path to pkg-config.
14169 Alternatively, you may set the environment variables LOG4VALA_CFLAGS
14170 and LOG4VALA_LIBS to avoid the need to call pkg-config.
14171 See the pkg-config man page for more details.
14173 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14174 See \`config.log' for more details" "$LINENO" 5; }
14176 LOG4VALA_CFLAGS=$pkg_cv_LOG4VALA_CFLAGS
14177 LOG4VALA_LIBS=$pkg_cv_LOG4VALA_LIBS
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14179 $as_echo "yes" >&6; }
14180 LOG4VALA_VERSION="log4vala-0.1"
14185 LOG4VALA_CFLAGS=$pkg_cv_LOG4VALA_CFLAGS
14186 LOG4VALA_LIBS=$pkg_cv_LOG4VALA_LIBS
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14188 $as_echo "yes" >&6; }
14189 LOG4VALA_VERSION="log4vala-0.2"
14195 # For all platforms: Use gee-0.8 if available; else revert to gee-1.0
14196 # (yes, gee-0.8 is an upgrade from gee-1.0!)
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIB_GEE" >&5
14200 $as_echo_n "checking for LIB_GEE... " >&6; }
14202 if test -n "$LIB_GEE_CFLAGS"; then
14203 pkg_cv_LIB_GEE_CFLAGS="$LIB_GEE_CFLAGS"
14204 elif test -n "$PKG_CONFIG"; then
14205 if test -n "$PKG_CONFIG" && \
14206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-0.8 >= 0.10.5\""; } >&5
14207 ($PKG_CONFIG --exists --print-errors "gee-0.8 >= 0.10.5") 2>&5
14209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14210 test $ac_status = 0; }; then
14211 pkg_cv_LIB_GEE_CFLAGS=`$PKG_CONFIG --cflags "gee-0.8 >= 0.10.5" 2>/dev/null`
14212 test "x$?" != "x0" && pkg_failed=yes
14219 if test -n "$LIB_GEE_LIBS"; then
14220 pkg_cv_LIB_GEE_LIBS="$LIB_GEE_LIBS"
14221 elif test -n "$PKG_CONFIG"; then
14222 if test -n "$PKG_CONFIG" && \
14223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-0.8 >= 0.10.5\""; } >&5
14224 ($PKG_CONFIG --exists --print-errors "gee-0.8 >= 0.10.5") 2>&5
14226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14227 test $ac_status = 0; }; then
14228 pkg_cv_LIB_GEE_LIBS=`$PKG_CONFIG --libs "gee-0.8 >= 0.10.5" 2>/dev/null`
14229 test "x$?" != "x0" && pkg_failed=yes
14239 if test $pkg_failed = yes; then
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14241 $as_echo "no" >&6; }
14243 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14244 _pkg_short_errors_supported=yes
14246 _pkg_short_errors_supported=no
14248 if test $_pkg_short_errors_supported = yes; then
14249 LIB_GEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-0.8 >= 0.10.5" 2>&1`
14251 LIB_GEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-0.8 >= 0.10.5" 2>&1`
14253 # Put the nasty error message in config.log where it belongs
14254 echo "$LIB_GEE_PKG_ERRORS" >&5
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIB_GEE" >&5
14259 $as_echo_n "checking for LIB_GEE... " >&6; }
14261 if test -n "$LIB_GEE_CFLAGS"; then
14262 pkg_cv_LIB_GEE_CFLAGS="$LIB_GEE_CFLAGS"
14263 elif test -n "$PKG_CONFIG"; then
14264 if test -n "$PKG_CONFIG" && \
14265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0 >= 0.5\""; } >&5
14266 ($PKG_CONFIG --exists --print-errors "gee-1.0 >= 0.5") 2>&5
14268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14269 test $ac_status = 0; }; then
14270 pkg_cv_LIB_GEE_CFLAGS=`$PKG_CONFIG --cflags "gee-1.0 >= 0.5" 2>/dev/null`
14271 test "x$?" != "x0" && pkg_failed=yes
14278 if test -n "$LIB_GEE_LIBS"; then
14279 pkg_cv_LIB_GEE_LIBS="$LIB_GEE_LIBS"
14280 elif test -n "$PKG_CONFIG"; then
14281 if test -n "$PKG_CONFIG" && \
14282 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0 >= 0.5\""; } >&5
14283 ($PKG_CONFIG --exists --print-errors "gee-1.0 >= 0.5") 2>&5
14285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14286 test $ac_status = 0; }; then
14287 pkg_cv_LIB_GEE_LIBS=`$PKG_CONFIG --libs "gee-1.0 >= 0.5" 2>/dev/null`
14288 test "x$?" != "x0" && pkg_failed=yes
14298 if test $pkg_failed = yes; then
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14300 $as_echo "no" >&6; }
14302 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14303 _pkg_short_errors_supported=yes
14305 _pkg_short_errors_supported=no
14307 if test $_pkg_short_errors_supported = yes; then
14308 LIB_GEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-1.0 >= 0.5" 2>&1`
14310 LIB_GEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-1.0 >= 0.5" 2>&1`
14312 # Put the nasty error message in config.log where it belongs
14313 echo "$LIB_GEE_PKG_ERRORS" >&5
14315 as_fn_error $? "Package requirements (gee-1.0 >= 0.5) were not met:
14317 $LIB_GEE_PKG_ERRORS
14319 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14320 installed software in a non-standard prefix.
14322 Alternatively, you may set the environment variables LIB_GEE_CFLAGS
14323 and LIB_GEE_LIBS to avoid the need to call pkg-config.
14324 See the pkg-config man page for more details." "$LINENO" 5
14325 elif test $pkg_failed = untried; then
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14327 $as_echo "no" >&6; }
14328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14330 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14331 is in your PATH or set the PKG_CONFIG environment variable to the full
14332 path to pkg-config.
14334 Alternatively, you may set the environment variables LIB_GEE_CFLAGS
14335 and LIB_GEE_LIBS to avoid the need to call pkg-config.
14336 See the pkg-config man page for more details.
14338 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14339 See \`config.log' for more details" "$LINENO" 5; }
14341 LIB_GEE_CFLAGS=$pkg_cv_LIB_GEE_CFLAGS
14342 LIB_GEE_LIBS=$pkg_cv_LIB_GEE_LIBS
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14344 $as_echo "yes" >&6; }
14345 GEE_VERSION="gee-1.0"
14349 elif test $pkg_failed = untried; then
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14351 $as_echo "no" >&6; }
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIB_GEE" >&5
14355 $as_echo_n "checking for LIB_GEE... " >&6; }
14357 if test -n "$LIB_GEE_CFLAGS"; then
14358 pkg_cv_LIB_GEE_CFLAGS="$LIB_GEE_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 \"gee-1.0 >= 0.5\""; } >&5
14362 ($PKG_CONFIG --exists --print-errors "gee-1.0 >= 0.5") 2>&5
14364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14365 test $ac_status = 0; }; then
14366 pkg_cv_LIB_GEE_CFLAGS=`$PKG_CONFIG --cflags "gee-1.0 >= 0.5" 2>/dev/null`
14367 test "x$?" != "x0" && pkg_failed=yes
14374 if test -n "$LIB_GEE_LIBS"; then
14375 pkg_cv_LIB_GEE_LIBS="$LIB_GEE_LIBS"
14376 elif test -n "$PKG_CONFIG"; then
14377 if test -n "$PKG_CONFIG" && \
14378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0 >= 0.5\""; } >&5
14379 ($PKG_CONFIG --exists --print-errors "gee-1.0 >= 0.5") 2>&5
14381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14382 test $ac_status = 0; }; then
14383 pkg_cv_LIB_GEE_LIBS=`$PKG_CONFIG --libs "gee-1.0 >= 0.5" 2>/dev/null`
14384 test "x$?" != "x0" && pkg_failed=yes
14394 if test $pkg_failed = yes; then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14396 $as_echo "no" >&6; }
14398 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14399 _pkg_short_errors_supported=yes
14401 _pkg_short_errors_supported=no
14403 if test $_pkg_short_errors_supported = yes; then
14404 LIB_GEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-1.0 >= 0.5" 2>&1`
14406 LIB_GEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-1.0 >= 0.5" 2>&1`
14408 # Put the nasty error message in config.log where it belongs
14409 echo "$LIB_GEE_PKG_ERRORS" >&5
14411 as_fn_error $? "Package requirements (gee-1.0 >= 0.5) were not met:
14413 $LIB_GEE_PKG_ERRORS
14415 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14416 installed software in a non-standard prefix.
14418 Alternatively, you may set the environment variables LIB_GEE_CFLAGS
14419 and LIB_GEE_LIBS to avoid the need to call pkg-config.
14420 See the pkg-config man page for more details." "$LINENO" 5
14421 elif test $pkg_failed = untried; then
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14423 $as_echo "no" >&6; }
14424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14426 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14427 is in your PATH or set the PKG_CONFIG environment variable to the full
14428 path to pkg-config.
14430 Alternatively, you may set the environment variables LIB_GEE_CFLAGS
14431 and LIB_GEE_LIBS to avoid the need to call pkg-config.
14432 See the pkg-config man page for more details.
14434 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14435 See \`config.log' for more details" "$LINENO" 5; }
14437 LIB_GEE_CFLAGS=$pkg_cv_LIB_GEE_CFLAGS
14438 LIB_GEE_LIBS=$pkg_cv_LIB_GEE_LIBS
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14440 $as_echo "yes" >&6; }
14441 GEE_VERSION="gee-1.0"
14446 LIB_GEE_CFLAGS=$pkg_cv_LIB_GEE_CFLAGS
14447 LIB_GEE_LIBS=$pkg_cv_LIB_GEE_LIBS
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14449 $as_echo "yes" >&6; }
14450 GEE_VERSION="gee-0.8"
14454 #enable the optional use of Log4Vala (Must have the package installed!)
14455 # Check whether --enable-log4vala was given.
14456 if test "${enable_log4vala+set}" = set; then :
14457 enableval=$enable_log4vala; case "${enableval}" in
14458 yes) log4vala=true ;;
14459 no) log4vala=false ;;
14460 *) as_fn_error $? "bad value ${enableval} for --enable-log4vala" "$LINENO" 5 ;;
14466 if test x$log4vala = xtrue; then
14476 if test "$linux" = "yes"; then
14484 if test "$win32" = "yes"; then
14492 if test "$macos" = "yes"; then
14501 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
14503 IPC_MSRPC_FALSE='#'
14509 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
14517 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
14518 IPC_DBUS_GLIB_TRUE=
14519 IPC_DBUS_GLIB_FALSE='#'
14521 IPC_DBUS_GLIB_TRUE='#'
14522 IPC_DBUS_GLIB_FALSE=
14525 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
14527 IPC_GDBUS_FALSE='#'
14534 vala_version=`$VALAC --version | sed 's/Vala *//'`
14535 as_arg_v1="$vala_version"
14537 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14540 gio_vapi_uses_arrays="no" ;; #(
14542 gio_vapi_uses_arrays="yes" ;; #(
14544 gio_vapi_uses_arrays="yes" ;; #(
14548 if test "$gio_vapi_uses_arrays" = "yes"; then
14549 GIO_VAPI_USES_ARRAYS_TRUE=
14550 GIO_VAPI_USES_ARRAYS_FALSE='#'
14552 GIO_VAPI_USES_ARRAYS_TRUE='#'
14553 GIO_VAPI_USES_ARRAYS_FALSE=
14556 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
14558 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
14560 as_arg_v2="$vala_version"
14561 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14564 vala_supports_dbus_glib="no" ;; #(
14566 vala_supports_dbus_glib="no" ;; #(
14568 vala_supports_dbus_glib="yes" ;; #(
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
14574 $as_echo "$vala_supports_dbus_glib" >&6; }
14575 if test "$vala_supports_dbus_glib" = "no"; then
14577 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
14578 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
14582 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
14585 pkg_config_args="msrpc-mingw-1.0"
14594 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14595 if test -n "$ac_tool_prefix"; then
14596 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14597 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14599 $as_echo_n "checking for $ac_word... " >&6; }
14600 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14601 $as_echo_n "(cached) " >&6
14603 case $PKG_CONFIG in
14605 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14609 for as_dir in $PATH
14612 test -z "$as_dir" && as_dir=.
14613 for ac_exec_ext in '' $ac_executable_extensions; do
14614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14615 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14626 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14627 if test -n "$PKG_CONFIG"; then
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14629 $as_echo "$PKG_CONFIG" >&6; }
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14632 $as_echo "no" >&6; }
14637 if test -z "$ac_cv_path_PKG_CONFIG"; then
14638 ac_pt_PKG_CONFIG=$PKG_CONFIG
14639 # Extract the first word of "pkg-config", so it can be a program name with args.
14640 set dummy pkg-config; ac_word=$2
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14642 $as_echo_n "checking for $ac_word... " >&6; }
14643 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14644 $as_echo_n "(cached) " >&6
14646 case $ac_pt_PKG_CONFIG in
14648 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14652 for as_dir in $PATH
14655 test -z "$as_dir" && as_dir=.
14656 for ac_exec_ext in '' $ac_executable_extensions; do
14657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14658 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14669 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14670 if test -n "$ac_pt_PKG_CONFIG"; then
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14672 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14675 $as_echo "no" >&6; }
14678 if test "x$ac_pt_PKG_CONFIG" = x; then
14681 case $cross_compiling:$ac_tool_warned in
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14685 ac_tool_warned=yes ;;
14687 PKG_CONFIG=$ac_pt_PKG_CONFIG
14690 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14694 if test -n "$PKG_CONFIG"; then
14695 _pkg_min_version=0.16
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14697 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14698 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14700 $as_echo "yes" >&6; }
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14703 $as_echo "no" >&6; }
14710 if test "x$PKG_CONFIG" = x ; then
14715 min_msrpc_mingw_version=0.1.0
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
14717 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
14719 if test x$PKG_CONFIG != xno ; then
14720 if $PKG_CONFIG --uninstalled $pkg_config_args; then
14721 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
14724 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
14731 if test x"$no_msrpc" = x ; then
14732 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
14733 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
14734 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
14737 if test "x$no_msrpc" = x ; then
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14739 $as_echo "yes" >&6; }
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14743 $as_echo "no" >&6; }
14744 if test "$PKG_CONFIG" = "no" ; then
14745 echo "*** A new enough version of pkg-config was not found."
14746 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
14754 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
14761 # Extract the first word of "midl", so it can be a program name with args.
14762 set dummy midl; ac_word=$2
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14764 $as_echo_n "checking for $ac_word... " >&6; }
14765 if ${ac_cv_path_MIDL+:} false; then :
14766 $as_echo_n "(cached) " >&6
14770 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
14773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14774 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
14777 test -z "$as_dir" && as_dir=.
14778 for ac_exec_ext in '' $ac_executable_extensions; do
14779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14780 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
14781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14788 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
14792 MIDL=$ac_cv_path_MIDL
14793 if test -n "$MIDL"; then
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
14795 $as_echo "$MIDL" >&6; }
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14798 $as_echo "no" >&6; }
14802 if test "$MIDL" = "no"; then
14804 *** Could not find the Microsoft interface compiler MIDL.EXE.
14805 *** This program is available as part of the MS Windows SDK, in
14806 *** the Win32 Development Tools package. If it is not in the PATH
14807 *** or its default location you may set the 'MIDL' environment
14808 *** variable to point to its location and rerun configure." "$LINENO" 5
14812 if test "$win32" = "yes"; then
14813 # Other Windows-specific tools
14815 # LIB.EXE from MSVC to build an MSVC-compatible import library.
14816 # Extract the first word of "lib", so it can be a program name with args.
14817 set dummy lib; ac_word=$2
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14819 $as_echo_n "checking for $ac_word... " >&6; }
14820 if ${ac_cv_path_MSVC_LIB+:} false; then :
14821 $as_echo_n "(cached) " >&6
14825 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
14828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14829 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
14832 test -z "$as_dir" && as_dir=.
14833 for ac_exec_ext in '' $ac_executable_extensions; do
14834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14835 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
14836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14843 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
14847 MSVC_LIB=$ac_cv_path_MSVC_LIB
14848 if test -n "$MSVC_LIB"; then
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
14850 $as_echo "$MSVC_LIB" >&6; }
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14853 $as_echo "no" >&6; }
14858 if test "$MSVC_LIB" = "no"; then
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
14860 *** Could not find the Microsoft 'LIB.EXE' program. This is required
14861 *** to build the Visual C import library for libmoonshot. Use the
14862 *** MSVC_LIB environment variable to pass its location if this is
14863 *** outside the PATH." >&5
14864 $as_echo "$as_me: WARNING:
14865 *** Could not find the Microsoft 'LIB.EXE' program. This is required
14866 *** to build the Visual C import library for libmoonshot. Use the
14867 *** MSVC_LIB environment variable to pass its location if this is
14868 *** outside the PATH." >&2;}
14872 # ImageMagick for the 'make icons' target. Note that
14873 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
14874 # Extract the first word of "convert", so it can be a program name with args.
14875 set dummy convert; ac_word=$2
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14877 $as_echo_n "checking for $ac_word... " >&6; }
14878 if ${ac_cv_path_IMAGEMAGICK_CONVERT+:} false; then :
14879 $as_echo_n "(cached) " >&6
14881 case $IMAGEMAGICK_CONVERT in
14883 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
14886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14887 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
14890 test -z "$as_dir" && as_dir=.
14891 for ac_exec_ext in '' $ac_executable_extensions; do
14892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14893 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
14894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14901 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
14905 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
14906 if test -n "$IMAGEMAGICK_CONVERT"; then
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
14908 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14911 $as_echo "no" >&6; }
14916 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
14918 *** Could not find ImageMagick convert.exe. This is required for the
14919 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
14920 *** variable to pass its location if this is outside the PATH." >&5
14921 $as_echo "$as_me: WARNING:
14922 *** Could not find ImageMagick convert.exe. This is required for the
14923 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
14924 *** variable to pass its location if this is outside the PATH." >&2;}
14928 # Windows Installer XML tools
14929 # Extract the first word of "candle", so it can be a program name with args.
14930 set dummy candle; ac_word=$2
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14932 $as_echo_n "checking for $ac_word... " >&6; }
14933 if ${ac_cv_path_WIX_CANDLE+:} false; then :
14934 $as_echo_n "(cached) " >&6
14936 case $WIX_CANDLE in
14938 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
14941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14942 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
14945 test -z "$as_dir" && as_dir=.
14946 for ac_exec_ext in '' $ac_executable_extensions; do
14947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14948 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
14949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14956 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
14960 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
14961 if test -n "$WIX_CANDLE"; then
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
14963 $as_echo "$WIX_CANDLE" >&6; }
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14966 $as_echo "no" >&6; }
14970 # Extract the first word of "light", so it can be a program name with args.
14971 set dummy light; ac_word=$2
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14973 $as_echo_n "checking for $ac_word... " >&6; }
14974 if ${ac_cv_path_WIX_LIGHT+:} false; then :
14975 $as_echo_n "(cached) " >&6
14979 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
14982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14983 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
14986 test -z "$as_dir" && as_dir=.
14987 for ac_exec_ext in '' $ac_executable_extensions; do
14988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14989 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
14990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14997 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
15001 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
15002 if test -n "$WIX_LIGHT"; then
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
15004 $as_echo "$WIX_LIGHT" >&6; }
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15007 $as_echo "no" >&6; }
15012 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15014 *** Could not find the Windows Installer XML tools. These are required
15015 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
15016 *** environment variables to pass their locations if they are outside
15018 $as_echo "$as_me: WARNING:
15019 *** Could not find the Windows Installer XML tools. These are required
15020 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
15021 *** environment variables to pass their locations if they are outside
15022 *** the PATH." >&2;}
15026 if test "$linux" = "yes"; then
15027 # Extract the first word of "update-mime-database", so it can be a program name with args.
15028 set dummy update-mime-database; ac_word=$2
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15030 $as_echo_n "checking for $ac_word... " >&6; }
15031 if ${ac_cv_path_UPDATE_MIME_DATABASE+:} false; then :
15032 $as_echo_n "(cached) " >&6
15034 case $UPDATE_MIME_DATABASE in
15036 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
15039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15040 for as_dir in $PATH
15043 test -z "$as_dir" && as_dir=.
15044 for ac_exec_ext in '' $ac_executable_extensions; do
15045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15046 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
15047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15054 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
15058 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
15059 if test -n "$UPDATE_MIME_DATABASE"; then
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
15061 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15064 $as_echo "no" >&6; }
15068 if test "$UPDATE_MIME_DATABASE" = "no"; then
15070 *** Could not find the Freedesktop.org mime database update tool.
15071 *** Web provisioning files could not be automatically installed." "$LINENO" 5
15073 # Extract the first word of "update-desktop-database", so it can be a program name with args.
15074 set dummy update-desktop-database; ac_word=$2
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15076 $as_echo_n "checking for $ac_word... " >&6; }
15077 if ${ac_cv_path_UPDATE_DESKTOP_DATABASE+:} false; then :
15078 $as_echo_n "(cached) " >&6
15080 case $UPDATE_DESKTOP_DATABASE in
15082 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
15085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15086 for as_dir in $PATH
15089 test -z "$as_dir" && as_dir=.
15090 for ac_exec_ext in '' $ac_executable_extensions; do
15091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15092 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
15093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15100 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
15104 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
15105 if test -n "$UPDATE_DESKTOP_DATABASE"; then
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
15107 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15110 $as_echo "no" >&6; }
15114 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
15116 *** Could not find the Freedesktop.org desktop entry database update
15117 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
15121 MOONSHOT_APP="$bindir/moonshot"
15122 MOONSHOT_WEBP="$bindir/moonshot-webp"
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
15138 $as_echo_n "checking for moonshot... " >&6; }
15140 if test -n "$moonshot_CFLAGS"; then
15141 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
15142 elif test -n "$PKG_CONFIG"; then
15143 if test -n "$PKG_CONFIG" && \
15144 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15147 gobject-2.0 >= 2.22
15151 \$SERVER_IPC_MODULE
15154 ($PKG_CONFIG --exists --print-errors "
15157 gobject-2.0 >= 2.22
15165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15166 test $ac_status = 0; }; then
15167 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
15170 gobject-2.0 >= 2.22
15177 test "x$?" != "x0" && pkg_failed=yes
15184 if test -n "$moonshot_LIBS"; then
15185 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
15186 elif test -n "$PKG_CONFIG"; then
15187 if test -n "$PKG_CONFIG" && \
15188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15191 gobject-2.0 >= 2.22
15195 \$SERVER_IPC_MODULE
15198 ($PKG_CONFIG --exists --print-errors "
15201 gobject-2.0 >= 2.22
15209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15210 test $ac_status = 0; }; then
15211 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
15214 gobject-2.0 >= 2.22
15221 test "x$?" != "x0" && pkg_failed=yes
15231 if test $pkg_failed = yes; then
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15233 $as_echo "no" >&6; }
15235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15236 _pkg_short_errors_supported=yes
15238 _pkg_short_errors_supported=no
15240 if test $_pkg_short_errors_supported = yes; then
15241 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15244 gobject-2.0 >= 2.22
15252 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15255 gobject-2.0 >= 2.22
15263 # Put the nasty error message in config.log where it belongs
15264 echo "$moonshot_PKG_ERRORS" >&5
15266 as_fn_error $? "Package requirements (
15269 gobject-2.0 >= 2.22
15277 $moonshot_PKG_ERRORS
15279 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15280 installed software in a non-standard prefix.
15282 Alternatively, you may set the environment variables moonshot_CFLAGS
15283 and moonshot_LIBS to avoid the need to call pkg-config.
15284 See the pkg-config man page for more details." "$LINENO" 5
15285 elif test $pkg_failed = untried; then
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15287 $as_echo "no" >&6; }
15288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15290 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15291 is in your PATH or set the PKG_CONFIG environment variable to the full
15292 path to pkg-config.
15294 Alternatively, you may set the environment variables moonshot_CFLAGS
15295 and moonshot_LIBS to avoid the need to call pkg-config.
15296 See the pkg-config man page for more details.
15298 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15299 See \`config.log' for more details" "$LINENO" 5; }
15301 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
15302 moonshot_LIBS=$pkg_cv_moonshot_LIBS
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15304 $as_echo "yes" >&6; }
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
15311 $as_echo_n "checking for libmoonshot... " >&6; }
15313 if test -n "$libmoonshot_CFLAGS"; then
15314 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
15315 elif test -n "$PKG_CONFIG"; then
15316 if test -n "$PKG_CONFIG" && \
15317 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15318 \$CLIENT_IPC_MODULE
15320 ($PKG_CONFIG --exists --print-errors "
15324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15325 test $ac_status = 0; }; then
15326 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
15329 test "x$?" != "x0" && pkg_failed=yes
15336 if test -n "$libmoonshot_LIBS"; then
15337 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
15338 elif test -n "$PKG_CONFIG"; then
15339 if test -n "$PKG_CONFIG" && \
15340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15341 \$CLIENT_IPC_MODULE
15343 ($PKG_CONFIG --exists --print-errors "
15347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15348 test $ac_status = 0; }; then
15349 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
15352 test "x$?" != "x0" && pkg_failed=yes
15362 if test $pkg_failed = yes; then
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15364 $as_echo "no" >&6; }
15366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15367 _pkg_short_errors_supported=yes
15369 _pkg_short_errors_supported=no
15371 if test $_pkg_short_errors_supported = yes; then
15372 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15376 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15380 # Put the nasty error message in config.log where it belongs
15381 echo "$libmoonshot_PKG_ERRORS" >&5
15383 as_fn_error $? "Package requirements (
15387 $libmoonshot_PKG_ERRORS
15389 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15390 installed software in a non-standard prefix.
15392 Alternatively, you may set the environment variables libmoonshot_CFLAGS
15393 and libmoonshot_LIBS to avoid the need to call pkg-config.
15394 See the pkg-config man page for more details." "$LINENO" 5
15395 elif test $pkg_failed = untried; then
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15397 $as_echo "no" >&6; }
15398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15400 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15401 is in your PATH or set the PKG_CONFIG environment variable to the full
15402 path to pkg-config.
15404 Alternatively, you may set the environment variables libmoonshot_CFLAGS
15405 and libmoonshot_LIBS to avoid the need to call pkg-config.
15406 See the pkg-config man page for more details.
15408 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15409 See \`config.log' for more details" "$LINENO" 5; }
15411 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
15412 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15414 $as_echo "yes" >&6; }
15422 [\\/$]* | ?:[\\/]*) ;;
15423 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15428 $as_echo_n "checking whether NLS is requested... " >&6; }
15429 # Check whether --enable-nls was given.
15430 if test "${enable_nls+set}" = set; then :
15431 enableval=$enable_nls; USE_NLS=$enableval
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15437 $as_echo "$USE_NLS" >&6; }
15442 GETTEXT_MACRO_VERSION=0.18
15447 # Prepare PATH_SEPARATOR.
15448 # The user is always right.
15449 if test "${PATH_SEPARATOR+set}" != set; then
15450 echo "#! /bin/sh" >conf$$.sh
15451 echo "exit 0" >>conf$$.sh
15453 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15461 # Find out how to test for executable files. Don't use a zero-byte file,
15462 # as systems may use methods other than mode bits to determine executability.
15463 cat >conf$$.file <<_ASEOF
15467 chmod +x conf$$.file
15468 if test -x conf$$.file >/dev/null 2>&1; then
15469 ac_executable_p="test -x"
15471 ac_executable_p="test -f"
15475 # Extract the first word of "msgfmt", so it can be a program name with args.
15476 set dummy msgfmt; ac_word=$2
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15478 $as_echo_n "checking for $ac_word... " >&6; }
15479 if ${ac_cv_path_MSGFMT+:} false; then :
15480 $as_echo_n "(cached) " >&6
15484 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15487 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15488 for ac_dir in $PATH; do
15490 test -z "$ac_dir" && ac_dir=.
15491 for ac_exec_ext in '' $ac_executable_extensions; do
15492 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15493 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15494 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
15495 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15496 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
15503 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
15507 MSGFMT="$ac_cv_path_MSGFMT"
15508 if test "$MSGFMT" != ":"; then
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15510 $as_echo "$MSGFMT" >&6; }
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15513 $as_echo "no" >&6; }
15516 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15517 set dummy gmsgfmt; ac_word=$2
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15519 $as_echo_n "checking for $ac_word... " >&6; }
15520 if ${ac_cv_path_GMSGFMT+:} false; then :
15521 $as_echo_n "(cached) " >&6
15525 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15529 for as_dir in $PATH
15532 test -z "$as_dir" && as_dir=.
15533 for ac_exec_ext in '' $ac_executable_extensions; do
15534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15535 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15543 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15547 GMSGFMT=$ac_cv_path_GMSGFMT
15548 if test -n "$GMSGFMT"; then
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15550 $as_echo "$GMSGFMT" >&6; }
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15553 $as_echo "no" >&6; }
15558 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15559 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
15560 *) MSGFMT_015=$MSGFMT ;;
15563 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15564 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
15565 *) GMSGFMT_015=$GMSGFMT ;;
15570 # Prepare PATH_SEPARATOR.
15571 # The user is always right.
15572 if test "${PATH_SEPARATOR+set}" != set; then
15573 echo "#! /bin/sh" >conf$$.sh
15574 echo "exit 0" >>conf$$.sh
15576 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15584 # Find out how to test for executable files. Don't use a zero-byte file,
15585 # as systems may use methods other than mode bits to determine executability.
15586 cat >conf$$.file <<_ASEOF
15590 chmod +x conf$$.file
15591 if test -x conf$$.file >/dev/null 2>&1; then
15592 ac_executable_p="test -x"
15594 ac_executable_p="test -f"
15598 # Extract the first word of "xgettext", so it can be a program name with args.
15599 set dummy xgettext; ac_word=$2
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15601 $as_echo_n "checking for $ac_word... " >&6; }
15602 if ${ac_cv_path_XGETTEXT+:} false; then :
15603 $as_echo_n "(cached) " >&6
15605 case "$XGETTEXT" in
15607 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15610 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15611 for ac_dir in $PATH; do
15613 test -z "$ac_dir" && ac_dir=.
15614 for ac_exec_ext in '' $ac_executable_extensions; do
15615 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15616 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15617 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
15618 (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
15619 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
15626 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15630 XGETTEXT="$ac_cv_path_XGETTEXT"
15631 if test "$XGETTEXT" != ":"; then
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15633 $as_echo "$XGETTEXT" >&6; }
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15636 $as_echo "no" >&6; }
15641 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15642 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
15643 *) XGETTEXT_015=$XGETTEXT ;;
15648 # Prepare PATH_SEPARATOR.
15649 # The user is always right.
15650 if test "${PATH_SEPARATOR+set}" != set; then
15651 echo "#! /bin/sh" >conf$$.sh
15652 echo "exit 0" >>conf$$.sh
15654 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15662 # Find out how to test for executable files. Don't use a zero-byte file,
15663 # as systems may use methods other than mode bits to determine executability.
15664 cat >conf$$.file <<_ASEOF
15668 chmod +x conf$$.file
15669 if test -x conf$$.file >/dev/null 2>&1; then
15670 ac_executable_p="test -x"
15672 ac_executable_p="test -f"
15676 # Extract the first word of "msgmerge", so it can be a program name with args.
15677 set dummy msgmerge; ac_word=$2
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15679 $as_echo_n "checking for $ac_word... " >&6; }
15680 if ${ac_cv_path_MSGMERGE+:} false; then :
15681 $as_echo_n "(cached) " >&6
15683 case "$MSGMERGE" in
15685 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15688 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15689 for ac_dir in $PATH; do
15691 test -z "$ac_dir" && ac_dir=.
15692 for ac_exec_ext in '' $ac_executable_extensions; do
15693 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15694 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15695 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
15696 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
15703 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
15707 MSGMERGE="$ac_cv_path_MSGMERGE"
15708 if test "$MSGMERGE" != ":"; then
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15710 $as_echo "$MSGMERGE" >&6; }
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15713 $as_echo "no" >&6; }
15717 test -n "$localedir" || localedir='${datadir}/locale'
15720 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
15723 ac_config_commands="$ac_config_commands po-directories"
15727 if test "X$prefix" = "XNONE"; then
15728 acl_final_prefix="$ac_default_prefix"
15730 acl_final_prefix="$prefix"
15732 if test "X$exec_prefix" = "XNONE"; then
15733 acl_final_exec_prefix='${prefix}'
15735 acl_final_exec_prefix="$exec_prefix"
15737 acl_save_prefix="$prefix"
15738 prefix="$acl_final_prefix"
15739 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
15740 prefix="$acl_save_prefix"
15743 # Check whether --with-gnu-ld was given.
15744 if test "${with_gnu_ld+set}" = set; then :
15745 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15750 # Prepare PATH_SEPARATOR.
15751 # The user is always right.
15752 if test "${PATH_SEPARATOR+set}" != set; then
15753 echo "#! /bin/sh" >conf$$.sh
15754 echo "exit 0" >>conf$$.sh
15756 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15764 if test "$GCC" = yes; then
15765 # Check if gcc -print-prog-name=ld gives a path.
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
15767 $as_echo_n "checking for ld used by GCC... " >&6; }
15770 # gcc leaves a trailing carriage return which upsets mingw
15771 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15773 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15776 # Accept absolute paths.
15777 [\\/]* | [A-Za-z]:[\\/]*)
15778 re_direlt='/[^/][^/]*/\.\./'
15779 # Canonicalize the path of ld
15780 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
15781 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15782 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
15784 test -z "$LD" && LD="$ac_prog"
15787 # If it fails, then pretend we aren't using GCC.
15791 # If it is relative, then search for the first ld in PATH.
15792 with_gnu_ld=unknown
15795 elif test "$with_gnu_ld" = yes; then
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15797 $as_echo_n "checking for GNU ld... " >&6; }
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15800 $as_echo_n "checking for non-GNU ld... " >&6; }
15802 if ${acl_cv_path_LD+:} false; then :
15803 $as_echo_n "(cached) " >&6
15805 if test -z "$LD"; then
15806 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
15807 for ac_dir in $PATH; do
15808 test -z "$ac_dir" && ac_dir=.
15809 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15810 acl_cv_path_LD="$ac_dir/$ac_prog"
15811 # Check to see if the program is GNU ld. I'd rather use --version,
15812 # but apparently some GNU ld's only accept -v.
15813 # Break only if it was the GNU/non-GNU ld that we prefer.
15814 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
15815 *GNU* | *'with BFD'*)
15816 test "$with_gnu_ld" != no && break ;;
15818 test "$with_gnu_ld" != yes && break ;;
15824 acl_cv_path_LD="$LD" # Let the user override the test with a path.
15828 LD="$acl_cv_path_LD"
15829 if test -n "$LD"; then
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15831 $as_echo "$LD" >&6; }
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15834 $as_echo "no" >&6; }
15836 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15838 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15839 if ${acl_cv_prog_gnu_ld+:} false; then :
15840 $as_echo_n "(cached) " >&6
15842 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15843 case `$LD -v 2>&1 </dev/null` in
15844 *GNU* | *'with BFD'*)
15845 acl_cv_prog_gnu_ld=yes ;;
15847 acl_cv_prog_gnu_ld=no ;;
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
15851 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
15852 with_gnu_ld=$acl_cv_prog_gnu_ld
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
15858 $as_echo_n "checking for shared library run path origin... " >&6; }
15859 if ${acl_cv_rpath+:} false; then :
15860 $as_echo_n "(cached) " >&6
15863 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
15864 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
15866 rm -f ./conftest.sh
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
15871 $as_echo "$acl_cv_rpath" >&6; }
15873 acl_libext="$acl_cv_libext"
15874 acl_shlibext="$acl_cv_shlibext"
15875 acl_libname_spec="$acl_cv_libname_spec"
15876 acl_library_names_spec="$acl_cv_library_names_spec"
15877 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
15878 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
15879 acl_hardcode_direct="$acl_cv_hardcode_direct"
15880 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
15881 # Check whether --enable-rpath was given.
15882 if test "${enable_rpath+set}" = set; then :
15883 enableval=$enable_rpath; :
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
15896 $as_echo_n "checking for 64-bit host... " >&6; }
15897 if ${gl_cv_solaris_64bit+:} false; then :
15898 $as_echo_n "(cached) " >&6
15900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15909 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
15910 gl_cv_solaris_64bit=yes
15912 gl_cv_solaris_64bit=no
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
15919 $as_echo "$gl_cv_solaris_64bit" >&6; }
15920 if test $gl_cv_solaris_64bit = yes; then
15921 acl_libdirstem=lib/64
15922 case "$host_cpu" in
15923 sparc*) acl_libdirstem2=lib/sparcv9 ;;
15924 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
15929 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
15930 if test -n "$searchpath"; then
15931 acl_save_IFS="${IFS= }"; IFS=":"
15932 for searchdir in $searchpath; do
15933 if test -d "$searchdir"; then
15934 case "$searchdir" in
15935 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
15937 # Better ignore directories of this form. They are misleading.
15939 *) searchdir=`cd "$searchdir" && pwd`
15940 case "$searchdir" in
15941 */lib64 ) acl_libdirstem=lib64 ;;
15946 IFS="$acl_save_IFS"
15950 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
15965 acl_save_prefix="$prefix"
15966 prefix="$acl_final_prefix"
15967 acl_save_exec_prefix="$exec_prefix"
15968 exec_prefix="$acl_final_exec_prefix"
15970 eval additional_includedir=\"$includedir\"
15971 eval additional_libdir=\"$libdir\"
15973 exec_prefix="$acl_save_exec_prefix"
15974 prefix="$acl_save_prefix"
15977 # Check whether --with-libiconv-prefix was given.
15978 if test "${with_libiconv_prefix+set}" = set; then :
15979 withval=$with_libiconv_prefix;
15980 if test "X$withval" = "Xno"; then
15983 if test "X$withval" = "X"; then
15985 acl_save_prefix="$prefix"
15986 prefix="$acl_final_prefix"
15987 acl_save_exec_prefix="$exec_prefix"
15988 exec_prefix="$acl_final_exec_prefix"
15990 eval additional_includedir=\"$includedir\"
15991 eval additional_libdir=\"$libdir\"
15993 exec_prefix="$acl_save_exec_prefix"
15994 prefix="$acl_save_prefix"
15997 additional_includedir="$withval/include"
15998 additional_libdir="$withval/$acl_libdirstem"
15999 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16000 && ! test -d "$withval/$acl_libdirstem"; then
16001 additional_libdir="$withval/$acl_libdirstem2"
16015 names_already_handled=
16016 names_next_round='iconv '
16017 while test -n "$names_next_round"; do
16018 names_this_round="$names_next_round"
16020 for name in $names_this_round; do
16022 for n in $names_already_handled; do
16023 if test "$n" = "$name"; then
16024 already_handled=yes
16028 if test -z "$already_handled"; then
16029 names_already_handled="$names_already_handled $name"
16030 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16031 eval value=\"\$HAVE_LIB$uppername\"
16032 if test -n "$value"; then
16033 if test "$value" = yes; then
16034 eval value=\"\$LIB$uppername\"
16035 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16036 eval value=\"\$LTLIB$uppername\"
16037 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16046 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16047 if test -n "$acl_shlibext"; then
16048 shrext=".$acl_shlibext" # typically: shrext=.so
16052 if test $use_additional = yes; then
16053 dir="$additional_libdir"
16054 if test -n "$acl_shlibext"; then
16055 if test -f "$dir/$libname$shrext"; then
16057 found_so="$dir/$libname$shrext"
16059 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16060 ver=`(cd "$dir" && \
16061 for f in "$libname$shrext".*; do echo "$f"; done \
16062 | sed -e "s,^$libname$shrext\\\\.,," \
16063 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16064 | sed 1q ) 2>/dev/null`
16065 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16067 found_so="$dir/$libname$shrext.$ver"
16070 eval library_names=\"$acl_library_names_spec\"
16071 for f in $library_names; do
16072 if test -f "$dir/$f"; then
16081 if test "X$found_dir" = "X"; then
16082 if test -f "$dir/$libname.$acl_libext"; then
16084 found_a="$dir/$libname.$acl_libext"
16087 if test "X$found_dir" != "X"; then
16088 if test -f "$dir/$libname.la"; then
16089 found_la="$dir/$libname.la"
16093 if test "X$found_dir" = "X"; then
16094 for x in $LDFLAGS $LTLIBICONV; do
16096 acl_save_prefix="$prefix"
16097 prefix="$acl_final_prefix"
16098 acl_save_exec_prefix="$exec_prefix"
16099 exec_prefix="$acl_final_exec_prefix"
16101 exec_prefix="$acl_save_exec_prefix"
16102 prefix="$acl_save_prefix"
16106 dir=`echo "X$x" | sed -e 's/^X-L//'`
16107 if test -n "$acl_shlibext"; then
16108 if test -f "$dir/$libname$shrext"; then
16110 found_so="$dir/$libname$shrext"
16112 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16113 ver=`(cd "$dir" && \
16114 for f in "$libname$shrext".*; do echo "$f"; done \
16115 | sed -e "s,^$libname$shrext\\\\.,," \
16116 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16117 | sed 1q ) 2>/dev/null`
16118 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16120 found_so="$dir/$libname$shrext.$ver"
16123 eval library_names=\"$acl_library_names_spec\"
16124 for f in $library_names; do
16125 if test -f "$dir/$f"; then
16134 if test "X$found_dir" = "X"; then
16135 if test -f "$dir/$libname.$acl_libext"; then
16137 found_a="$dir/$libname.$acl_libext"
16140 if test "X$found_dir" != "X"; then
16141 if test -f "$dir/$libname.la"; then
16142 found_la="$dir/$libname.la"
16147 if test "X$found_dir" != "X"; then
16152 if test "X$found_dir" != "X"; then
16153 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16154 if test "X$found_so" != "X"; then
16155 if test "$enable_rpath" = no \
16156 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
16157 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16158 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16161 for x in $ltrpathdirs; do
16162 if test "X$x" = "X$found_dir"; then
16167 if test -z "$haveit"; then
16168 ltrpathdirs="$ltrpathdirs $found_dir"
16170 if test "$acl_hardcode_direct" = yes; then
16171 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16173 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16174 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16176 for x in $rpathdirs; do
16177 if test "X$x" = "X$found_dir"; then
16182 if test -z "$haveit"; then
16183 rpathdirs="$rpathdirs $found_dir"
16187 for x in $LDFLAGS $LIBICONV; do
16189 acl_save_prefix="$prefix"
16190 prefix="$acl_final_prefix"
16191 acl_save_exec_prefix="$exec_prefix"
16192 exec_prefix="$acl_final_exec_prefix"
16194 exec_prefix="$acl_save_exec_prefix"
16195 prefix="$acl_save_prefix"
16197 if test "X$x" = "X-L$found_dir"; then
16202 if test -z "$haveit"; then
16203 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16205 if test "$acl_hardcode_minus_L" != no; then
16206 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16208 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16214 if test "X$found_a" != "X"; then
16215 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16217 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16220 additional_includedir=
16221 case "$found_dir" in
16222 */$acl_libdirstem | */$acl_libdirstem/)
16223 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16224 if test "$name" = 'iconv'; then
16225 LIBICONV_PREFIX="$basedir"
16227 additional_includedir="$basedir/include"
16229 */$acl_libdirstem2 | */$acl_libdirstem2/)
16230 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16231 if test "$name" = 'iconv'; then
16232 LIBICONV_PREFIX="$basedir"
16234 additional_includedir="$basedir/include"
16237 if test "X$additional_includedir" != "X"; then
16238 if test "X$additional_includedir" != "X/usr/include"; then
16240 if test "X$additional_includedir" = "X/usr/local/include"; then
16241 if test -n "$GCC"; then
16243 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16247 if test -z "$haveit"; then
16248 for x in $CPPFLAGS $INCICONV; do
16250 acl_save_prefix="$prefix"
16251 prefix="$acl_final_prefix"
16252 acl_save_exec_prefix="$exec_prefix"
16253 exec_prefix="$acl_final_exec_prefix"
16255 exec_prefix="$acl_save_exec_prefix"
16256 prefix="$acl_save_prefix"
16258 if test "X$x" = "X-I$additional_includedir"; then
16263 if test -z "$haveit"; then
16264 if test -d "$additional_includedir"; then
16265 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16271 if test -n "$found_la"; then
16272 save_libdir="$libdir"
16273 case "$found_la" in
16274 */* | *\\*) . "$found_la" ;;
16275 *) . "./$found_la" ;;
16277 libdir="$save_libdir"
16278 for dep in $dependency_libs; do
16281 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16282 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16283 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16285 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16286 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16287 if test -n "$GCC"; then
16289 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16293 if test -z "$haveit"; then
16295 for x in $LDFLAGS $LIBICONV; do
16297 acl_save_prefix="$prefix"
16298 prefix="$acl_final_prefix"
16299 acl_save_exec_prefix="$exec_prefix"
16300 exec_prefix="$acl_final_exec_prefix"
16302 exec_prefix="$acl_save_exec_prefix"
16303 prefix="$acl_save_prefix"
16305 if test "X$x" = "X-L$additional_libdir"; then
16310 if test -z "$haveit"; then
16311 if test -d "$additional_libdir"; then
16312 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16316 for x in $LDFLAGS $LTLIBICONV; do
16318 acl_save_prefix="$prefix"
16319 prefix="$acl_final_prefix"
16320 acl_save_exec_prefix="$exec_prefix"
16321 exec_prefix="$acl_final_exec_prefix"
16323 exec_prefix="$acl_save_exec_prefix"
16324 prefix="$acl_save_prefix"
16326 if test "X$x" = "X-L$additional_libdir"; then
16331 if test -z "$haveit"; then
16332 if test -d "$additional_libdir"; then
16333 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16340 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16341 if test "$enable_rpath" != no; then
16343 for x in $rpathdirs; do
16344 if test "X$x" = "X$dir"; then
16349 if test -z "$haveit"; then
16350 rpathdirs="$rpathdirs $dir"
16353 for x in $ltrpathdirs; do
16354 if test "X$x" = "X$dir"; then
16359 if test -z "$haveit"; then
16360 ltrpathdirs="$ltrpathdirs $dir"
16365 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16368 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16371 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16372 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16378 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16379 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16385 if test "X$rpathdirs" != "X"; then
16386 if test -n "$acl_hardcode_libdir_separator"; then
16388 for found_dir in $rpathdirs; do
16389 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16391 acl_save_libdir="$libdir"
16393 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16394 libdir="$acl_save_libdir"
16395 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16397 for found_dir in $rpathdirs; do
16398 acl_save_libdir="$libdir"
16399 libdir="$found_dir"
16400 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16401 libdir="$acl_save_libdir"
16402 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16406 if test "X$ltrpathdirs" != "X"; then
16407 for found_dir in $ltrpathdirs; do
16408 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
16443 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
16444 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
16445 $as_echo_n "(cached) " >&6
16447 gt_save_LIBS="$LIBS"
16448 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #include <CoreFoundation/CFPreferences.h>
16455 CFPreferencesCopyAppValue(NULL, NULL)
16460 if ac_fn_c_try_link "$LINENO"; then :
16461 gt_cv_func_CFPreferencesCopyAppValue=yes
16463 gt_cv_func_CFPreferencesCopyAppValue=no
16465 rm -f core conftest.err conftest.$ac_objext \
16466 conftest$ac_exeext conftest.$ac_ext
16467 LIBS="$gt_save_LIBS"
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
16470 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
16471 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
16473 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16477 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
16478 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
16479 $as_echo_n "(cached) " >&6
16481 gt_save_LIBS="$LIBS"
16482 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #include <CoreFoundation/CFLocale.h>
16489 CFLocaleCopyCurrent();
16494 if ac_fn_c_try_link "$LINENO"; then :
16495 gt_cv_func_CFLocaleCopyCurrent=yes
16497 gt_cv_func_CFLocaleCopyCurrent=no
16499 rm -f core conftest.err conftest.$ac_objext \
16500 conftest$ac_exeext conftest.$ac_ext
16501 LIBS="$gt_save_LIBS"
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
16504 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
16505 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16507 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
16511 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16512 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
16524 case " $gt_needs " in
16525 *" need-formatstring-macros "*) gt_api_version=3 ;;
16526 *" need-ngettext "*) gt_api_version=2 ;;
16527 *) gt_api_version=1 ;;
16529 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
16530 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
16532 if test "$USE_NLS" = "yes"; then
16533 gt_use_preinstalled_gnugettext=no
16536 if test $gt_api_version -ge 3; then
16537 gt_revision_test_code='
16538 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
16539 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
16541 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
16544 gt_revision_test_code=
16546 if test $gt_api_version -ge 2; then
16547 gt_expression_test_code=' + * ngettext ("", "", 0)'
16549 gt_expression_test_code=
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
16553 $as_echo_n "checking for GNU gettext in libc... " >&6; }
16554 if eval \${$gt_func_gnugettext_libc+:} false; then :
16555 $as_echo_n "(cached) " >&6
16557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16558 /* end confdefs.h. */
16559 #include <libintl.h>
16560 $gt_revision_test_code
16561 extern int _nl_msg_cat_cntr;
16562 extern int *_nl_domain_bindings;
16566 bindtextdomain ("", "");
16567 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
16572 if ac_fn_c_try_link "$LINENO"; then :
16573 eval "$gt_func_gnugettext_libc=yes"
16575 eval "$gt_func_gnugettext_libc=no"
16577 rm -f core conftest.err conftest.$ac_objext \
16578 conftest$ac_exeext conftest.$ac_ext
16580 eval ac_res=\$$gt_func_gnugettext_libc
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16582 $as_echo "$ac_res" >&6; }
16584 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
16590 am_save_CPPFLAGS="$CPPFLAGS"
16592 for element in $INCICONV; do
16594 for x in $CPPFLAGS; do
16596 acl_save_prefix="$prefix"
16597 prefix="$acl_final_prefix"
16598 acl_save_exec_prefix="$exec_prefix"
16599 exec_prefix="$acl_final_exec_prefix"
16601 exec_prefix="$acl_save_exec_prefix"
16602 prefix="$acl_save_prefix"
16604 if test "X$x" = "X$element"; then
16609 if test -z "$haveit"; then
16610 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16616 $as_echo_n "checking for iconv... " >&6; }
16617 if ${am_cv_func_iconv+:} false; then :
16618 $as_echo_n "(cached) " >&6
16621 am_cv_func_iconv="no, consider installing GNU libiconv"
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16625 #include <stdlib.h>
16630 iconv_t cd = iconv_open("","");
16631 iconv(cd,NULL,NULL,NULL,NULL);
16637 if ac_fn_c_try_link "$LINENO"; then :
16638 am_cv_func_iconv=yes
16640 rm -f core conftest.err conftest.$ac_objext \
16641 conftest$ac_exeext conftest.$ac_ext
16642 if test "$am_cv_func_iconv" != yes; then
16643 am_save_LIBS="$LIBS"
16644 LIBS="$LIBS $LIBICONV"
16645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16646 /* end confdefs.h. */
16647 #include <stdlib.h>
16652 iconv_t cd = iconv_open("","");
16653 iconv(cd,NULL,NULL,NULL,NULL);
16659 if ac_fn_c_try_link "$LINENO"; then :
16660 am_cv_lib_iconv=yes
16661 am_cv_func_iconv=yes
16663 rm -f core conftest.err conftest.$ac_objext \
16664 conftest$ac_exeext conftest.$ac_ext
16665 LIBS="$am_save_LIBS"
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
16670 $as_echo "$am_cv_func_iconv" >&6; }
16671 if test "$am_cv_func_iconv" = yes; then
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
16673 $as_echo_n "checking for working iconv... " >&6; }
16674 if ${am_cv_func_iconv_works+:} false; then :
16675 $as_echo_n "(cached) " >&6
16678 am_save_LIBS="$LIBS"
16679 if test $am_cv_lib_iconv = yes; then
16680 LIBS="$LIBS $LIBICONV"
16682 if test "$cross_compiling" = yes; then :
16684 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
16685 *) am_cv_func_iconv_works="guessing yes" ;;
16688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16689 /* end confdefs.h. */
16692 #include <string.h>
16695 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
16698 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
16699 if (cd_utf8_to_88591 != (iconv_t)(-1))
16701 static const char input[] = "\342\202\254"; /* EURO SIGN */
16703 const char *inptr = input;
16704 size_t inbytesleft = strlen (input);
16705 char *outptr = buf;
16706 size_t outbytesleft = sizeof (buf);
16707 size_t res = iconv (cd_utf8_to_88591,
16708 (char **) &inptr, &inbytesleft,
16709 &outptr, &outbytesleft);
16714 /* Test against Solaris 10 bug: Failures are not distinguishable from
16715 successful returns. */
16717 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
16718 if (cd_ascii_to_88591 != (iconv_t)(-1))
16720 static const char input[] = "\263";
16722 const char *inptr = input;
16723 size_t inbytesleft = strlen (input);
16724 char *outptr = buf;
16725 size_t outbytesleft = sizeof (buf);
16726 size_t res = iconv (cd_ascii_to_88591,
16727 (char **) &inptr, &inbytesleft,
16728 &outptr, &outbytesleft);
16733 #if 0 /* This bug could be worked around by the caller. */
16734 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
16736 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
16737 if (cd_88591_to_utf8 != (iconv_t)(-1))
16739 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
16741 const char *inptr = input;
16742 size_t inbytesleft = strlen (input);
16743 char *outptr = buf;
16744 size_t outbytesleft = sizeof (buf);
16745 size_t res = iconv (cd_88591_to_utf8,
16746 (char **) &inptr, &inbytesleft,
16747 &outptr, &outbytesleft);
16753 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
16755 if (/* Try standardized names. */
16756 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
16757 /* Try IRIX, OSF/1 names. */
16758 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
16759 /* Try AIX names. */
16760 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
16761 /* Try HP-UX names. */
16762 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
16767 if ac_fn_c_try_run "$LINENO"; then :
16768 am_cv_func_iconv_works=yes
16770 am_cv_func_iconv_works=no
16772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16773 conftest.$ac_objext conftest.beam conftest.$ac_ext
16776 LIBS="$am_save_LIBS"
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
16780 $as_echo "$am_cv_func_iconv_works" >&6; }
16781 case "$am_cv_func_iconv_works" in
16782 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
16783 *) am_func_iconv=yes ;;
16786 am_func_iconv=no am_cv_lib_iconv=no
16788 if test "$am_func_iconv" = yes; then
16790 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
16793 if test "$am_cv_lib_iconv" = yes; then
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
16795 $as_echo_n "checking how to link with libiconv... " >&6; }
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
16797 $as_echo "$LIBICONV" >&6; }
16799 CPPFLAGS="$am_save_CPPFLAGS"
16816 acl_save_prefix="$prefix"
16817 prefix="$acl_final_prefix"
16818 acl_save_exec_prefix="$exec_prefix"
16819 exec_prefix="$acl_final_exec_prefix"
16821 eval additional_includedir=\"$includedir\"
16822 eval additional_libdir=\"$libdir\"
16824 exec_prefix="$acl_save_exec_prefix"
16825 prefix="$acl_save_prefix"
16828 # Check whether --with-libintl-prefix was given.
16829 if test "${with_libintl_prefix+set}" = set; then :
16830 withval=$with_libintl_prefix;
16831 if test "X$withval" = "Xno"; then
16834 if test "X$withval" = "X"; then
16836 acl_save_prefix="$prefix"
16837 prefix="$acl_final_prefix"
16838 acl_save_exec_prefix="$exec_prefix"
16839 exec_prefix="$acl_final_exec_prefix"
16841 eval additional_includedir=\"$includedir\"
16842 eval additional_libdir=\"$libdir\"
16844 exec_prefix="$acl_save_exec_prefix"
16845 prefix="$acl_save_prefix"
16848 additional_includedir="$withval/include"
16849 additional_libdir="$withval/$acl_libdirstem"
16850 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16851 && ! test -d "$withval/$acl_libdirstem"; then
16852 additional_libdir="$withval/$acl_libdirstem2"
16866 names_already_handled=
16867 names_next_round='intl '
16868 while test -n "$names_next_round"; do
16869 names_this_round="$names_next_round"
16871 for name in $names_this_round; do
16873 for n in $names_already_handled; do
16874 if test "$n" = "$name"; then
16875 already_handled=yes
16879 if test -z "$already_handled"; then
16880 names_already_handled="$names_already_handled $name"
16881 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16882 eval value=\"\$HAVE_LIB$uppername\"
16883 if test -n "$value"; then
16884 if test "$value" = yes; then
16885 eval value=\"\$LIB$uppername\"
16886 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
16887 eval value=\"\$LTLIB$uppername\"
16888 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
16897 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16898 if test -n "$acl_shlibext"; then
16899 shrext=".$acl_shlibext" # typically: shrext=.so
16903 if test $use_additional = yes; then
16904 dir="$additional_libdir"
16905 if test -n "$acl_shlibext"; then
16906 if test -f "$dir/$libname$shrext"; then
16908 found_so="$dir/$libname$shrext"
16910 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16911 ver=`(cd "$dir" && \
16912 for f in "$libname$shrext".*; do echo "$f"; done \
16913 | sed -e "s,^$libname$shrext\\\\.,," \
16914 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16915 | sed 1q ) 2>/dev/null`
16916 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16918 found_so="$dir/$libname$shrext.$ver"
16921 eval library_names=\"$acl_library_names_spec\"
16922 for f in $library_names; do
16923 if test -f "$dir/$f"; then
16932 if test "X$found_dir" = "X"; then
16933 if test -f "$dir/$libname.$acl_libext"; then
16935 found_a="$dir/$libname.$acl_libext"
16938 if test "X$found_dir" != "X"; then
16939 if test -f "$dir/$libname.la"; then
16940 found_la="$dir/$libname.la"
16944 if test "X$found_dir" = "X"; then
16945 for x in $LDFLAGS $LTLIBINTL; do
16947 acl_save_prefix="$prefix"
16948 prefix="$acl_final_prefix"
16949 acl_save_exec_prefix="$exec_prefix"
16950 exec_prefix="$acl_final_exec_prefix"
16952 exec_prefix="$acl_save_exec_prefix"
16953 prefix="$acl_save_prefix"
16957 dir=`echo "X$x" | sed -e 's/^X-L//'`
16958 if test -n "$acl_shlibext"; then
16959 if test -f "$dir/$libname$shrext"; then
16961 found_so="$dir/$libname$shrext"
16963 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16964 ver=`(cd "$dir" && \
16965 for f in "$libname$shrext".*; do echo "$f"; done \
16966 | sed -e "s,^$libname$shrext\\\\.,," \
16967 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16968 | sed 1q ) 2>/dev/null`
16969 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16971 found_so="$dir/$libname$shrext.$ver"
16974 eval library_names=\"$acl_library_names_spec\"
16975 for f in $library_names; do
16976 if test -f "$dir/$f"; then
16985 if test "X$found_dir" = "X"; then
16986 if test -f "$dir/$libname.$acl_libext"; then
16988 found_a="$dir/$libname.$acl_libext"
16991 if test "X$found_dir" != "X"; then
16992 if test -f "$dir/$libname.la"; then
16993 found_la="$dir/$libname.la"
16998 if test "X$found_dir" != "X"; then
17003 if test "X$found_dir" != "X"; then
17004 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17005 if test "X$found_so" != "X"; then
17006 if test "$enable_rpath" = no \
17007 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
17008 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
17009 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17012 for x in $ltrpathdirs; do
17013 if test "X$x" = "X$found_dir"; then
17018 if test -z "$haveit"; then
17019 ltrpathdirs="$ltrpathdirs $found_dir"
17021 if test "$acl_hardcode_direct" = yes; then
17022 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17024 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17025 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17027 for x in $rpathdirs; do
17028 if test "X$x" = "X$found_dir"; then
17033 if test -z "$haveit"; then
17034 rpathdirs="$rpathdirs $found_dir"
17038 for x in $LDFLAGS $LIBINTL; do
17040 acl_save_prefix="$prefix"
17041 prefix="$acl_final_prefix"
17042 acl_save_exec_prefix="$exec_prefix"
17043 exec_prefix="$acl_final_exec_prefix"
17045 exec_prefix="$acl_save_exec_prefix"
17046 prefix="$acl_save_prefix"
17048 if test "X$x" = "X-L$found_dir"; then
17053 if test -z "$haveit"; then
17054 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17056 if test "$acl_hardcode_minus_L" != no; then
17057 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17059 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17065 if test "X$found_a" != "X"; then
17066 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
17068 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17071 additional_includedir=
17072 case "$found_dir" in
17073 */$acl_libdirstem | */$acl_libdirstem/)
17074 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17075 if test "$name" = 'intl'; then
17076 LIBINTL_PREFIX="$basedir"
17078 additional_includedir="$basedir/include"
17080 */$acl_libdirstem2 | */$acl_libdirstem2/)
17081 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
17082 if test "$name" = 'intl'; then
17083 LIBINTL_PREFIX="$basedir"
17085 additional_includedir="$basedir/include"
17088 if test "X$additional_includedir" != "X"; then
17089 if test "X$additional_includedir" != "X/usr/include"; then
17091 if test "X$additional_includedir" = "X/usr/local/include"; then
17092 if test -n "$GCC"; then
17094 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17098 if test -z "$haveit"; then
17099 for x in $CPPFLAGS $INCINTL; do
17101 acl_save_prefix="$prefix"
17102 prefix="$acl_final_prefix"
17103 acl_save_exec_prefix="$exec_prefix"
17104 exec_prefix="$acl_final_exec_prefix"
17106 exec_prefix="$acl_save_exec_prefix"
17107 prefix="$acl_save_prefix"
17109 if test "X$x" = "X-I$additional_includedir"; then
17114 if test -z "$haveit"; then
17115 if test -d "$additional_includedir"; then
17116 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17122 if test -n "$found_la"; then
17123 save_libdir="$libdir"
17124 case "$found_la" in
17125 */* | *\\*) . "$found_la" ;;
17126 *) . "./$found_la" ;;
17128 libdir="$save_libdir"
17129 for dep in $dependency_libs; do
17132 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17133 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
17134 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
17136 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
17137 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
17138 if test -n "$GCC"; then
17140 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17144 if test -z "$haveit"; then
17146 for x in $LDFLAGS $LIBINTL; do
17148 acl_save_prefix="$prefix"
17149 prefix="$acl_final_prefix"
17150 acl_save_exec_prefix="$exec_prefix"
17151 exec_prefix="$acl_final_exec_prefix"
17153 exec_prefix="$acl_save_exec_prefix"
17154 prefix="$acl_save_prefix"
17156 if test "X$x" = "X-L$additional_libdir"; then
17161 if test -z "$haveit"; then
17162 if test -d "$additional_libdir"; then
17163 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17167 for x in $LDFLAGS $LTLIBINTL; do
17169 acl_save_prefix="$prefix"
17170 prefix="$acl_final_prefix"
17171 acl_save_exec_prefix="$exec_prefix"
17172 exec_prefix="$acl_final_exec_prefix"
17174 exec_prefix="$acl_save_exec_prefix"
17175 prefix="$acl_save_prefix"
17177 if test "X$x" = "X-L$additional_libdir"; then
17182 if test -z "$haveit"; then
17183 if test -d "$additional_libdir"; then
17184 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17191 dir=`echo "X$dep" | sed -e 's/^X-R//'`
17192 if test "$enable_rpath" != no; then
17194 for x in $rpathdirs; do
17195 if test "X$x" = "X$dir"; then
17200 if test -z "$haveit"; then
17201 rpathdirs="$rpathdirs $dir"
17204 for x in $ltrpathdirs; do
17205 if test "X$x" = "X$dir"; then
17210 if test -z "$haveit"; then
17211 ltrpathdirs="$ltrpathdirs $dir"
17216 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17219 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17222 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17223 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17229 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17230 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17236 if test "X$rpathdirs" != "X"; then
17237 if test -n "$acl_hardcode_libdir_separator"; then
17239 for found_dir in $rpathdirs; do
17240 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17242 acl_save_libdir="$libdir"
17244 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17245 libdir="$acl_save_libdir"
17246 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17248 for found_dir in $rpathdirs; do
17249 acl_save_libdir="$libdir"
17250 libdir="$found_dir"
17251 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17252 libdir="$acl_save_libdir"
17253 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17257 if test "X$ltrpathdirs" != "X"; then
17258 for found_dir in $ltrpathdirs; do
17259 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17269 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
17270 if eval \${$gt_func_gnugettext_libintl+:} false; then :
17271 $as_echo_n "(cached) " >&6
17273 gt_save_CPPFLAGS="$CPPFLAGS"
17274 CPPFLAGS="$CPPFLAGS $INCINTL"
17275 gt_save_LIBS="$LIBS"
17276 LIBS="$LIBS $LIBINTL"
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 #include <libintl.h>
17280 $gt_revision_test_code
17281 extern int _nl_msg_cat_cntr;
17286 const char *_nl_expand_alias (const char *);
17290 bindtextdomain ("", "");
17291 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17296 if ac_fn_c_try_link "$LINENO"; then :
17297 eval "$gt_func_gnugettext_libintl=yes"
17299 eval "$gt_func_gnugettext_libintl=no"
17301 rm -f core conftest.err conftest.$ac_objext \
17302 conftest$ac_exeext conftest.$ac_ext
17303 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17304 LIBS="$LIBS $LIBICONV"
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 #include <libintl.h>
17308 $gt_revision_test_code
17309 extern int _nl_msg_cat_cntr;
17314 const char *_nl_expand_alias (const char *);
17318 bindtextdomain ("", "");
17319 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17324 if ac_fn_c_try_link "$LINENO"; then :
17325 LIBINTL="$LIBINTL $LIBICONV"
17326 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
17327 eval "$gt_func_gnugettext_libintl=yes"
17330 rm -f core conftest.err conftest.$ac_objext \
17331 conftest$ac_exeext conftest.$ac_ext
17333 CPPFLAGS="$gt_save_CPPFLAGS"
17334 LIBS="$gt_save_LIBS"
17336 eval ac_res=\$$gt_func_gnugettext_libintl
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17338 $as_echo "$ac_res" >&6; }
17341 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
17342 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
17343 && test "$PACKAGE" != gettext-runtime \
17344 && test "$PACKAGE" != gettext-tools; }; then
17345 gt_use_preinstalled_gnugettext=yes
17354 if test -n "$INTL_MACOSX_LIBS"; then
17355 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17356 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17357 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
17358 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
17362 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17363 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17365 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
17373 $as_echo_n "checking whether to use NLS... " >&6; }
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17375 $as_echo "$USE_NLS" >&6; }
17376 if test "$USE_NLS" = "yes"; then
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
17378 $as_echo_n "checking where the gettext function comes from... " >&6; }
17379 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17380 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17381 gt_source="external libintl"
17386 gt_source="included intl directory"
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
17389 $as_echo "$gt_source" >&6; }
17392 if test "$USE_NLS" = "yes"; then
17394 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17395 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
17397 $as_echo_n "checking how to link with libintl... " >&6; }
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
17399 $as_echo "$LIBINTL" >&6; }
17401 for element in $INCINTL; do
17403 for x in $CPPFLAGS; do
17405 acl_save_prefix="$prefix"
17406 prefix="$acl_final_prefix"
17407 acl_save_exec_prefix="$exec_prefix"
17408 exec_prefix="$acl_final_exec_prefix"
17410 exec_prefix="$acl_save_exec_prefix"
17411 prefix="$acl_save_prefix"
17413 if test "X$x" = "X$element"; then
17418 if test -z "$haveit"; then
17419 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17426 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17429 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
17438 INTLLIBS="$LIBINTL"
17447 GETTEXT_PACKAGE=PACKAGE_TARNAME
17450 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
17453 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
17456 cat >confcache <<\_ACEOF
17457 # This file is a shell script that caches the results of configure
17458 # tests run on this system so they can be shared between configure
17459 # scripts and configure runs, see configure's option --config-cache.
17460 # It is not useful on other systems. If it contains results you don't
17461 # want to keep, you may remove or edit it.
17463 # config.status only pays attention to the cache file if you give it
17464 # the --recheck option to rerun configure.
17466 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17467 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17468 # following values.
17472 # The following way of writing the cache mishandles newlines in values,
17473 # but we know of no workaround that is simple, portable, and efficient.
17474 # So, we kill variables containing newlines.
17475 # Ultrix sh set writes to stderr and can't be redirected directly,
17476 # and sets the high bit in the cache file unless we assign to the vars.
17478 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17479 eval ac_val=\$$ac_var
17483 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17484 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17487 _ | IFS | as_nl) ;; #(
17488 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17489 *) { eval $ac_var=; unset $ac_var;} ;;
17495 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17496 *${as_nl}ac_space=\ *)
17497 # `set' does not quote correctly, so add quotes: double-quote
17498 # substitution turns \\\\ into \\, and sed turns \\ into \.
17501 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17504 # `set' quotes correctly as required by POSIX, so do not add quotes.
17505 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17514 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17516 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17518 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17519 if test -w "$cache_file"; then
17520 if test "x$cache_file" != "x/dev/null"; then
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17522 $as_echo "$as_me: updating cache $cache_file" >&6;}
17523 if test ! -f "$cache_file" || test -h "$cache_file"; then
17524 cat confcache >"$cache_file"
17526 case $cache_file in #(
17528 mv -f confcache "$cache_file"$$ &&
17529 mv -f "$cache_file"$$ "$cache_file" ;; #(
17531 mv -f confcache "$cache_file" ;;
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17537 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17542 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17543 # Let make expand exec_prefix.
17544 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17546 DEFS=-DHAVE_CONFIG_H
17551 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17552 # 1. Remove the extension, and $U if already installed.
17553 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17554 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17555 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17556 # will be set to the directory where LIBOBJS objects are built.
17557 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17558 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17560 LIBOBJS=$ac_libobjs
17562 LTLIBOBJS=$ac_ltlibobjs
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17566 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17567 if test -n "$am_sleep_pid"; then
17568 # Hide warnings about reused PIDs.
17569 wait $am_sleep_pid 2>/dev/null
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17572 $as_echo "done" >&6; }
17573 if test -n "$EXEEXT"; then
17575 am__EXEEXT_FALSE='#'
17577 am__EXEEXT_TRUE='#'
17581 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17582 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17585 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17586 as_fn_error $? "conditional \"AMDEP\" was never defined.
17587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17589 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17590 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17593 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17594 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17597 if test -z "${LOG4VALA_TRUE}" && test -z "${LOG4VALA_FALSE}"; then
17598 as_fn_error $? "conditional \"LOG4VALA\" was never defined.
17599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17601 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
17602 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
17603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17605 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
17606 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
17607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17609 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
17610 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
17611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17613 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
17614 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
17615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17617 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
17618 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
17619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17621 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
17622 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
17623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17625 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
17626 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
17627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17629 if test -z "${GIO_VAPI_USES_ARRAYS_TRUE}" && test -z "${GIO_VAPI_USES_ARRAYS_FALSE}"; then
17630 as_fn_error $? "conditional \"GIO_VAPI_USES_ARRAYS\" was never defined.
17631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17634 : "${CONFIG_STATUS=./config.status}"
17636 ac_clean_files_save=$ac_clean_files
17637 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17639 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17641 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17643 # Generated by $as_me.
17644 # Run this file to recreate the current configuration.
17645 # Compiler output produced by configure, useful for debugging
17646 # configure, is in config.log if it exists.
17649 ac_cs_recheck=false
17652 SHELL=\${CONFIG_SHELL-$SHELL}
17655 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17656 ## -------------------- ##
17657 ## M4sh Initialization. ##
17658 ## -------------------- ##
17660 # Be more Bourne compatible
17661 DUALCASE=1; export DUALCASE # for MKS sh
17662 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17665 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17666 # is contrary to our usage. Disable this feature.
17667 alias -g '${1+"$@"}'='"$@"'
17668 setopt NO_GLOB_SUBST
17670 case `(set -o) 2>/dev/null` in #(
17682 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17683 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17684 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17685 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17686 # Prefer a ksh shell builtin over an external printf program on Solaris,
17687 # but without wasting forks for bash or zsh.
17688 if test -z "$BASH_VERSION$ZSH_VERSION" \
17689 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17690 as_echo='print -r --'
17691 as_echo_n='print -rn --'
17692 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17693 as_echo='printf %s\n'
17694 as_echo_n='printf %s'
17696 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17697 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17698 as_echo_n='/usr/ucb/echo -n'
17700 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17701 as_echo_n_body='eval
17705 expr "X$arg" : "X\\(.*\\)$as_nl";
17706 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17708 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17710 export as_echo_n_body
17711 as_echo_n='sh -c $as_echo_n_body as_echo'
17713 export as_echo_body
17714 as_echo='sh -c $as_echo_body as_echo'
17717 # The user is always right.
17718 if test "${PATH_SEPARATOR+set}" != set; then
17720 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17721 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17728 # We need space, tab and new line, in precisely that order. Quoting is
17729 # there to prevent editors from complaining about space-tab.
17730 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17731 # splitting by setting IFS to empty value.)
17734 # Find who we are. Look in the path if we contain no directory separator.
17737 *[\\/]* ) as_myself=$0 ;;
17738 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17739 for as_dir in $PATH
17742 test -z "$as_dir" && as_dir=.
17743 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17749 # We did not find ourselves, most probably we were run as `sh COMMAND'
17750 # in which case we are not to be found in the path.
17751 if test "x$as_myself" = x; then
17754 if test ! -f "$as_myself"; then
17755 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17759 # Unset variables that we do not need and which cause bugs (e.g. in
17760 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17761 # suppresses any "Segmentation fault" message there. '((' could
17762 # trigger a bug in pdksh 5.2.14.
17763 for as_var in BASH_ENV ENV MAIL MAILPATH
17764 do eval test x\${$as_var+set} = xset \
17765 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17778 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17781 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17782 # ----------------------------------------
17783 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17784 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17785 # script with STATUS, using 1 if that was 0.
17788 as_status=$1; test $as_status -eq 0 && as_status=1
17790 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17791 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17793 $as_echo "$as_me: error: $2" >&2
17794 as_fn_exit $as_status
17798 # as_fn_set_status STATUS
17799 # -----------------------
17800 # Set $? to STATUS, without forking.
17801 as_fn_set_status ()
17804 } # as_fn_set_status
17806 # as_fn_exit STATUS
17807 # -----------------
17808 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17812 as_fn_set_status $1
17818 # Portably unset VAR.
17821 { eval $1=; unset $1;}
17823 as_unset=as_fn_unset
17824 # as_fn_append VAR VALUE
17825 # ----------------------
17826 # Append the text in VALUE to the end of the definition contained in VAR. Take
17827 # advantage of any shell optimizations that allow amortized linear growth over
17828 # repeated appends, instead of the typical quadratic growth present in naive
17830 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17831 eval 'as_fn_append ()
17842 # as_fn_arith ARG...
17843 # ------------------
17844 # Perform arithmetic evaluation on the ARGs, and store the result in the
17845 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17846 # must be portable across $(()) and expr.
17847 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17848 eval 'as_fn_arith ()
17855 as_val=`expr "$@" || test $? -eq 1`
17860 if expr a : '\(a\)' >/dev/null 2>&1 &&
17861 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17867 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17868 as_basename=basename
17873 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17879 as_me=`$as_basename -- "$0" ||
17880 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17881 X"$0" : 'X\(//\)$' \| \
17882 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17884 sed '/^.*\/\([^/][^/]*\)\/*$/{
17898 # Avoid depending upon Character Ranges.
17899 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17900 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17901 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17902 as_cr_digits='0123456789'
17903 as_cr_alnum=$as_cr_Letters$as_cr_digits
17905 ECHO_C= ECHO_N= ECHO_T=
17906 case `echo -n x` in #(((((
17908 case `echo 'xy\c'` in
17909 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17911 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17918 rm -f conf$$ conf$$.exe conf$$.file
17919 if test -d conf$$.dir; then
17920 rm -f conf$$.dir/conf$$.file
17923 mkdir conf$$.dir 2>/dev/null
17925 if (echo >conf$$.file) 2>/dev/null; then
17926 if ln -s conf$$.file conf$$ 2>/dev/null; then
17928 # ... but there are two gotchas:
17929 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17930 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17931 # In both cases, we have to default to `cp -pR'.
17932 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17934 elif ln conf$$.file conf$$ 2>/dev/null; then
17942 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17943 rmdir conf$$.dir 2>/dev/null
17948 # Create "$as_dir" as a directory, including parents if necessary.
17953 -*) as_dir=./$as_dir;;
17955 test -d "$as_dir" || eval $as_mkdir_p || {
17959 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17960 *) as_qdir=$as_dir;;
17962 as_dirs="'$as_qdir' $as_dirs"
17963 as_dir=`$as_dirname -- "$as_dir" ||
17964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17965 X"$as_dir" : 'X\(//\)[^/]' \| \
17966 X"$as_dir" : 'X\(//\)$' \| \
17967 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17968 $as_echo X"$as_dir" |
17969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17973 /^X\(\/\/\)[^/].*/{
17986 test -d "$as_dir" && break
17988 test -z "$as_dirs" || eval "mkdir $as_dirs"
17989 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17993 if mkdir -p . 2>/dev/null; then
17994 as_mkdir_p='mkdir -p "$as_dir"'
17996 test -d ./-p && rmdir ./-p
18001 # as_fn_executable_p FILE
18002 # -----------------------
18003 # Test if FILE is an executable regular file.
18004 as_fn_executable_p ()
18006 test -f "$1" && test -x "$1"
18007 } # as_fn_executable_p
18008 as_test_x='test -x'
18009 as_executable_p=as_fn_executable_p
18011 # Sed expression to map a string onto a valid CPP name.
18012 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18014 # Sed expression to map a string onto a valid variable name.
18015 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18019 ## ----------------------------------- ##
18020 ## Main body of $CONFIG_STATUS script. ##
18021 ## ----------------------------------- ##
18023 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18026 # Save the log message, to keep $0 and so on meaningful, and to
18027 # report actual input values of CONFIG_FILES etc. instead of their
18028 # values after options handling.
18030 This file was extended by Moonshot-ui $as_me 1.0.3, which was
18031 generated by GNU Autoconf 2.69. Invocation command line was
18033 CONFIG_FILES = $CONFIG_FILES
18034 CONFIG_HEADERS = $CONFIG_HEADERS
18035 CONFIG_LINKS = $CONFIG_LINKS
18036 CONFIG_COMMANDS = $CONFIG_COMMANDS
18039 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18044 case $ac_config_files in *"
18045 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18048 case $ac_config_headers in *"
18049 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18054 # Files that config.status was made for.
18055 config_files="$ac_config_files"
18056 config_headers="$ac_config_headers"
18057 config_commands="$ac_config_commands"
18061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18063 \`$as_me' instantiates files and other configuration actions
18064 from templates according to the current configuration. Unless the files
18065 and actions are specified as TAGs, all are instantiated by default.
18067 Usage: $0 [OPTION]... [TAG]...
18069 -h, --help print this help, then exit
18070 -V, --version print version number and configuration settings, then exit
18071 --config print configuration, then exit
18072 -q, --quiet, --silent
18073 do not print progress messages
18074 -d, --debug don't remove temporary files
18075 --recheck update $as_me by reconfiguring in the same conditions
18076 --file=FILE[:TEMPLATE]
18077 instantiate the configuration file FILE
18078 --header=FILE[:TEMPLATE]
18079 instantiate the configuration header FILE
18081 Configuration files:
18084 Configuration headers:
18087 Configuration commands:
18090 Report bugs to <moonshot-community@jiscmail.ac.uk>.
18091 Moonshot-ui home page: <http://www.project-moonshot.org/>."
18094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18095 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18097 Moonshot-ui config.status 1.0.3
18098 configured by $0, generated by GNU Autoconf 2.69,
18099 with options \\"\$ac_cs_config\\"
18101 Copyright (C) 2012 Free Software Foundation, Inc.
18102 This config.status script is free software; the Free Software Foundation
18103 gives unlimited permission to copy, distribute and modify it."
18110 test -n "\$AWK" || AWK=awk
18113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18114 # The default lists apply if the user does not specify any file.
18120 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18121 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18125 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18137 # Handling of the options.
18138 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18140 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18141 $as_echo "$ac_cs_version"; exit ;;
18142 --config | --confi | --conf | --con | --co | --c )
18143 $as_echo "$ac_cs_config"; exit ;;
18144 --debug | --debu | --deb | --de | --d | -d )
18146 --file | --fil | --fi | --f )
18149 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18150 '') as_fn_error $? "missing file argument" ;;
18152 as_fn_append CONFIG_FILES " '$ac_optarg'"
18153 ac_need_defaults=false;;
18154 --header | --heade | --head | --hea )
18157 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18159 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18160 ac_need_defaults=false;;
18162 # Conflict between --help and --header
18163 as_fn_error $? "ambiguous option: \`$1'
18164 Try \`$0 --help' for more information.";;
18165 --help | --hel | -h )
18166 $as_echo "$ac_cs_usage"; exit ;;
18167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18168 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18171 # This is an error.
18172 -*) as_fn_error $? "unrecognized option: \`$1'
18173 Try \`$0 --help' for more information." ;;
18175 *) as_fn_append ac_config_targets " $1"
18176 ac_need_defaults=false ;;
18182 ac_configure_extra_args=
18184 if $ac_cs_silent; then
18186 ac_configure_extra_args="$ac_configure_extra_args --silent"
18190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18191 if \$ac_cs_recheck; then
18192 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18194 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18195 CONFIG_SHELL='$SHELL'
18196 export CONFIG_SHELL
18201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18205 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18206 ## Running $as_me. ##
18212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18216 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18219 # The HP-UX ksh and POSIX shell print the target directory to stdout
18220 # if CDPATH is set.
18221 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18223 sed_quote_subst='$sed_quote_subst'
18224 double_quote_subst='$double_quote_subst'
18225 delay_variable_subst='$delay_variable_subst'
18226 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18227 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18228 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18229 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18230 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18231 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18232 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18233 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18234 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18235 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18236 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18237 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18238 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18239 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18240 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18241 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18242 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18243 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18244 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18245 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18246 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18247 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18248 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18249 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18250 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18251 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18252 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18253 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18254 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18255 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18256 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18257 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18258 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18259 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18260 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18261 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18262 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18263 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18264 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18265 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18266 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18267 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18268 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18269 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18270 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18271 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18272 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18273 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18274 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18275 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18276 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18277 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18278 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18279 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18280 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18281 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18282 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18283 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18284 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18285 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"`'
18286 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18287 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18288 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18289 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18290 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18291 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18292 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18293 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18294 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18295 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18296 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18297 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18298 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18299 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18300 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18301 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18302 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18303 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18304 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18305 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18306 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18307 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18308 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18309 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18310 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18311 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18312 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18313 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18314 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18315 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18316 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18317 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18318 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18319 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18320 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18321 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18322 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18323 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18324 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18325 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18326 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18327 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18328 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18329 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18330 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18331 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18332 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18333 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18334 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18335 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18336 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18337 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18338 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18339 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18340 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18341 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18342 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18343 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18344 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18345 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18346 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18347 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18348 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18349 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18350 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18351 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18352 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18353 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18354 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18355 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18356 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18357 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18358 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18359 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18360 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18361 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18364 LTCFLAGS='$LTCFLAGS'
18365 compiler='$compiler_DEFAULT'
18367 # A function that is used when there is no print builtin or printf.
18368 func_fallback_echo ()
18370 eval 'cat <<_LTECHO_EOF
18375 # Quote evaled strings.
18392 deplibs_check_method \
18396 sharedlib_from_linklib_cmd \
18399 archiver_list_spec \
18405 lt_cv_sys_global_symbol_pipe \
18406 lt_cv_sys_global_symbol_to_cdecl \
18407 lt_cv_sys_global_symbol_to_import \
18408 lt_cv_sys_global_symbol_to_c_name_address \
18409 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18410 lt_cv_nm_interface \
18411 nm_file_list_spec \
18412 lt_cv_truncate_bin \
18413 lt_prog_compiler_no_builtin_flag \
18414 lt_prog_compiler_pic \
18415 lt_prog_compiler_wl \
18416 lt_prog_compiler_static \
18417 lt_cv_prog_compiler_c_o \
18426 export_dynamic_flag_spec \
18427 whole_archive_flag_spec \
18428 compiler_needs_object \
18430 allow_undefined_flag \
18431 no_undefined_flag \
18432 hardcode_libdir_flag_spec \
18433 hardcode_libdir_separator \
18437 variables_saved_for_relink \
18439 library_names_spec \
18441 install_override_mode \
18445 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18446 *[\\\\\\\`\\"\\\$]*)
18447 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18450 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18455 # Double-quote double-evaled strings.
18456 for var in reload_cmds \
18457 old_postinstall_cmds \
18458 old_postuninstall_cmds \
18460 extract_expsyms_cmds \
18461 old_archive_from_new_cmds \
18462 old_archive_from_expsyms_cmds \
18464 archive_expsym_cmds \
18466 module_expsym_cmds \
18467 export_symbols_cmds \
18471 postuninstall_cmds \
18473 sys_lib_search_path_spec \
18474 configure_time_dlsearch_path \
18475 configure_time_lt_sys_library_path; do
18476 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18477 *[\\\\\\\`\\"\\\$]*)
18478 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18481 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18486 ac_aux_dir='$ac_aux_dir'
18488 # See if we are running on zsh, and set the options that allow our
18489 # commands through without removal of \ escapes INIT.
18490 if test -n "\${ZSH_VERSION+set}"; then
18491 setopt NO_GLOB_SUBST
18502 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18503 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
18504 # from automake < 1.5.
18505 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18506 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18507 LINGUAS="${LINGUAS-%UNSET%}"
18512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18514 # Handling of arguments.
18515 for ac_config_target in $ac_config_targets
18517 case $ac_config_target in
18518 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18519 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18520 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18521 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
18522 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18523 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18524 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
18525 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
18526 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
18528 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18533 # If the user did not use the arguments to specify the items to instantiate,
18534 # then the envvar interface is used. Set only those that are not.
18535 # We use the long form for the default assignment because of an extremely
18536 # bizarre bug on SunOS 4.1.3.
18537 if $ac_need_defaults; then
18538 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18539 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18540 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18543 # Have a temporary directory for convenience. Make it in the build tree
18544 # simply because there is no reason against having it here, and in addition,
18545 # creating and moving files from /tmp can sometimes cause problems.
18546 # Hook for its removal unless debugging.
18547 # Note that there is a small window in which the directory will not be cleaned:
18548 # after its creation but before its name has been assigned to `$tmp'.
18552 trap 'exit_status=$?
18553 : "${ac_tmp:=$tmp}"
18554 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18556 trap 'as_fn_exit 1' 1 2 13 15
18558 # Create a (secure) tmp directory for tmp files.
18561 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18565 tmp=./conf$$-$RANDOM
18566 (umask 077 && mkdir "$tmp")
18567 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18570 # Set up the scripts for CONFIG_FILES section.
18571 # No need to generate them if there are no CONFIG_FILES.
18572 # This happens for instance with `./config.status config.h'.
18573 if test -n "$CONFIG_FILES"; then
18576 ac_cr=`echo X | tr X '\015'`
18577 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18578 # But we know of no other shell where ac_cr would be empty at this
18579 # point, so we can use a bashism as a fallback.
18580 if test "x$ac_cr" = x; then
18581 eval ac_cr=\$\'\\r\'
18583 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18584 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18587 ac_cs_awk_cr=$ac_cr
18590 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18595 echo "cat >conf$$subs.awk <<_ACEOF" &&
18596 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18598 } >conf$$subs.sh ||
18599 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18600 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18602 for ac_last_try in false false false false false :; do
18603 . ./conf$$subs.sh ||
18604 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18606 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18607 if test $ac_delim_n = $ac_delim_num; then
18609 elif $ac_last_try; then
18610 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18612 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18615 rm -f conf$$subs.sh
18617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18618 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18622 s/^/S["/; s/!.*/"]=/
18632 s/\(.\{148\}\)..*/\1/
18634 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18639 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18646 s/\(.\{148\}\)..*/\1/
18648 s/["\\]/\\&/g; s/^/"/; s/$/"/
18652 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18657 ' <conf$$subs.awk | sed '
18662 ' >>$CONFIG_STATUS || ac_write_fail=1
18663 rm -f conf$$subs.awk
18664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18666 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18667 for (key in S) S_is_set[key] = 1
18673 nfields = split(line, field, "@")
18675 len = length(field[1])
18676 for (i = 2; i < nfields; i++) {
18678 keylen = length(key)
18679 if (S_is_set[key]) {
18681 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18682 len += length(value) + length(field[++i])
18693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18694 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18695 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18698 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18699 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18702 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18703 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18704 # trailing colons and then remove the whole line if VPATH becomes empty
18705 # (actually we leave an empty line to preserve line numbers).
18706 if test "x$srcdir" = x.; then
18707 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18726 fi # test -n "$CONFIG_FILES"
18728 # Set up the scripts for CONFIG_HEADERS section.
18729 # No need to generate them if there are no CONFIG_HEADERS.
18730 # This happens for instance with `./config.status Makefile'.
18731 if test -n "$CONFIG_HEADERS"; then
18732 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18736 # Transform confdefs.h into an awk script `defines.awk', embedded as
18737 # here-document in config.status, that substitutes the proper values into
18738 # config.h.in to produce config.h.
18740 # Create a delimiter string that does not exist in confdefs.h, to ease
18741 # handling of long lines.
18743 for ac_last_try in false false :; do
18744 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18745 if test -z "$ac_tt"; then
18747 elif $ac_last_try; then
18748 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18750 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18754 # For the awk script, D is an array of macro values keyed by name,
18755 # likewise P contains macro parameters if any. Preserve backslash
18756 # newline sequences.
18758 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18760 s/.\{148\}/&'"$ac_delim"'/g
18763 s/^[ ]*#[ ]*define[ ][ ]*/ /
18770 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18772 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18776 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18777 D["\1"]=" \3\\\\\\n"\\/p
18779 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18784 s/.\{148\}/&'"$ac_delim"'/g
18789 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18792 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18794 ' <confdefs.h | sed '
18795 s/'"$ac_delim"'/"\\\
18796 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18799 for (key in D) D_is_set[key] = 1
18802 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18804 split(line, arg, " ")
18805 if (arg[1] == "#") {
18809 defundef = substr(arg[1], 2)
18812 split(mac1, mac2, "(") #)
18814 prefix = substr(line, 1, index(line, defundef) - 1)
18815 if (D_is_set[macro]) {
18816 # Preserve the white space surrounding the "#".
18817 print prefix "define", macro P[macro] D[macro]
18820 # Replace #undef with comments. This is necessary, for example,
18821 # in the case of _POSIX_SOURCE, which is predefined and required
18822 # on some systems where configure will not decide to define it.
18823 if (defundef == "undef") {
18824 print "/*", prefix defundef, macro, "*/"
18832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18833 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18834 fi # test -n "$CONFIG_HEADERS"
18837 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18842 :[FHLC]) ac_mode=$ac_tag; continue;;
18844 case $ac_mode$ac_tag in
18846 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18847 :[FH]-) ac_tag=-:-;;
18848 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18865 -) ac_f="$ac_tmp/stdin";;
18866 *) # Look for the file first in the build tree, then in the source tree
18867 # (if the path is not absolute). The absolute path cannot be DOS-style,
18868 # because $ac_f cannot contain `:'.
18872 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18874 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18876 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18877 as_fn_append ac_file_inputs " '$ac_f'"
18880 # Let's still pretend it is `configure' which instantiates (i.e., don't
18881 # use $as_me), people would be surprised to read:
18882 # /* config.h. Generated by config.status. */
18883 configure_input='Generated from '`
18884 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18886 if test x"$ac_file" != x-; then
18887 configure_input="$ac_file. $configure_input"
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18889 $as_echo "$as_me: creating $ac_file" >&6;}
18891 # Neutralize special characters interpreted by sed in replacement strings.
18892 case $configure_input in #(
18893 *\&* | *\|* | *\\* )
18894 ac_sed_conf_input=`$as_echo "$configure_input" |
18895 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18896 *) ac_sed_conf_input=$configure_input;;
18900 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18901 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18906 ac_dir=`$as_dirname -- "$ac_file" ||
18907 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18908 X"$ac_file" : 'X\(//\)[^/]' \| \
18909 X"$ac_file" : 'X\(//\)$' \| \
18910 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18911 $as_echo X"$ac_file" |
18912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18916 /^X\(\/\/\)[^/].*/{
18929 as_dir="$ac_dir"; as_fn_mkdir_p
18933 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18935 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18936 # A ".." for each directory in $ac_dir_suffix.
18937 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18938 case $ac_top_builddir_sub in
18939 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18940 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18943 ac_abs_top_builddir=$ac_pwd
18944 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18945 # for backward compatibility:
18946 ac_top_builddir=$ac_top_build_prefix
18949 .) # We are building in place.
18951 ac_top_srcdir=$ac_top_builddir_sub
18952 ac_abs_top_srcdir=$ac_pwd ;;
18953 [\\/]* | ?:[\\/]* ) # Absolute name.
18954 ac_srcdir=$srcdir$ac_dir_suffix;
18955 ac_top_srcdir=$srcdir
18956 ac_abs_top_srcdir=$srcdir ;;
18957 *) # Relative name.
18958 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18959 ac_top_srcdir=$ac_top_build_prefix$srcdir
18960 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18962 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18972 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18973 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18975 ac_MKDIR_P=$MKDIR_P
18977 [\\/$]* | ?:[\\/]* ) ;;
18978 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18983 # If the template does not know about datarootdir, expand it.
18984 # FIXME: This hack should be removed a few years after 2.60.
18985 ac_datarootdir_hack=; ac_datarootdir_seen=
18996 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18997 *datarootdir*) ac_datarootdir_seen=yes;;
18998 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19000 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19003 ac_datarootdir_hack='
19004 s&@datadir@&$datadir&g
19005 s&@docdir@&$docdir&g
19006 s&@infodir@&$infodir&g
19007 s&@localedir@&$localedir&g
19008 s&@mandir@&$mandir&g
19009 s&\\\${datarootdir}&$datarootdir&g' ;;
19013 # Neutralize VPATH when `$srcdir' = `.'.
19014 # Shell code in configure.ac might set extrasub.
19015 # FIXME: do we really want to maintain this feature?
19016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19017 ac_sed_extra="$ac_vpsub
19020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19022 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19023 s|@configure_input@|$ac_sed_conf_input|;t t
19024 s&@top_builddir@&$ac_top_builddir_sub&;t t
19025 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19026 s&@srcdir@&$ac_srcdir&;t t
19027 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19028 s&@top_srcdir@&$ac_top_srcdir&;t t
19029 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19030 s&@builddir@&$ac_builddir&;t t
19031 s&@abs_builddir@&$ac_abs_builddir&;t t
19032 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19033 s&@INSTALL@&$ac_INSTALL&;t t
19034 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19035 $ac_datarootdir_hack
19037 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19038 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19040 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19041 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19042 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19043 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19045 which seems to be undefined. Please make sure it is defined" >&5
19046 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19047 which seems to be undefined. Please make sure it is defined" >&2;}
19049 rm -f "$ac_tmp/stdin"
19051 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19052 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19054 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19060 if test x"$ac_file" != x-; then
19062 $as_echo "/* $configure_input */" \
19063 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19064 } >"$ac_tmp/config.h" \
19065 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19066 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19068 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19071 mv "$ac_tmp/config.h" "$ac_file" \
19072 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19075 $as_echo "/* $configure_input */" \
19076 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19077 || as_fn_error $? "could not create -" "$LINENO" 5
19079 # Compute "$ac_file"'s index in $config_headers.
19082 for _am_header in $config_headers :; do
19083 case $_am_header in
19084 $_am_arg | $_am_arg:* )
19087 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19090 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19091 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19092 X"$_am_arg" : 'X\(//\)[^/]' \| \
19093 X"$_am_arg" : 'X\(//\)$' \| \
19094 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19095 $as_echo X"$_am_arg" |
19096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19100 /^X\(\/\/\)[^/].*/{
19112 s/.*/./; q'`/stamp-h$_am_stamp_count
19115 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19116 $as_echo "$as_me: executing $ac_file commands" >&6;}
19121 case $ac_file$ac_mode in
19122 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19123 # Older Autoconf quotes --file arguments for eval, but not when files
19124 # are listed without --file. Let's play safe and only enable the eval
19125 # if we detect the quoting.
19126 case $CONFIG_FILES in
19127 *\'*) eval set x "$CONFIG_FILES" ;;
19128 *) set x $CONFIG_FILES ;;
19133 # Strip MF so we end up with the name of the file.
19134 mf=`echo "$mf" | sed -e 's/:.*$//'`
19135 # Check whether this is an Automake generated Makefile or not.
19136 # We used to match only the files named 'Makefile.in', but
19137 # some people rename them; so instead we look at the file content.
19138 # Grep'ing the first line is not enough: some people post-process
19139 # each Makefile.in and add a new line on top of each file to say so.
19140 # Grep'ing the whole file is not good either: AIX grep has a line
19141 # limit of 2048, but all sed's we know have understand at least 4000.
19142 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19143 dirpart=`$as_dirname -- "$mf" ||
19144 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19145 X"$mf" : 'X\(//\)[^/]' \| \
19146 X"$mf" : 'X\(//\)$' \| \
19147 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19153 /^X\(\/\/\)[^/].*/{
19169 # Extract the definition of DEPDIR, am__include, and am__quote
19170 # from the Makefile without running 'make'.
19171 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19172 test -z "$DEPDIR" && continue
19173 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19174 test -z "$am__include" && continue
19175 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19176 # Find all dependency output files, they are included files with
19177 # $(DEPDIR) in their names. We invoke sed twice because it is the
19178 # simplest approach to changing $(DEPDIR) to its actual value in the
19180 for file in `sed -n "
19181 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19182 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19183 # Make sure the directory exists.
19184 test -f "$dirpart/$file" && continue
19185 fdir=`$as_dirname -- "$file" ||
19186 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19187 X"$file" : 'X\(//\)[^/]' \| \
19188 X"$file" : 'X\(//\)$' \| \
19189 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19190 $as_echo X"$file" |
19191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19195 /^X\(\/\/\)[^/].*/{
19208 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19209 # echo "creating $dirpart/$file"
19210 echo '# dummy' > "$dirpart/$file"
19217 # See if we are running on zsh, and set the options that allow our
19218 # commands through without removal of \ escapes.
19219 if test -n "${ZSH_VERSION+set}"; then
19220 setopt NO_GLOB_SUBST
19224 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19227 cat <<_LT_EOF >> "$cfgfile"
19229 # Generated automatically by $as_me ($PACKAGE) $VERSION
19230 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19232 # Provide generalized library-building support services.
19233 # Written by Gordon Matzigkeit, 1996
19235 # Copyright (C) 2014 Free Software Foundation, Inc.
19236 # This is free software; see the source for copying conditions. There is NO
19237 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19239 # GNU Libtool is free software; you can redistribute it and/or modify
19240 # it under the terms of the GNU General Public License as published by
19241 # the Free Software Foundation; either version 2 of of the License, or
19242 # (at your option) any later version.
19244 # As a special exception to the GNU General Public License, if you
19245 # distribute this file as part of a program or library that is built
19246 # using GNU Libtool, you may include this file under the same
19247 # distribution terms that you use for the rest of that program.
19249 # GNU Libtool is distributed in the hope that it will be useful, but
19250 # WITHOUT ANY WARRANTY; without even the implied warranty of
19251 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19252 # GNU General Public License for more details.
19254 # You should have received a copy of the GNU General Public License
19255 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19258 # The names of the tagged configurations supported by this script.
19261 # Configured defaults for sys_lib_dlsearch_path munging.
19262 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19264 # ### BEGIN LIBTOOL CONFIG
19266 # Which release of libtool.m4 was used?
19267 macro_version=$macro_version
19268 macro_revision=$macro_revision
19270 # Assembler program.
19273 # DLL creation program.
19274 DLLTOOL=$lt_DLLTOOL
19276 # Object dumper program.
19277 OBJDUMP=$lt_OBJDUMP
19279 # Whether or not to build shared libraries.
19280 build_libtool_libs=$enable_shared
19282 # Whether or not to build static libraries.
19283 build_old_libs=$enable_static
19285 # What type of objects to build.
19288 # Whether or not to optimize for fast installation.
19289 fast_install=$enable_fast_install
19291 # Shared archive member basename,for filename based shared library versioning on AIX.
19292 shared_archive_member_spec=$shared_archive_member_spec
19294 # Shell to use when invoking shell scripts.
19297 # An echo program that protects backslashes.
19300 # The PATH separator for the build system.
19301 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19304 host_alias=$host_alias
19308 # The build system.
19309 build_alias=$build_alias
19313 # A sed program that does not truncate output.
19316 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19317 Xsed="\$SED -e 1s/^X//"
19319 # A grep program that handles long lines.
19325 # A literal string matcher.
19328 # A BSD- or MS-compatible name lister.
19331 # Whether we need soft or hard links.
19334 # What is the maximum length of a command?
19335 max_cmd_len=$max_cmd_len
19337 # Object file suffix (normally "o").
19340 # Executable file suffix (normally "").
19343 # whether the shell understands "unset".
19346 # turn spaces into newlines.
19349 # turn newlines into spaces.
19352 # convert \$build file names to \$host format.
19353 to_host_file_cmd=$lt_cv_to_host_file_cmd
19355 # convert \$build files to toolchain format.
19356 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19358 # Method to check whether dependent libraries are shared objects.
19359 deplibs_check_method=$lt_deplibs_check_method
19361 # Command to use when deplibs_check_method = "file_magic".
19362 file_magic_cmd=$lt_file_magic_cmd
19364 # How to find potential files when deplibs_check_method = "file_magic".
19365 file_magic_glob=$lt_file_magic_glob
19367 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19368 want_nocaseglob=$lt_want_nocaseglob
19370 # Command to associate shared and link libraries.
19371 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19376 # Flags to create an archive.
19377 AR_FLAGS=$lt_AR_FLAGS
19379 # How to feed a file listing to the archiver.
19380 archiver_list_spec=$lt_archiver_list_spec
19382 # A symbol stripping program.
19385 # Commands used to install an old-style archive.
19387 old_postinstall_cmds=$lt_old_postinstall_cmds
19388 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19390 # Whether to use a lock for old archive extraction.
19391 lock_old_archive_extraction=$lock_old_archive_extraction
19396 # LTCC compiler flags.
19397 LTCFLAGS=$lt_CFLAGS
19399 # Take the output of nm and produce a listing of raw symbols and C names.
19400 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19402 # Transform the output of nm in a proper C declaration.
19403 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19405 # Transform the output of nm into a list of symbols to manually relocate.
19406 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19408 # Transform the output of nm in a C name address pair.
19409 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19411 # Transform the output of nm in a C name address pair when lib prefix is needed.
19412 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19414 # The name lister interface.
19415 nm_interface=$lt_lt_cv_nm_interface
19417 # Specify filename containing input files for \$NM.
19418 nm_file_list_spec=$lt_nm_file_list_spec
19420 # The root where to search for dependent libraries,and where our libraries should be installed.
19421 lt_sysroot=$lt_sysroot
19423 # Command to truncate a binary pipe.
19424 lt_truncate_bin=$lt_lt_cv_truncate_bin
19426 # The name of the directory that contains temporary libtool files.
19429 # Used to examine libraries when file_magic_cmd begins with "file".
19430 MAGIC_CMD=$MAGIC_CMD
19432 # Must we lock files when doing compilation?
19433 need_locks=$lt_need_locks
19436 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19438 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19439 DSYMUTIL=$lt_DSYMUTIL
19441 # Tool to change global to local symbols on Mac OS X.
19444 # Tool to manipulate fat objects and archives on Mac OS X.
19447 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19450 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19451 OTOOL64=$lt_OTOOL64
19453 # Old archive suffix (normally "a").
19456 # Shared library suffix (normally ".so").
19457 shrext_cmds=$lt_shrext_cmds
19459 # The commands to extract the exported symbol list from a shared archive.
19460 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19462 # Variables whose values should be saved in libtool wrapper scripts and
19463 # restored at link time.
19464 variables_saved_for_relink=$lt_variables_saved_for_relink
19466 # Do we need the "lib" prefix for modules?
19467 need_lib_prefix=$need_lib_prefix
19469 # Do we need a version for libraries?
19470 need_version=$need_version
19472 # Library versioning type.
19473 version_type=$version_type
19475 # Shared library runtime path variable.
19476 runpath_var=$runpath_var
19478 # Shared library path variable.
19479 shlibpath_var=$shlibpath_var
19481 # Is shlibpath searched before the hard-coded library search path?
19482 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19484 # Format of library name prefix.
19485 libname_spec=$lt_libname_spec
19487 # List of archive names. First name is the real one, the rest are links.
19488 # The last name is the one that the linker finds with -lNAME
19489 library_names_spec=$lt_library_names_spec
19491 # The coded name of the library, if different from the real name.
19492 soname_spec=$lt_soname_spec
19494 # Permission mode override for installation of shared libraries.
19495 install_override_mode=$lt_install_override_mode
19497 # Command to use after installation of a shared archive.
19498 postinstall_cmds=$lt_postinstall_cmds
19500 # Command to use after uninstallation of a shared archive.
19501 postuninstall_cmds=$lt_postuninstall_cmds
19503 # Commands used to finish a libtool library installation in a directory.
19504 finish_cmds=$lt_finish_cmds
19506 # As "finish_cmds", except a single script fragment to be evaled but
19508 finish_eval=$lt_finish_eval
19510 # Whether we should hardcode library paths into libraries.
19511 hardcode_into_libs=$hardcode_into_libs
19513 # Compile-time system search path for libraries.
19514 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19516 # Detected run-time system search path for libraries.
19517 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19519 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19520 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19522 # Whether dlopen is supported.
19523 dlopen_support=$enable_dlopen
19525 # Whether dlopen of programs is supported.
19526 dlopen_self=$enable_dlopen_self
19528 # Whether dlopen of statically linked programs is supported.
19529 dlopen_self_static=$enable_dlopen_self_static
19531 # Commands to strip libraries.
19532 old_striplib=$lt_old_striplib
19533 striplib=$lt_striplib
19536 # The linker used to build libraries.
19539 # How to create reloadable object files.
19540 reload_flag=$lt_reload_flag
19541 reload_cmds=$lt_reload_cmds
19543 # Commands used to build an old-style archive.
19544 old_archive_cmds=$lt_old_archive_cmds
19546 # A language specific compiler.
19549 # Is the compiler the GNU compiler?
19552 # Compiler flag to turn off builtin functions.
19553 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19555 # Additional compiler flags for building library objects.
19556 pic_flag=$lt_lt_prog_compiler_pic
19558 # How to pass a linker flag through the compiler.
19559 wl=$lt_lt_prog_compiler_wl
19561 # Compiler flag to prevent dynamic linking.
19562 link_static_flag=$lt_lt_prog_compiler_static
19564 # Does compiler simultaneously support -c and -o options?
19565 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19567 # Whether or not to add -lc for building shared libraries.
19568 build_libtool_need_lc=$archive_cmds_need_lc
19570 # Whether or not to disallow shared libs when runtime libs are static.
19571 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19573 # Compiler flag to allow reflexive dlopens.
19574 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19576 # Compiler flag to generate shared objects directly from archives.
19577 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19579 # Whether the compiler copes with passing no objects directly.
19580 compiler_needs_object=$lt_compiler_needs_object
19582 # Create an old-style archive from a shared archive.
19583 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19585 # Create a temporary old-style archive to link instead of a shared archive.
19586 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19588 # Commands used to build a shared archive.
19589 archive_cmds=$lt_archive_cmds
19590 archive_expsym_cmds=$lt_archive_expsym_cmds
19592 # Commands used to build a loadable module if different from building
19593 # a shared archive.
19594 module_cmds=$lt_module_cmds
19595 module_expsym_cmds=$lt_module_expsym_cmds
19597 # Whether we are building with GNU ld or not.
19598 with_gnu_ld=$lt_with_gnu_ld
19600 # Flag that allows shared libraries with undefined symbols to be built.
19601 allow_undefined_flag=$lt_allow_undefined_flag
19603 # Flag that enforces no undefined symbols.
19604 no_undefined_flag=$lt_no_undefined_flag
19606 # Flag to hardcode \$libdir into a binary during linking.
19607 # This must work even if \$libdir does not exist
19608 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19610 # Whether we need a single "-rpath" flag with a separated argument.
19611 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19613 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19614 # DIR into the resulting binary.
19615 hardcode_direct=$hardcode_direct
19617 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19618 # DIR into the resulting binary and the resulting library dependency is
19619 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19620 # library is relocated.
19621 hardcode_direct_absolute=$hardcode_direct_absolute
19623 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19624 # into the resulting binary.
19625 hardcode_minus_L=$hardcode_minus_L
19627 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19628 # into the resulting binary.
19629 hardcode_shlibpath_var=$hardcode_shlibpath_var
19631 # Set to "yes" if building a shared library automatically hardcodes DIR
19632 # into the library and all subsequent libraries and executables linked
19634 hardcode_automatic=$hardcode_automatic
19636 # Set to yes if linker adds runtime paths of dependent libraries
19637 # to runtime path list.
19638 inherit_rpath=$inherit_rpath
19640 # Whether libtool must link a program against all its dependency libraries.
19641 link_all_deplibs=$link_all_deplibs
19643 # Set to "yes" if exported symbols are required.
19644 always_export_symbols=$always_export_symbols
19646 # The commands to list exported symbols.
19647 export_symbols_cmds=$lt_export_symbols_cmds
19649 # Symbols that should not be listed in the preloaded symbols.
19650 exclude_expsyms=$lt_exclude_expsyms
19652 # Symbols that must always be exported.
19653 include_expsyms=$lt_include_expsyms
19655 # Commands necessary for linking programs (against libraries) with templates.
19656 prelink_cmds=$lt_prelink_cmds
19658 # Commands necessary for finishing linking programs.
19659 postlink_cmds=$lt_postlink_cmds
19661 # Specify filename containing input files.
19662 file_list_spec=$lt_file_list_spec
19664 # How to hardcode a shared library path into an executable.
19665 hardcode_action=$hardcode_action
19667 # ### END LIBTOOL CONFIG
19671 cat <<'_LT_EOF' >> "$cfgfile"
19673 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19675 # func_munge_path_list VARIABLE PATH
19676 # -----------------------------------
19677 # VARIABLE is name of variable containing _space_ separated list of
19678 # directories to be munged by the contents of PATH, which is string
19681 # string "DIR[ DIR]" will be prepended to VARIABLE
19683 # string "DIR[ DIR]" will be appended to VARIABLE
19684 # "DIRP[:DIRP]::[DIRA:]DIRA"
19685 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19686 # "DIRA[ DIRA]" will be appended to VARIABLE
19688 # VARIABLE will be replaced by "DIR[ DIR]"
19689 func_munge_path_list ()
19695 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19698 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19701 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19702 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19705 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19711 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19712 func_cc_basename ()
19714 for cc_temp in $*""; do
19716 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19717 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19722 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19726 # ### END FUNCTIONS SHARED WITH CONFIGURE
19732 cat <<\_LT_EOF >> "$cfgfile"
19733 # AIX sometimes has problems with the GCC collect2 program. For some
19734 # reason, if we set the COLLECT_NAMES environment variable, the problems
19735 # vanish in a puff of smoke.
19736 if test set != "${COLLECT_NAMES+set}"; then
19738 export COLLECT_NAMES
19745 ltmain=$ac_aux_dir/ltmain.sh
19748 # We use sed instead of cat because bash on DJGPP gets confused if
19749 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19750 # text mode, it properly converts lines to CR/LF. This bash problem
19751 # is reportedly fixed, but why not run on old versions too?
19752 sed '$q' "$ltmain" >> "$cfgfile" \
19753 || (rm -f "$cfgfile"; exit 1)
19755 mv -f "$cfgfile" "$ofile" ||
19756 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19760 "po-directories":C)
19761 for ac_file in $CONFIG_FILES; do
19762 # Support "outfile[:infile[:infile...]]"
19764 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19766 # PO directories have a Makefile.in generated from Makefile.in.in.
19767 case "$ac_file" in */Makefile.in)
19768 # Adjust a relative srcdir.
19769 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19770 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
19771 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19772 # In autoconf-2.13 it is called $ac_given_srcdir.
19773 # In autoconf-2.50 it is called $srcdir.
19774 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
19775 case "$ac_given_srcdir" in
19776 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
19777 /*) top_srcdir="$ac_given_srcdir" ;;
19778 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
19780 # Treat a directory as a PO directory if and only if it has a
19781 # POTFILES.in file. This allows packages to have multiple PO
19782 # directories under different names or in different locations.
19783 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19784 rm -f "$ac_dir/POTFILES"
19785 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
19786 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19787 POMAKEFILEDEPS="POTFILES.in"
19788 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
19789 # on $ac_dir but don't depend on user-specified configuration
19791 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19792 # The LINGUAS file contains the set of available languages.
19793 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19794 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
19796 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19797 # Hide the ALL_LINGUAS assigment from automake < 1.5.
19798 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19799 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
19801 # The set of available languages was given in configure.in.
19802 # Hide the ALL_LINGUAS assigment from automake < 1.5.
19803 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19806 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
19807 # Compute UPDATEPOFILES
19808 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
19809 # Compute DUMMYPOFILES
19810 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
19812 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
19813 case "$ac_given_srcdir" in
19815 *) srcdirpre='$(srcdir)/' ;;
19821 for lang in $ALL_LINGUAS; do
19822 POFILES="$POFILES $srcdirpre$lang.po"
19823 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
19824 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
19825 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
19827 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19828 # environment variable.
19830 if test -n "$ALL_LINGUAS"; then
19831 for presentlang in $ALL_LINGUAS; do
19833 if test "%UNSET%" != "$LINGUAS"; then
19834 desiredlanguages="$LINGUAS"
19836 desiredlanguages="$ALL_LINGUAS"
19838 for desiredlang in $desiredlanguages; do
19839 # Use the presentlang catalog if desiredlang is
19840 # a. equal to presentlang, or
19841 # b. a variant of presentlang (because in this case,
19842 # presentlang can be used as a fallback for messages
19843 # which are not translated in the desiredlang catalog).
19844 case "$desiredlang" in
19845 "$presentlang"*) useit=yes;;
19848 if test $useit = yes; then
19849 INST_LINGUAS="$INST_LINGUAS $presentlang"
19854 if test -n "$INST_LINGUAS"; then
19855 for lang in $INST_LINGUAS; do
19856 CATALOGS="$CATALOGS $lang.gmo"
19859 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
19860 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"
19861 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
19862 if test -f "$f"; then
19864 *.orig | *.bak | *~) ;;
19865 *) cat "$f" >> "$ac_dir/Makefile" ;;
19880 ac_clean_files=$ac_clean_files_save
19882 test $ac_write_fail = 0 ||
19883 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19886 # configure is writing to config.log, and then calls config.status.
19887 # config.status does its own redirection, appending to config.log.
19888 # Unfortunately, on DOS this fails, as config.log is still kept open
19889 # by configure, so config.status won't be able to write to it; its
19890 # output is simply discarded. So we exec the FD to /dev/null,
19891 # effectively closing config.log, so it can be properly (re)opened and
19892 # appended to by config.status. When coming back to configure, we
19893 # need to make the FD available again.
19894 if test "$no_create" != yes; then
19896 ac_config_status_args=
19897 test "$silent" = yes &&
19898 ac_config_status_args="$ac_config_status_args --quiet"
19900 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19902 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19903 # would make configure fail if this is the last instruction.
19904 $ac_cs_success || as_fn_exit 1
19906 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19908 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}