2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Moonshot-ui 0.7.2.
5 # Report bugs to <moonshot-community@jiscmail.ac.uk>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: moonshot-community@jiscmail.ac.uk about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 # Use only awk features that work with 7th edition Unix awk (1978).
571 # My, what an old awk you have, Mr. Solaris!
573 while (length(v1) && length(v2)) {
574 # Set d1 to be the next thing to compare from v1, and likewise for d2.
575 # Normally this is a single character, but if v1 and v2 contain digits,
576 # compare them as integers and fractions as strverscmp does.
577 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
578 # Split v1 and v2 into their leading digit string components d1 and d2,
579 # and advance v1 and v2 past the leading digit strings.
580 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
581 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
582 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
583 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
586 # Compare two fractions.
587 while (d1 ~ /^0/ && d2 ~ /^0/) {
588 d1 = substr(d1, 2); len1--
589 d2 = substr(d2, 2); len2--
591 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
592 # The two components differ in length, and the common prefix
593 # contains only leading zeros. Consider the longer to be less.
597 # Otherwise, compare as strings.
602 # A fraction is less than an integer.
607 # An integer is greater than a fraction.
610 # Compare two integers.
616 # The normal case, without worrying about digits.
617 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
618 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
623 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
624 # which mishandles some comparisons of empty strings to integers.
625 if (length(v2)) exit 1
626 if (length(v1)) exit 2
630 test -n "$DJDIR" || exec 7<&0 </dev/null
634 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
635 # so uname gets run too.
636 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
641 ac_default_prefix=/usr/local
643 ac_config_libobj_dir=.
650 # Identity of this package.
651 PACKAGE_NAME='Moonshot-ui'
652 PACKAGE_TARNAME='moonshot-ui'
653 PACKAGE_VERSION='0.7.2'
654 PACKAGE_STRING='Moonshot-ui 0.7.2'
655 PACKAGE_BUGREPORT='moonshot-community@jiscmail.ac.uk'
656 PACKAGE_URL='http://www.project-moonshot.org/'
658 ac_unique_file="configure.ac"
659 # Factoring default headers for most tests.
660 ac_includes_default="\
662 #ifdef HAVE_SYS_TYPES_H
663 # include <sys/types.h>
665 #ifdef HAVE_SYS_STAT_H
666 # include <sys/stat.h>
672 # ifdef HAVE_STDLIB_H
677 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
682 #ifdef HAVE_STRINGS_H
683 # include <strings.h>
685 #ifdef HAVE_INTTYPES_H
686 # include <inttypes.h>
697 ac_subst_vars='am__EXEEXT_FALSE
709 XGETTEXT_EXTRA_OPTIONS
717 GETTEXT_MACRO_VERSION
725 UPDATE_DESKTOP_DATABASE
735 GIO_VAPI_USES_ARRAYS_FALSE
736 GIO_VAPI_USES_ARRAYS_TRUE
810 MAINTAINER_MODE_FALSE
824 INSTALL_STRIP_PROGRAM
866 program_transform_name
879 enable_option_checking
881 enable_maintainer_mode
886 enable_dependency_tracking
895 ac_precious_vars='build_alias
919 # Initialize some variables set by options.
921 ac_init_version=false
922 ac_unrecognized_opts=
924 # The variables have the same names as the options, with
925 # dashes changed to underlines.
933 program_transform_name=s,x,x,
941 # Installation directory options.
942 # These are left unexpanded so users can "make install exec_prefix=/foo"
943 # and all the variables that are supposed to be based on exec_prefix
944 # by default will actually change.
945 # Use braces instead of parens because sh, perl, etc. also accept them.
946 # (The list follows the same order as the GNU Coding Standards.)
947 bindir='${exec_prefix}/bin'
948 sbindir='${exec_prefix}/sbin'
949 libexecdir='${exec_prefix}/libexec'
950 datarootdir='${prefix}/share'
951 datadir='${datarootdir}'
952 sysconfdir='${prefix}/etc'
953 sharedstatedir='${prefix}/com'
954 localstatedir='${prefix}/var'
955 includedir='${prefix}/include'
956 oldincludedir='/usr/include'
957 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
958 infodir='${datarootdir}/info'
963 libdir='${exec_prefix}/lib'
964 localedir='${datarootdir}/locale'
965 mandir='${datarootdir}/man'
971 # If the previous option needs an argument, assign it.
972 if test -n "$ac_prev"; then
973 eval $ac_prev=\$ac_option
979 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 # Accept the important Cygnus configure options, so we can diagnose typos.
986 case $ac_dashdash$ac_option in
990 -bindir | --bindir | --bindi | --bind | --bin | --bi)
992 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
995 -build | --build | --buil | --bui | --bu)
996 ac_prev=build_alias ;;
997 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
998 build_alias=$ac_optarg ;;
1000 -cache-file | --cache-file | --cache-fil | --cache-fi \
1001 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1002 ac_prev=cache_file ;;
1003 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1004 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1005 cache_file=$ac_optarg ;;
1007 --config-cache | -C)
1008 cache_file=config.cache ;;
1010 -datadir | --datadir | --datadi | --datad)
1012 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1013 datadir=$ac_optarg ;;
1015 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1016 | --dataroo | --dataro | --datar)
1017 ac_prev=datarootdir ;;
1018 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1019 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1020 datarootdir=$ac_optarg ;;
1022 -disable-* | --disable-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error $? "invalid feature name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1031 "enable_$ac_useropt"
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1036 eval enable_$ac_useropt=no ;;
1038 -docdir | --docdir | --docdi | --doc | --do)
1040 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1041 docdir=$ac_optarg ;;
1043 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1045 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1046 dvidir=$ac_optarg ;;
1048 -enable-* | --enable-*)
1049 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052 as_fn_error $? "invalid feature name: $ac_useropt"
1053 ac_useropt_orig=$ac_useropt
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1057 "enable_$ac_useropt"
1059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1060 ac_unrecognized_sep=', ';;
1062 eval enable_$ac_useropt=\$ac_optarg ;;
1064 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1065 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1066 | --exec | --exe | --ex)
1067 ac_prev=exec_prefix ;;
1068 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1069 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1070 | --exec=* | --exe=* | --ex=*)
1071 exec_prefix=$ac_optarg ;;
1073 -gas | --gas | --ga | --g)
1074 # Obsolete; use --with-gas.
1077 -help | --help | --hel | --he | -h)
1078 ac_init_help=long ;;
1079 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1080 ac_init_help=recursive ;;
1081 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1082 ac_init_help=short ;;
1084 -host | --host | --hos | --ho)
1085 ac_prev=host_alias ;;
1086 -host=* | --host=* | --hos=* | --ho=*)
1087 host_alias=$ac_optarg ;;
1089 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1091 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1093 htmldir=$ac_optarg ;;
1095 -includedir | --includedir | --includedi | --included | --include \
1096 | --includ | --inclu | --incl | --inc)
1097 ac_prev=includedir ;;
1098 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1099 | --includ=* | --inclu=* | --incl=* | --inc=*)
1100 includedir=$ac_optarg ;;
1102 -infodir | --infodir | --infodi | --infod | --info | --inf)
1104 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1105 infodir=$ac_optarg ;;
1107 -libdir | --libdir | --libdi | --libd)
1109 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1110 libdir=$ac_optarg ;;
1112 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1113 | --libexe | --libex | --libe)
1114 ac_prev=libexecdir ;;
1115 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1116 | --libexe=* | --libex=* | --libe=*)
1117 libexecdir=$ac_optarg ;;
1119 -localedir | --localedir | --localedi | --localed | --locale)
1120 ac_prev=localedir ;;
1121 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1122 localedir=$ac_optarg ;;
1124 -localstatedir | --localstatedir | --localstatedi | --localstated \
1125 | --localstate | --localstat | --localsta | --localst | --locals)
1126 ac_prev=localstatedir ;;
1127 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1128 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1129 localstatedir=$ac_optarg ;;
1131 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1133 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1134 mandir=$ac_optarg ;;
1136 -nfp | --nfp | --nf)
1137 # Obsolete; use --without-fp.
1140 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1141 | --no-cr | --no-c | -n)
1144 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1145 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1148 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1149 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1150 | --oldin | --oldi | --old | --ol | --o)
1151 ac_prev=oldincludedir ;;
1152 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1153 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1154 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1155 oldincludedir=$ac_optarg ;;
1157 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1159 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1160 prefix=$ac_optarg ;;
1162 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1163 | --program-pre | --program-pr | --program-p)
1164 ac_prev=program_prefix ;;
1165 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1166 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1167 program_prefix=$ac_optarg ;;
1169 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1170 | --program-suf | --program-su | --program-s)
1171 ac_prev=program_suffix ;;
1172 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1173 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1174 program_suffix=$ac_optarg ;;
1176 -program-transform-name | --program-transform-name \
1177 | --program-transform-nam | --program-transform-na \
1178 | --program-transform-n | --program-transform- \
1179 | --program-transform | --program-transfor \
1180 | --program-transfo | --program-transf \
1181 | --program-trans | --program-tran \
1182 | --progr-tra | --program-tr | --program-t)
1183 ac_prev=program_transform_name ;;
1184 -program-transform-name=* | --program-transform-name=* \
1185 | --program-transform-nam=* | --program-transform-na=* \
1186 | --program-transform-n=* | --program-transform-=* \
1187 | --program-transform=* | --program-transfor=* \
1188 | --program-transfo=* | --program-transf=* \
1189 | --program-trans=* | --program-tran=* \
1190 | --progr-tra=* | --program-tr=* | --program-t=*)
1191 program_transform_name=$ac_optarg ;;
1193 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1195 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1196 pdfdir=$ac_optarg ;;
1198 -psdir | --psdir | --psdi | --psd | --ps)
1200 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1204 | -silent | --silent | --silen | --sile | --sil)
1207 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1209 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1211 sbindir=$ac_optarg ;;
1213 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1214 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1215 | --sharedst | --shareds | --shared | --share | --shar \
1217 ac_prev=sharedstatedir ;;
1218 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1219 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1220 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1222 sharedstatedir=$ac_optarg ;;
1224 -site | --site | --sit)
1226 -site=* | --site=* | --sit=*)
1229 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1231 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1232 srcdir=$ac_optarg ;;
1234 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1235 | --syscon | --sysco | --sysc | --sys | --sy)
1236 ac_prev=sysconfdir ;;
1237 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1238 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1239 sysconfdir=$ac_optarg ;;
1241 -target | --target | --targe | --targ | --tar | --ta | --t)
1242 ac_prev=target_alias ;;
1243 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1244 target_alias=$ac_optarg ;;
1246 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1249 -version | --version | --versio | --versi | --vers | -V)
1250 ac_init_version=: ;;
1253 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256 as_fn_error $? "invalid package name: $ac_useropt"
1257 ac_useropt_orig=$ac_useropt
1258 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1264 ac_unrecognized_sep=', ';;
1266 eval with_$ac_useropt=\$ac_optarg ;;
1268 -without-* | --without-*)
1269 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272 as_fn_error $? "invalid package name: $ac_useropt"
1273 ac_useropt_orig=$ac_useropt
1274 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1280 ac_unrecognized_sep=', ';;
1282 eval with_$ac_useropt=no ;;
1285 # Obsolete; use --with-x.
1288 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1289 | --x-incl | --x-inc | --x-in | --x-i)
1290 ac_prev=x_includes ;;
1291 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1292 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1293 x_includes=$ac_optarg ;;
1295 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1296 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1297 ac_prev=x_libraries ;;
1298 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1299 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1300 x_libraries=$ac_optarg ;;
1302 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1303 Try \`$0 --help' for more information"
1307 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1308 # Reject names that are not valid shell variable names.
1309 case $ac_envvar in #(
1310 '' | [0-9]* | *[!_$as_cr_alnum]* )
1311 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1313 eval $ac_envvar=\$ac_optarg
1314 export $ac_envvar ;;
1317 # FIXME: should be removed in autoconf 3.0.
1318 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1327 if test -n "$ac_prev"; then
1328 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1329 as_fn_error $? "missing argument to $ac_option"
1332 if test -n "$ac_unrecognized_opts"; then
1333 case $enable_option_checking in
1335 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1336 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 # Check all directory arguments for consistency.
1341 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342 datadir sysconfdir sharedstatedir localstatedir includedir \
1343 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344 libdir localedir mandir
1346 eval ac_val=\$$ac_var
1347 # Remove trailing slashes.
1350 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1351 eval $ac_var=\$ac_val;;
1353 # Be sure to have absolute directory names.
1355 [\\/$]* | ?:[\\/]* ) continue;;
1356 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1358 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1361 # There might be people who depend on the old broken behavior: `$host'
1362 # used to hold the argument of --host etc.
1363 # FIXME: To remove some day.
1366 target=$target_alias
1368 # FIXME: To remove some day.
1369 if test "x$host_alias" != x; then
1370 if test "x$build_alias" = x; then
1371 cross_compiling=maybe
1372 elif test "x$build_alias" != "x$host_alias"; then
1378 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1380 test "$silent" = yes && exec 6>/dev/null
1383 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1384 ac_ls_di=`ls -di .` &&
1385 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1386 as_fn_error $? "working directory cannot be determined"
1387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1388 as_fn_error $? "pwd does not report name of working directory"
1391 # Find the source files, if location was not specified.
1392 if test -z "$srcdir"; then
1393 ac_srcdir_defaulted=yes
1394 # Try the directory containing this script, then the parent directory.
1395 ac_confdir=`$as_dirname -- "$as_myself" ||
1396 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1397 X"$as_myself" : 'X\(//\)[^/]' \| \
1398 X"$as_myself" : 'X\(//\)$' \| \
1399 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1400 $as_echo X"$as_myself" |
1401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1423 ac_srcdir_defaulted=no
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1427 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1429 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1431 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1433 # When building in place, set srcdir=.
1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
1437 # Remove unnecessary trailing slashes from srcdir.
1438 # Double slashes in file names in object file debugging info
1439 # mess up M-x gdb in Emacs.
1441 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1443 for ac_var in $ac_precious_vars; do
1444 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_env_${ac_var}_value=\$${ac_var}
1446 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1447 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1451 # Report the --help message.
1453 if test "$ac_init_help" = "long"; then
1454 # Omit some internal or obsolete options to make the list less imposing.
1455 # This message is too long to be a string in the A/UX 3.1 sh.
1457 \`configure' configures Moonshot-ui 0.7.2 to adapt to many kinds of systems.
1459 Usage: $0 [OPTION]... [VAR=VALUE]...
1461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1462 VAR=VALUE. See below for descriptions of some of the useful variables.
1464 Defaults for the options are specified in brackets.
1467 -h, --help display this help and exit
1468 --help=short display options specific to this package
1469 --help=recursive display the short help of all the included packages
1470 -V, --version display version information and exit
1471 -q, --quiet, --silent do not print \`checking ...' messages
1472 --cache-file=FILE cache test results in FILE [disabled]
1473 -C, --config-cache alias for \`--cache-file=config.cache'
1474 -n, --no-create do not create output files
1475 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1477 Installation directories:
1478 --prefix=PREFIX install architecture-independent files in PREFIX
1479 [$ac_default_prefix]
1480 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1483 By default, \`make install' will install all the files in
1484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1486 for instance \`--prefix=\$HOME'.
1488 For better control, use the options below.
1490 Fine tuning of the installation directories:
1491 --bindir=DIR user executables [EPREFIX/bin]
1492 --sbindir=DIR system admin executables [EPREFIX/sbin]
1493 --libexecdir=DIR program executables [EPREFIX/libexec]
1494 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1495 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1496 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1497 --libdir=DIR object code libraries [EPREFIX/lib]
1498 --includedir=DIR C header files [PREFIX/include]
1499 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1500 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1501 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1502 --infodir=DIR info documentation [DATAROOTDIR/info]
1503 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1504 --mandir=DIR man documentation [DATAROOTDIR/man]
1505 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot-ui]
1506 --htmldir=DIR html documentation [DOCDIR]
1507 --dvidir=DIR dvi documentation [DOCDIR]
1508 --pdfdir=DIR pdf documentation [DOCDIR]
1509 --psdir=DIR ps documentation [DOCDIR]
1515 --program-prefix=PREFIX prepend PREFIX to installed program names
1516 --program-suffix=SUFFIX append SUFFIX to installed program names
1517 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1520 --build=BUILD configure for building on BUILD [guessed]
1521 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1525 if test -n "$ac_init_help"; then
1526 case $ac_init_help in
1527 short | recursive ) echo "Configuration of Moonshot-ui 0.7.2:";;
1532 --disable-option-checking ignore unrecognized --enable/--with options
1533 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1534 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1535 --enable-silent-rules less verbose build output (undo: "make V=1")
1536 --disable-silent-rules verbose build output (undo: "make V=0")
1537 --disable-maintainer-mode
1538 disable make rules and dependencies not useful (and
1539 sometimes confusing) to the casual installer
1540 --enable-shared[=PKGS] build shared libraries [default=yes]
1541 --enable-static[=PKGS] build static libraries [default=yes]
1542 --enable-fast-install[=PKGS]
1543 optimize for fast installation [default=yes]
1544 --enable-dependency-tracking
1545 do not reject slow dependency extractors
1546 --disable-dependency-tracking
1547 speeds up one-time build
1548 --disable-libtool-lock avoid locking (might break parallel builds)
1549 --disable-nls do not use Native Language Support
1550 --disable-rpath do not hardcode runtime library paths
1553 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1554 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1555 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1557 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1558 --with-sysroot=DIR Search for dependent libraries within DIR
1559 (or the compiler's sysroot if not specified).
1560 --with-gnu-ld assume the C compiler uses GNU ld default=no
1561 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1562 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1563 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1564 --without-libintl-prefix don't search for libintl in includedir and libdir
1566 Some influential environment variables:
1567 CC C compiler command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1570 nonstandard directory <lib dir>
1571 LIBS libraries to pass to the linker, e.g. -l<library>
1572 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1573 you have headers in a nonstandard directory <include dir>
1575 PKG_CONFIG path to pkg-config utility
1577 directories to add to pkg-config's search path
1579 path overriding pkg-config's built-in search path
1580 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1581 GTK_LIBS linker flags for GTK, overriding pkg-config
1582 MAC_CFLAGS C compiler flags for MAC, overriding pkg-config
1583 MAC_LIBS linker flags for MAC, overriding pkg-config
1585 C compiler flags for GDBUS, overriding pkg-config
1586 GDBUS_LIBS linker flags for GDBUS, overriding pkg-config
1588 C compiler flags for moonshot, overriding pkg-config
1590 linker flags for moonshot, overriding pkg-config
1592 C compiler flags for libmoonshot, overriding pkg-config
1594 linker flags for libmoonshot, overriding pkg-config
1596 Use these variables to override the choices made by `configure' or to help
1597 it to find libraries and programs with nonstandard names/locations.
1599 Report bugs to <moonshot-community@jiscmail.ac.uk>.
1600 Moonshot-ui home page: <http://www.project-moonshot.org/>.
1605 if test "$ac_init_help" = "recursive"; then
1606 # If there are subdirs, report their specific --help.
1607 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1608 test -d "$ac_dir" ||
1609 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1617 # A ".." for each directory in $ac_dir_suffix.
1618 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1619 case $ac_top_builddir_sub in
1620 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1624 ac_abs_top_builddir=$ac_pwd
1625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir=$ac_top_build_prefix
1630 .) # We are building in place.
1632 ac_top_srcdir=$ac_top_builddir_sub
1633 ac_abs_top_srcdir=$ac_pwd ;;
1634 [\\/]* | ?:[\\/]* ) # Absolute name.
1635 ac_srcdir=$srcdir$ac_dir_suffix;
1636 ac_top_srcdir=$srcdir
1637 ac_abs_top_srcdir=$srcdir ;;
1639 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640 ac_top_srcdir=$ac_top_build_prefix$srcdir
1641 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1645 cd "$ac_dir" || { ac_status=$?; continue; }
1646 # Check for guested configure.
1647 if test -f "$ac_srcdir/configure.gnu"; then
1649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650 elif test -f "$ac_srcdir/configure"; then
1652 $SHELL "$ac_srcdir/configure" --help=recursive
1654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1656 cd "$ac_pwd" || { ac_status=$?; break; }
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1663 Moonshot-ui configure 0.7.2
1664 generated by GNU Autoconf 2.69
1666 Copyright (C) 2012 Free Software Foundation, Inc.
1667 This configure script is free software; the Free Software Foundation
1668 gives unlimited permission to copy, distribute and modify it.
1673 ## ------------------------ ##
1674 ## Autoconf initialization. ##
1675 ## ------------------------ ##
1677 # ac_fn_c_try_compile LINENO
1678 # --------------------------
1679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1680 ac_fn_c_try_compile ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 rm -f conftest.$ac_objext
1684 if { { ac_try="$ac_compile"
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_compile") 2>conftest.err
1693 if test -s conftest.err; then
1694 grep -v '^ *+' conftest.err >conftest.er1
1695 cat conftest.er1 >&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && {
1700 test -z "$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1702 } && test -s conftest.$ac_objext; then :
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1713 } # ac_fn_c_try_compile
1715 # ac_fn_c_try_link LINENO
1716 # -----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext conftest$ac_exeext
1722 if { { ac_try="$ac_link"
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_link") 2>conftest.err
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest$ac_exeext && {
1741 test "$cross_compiling" = yes ||
1742 test -x conftest$ac_exeext
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1751 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1752 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1753 # interfere with the next link command; also delete a directory that is
1754 # left behind by Apple's compiler. We do this before executing the actions.
1755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status $ac_retval
1759 } # ac_fn_c_try_link
1761 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1762 # -------------------------------------------------------
1763 # Tests whether HEADER exists and can be compiled using the include files in
1764 # INCLUDES, setting the cache variable VAR accordingly.
1765 ac_fn_c_check_header_compile ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 $as_echo_n "checking for $2... " >&6; }
1770 if eval \${$3+:} false; then :
1771 $as_echo_n "(cached) " >&6
1773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1778 if ac_fn_c_try_compile "$LINENO"; then :
1783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 } # ac_fn_c_check_header_compile
1792 # ac_fn_c_try_cpp LINENO
1793 # ----------------------
1794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_cpp conftest.$ac_ext"
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } > conftest.i && {
1814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1829 # ac_fn_c_try_run LINENO
1830 # ----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1832 # that executables *can* be run.
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 if { { ac_try="$ac_link"
1838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>&5
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1847 { { case "(($ac_try" in
1848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_try") 2>&5
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; }; }; then :
1859 $as_echo "$as_me: program exited with status $ac_status" >&5
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1863 ac_retval=$ac_status
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 as_fn_set_status $ac_retval
1871 # ac_fn_c_check_func LINENO FUNC VAR
1872 # ----------------------------------
1873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1874 ac_fn_c_check_func ()
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if eval \${$3+:} false; then :
1880 $as_echo_n "(cached) " >&6
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1894 # include <limits.h>
1896 # include <assert.h>
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1923 if ac_fn_c_try_link "$LINENO"; then :
1928 rm -f core conftest.err conftest.$ac_objext \
1929 conftest$ac_exeext conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_func
1937 cat >config.log <<_ACEOF
1938 This file contains any messages produced by compilers while
1939 running configure, to aid debugging if configure makes a mistake.
1941 It was created by Moonshot-ui $as_me 0.7.2, which was
1942 generated by GNU Autoconf 2.69. Invocation command line was
1954 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1955 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1956 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1957 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1958 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1960 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1961 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1963 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1964 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1965 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1966 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1967 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1968 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1969 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir=.
1978 $as_echo "PATH: $as_dir"
1994 # Keep a trace of the command line.
1995 # Strip out --no-create and --no-recursion so they do not pile up.
1996 # Strip out --silent because we don't want to record it for future runs.
1997 # Also quote any args containing shell meta-characters.
1998 # Make two passes to allow for proper duplicate-argument suppression.
2002 ac_must_keep_next=false
2008 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2010 | -silent | --silent | --silen | --sile | --sil)
2013 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2016 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2018 as_fn_append ac_configure_args1 " '$ac_arg'"
2019 if test $ac_must_keep_next = true; then
2020 ac_must_keep_next=false # Got value, back to normal.
2023 *=* | --config-cache | -C | -disable-* | --disable-* \
2024 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2025 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2026 | -with-* | --with-* | -without-* | --without-* | --x)
2027 case "$ac_configure_args0 " in
2028 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2031 -* ) ac_must_keep_next=true ;;
2034 as_fn_append ac_configure_args " '$ac_arg'"
2039 { ac_configure_args0=; unset ac_configure_args0;}
2040 { ac_configure_args1=; unset ac_configure_args1;}
2042 # When interrupted or exit'd, cleanup temporary files, and complete
2043 # config.log. We remove comments because anyway the quotes in there
2044 # would cause problems or look ugly.
2045 # WARNING: Use '\'' to represent an apostrophe within the trap.
2046 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2047 trap 'exit_status=$?
2048 # Save into config.log some information that might help in debugging.
2052 $as_echo "## ---------------- ##
2053 ## Cache variables. ##
2054 ## ---------------- ##"
2056 # The following way of writing the cache mishandles newlines in values,
2058 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2059 eval ac_val=\$$ac_var
2063 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2067 _ | IFS | as_nl) ;; #(
2068 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2069 *) { eval $ac_var=; unset $ac_var;} ;;
2074 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2075 *${as_nl}ac_space=\ *)
2077 "s/'\''/'\''\\\\'\'''\''/g;
2078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2081 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2088 $as_echo "## ----------------- ##
2089 ## Output variables. ##
2090 ## ----------------- ##"
2092 for ac_var in $ac_subst_vars
2094 eval ac_val=\$$ac_var
2096 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2098 $as_echo "$ac_var='\''$ac_val'\''"
2102 if test -n "$ac_subst_files"; then
2103 $as_echo "## ------------------- ##
2104 ## File substitutions. ##
2105 ## ------------------- ##"
2107 for ac_var in $ac_subst_files
2109 eval ac_val=\$$ac_var
2111 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2113 $as_echo "$ac_var='\''$ac_val'\''"
2118 if test -s confdefs.h; then
2119 $as_echo "## ----------- ##
2126 test "$ac_signal" != 0 &&
2127 $as_echo "$as_me: caught signal $ac_signal"
2128 $as_echo "$as_me: exit $exit_status"
2130 rm -f core *.core core.conftest.* &&
2131 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2134 for ac_signal in 1 2 13 15; do
2135 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2140 rm -f -r conftest* confdefs.h
2142 $as_echo "/* confdefs.h */" > confdefs.h
2144 # Predefined preprocessor variables.
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_NAME "$PACKAGE_NAME"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_STRING "$PACKAGE_STRING"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_URL "$PACKAGE_URL"
2171 # Let the site file select an alternate cache file if it wants to.
2172 # Prefer an explicitly selected file to automatically selected ones.
2175 if test -n "$CONFIG_SITE"; then
2176 # We do not want a PATH search for config.site.
2177 case $CONFIG_SITE in #((
2178 -*) ac_site_file1=./$CONFIG_SITE;;
2179 */*) ac_site_file1=$CONFIG_SITE;;
2180 *) ac_site_file1=./$CONFIG_SITE;;
2182 elif test "x$prefix" != xNONE; then
2183 ac_site_file1=$prefix/share/config.site
2184 ac_site_file2=$prefix/etc/config.site
2186 ac_site_file1=$ac_default_prefix/share/config.site
2187 ac_site_file2=$ac_default_prefix/etc/config.site
2189 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2191 test "x$ac_site_file" = xNONE && continue
2192 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2194 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2195 sed 's/^/| /' "$ac_site_file" >&5
2197 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2199 as_fn_error $? "failed to load site script $ac_site_file
2200 See \`config.log' for more details" "$LINENO" 5; }
2204 if test -r "$cache_file"; then
2205 # Some versions of bash will fail to source /dev/null (special files
2206 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2207 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2209 $as_echo "$as_me: loading cache $cache_file" >&6;}
2211 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2212 *) . "./$cache_file";;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2217 $as_echo "$as_me: creating cache $cache_file" >&6;}
2221 as_fn_append ac_func_list " geteuid"
2222 as_fn_append ac_func_list " getpwuid"
2223 gt_needs="$gt_needs "
2224 # Check that the precious variables saved in the cache have kept the same
2226 ac_cache_corrupted=false
2227 for ac_var in $ac_precious_vars; do
2228 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2229 eval ac_new_set=\$ac_env_${ac_var}_set
2230 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2231 eval ac_new_val=\$ac_env_${ac_var}_value
2232 case $ac_old_set,$ac_new_set in
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2235 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2236 ac_cache_corrupted=: ;;
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2239 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2240 ac_cache_corrupted=: ;;
2243 if test "x$ac_old_val" != "x$ac_new_val"; then
2244 # differences in whitespace do not lead to failure.
2245 ac_old_val_w=`echo x $ac_old_val`
2246 ac_new_val_w=`echo x $ac_new_val`
2247 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2249 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2250 ac_cache_corrupted=:
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2253 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2254 eval $ac_var=\$ac_old_val
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2257 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2259 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2262 # Pass precious variables to config.status.
2263 if test "$ac_new_set" = set; then
2265 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2266 *) ac_arg=$ac_var=$ac_new_val ;;
2268 case " $ac_configure_args " in
2269 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2270 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2274 if $ac_cache_corrupted; then
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2278 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2279 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2281 ## -------------------- ##
2282 ## Main body of script. ##
2283 ## -------------------- ##
2286 ac_cpp='$CPP $CPPFLAGS'
2287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2293 # Remove this when we can depend on autoconf >= 2.64
2294 PACKAGE_URL=http://www.project-moonshot.org/
2297 $as_echo "#define PACKAGE_URL \"http://www.project-moonshot.org\"" >>confdefs.h
2299 ac_config_headers="$ac_config_headers config.h"
2304 for ac_dir in build-aux "$srcdir"/build-aux; do
2305 if test -f "$ac_dir/install-sh"; then
2307 ac_install_sh="$ac_aux_dir/install-sh -c"
2309 elif test -f "$ac_dir/install.sh"; then
2311 ac_install_sh="$ac_aux_dir/install.sh -c"
2313 elif test -f "$ac_dir/shtool"; then
2315 ac_install_sh="$ac_aux_dir/shtool install -c"
2319 if test -z "$ac_aux_dir"; then
2320 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2323 # These three variables are undocumented and unsupported,
2324 # and are intended to be withdrawn in a future Autoconf release.
2325 # They can cause serious problems if a builder's source tree is in a directory
2326 # whose full name contains unusual characters.
2327 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2328 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2329 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2333 am__api_version='1.15'
2335 # Find a good install program. We prefer a C program (faster),
2336 # so one script is as good as another. But avoid the broken or
2337 # incompatible versions:
2338 # SysV /etc/install, /usr/sbin/install
2339 # SunOS /usr/etc/install
2340 # IRIX /sbin/install
2342 # AmigaOS /C/install, which installs bootblocks on floppy discs
2343 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2344 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2345 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2346 # OS/2's system install, which has a completely different semantic
2347 # ./install, which can be erroneously created by make from ./install.sh.
2348 # Reject install programs that cannot install multiple files.
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2350 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2351 if test -z "$INSTALL"; then
2352 if ${ac_cv_path_install+:} false; then :
2353 $as_echo_n "(cached) " >&6
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir=.
2360 # Account for people who put trailing slashes in PATH elements.
2361 case $as_dir/ in #((
2362 ./ | .// | /[cC]/* | \
2363 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2364 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2367 # OSF1 and SCO ODT 3.0 have their own names for install.
2368 # Don't use installbsd from OSF since it installs stuff as root
2370 for ac_prog in ginstall scoinst install; do
2371 for ac_exec_ext in '' $ac_executable_extensions; do
2372 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2373 if test $ac_prog = install &&
2374 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2375 # AIX install. It has an incompatible calling convention.
2377 elif test $ac_prog = install &&
2378 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2379 # program-specific install script used by HP pwplus--don't use.
2382 rm -rf conftest.one conftest.two conftest.dir
2383 echo one > conftest.one
2384 echo two > conftest.two
2386 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2387 test -s conftest.one && test -s conftest.two &&
2388 test -s conftest.dir/conftest.one &&
2389 test -s conftest.dir/conftest.two
2391 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2404 rm -rf conftest.one conftest.two conftest.dir
2407 if test "${ac_cv_path_install+set}" = set; then
2408 INSTALL=$ac_cv_path_install
2410 # As a last resort, use the slow shell script. Don't cache a
2411 # value for INSTALL within a source directory, because that will
2412 # break other packages using the cache if that directory is
2413 # removed, or if the value is a relative name.
2414 INSTALL=$ac_install_sh
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2418 $as_echo "$INSTALL" >&6; }
2420 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2421 # It thinks the first close brace ends the variable substitution.
2422 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2424 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2426 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2429 $as_echo_n "checking whether build environment is sane... " >&6; }
2430 # Reject unsafe characters in $srcdir or the absolute working directory
2431 # name. Accept space and tab only in the latter.
2435 *[\\\"\#\$\&\'\`$am_lf]*)
2436 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2439 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2440 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2443 # Do 'set' in a subshell so we don't clobber the current shell's
2444 # arguments. Must try -L first in case configure is actually a
2445 # symlink; some systems play weird games with the mod time of symlinks
2446 # (eg FreeBSD returns the mod time of the symlink's containing
2450 for am_try in 1 2; do
2451 echo "timestamp, slept: $am_has_slept" > conftest.file
2452 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2453 if test "$*" = "X"; then
2455 set X `ls -t "$srcdir/configure" conftest.file`
2457 if test "$*" != "X $srcdir/configure conftest.file" \
2458 && test "$*" != "X conftest.file $srcdir/configure"; then
2460 # If neither matched, then we have a broken ls. This can happen
2461 # if, for instance, CONFIG_SHELL is bash and it inherits a
2462 # broken ls alias from the environment. This has actually
2463 # happened. Such a system could not be considered "sane".
2464 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2465 alias in your environment" "$LINENO" 5
2467 if test "$2" = conftest.file || test $am_try -eq 2; then
2474 test "$2" = conftest.file
2480 as_fn_error $? "newly created file is older than distributed files!
2481 Check your system clock" "$LINENO" 5
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2484 $as_echo "yes" >&6; }
2485 # If we didn't sleep, we still need to ensure time stamps of config.status and
2486 # generated files are strictly newer.
2488 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2495 test "$program_prefix" != NONE &&
2496 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2497 # Use a double $ so make ignores it.
2498 test "$program_suffix" != NONE &&
2499 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2500 # Double any \ or $.
2501 # By default was `s,x,x', remove it if useless.
2502 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2503 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2505 # Expand $ac_aux_dir to an absolute path.
2506 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2508 if test x"${MISSING+set}" != xset; then
2511 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2513 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2516 # Use eval to expand $SHELL
2517 if eval "$MISSING --is-lightweight"; then
2518 am_missing_run="$MISSING "
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2522 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2525 if test x"${install_sh+set}" != xset; then
2528 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2530 install_sh="\${SHELL} $am_aux_dir/install-sh"
2534 # Installed binaries are usually stripped using 'strip' when the user
2535 # run "make install-strip". However 'strip' might not be the right
2536 # tool to use in cross-compilation environments, therefore Automake
2537 # will honor the 'STRIP' environment variable to overrule this program.
2538 if test "$cross_compiling" != no; then
2539 if test -n "$ac_tool_prefix"; then
2540 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2541 set dummy ${ac_tool_prefix}strip; ac_word=$2
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2543 $as_echo_n "checking for $ac_word... " >&6; }
2544 if ${ac_cv_prog_STRIP+:} false; then :
2545 $as_echo_n "(cached) " >&6
2547 if test -n "$STRIP"; then
2548 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 test -z "$as_dir" && as_dir=.
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2557 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2567 STRIP=$ac_cv_prog_STRIP
2568 if test -n "$STRIP"; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2570 $as_echo "$STRIP" >&6; }
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2573 $as_echo "no" >&6; }
2578 if test -z "$ac_cv_prog_STRIP"; then
2580 # Extract the first word of "strip", so it can be a program name with args.
2581 set dummy strip; ac_word=$2
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2583 $as_echo_n "checking for $ac_word... " >&6; }
2584 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2585 $as_echo_n "(cached) " >&6
2587 if test -n "$ac_ct_STRIP"; then
2588 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594 test -z "$as_dir" && as_dir=.
2595 for ac_exec_ext in '' $ac_executable_extensions; do
2596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2597 ac_cv_prog_ac_ct_STRIP="strip"
2598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2608 if test -n "$ac_ct_STRIP"; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2610 $as_echo "$ac_ct_STRIP" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2616 if test "x$ac_ct_STRIP" = x; then
2619 case $cross_compiling:$ac_tool_warned in
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2623 ac_tool_warned=yes ;;
2628 STRIP="$ac_cv_prog_STRIP"
2632 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2635 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2636 if test -z "$MKDIR_P"; then
2637 if ${ac_cv_path_mkdir+:} false; then :
2638 $as_echo_n "(cached) " >&6
2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2644 test -z "$as_dir" && as_dir=.
2645 for ac_prog in mkdir gmkdir; do
2646 for ac_exec_ext in '' $ac_executable_extensions; do
2647 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2648 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2649 'mkdir (GNU coreutils) '* | \
2650 'mkdir (coreutils) '* | \
2651 'mkdir (fileutils) '4.1*)
2652 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2662 test -d ./--version && rmdir ./--version
2663 if test "${ac_cv_path_mkdir+set}" = set; then
2664 MKDIR_P="$ac_cv_path_mkdir -p"
2666 # As a last resort, use the slow shell script. Don't cache a
2667 # value for MKDIR_P within a source directory, because that will
2668 # break other packages using the cache if that directory is
2669 # removed, or if the value is a relative name.
2670 MKDIR_P="$ac_install_sh -d"
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2674 $as_echo "$MKDIR_P" >&6; }
2676 for ac_prog in gawk mawk nawk awk
2678 # Extract the first word of "$ac_prog", so it can be a program name with args.
2679 set dummy $ac_prog; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if ${ac_cv_prog_AWK+:} false; then :
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$AWK"; then
2686 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir=.
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2695 ac_cv_prog_AWK="$ac_prog"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 if test -n "$AWK"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2708 $as_echo "$AWK" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2715 test -n "$AWK" && break
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2719 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2721 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2722 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2723 $as_echo_n "(cached) " >&6
2725 cat >conftest.make <<\_ACEOF
2728 @echo '@@@%%%=$(MAKE)=@@@%%%'
2730 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2731 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2733 eval ac_cv_prog_make_${ac_make}_set=yes;;
2735 eval ac_cv_prog_make_${ac_make}_set=no;;
2739 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2741 $as_echo "yes" >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2746 SET_MAKE="MAKE=${MAKE-make}"
2749 rm -rf .tst 2>/dev/null
2750 mkdir .tst 2>/dev/null
2751 if test -d .tst; then
2756 rmdir .tst 2>/dev/null
2758 # Check whether --enable-silent-rules was given.
2759 if test "${enable_silent_rules+set}" = set; then :
2760 enableval=$enable_silent_rules;
2763 case $enable_silent_rules in # (((
2764 yes) AM_DEFAULT_VERBOSITY=0;;
2765 no) AM_DEFAULT_VERBOSITY=1;;
2766 *) AM_DEFAULT_VERBOSITY=1;;
2768 am_make=${MAKE-make}
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2770 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2771 if ${am_cv_make_support_nested_variables+:} false; then :
2772 $as_echo_n "(cached) " >&6
2774 if $as_echo 'TRUE=$(BAR$(V))
2780 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2781 am_cv_make_support_nested_variables=yes
2783 am_cv_make_support_nested_variables=no
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2787 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2788 if test $am_cv_make_support_nested_variables = yes; then
2790 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2792 AM_V=$AM_DEFAULT_VERBOSITY
2793 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2797 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2798 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2799 # is not polluted with repeated "-I."
2800 am__isrc=' -I$(srcdir)'
2801 # test to see if srcdir already configured
2802 if test -f $srcdir/config.status; then
2803 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2807 # test whether we have cygpath
2808 if test -z "$CYGPATH_W"; then
2809 if (cygpath --version) >/dev/null 2>/dev/null; then
2810 CYGPATH_W='cygpath -w'
2817 # Define the identity of the package.
2818 PACKAGE='moonshot-ui'
2822 cat >>confdefs.h <<_ACEOF
2823 #define PACKAGE "$PACKAGE"
2827 cat >>confdefs.h <<_ACEOF
2828 #define VERSION "$VERSION"
2831 # Some tools Automake needs.
2833 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2836 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2839 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2842 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2845 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2847 # For better backward compatibility. To be removed once Automake 1.9.x
2848 # dies out for good. For more background, see:
2849 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2850 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2851 mkdir_p='$(MKDIR_P)'
2853 # We need awk for the "check" target (and possibly the TAP driver). The
2854 # system "awk" is bad on some platforms.
2855 # Always define AMTAR for backward compatibility. Yes, it's still used
2856 # in the wild :-( We should find a proper way to deprecate it ...
2860 # We'll loop over all known methods to create a tar archive until one works.
2861 _am_tools='gnutar pax cpio none'
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2866 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2868 # Go ahead even if we have the value already cached. We do so because we
2869 # need to set the values for the 'am__tar' and 'am__untar' variables.
2870 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2872 for _am_tool in $_am_tools; do
2875 for _am_tar in tar gnutar gtar; do
2876 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2877 ($_am_tar --version) >&5 2>&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } && break
2882 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2883 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2884 am__untar="$_am_tar -xf -"
2887 # Must skip GNU tar: if it does not support --format= it doesn't create
2888 # ustar tarball either.
2889 (tar --version) >/dev/null 2>&1 && continue
2890 am__tar='tar chf - "$$tardir"'
2891 am__tar_='tar chf - "$tardir"'
2892 am__untar='tar xf -'
2895 am__tar='pax -L -x pax -w "$$tardir"'
2896 am__tar_='pax -L -x pax -w "$tardir"'
2900 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2901 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2902 am__untar='cpio -i -H pax -d'
2911 # If the value was cached, stop now. We just wanted to have am__tar
2912 # and am__untar set.
2913 test -n "${am_cv_prog_tar_pax}" && break
2915 # tar/untar a dummy directory, and stop if the command works.
2918 echo GrepMe > conftest.dir/file
2919 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2920 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }
2925 if test -s conftest.tar; then
2926 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2927 ($am__untar <conftest.tar) >&5 2>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }
2931 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2932 (cat conftest.dir/file) >&5 2>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }
2936 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2941 if ${am_cv_prog_tar_pax+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 am_cv_prog_tar_pax=$_am_tool
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2948 $as_echo "$am_cv_prog_tar_pax" >&6; }
2955 # POSIX will say in a future version that running "rm -f" with no argument
2956 # is OK; and we want to be able to make that assumption in our Makefile
2957 # recipes. So use an aggressive probe to check that the usage we want is
2958 # actually supported "in the wild" to an acceptable degree.
2959 # See automake bug#10828.
2960 # To make any issue more visible, cause the running configure to be aborted
2961 # by default if the 'rm' program in use doesn't match our expectations; the
2962 # user can still override this though.
2963 if rm -f && rm -fr && rm -rf; then : OK; else
2967 Your 'rm' program seems unable to run without file operands specified
2968 on the command line, even when the '-f' option is present. This is contrary
2969 to the behaviour of most rm programs out there, and not conforming with
2970 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2972 Please tell bug-automake@gnu.org about your system, including the value
2973 of your $PATH and any error possibly output before this message. This
2974 can help us improve future automake versions.
2977 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2978 echo 'Configuration will proceed anyway, since you have set the' >&2
2979 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2983 Aborting the configuration process, to ensure you take notice of the issue.
2985 You can download and install GNU coreutils to get an 'rm' implementation
2986 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2988 If you want to complete the configuration process using your problematic
2989 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2990 to "yes", and re-run configure.
2993 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2997 # Check whether --enable-silent-rules was given.
2998 if test "${enable_silent_rules+set}" = set; then :
2999 enableval=$enable_silent_rules;
3002 case $enable_silent_rules in # (((
3003 yes) AM_DEFAULT_VERBOSITY=0;;
3004 no) AM_DEFAULT_VERBOSITY=1;;
3005 *) AM_DEFAULT_VERBOSITY=0;;
3007 am_make=${MAKE-make}
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3009 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3010 if ${am_cv_make_support_nested_variables+:} false; then :
3011 $as_echo_n "(cached) " >&6
3013 if $as_echo 'TRUE=$(BAR$(V))
3019 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3020 am_cv_make_support_nested_variables=yes
3022 am_cv_make_support_nested_variables=no
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3026 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3027 if test $am_cv_make_support_nested_variables = yes; then
3029 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3031 AM_V=$AM_DEFAULT_VERBOSITY
3032 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3038 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3039 # Check whether --enable-maintainer-mode was given.
3040 if test "${enable_maintainer_mode+set}" = set; then :
3041 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3043 USE_MAINTAINER_MODE=yes
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3047 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3048 if test $USE_MAINTAINER_MODE = yes; then
3049 MAINTAINER_MODE_TRUE=
3050 MAINTAINER_MODE_FALSE='#'
3052 MAINTAINER_MODE_TRUE='#'
3053 MAINTAINER_MODE_FALSE=
3056 MAINT=$MAINTAINER_MODE_TRUE
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3064 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3069 macro_version='2.4.2'
3070 macro_revision='1.3337'
3084 ltmain="$ac_aux_dir/ltmain.sh"
3086 # Make sure we can run config.sub.
3087 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3088 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3091 $as_echo_n "checking build system type... " >&6; }
3092 if ${ac_cv_build+:} false; then :
3093 $as_echo_n "(cached) " >&6
3095 ac_build_alias=$build_alias
3096 test "x$ac_build_alias" = x &&
3097 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3098 test "x$ac_build_alias" = x &&
3099 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3100 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3101 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3105 $as_echo "$ac_cv_build" >&6; }
3106 case $ac_cv_build in
3108 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3111 ac_save_IFS=$IFS; IFS='-'
3117 # Remember, the first character of IFS is used to create $*,
3118 # except with old shells:
3121 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3125 $as_echo_n "checking host system type... " >&6; }
3126 if ${ac_cv_host+:} false; then :
3127 $as_echo_n "(cached) " >&6
3129 if test "x$host_alias" = x; then
3130 ac_cv_host=$ac_cv_build
3132 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3133 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3138 $as_echo "$ac_cv_host" >&6; }
3141 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3144 ac_save_IFS=$IFS; IFS='-'
3150 # Remember, the first character of IFS is used to create $*,
3151 # except with old shells:
3154 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3157 # Backslashify metacharacters that are still active within
3158 # double-quoted strings.
3159 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3161 # Same as above, but do not quote variable references.
3162 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3164 # Sed substitution to delay expansion of an escaped shell variable in a
3165 # double_quote_subst'ed string.
3166 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3168 # Sed substitution to delay expansion of an escaped single quote.
3169 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3171 # Sed substitution to avoid accidental globbing in evaled expressions
3172 no_glob_subst='s/\*/\\\*/g'
3174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3175 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3176 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3179 $as_echo_n "checking how to print strings... " >&6; }
3180 # Test print first, because it will be a builtin if present.
3181 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3182 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3184 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3187 # Use this function as a fallback that always works.
3188 func_fallback_echo ()
3190 eval 'cat <<_LTECHO_EOF
3194 ECHO='func_fallback_echo'
3197 # func_echo_all arg...
3198 # Invoke $ECHO with all args, space-separated.
3205 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3206 $as_echo "printf" >&6; } ;;
3207 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3208 $as_echo "print -r" >&6; } ;;
3209 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3210 $as_echo "cat" >&6; } ;;
3226 DEPDIR="${am__leading_dot}deps"
3228 ac_config_commands="$ac_config_commands depfiles"
3231 am_make=${MAKE-make}
3232 cat > confinc << 'END'
3234 @echo this is the am__doit target
3237 # If we don't find an include directive, just comment out the code.
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3239 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3243 # First try GNU make style include.
3244 echo "include confinc" > confmf
3245 # Ignore all kinds of additional output from 'make'.
3246 case `$am_make -s -f confmf 2> /dev/null` in #(
3247 *the\ am__doit\ target*)
3253 # Now try BSD make style include.
3254 if test "$am__include" = "#"; then
3255 echo '.include "confinc"' > confmf
3256 case `$am_make -s -f confmf 2> /dev/null` in #(
3257 *the\ am__doit\ target*)
3258 am__include=.include
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3267 $as_echo "$_am_result" >&6; }
3268 rm -f confinc confmf
3270 # Check whether --enable-dependency-tracking was given.
3271 if test "${enable_dependency_tracking+set}" = set; then :
3272 enableval=$enable_dependency_tracking;
3275 if test "x$enable_dependency_tracking" != xno; then
3276 am_depcomp="$ac_aux_dir/depcomp"
3280 if test "x$enable_dependency_tracking" != xno; then
3290 ac_cpp='$CPP $CPPFLAGS'
3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3294 if test -n "$ac_tool_prefix"; then
3295 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3296 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298 $as_echo_n "checking for $ac_word... " >&6; }
3299 if ${ac_cv_prog_CC+:} false; then :
3300 $as_echo_n "(cached) " >&6
3302 if test -n "$CC"; then
3303 ac_cv_prog_CC="$CC" # Let the user override the test.
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir=.
3310 for ac_exec_ext in '' $ac_executable_extensions; do
3311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3312 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323 if test -n "$CC"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3325 $as_echo "$CC" >&6; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328 $as_echo "no" >&6; }
3333 if test -z "$ac_cv_prog_CC"; then
3335 # Extract the first word of "gcc", so it can be a program name with args.
3336 set dummy gcc; ac_word=$2
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3338 $as_echo_n "checking for $ac_word... " >&6; }
3339 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3340 $as_echo_n "(cached) " >&6
3342 if test -n "$ac_ct_CC"; then
3343 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349 test -z "$as_dir" && as_dir=.
3350 for ac_exec_ext in '' $ac_executable_extensions; do
3351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3352 ac_cv_prog_ac_ct_CC="gcc"
3353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3363 if test -n "$ac_ct_CC"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3365 $as_echo "$ac_ct_CC" >&6; }
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3371 if test "x$ac_ct_CC" = x; then
3374 case $cross_compiling:$ac_tool_warned in
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3378 ac_tool_warned=yes ;;
3386 if test -z "$CC"; then
3387 if test -n "$ac_tool_prefix"; then
3388 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3389 set dummy ${ac_tool_prefix}cc; ac_word=$2
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391 $as_echo_n "checking for $ac_word... " >&6; }
3392 if ${ac_cv_prog_CC+:} false; then :
3393 $as_echo_n "(cached) " >&6
3395 if test -n "$CC"; then
3396 ac_cv_prog_CC="$CC" # Let the user override the test.
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402 test -z "$as_dir" && as_dir=.
3403 for ac_exec_ext in '' $ac_executable_extensions; do
3404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3405 ac_cv_prog_CC="${ac_tool_prefix}cc"
3406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416 if test -n "$CC"; then
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3418 $as_echo "$CC" >&6; }
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3427 if test -z "$CC"; then
3428 # Extract the first word of "cc", so it can be a program name with args.
3429 set dummy cc; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if ${ac_cv_prog_CC+:} false; then :
3433 $as_echo_n "(cached) " >&6
3435 if test -n "$CC"; then
3436 ac_cv_prog_CC="$CC" # Let the user override the test.
3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3443 test -z "$as_dir" && as_dir=.
3444 for ac_exec_ext in '' $ac_executable_extensions; do
3445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3446 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3447 ac_prog_rejected=yes
3451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 if test $ac_prog_rejected = yes; then
3459 # We found a bogon in the path, so make sure we never use it.
3460 set dummy $ac_cv_prog_CC
3462 if test $# != 0; then
3463 # We chose a different compiler from the bogus one.
3464 # However, it has the same basename, so the bogon will be chosen
3465 # first if we set CC to just the basename; use the full file name.
3467 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3473 if test -n "$CC"; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3475 $as_echo "$CC" >&6; }
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478 $as_echo "no" >&6; }
3483 if test -z "$CC"; then
3484 if test -n "$ac_tool_prefix"; then
3485 for ac_prog in cl.exe
3487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3488 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if ${ac_cv_prog_CC+:} false; then :
3492 $as_echo_n "(cached) " >&6
3494 if test -n "$CC"; then
3495 ac_cv_prog_CC="$CC" # Let the user override the test.
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3504 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 if test -n "$CC"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3517 $as_echo "$CC" >&6; }
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3524 test -n "$CC" && break
3527 if test -z "$CC"; then
3529 for ac_prog in cl.exe
3531 # Extract the first word of "$ac_prog", so it can be a program name with args.
3532 set dummy $ac_prog; ac_word=$2
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3534 $as_echo_n "checking for $ac_word... " >&6; }
3535 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3536 $as_echo_n "(cached) " >&6
3538 if test -n "$ac_ct_CC"; then
3539 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir=.
3546 for ac_exec_ext in '' $ac_executable_extensions; do
3547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3548 ac_cv_prog_ac_ct_CC="$ac_prog"
3549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3559 if test -n "$ac_ct_CC"; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3561 $as_echo "$ac_ct_CC" >&6; }
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3568 test -n "$ac_ct_CC" && break
3571 if test "x$ac_ct_CC" = x; then
3574 case $cross_compiling:$ac_tool_warned in
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3578 ac_tool_warned=yes ;;
3587 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3589 as_fn_error $? "no acceptable C compiler found in \$PATH
3590 See \`config.log' for more details" "$LINENO" 5; }
3592 # Provide some information about the compiler.
3593 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3596 for ac_option in --version -v -V -qversion; do
3597 { { ac_try="$ac_compiler $ac_option >&5"
3599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600 *) ac_try_echo=$ac_try;;
3602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3603 $as_echo "$ac_try_echo"; } >&5
3604 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3606 if test -s conftest.err; then
3608 ... rest of stderr output deleted ...
3609 10q' conftest.err >conftest.er1
3610 cat conftest.er1 >&5
3612 rm -f conftest.er1 conftest.err
3613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614 test $ac_status = 0; }
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3628 ac_clean_files_save=$ac_clean_files
3629 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3630 # Try to create an executable without -o first, disregard a.out.
3631 # It will help us diagnose broken compilers, and finding out an intuition
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3634 $as_echo_n "checking whether the C compiler works... " >&6; }
3635 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3637 # The possible output files:
3638 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3641 for ac_file in $ac_files
3644 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3645 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3650 if { { ac_try="$ac_link_default"
3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656 $as_echo "$ac_try_echo"; } >&5
3657 (eval "$ac_link_default") 2>&5
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }; then :
3661 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3662 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3663 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3664 # so that the user can short-circuit this test for compilers unknown to
3666 for ac_file in $ac_files ''
3668 test -f "$ac_file" || continue
3670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3673 # We found the default executable, but exeext='' is most
3677 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3679 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3681 # We set ac_cv_exeext here because the later test for it is not
3682 # safe: cross compilers may not add the suffix if given an `-o'
3683 # argument, so we may need to know it at that point already.
3684 # Even if this section looks crufty: it has the advantage of
3691 test "$ac_cv_exeext" = no && ac_cv_exeext=
3696 if test -z "$ac_file"; then :
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3699 $as_echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.$ac_ext >&5
3702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3704 as_fn_error 77 "C compiler cannot create executables
3705 See \`config.log' for more details" "$LINENO" 5; }
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3708 $as_echo "yes" >&6; }
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3711 $as_echo_n "checking for C compiler default output file name... " >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3713 $as_echo "$ac_file" >&6; }
3714 ac_exeext=$ac_cv_exeext
3716 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3717 ac_clean_files=$ac_clean_files_save
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3719 $as_echo_n "checking for suffix of executables... " >&6; }
3720 if { { ac_try="$ac_link"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726 $as_echo "$ac_try_echo"; } >&5
3727 (eval "$ac_link") 2>&5
3729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730 test $ac_status = 0; }; then :
3731 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3732 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3733 # work properly (i.e., refer to `conftest.exe'), while it won't with
3735 for ac_file in conftest.exe conftest conftest.*; do
3736 test -f "$ac_file" || continue
3738 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3739 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 $? "cannot compute suffix of executables: cannot compile and link
3748 See \`config.log' for more details" "$LINENO" 5; }
3750 rm -f conftest conftest$ac_cv_exeext
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3752 $as_echo "$ac_cv_exeext" >&6; }
3754 rm -f conftest.$ac_ext
3755 EXEEXT=$ac_cv_exeext
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3763 FILE *f = fopen ("conftest.out", "w");
3764 return ferror (f) || fclose (f) != 0;
3770 ac_clean_files="$ac_clean_files conftest.out"
3771 # Check that the compiler produces executables we can run. If not, either
3772 # the compiler is broken, or we cross compile.
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3774 $as_echo_n "checking whether we are cross compiling... " >&6; }
3775 if test "$cross_compiling" != yes; then
3776 { { ac_try="$ac_link"
3778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779 *) ac_try_echo=$ac_try;;
3781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782 $as_echo "$ac_try_echo"; } >&5
3783 (eval "$ac_link") 2>&5
3785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3786 test $ac_status = 0; }
3787 if { ac_try='./conftest$ac_cv_exeext'
3788 { { case "(($ac_try" in
3789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790 *) ac_try_echo=$ac_try;;
3792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793 $as_echo "$ac_try_echo"; } >&5
3794 (eval "$ac_try") 2>&5
3796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797 test $ac_status = 0; }; }; then
3800 if test "$cross_compiling" = maybe; then
3803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 as_fn_error $? "cannot run C compiled programs.
3806 If you meant to cross compile, use \`--host'.
3807 See \`config.log' for more details" "$LINENO" 5; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3812 $as_echo "$cross_compiling" >&6; }
3814 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3815 ac_clean_files=$ac_clean_files_save
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3817 $as_echo_n "checking for suffix of object files... " >&6; }
3818 if ${ac_cv_objext+:} false; then :
3819 $as_echo_n "(cached) " >&6
3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3832 rm -f conftest.o conftest.obj
3833 if { { ac_try="$ac_compile"
3835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836 *) ac_try_echo=$ac_try;;
3838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3839 $as_echo "$ac_try_echo"; } >&5
3840 (eval "$ac_compile") 2>&5
3842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843 test $ac_status = 0; }; then :
3844 for ac_file in conftest.o conftest.obj conftest.*; do
3845 test -f "$ac_file" || continue;
3847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3848 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3853 $as_echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error $? "cannot compute suffix of object files: cannot compile
3859 See \`config.log' for more details" "$LINENO" 5; }
3861 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3864 $as_echo "$ac_cv_objext" >&6; }
3865 OBJEXT=$ac_cv_objext
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3868 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3869 if ${ac_cv_c_compiler_gnu+:} false; then :
3870 $as_echo_n "(cached) " >&6
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3886 if ac_fn_c_try_compile "$LINENO"; then :
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3896 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3897 if test $ac_compiler_gnu = yes; then
3902 ac_test_CFLAGS=${CFLAGS+set}
3903 ac_save_CFLAGS=$CFLAGS
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3905 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3906 if ${ac_cv_prog_cc_g+:} false; then :
3907 $as_echo_n "(cached) " >&6
3909 ac_save_c_werror_flag=$ac_c_werror_flag
3910 ac_c_werror_flag=yes
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3924 if ac_fn_c_try_compile "$LINENO"; then :
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3939 if ac_fn_c_try_compile "$LINENO"; then :
3942 ac_c_werror_flag=$ac_save_c_werror_flag
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3955 if ac_fn_c_try_compile "$LINENO"; then :
3958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963 ac_c_werror_flag=$ac_save_c_werror_flag
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3966 $as_echo "$ac_cv_prog_cc_g" >&6; }
3967 if test "$ac_test_CFLAGS" = set; then
3968 CFLAGS=$ac_save_CFLAGS
3969 elif test $ac_cv_prog_cc_g = yes; then
3970 if test "$GCC" = yes; then
3976 if test "$GCC" = yes; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3983 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3984 if ${ac_cv_prog_cc_c89+:} false; then :
3985 $as_echo_n "(cached) " >&6
3987 ac_cv_prog_cc_c89=no
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
3994 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3995 struct buf { int x; };
3996 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3997 static char *e (p, i)
4003 static char *f (char * (*g) (char **, int), char **p, ...)
4008 s = g (p, va_arg (v,int));
4013 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4014 function prototypes and stuff, but not '\xHH' hex character constants.
4015 These don't provoke an error unfortunately, instead are silently treated
4016 as 'x'. The following induces an error, until -std is added to get
4017 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4018 array size at least. It's necessary to write '\x00'==0 to get something
4019 that's true only with -std. */
4020 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4022 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4023 inside strings and character constants. */
4025 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4027 int test (int i, double x);
4028 struct s1 {int (*f) (int a);};
4029 struct s2 {int (*f) (double a);};
4030 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4036 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4041 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4042 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4044 CC="$ac_save_CC $ac_arg"
4045 if ac_fn_c_try_compile "$LINENO"; then :
4046 ac_cv_prog_cc_c89=$ac_arg
4048 rm -f core conftest.err conftest.$ac_objext
4049 test "x$ac_cv_prog_cc_c89" != "xno" && break
4051 rm -f conftest.$ac_ext
4056 case "x$ac_cv_prog_cc_c89" in
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4059 $as_echo "none needed" >&6; } ;;
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4062 $as_echo "unsupported" >&6; } ;;
4064 CC="$CC $ac_cv_prog_cc_c89"
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4066 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4068 if test "x$ac_cv_prog_cc_c89" != xno; then :
4073 ac_cpp='$CPP $CPPFLAGS'
4074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4084 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4085 if ${am_cv_prog_cc_c_o+:} false; then :
4086 $as_echo_n "(cached) " >&6
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4099 # Make sure it works both with $CC and with simple cc.
4100 # Following AC_PROG_CC_C_O, we do the test twice because some
4101 # compilers refuse to overwrite an existing .o file with -o,
4102 # though they will create one.
4103 am_cv_prog_cc_c_o=yes
4105 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4106 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); } \
4110 && test -f conftest2.$ac_objext; then
4113 am_cv_prog_cc_c_o=no
4117 rm -f core conftest*
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4121 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4122 if test "$am_cv_prog_cc_c_o" != yes; then
4123 # Losing compiler, so override with the script.
4124 # FIXME: It is wrong to rewrite CC.
4125 # But if we don't then we get into trouble of one sort or another.
4126 # A longer-term fix would be to have automake use am__CC in this case,
4127 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4128 CC="$am_aux_dir/compile $CC"
4131 ac_cpp='$CPP $CPPFLAGS'
4132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4137 depcc="$CC" am_compiler_list=
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4140 $as_echo_n "checking dependency style of $depcc... " >&6; }
4141 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4142 $as_echo_n "(cached) " >&6
4144 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4145 # We make a subdir and do the tests there. Otherwise we can end up
4146 # making bogus files that we don't know about and never remove. For
4147 # instance it was reported that on HP-UX the gcc test will end up
4148 # making a dummy file named 'D' -- because '-MD' means "put the output
4152 # Copy depcomp to subdir because otherwise we won't find it if we're
4153 # using a relative directory.
4154 cp "$am_depcomp" conftest.dir
4156 # We will build objects and dependencies in a subdirectory because
4157 # it helps to detect inapplicable dependency modes. For instance
4158 # both Tru64's cc and ICC support -MD to output dependencies as a
4159 # side effect of compilation, but ICC will put the dependencies in
4160 # the current directory while Tru64 will put them in the object
4164 am_cv_CC_dependencies_compiler_type=none
4165 if test "$am_compiler_list" = ""; then
4166 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4169 case " $depcc " in #(
4170 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4173 for depmode in $am_compiler_list; do
4174 # Setup a source with many dependencies, because some compilers
4175 # like to wrap large dependency lists on column 80 (with \), and
4176 # we should not choose a depcomp mode which is confused by this.
4178 # We need to recreate these files for each test, as the compiler may
4179 # overwrite some of them when testing with obscure command lines.
4180 # This happens at least with the AIX C compiler.
4182 for i in 1 2 3 4 5 6; do
4183 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4184 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4185 # Solaris 10 /bin/sh.
4186 echo '/* dummy */' > sub/conftst$i.h
4188 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4190 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4191 # mode. It turns out that the SunPro C++ compiler does not properly
4192 # handle '-M -o', and we need to detect this. Also, some Intel
4193 # versions had trouble with output in subdirs.
4194 am__obj=sub/conftest.${OBJEXT-o}
4195 am__minus_obj="-o $am__obj"
4198 # This depmode causes a compiler race in universal mode.
4199 test "$am__universal" = false || continue
4202 # After this tag, mechanisms are not by side-effect, so they'll
4203 # only be used when explicitly requested.
4204 if test "x$enable_dependency_tracking" = xyes; then
4210 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4211 # This compiler won't grok '-c -o', but also, the minuso test has
4212 # not run yet. These depmodes are late enough in the game, and
4213 # so weak that their functioning should not be impacted.
4214 am__obj=conftest.${OBJEXT-o}
4219 if depmode=$depmode \
4220 source=sub/conftest.c object=$am__obj \
4221 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4222 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4223 >/dev/null 2>conftest.err &&
4224 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4225 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4226 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4227 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4228 # icc doesn't choke on unknown options, it will just issue warnings
4229 # or remarks (even with -Werror). So we grep stderr for any message
4230 # that says an option was ignored or not supported.
4231 # When given -MP, icc 7.0 and 7.1 complain thusly:
4232 # icc: Command line warning: ignoring option '-M'; no argument required
4233 # The diagnosis changed in icc 8.0:
4234 # icc: Command line remark: option '-MP' not supported
4235 if (grep 'ignoring option' conftest.err ||
4236 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4237 am_cv_CC_dependencies_compiler_type=$depmode
4246 am_cv_CC_dependencies_compiler_type=none
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4251 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4252 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4255 test "x$enable_dependency_tracking" != xno \
4256 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4258 am__fastdepCC_FALSE='#'
4260 am__fastdepCC_TRUE='#'
4261 am__fastdepCC_FALSE=
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4266 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4267 if ${ac_cv_path_SED+:} false; then :
4268 $as_echo_n "(cached) " >&6
4270 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4271 for ac_i in 1 2 3 4 5 6 7; do
4272 ac_script="$ac_script$as_nl$ac_script"
4274 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4275 { ac_script=; unset ac_script;}
4276 if test -z "$SED"; then
4277 ac_path_SED_found=false
4278 # Loop through the user's path and test for each of PROGNAME-LIST
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 test -z "$as_dir" && as_dir=.
4284 for ac_prog in sed gsed; do
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4287 as_fn_executable_p "$ac_path_SED" || continue
4288 # Check for GNU ac_path_SED and select it if it is found.
4289 # Check for GNU $ac_path_SED
4290 case `"$ac_path_SED" --version 2>&1` in
4292 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4295 $as_echo_n 0123456789 >"conftest.in"
4298 cat "conftest.in" "conftest.in" >"conftest.tmp"
4299 mv "conftest.tmp" "conftest.in"
4300 cp "conftest.in" "conftest.nl"
4301 $as_echo '' >> "conftest.nl"
4302 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4303 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4304 as_fn_arith $ac_count + 1 && ac_count=$as_val
4305 if test $ac_count -gt ${ac_path_SED_max-0}; then
4306 # Best one so far, save it but keep looking for a better one
4307 ac_cv_path_SED="$ac_path_SED"
4308 ac_path_SED_max=$ac_count
4310 # 10*(2^10) chars as input seems more than enough
4311 test $ac_count -gt 10 && break
4313 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4316 $ac_path_SED_found && break 3
4321 if test -z "$ac_cv_path_SED"; then
4322 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4330 $as_echo "$ac_cv_path_SED" >&6; }
4331 SED="$ac_cv_path_SED"
4334 test -z "$SED" && SED=sed
4335 Xsed="$SED -e 1s/^X//"
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4348 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4349 if ${ac_cv_path_GREP+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -z "$GREP"; then
4353 ac_path_GREP_found=false
4354 # Loop through the user's path and test for each of PROGNAME-LIST
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4359 test -z "$as_dir" && as_dir=.
4360 for ac_prog in grep ggrep; do
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4363 as_fn_executable_p "$ac_path_GREP" || continue
4364 # Check for GNU ac_path_GREP and select it if it is found.
4365 # Check for GNU $ac_path_GREP
4366 case `"$ac_path_GREP" --version 2>&1` in
4368 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4371 $as_echo_n 0123456789 >"conftest.in"
4374 cat "conftest.in" "conftest.in" >"conftest.tmp"
4375 mv "conftest.tmp" "conftest.in"
4376 cp "conftest.in" "conftest.nl"
4377 $as_echo 'GREP' >> "conftest.nl"
4378 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4379 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4380 as_fn_arith $ac_count + 1 && ac_count=$as_val
4381 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4382 # Best one so far, save it but keep looking for a better one
4383 ac_cv_path_GREP="$ac_path_GREP"
4384 ac_path_GREP_max=$ac_count
4386 # 10*(2^10) chars as input seems more than enough
4387 test $ac_count -gt 10 && break
4389 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4392 $ac_path_GREP_found && break 3
4397 if test -z "$ac_cv_path_GREP"; then
4398 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4401 ac_cv_path_GREP=$GREP
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4406 $as_echo "$ac_cv_path_GREP" >&6; }
4407 GREP="$ac_cv_path_GREP"
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4411 $as_echo_n "checking for egrep... " >&6; }
4412 if ${ac_cv_path_EGREP+:} false; then :
4413 $as_echo_n "(cached) " >&6
4415 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4416 then ac_cv_path_EGREP="$GREP -E"
4418 if test -z "$EGREP"; then
4419 ac_path_EGREP_found=false
4420 # Loop through the user's path and test for each of PROGNAME-LIST
4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4425 test -z "$as_dir" && as_dir=.
4426 for ac_prog in egrep; do
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4429 as_fn_executable_p "$ac_path_EGREP" || continue
4430 # Check for GNU ac_path_EGREP and select it if it is found.
4431 # Check for GNU $ac_path_EGREP
4432 case `"$ac_path_EGREP" --version 2>&1` in
4434 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4437 $as_echo_n 0123456789 >"conftest.in"
4440 cat "conftest.in" "conftest.in" >"conftest.tmp"
4441 mv "conftest.tmp" "conftest.in"
4442 cp "conftest.in" "conftest.nl"
4443 $as_echo 'EGREP' >> "conftest.nl"
4444 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4445 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4446 as_fn_arith $ac_count + 1 && ac_count=$as_val
4447 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4448 # Best one so far, save it but keep looking for a better one
4449 ac_cv_path_EGREP="$ac_path_EGREP"
4450 ac_path_EGREP_max=$ac_count
4452 # 10*(2^10) chars as input seems more than enough
4453 test $ac_count -gt 10 && break
4455 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4458 $ac_path_EGREP_found && break 3
4463 if test -z "$ac_cv_path_EGREP"; then
4464 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4467 ac_cv_path_EGREP=$EGREP
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4473 $as_echo "$ac_cv_path_EGREP" >&6; }
4474 EGREP="$ac_cv_path_EGREP"
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4478 $as_echo_n "checking for fgrep... " >&6; }
4479 if ${ac_cv_path_FGREP+:} false; then :
4480 $as_echo_n "(cached) " >&6
4482 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4483 then ac_cv_path_FGREP="$GREP -F"
4485 if test -z "$FGREP"; then
4486 ac_path_FGREP_found=false
4487 # Loop through the user's path and test for each of PROGNAME-LIST
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4492 test -z "$as_dir" && as_dir=.
4493 for ac_prog in fgrep; do
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4496 as_fn_executable_p "$ac_path_FGREP" || continue
4497 # Check for GNU ac_path_FGREP and select it if it is found.
4498 # Check for GNU $ac_path_FGREP
4499 case `"$ac_path_FGREP" --version 2>&1` in
4501 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4504 $as_echo_n 0123456789 >"conftest.in"
4507 cat "conftest.in" "conftest.in" >"conftest.tmp"
4508 mv "conftest.tmp" "conftest.in"
4509 cp "conftest.in" "conftest.nl"
4510 $as_echo 'FGREP' >> "conftest.nl"
4511 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4513 as_fn_arith $ac_count + 1 && ac_count=$as_val
4514 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4515 # Best one so far, save it but keep looking for a better one
4516 ac_cv_path_FGREP="$ac_path_FGREP"
4517 ac_path_FGREP_max=$ac_count
4519 # 10*(2^10) chars as input seems more than enough
4520 test $ac_count -gt 10 && break
4522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4525 $ac_path_FGREP_found && break 3
4530 if test -z "$ac_cv_path_FGREP"; then
4531 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4534 ac_cv_path_FGREP=$FGREP
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4540 $as_echo "$ac_cv_path_FGREP" >&6; }
4541 FGREP="$ac_cv_path_FGREP"
4544 test -z "$GREP" && GREP=grep
4564 # Check whether --with-gnu-ld was given.
4565 if test "${with_gnu_ld+set}" = set; then :
4566 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4572 if test "$GCC" = yes; then
4573 # Check if gcc -print-prog-name=ld gives a path.
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4575 $as_echo_n "checking for ld used by $CC... " >&6; }
4578 # gcc leaves a trailing carriage return which upsets mingw
4579 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4581 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4584 # Accept absolute paths.
4586 re_direlt='/[^/][^/]*/\.\./'
4587 # Canonicalize the pathname of ld
4588 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4589 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4590 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4592 test -z "$LD" && LD="$ac_prog"
4595 # If it fails, then pretend we aren't using GCC.
4599 # If it is relative, then search for the first ld in PATH.
4603 elif test "$with_gnu_ld" = yes; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4605 $as_echo_n "checking for GNU ld... " >&6; }
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4608 $as_echo_n "checking for non-GNU ld... " >&6; }
4610 if ${lt_cv_path_LD+:} false; then :
4611 $as_echo_n "(cached) " >&6
4613 if test -z "$LD"; then
4614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4615 for ac_dir in $PATH; do
4617 test -z "$ac_dir" && ac_dir=.
4618 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4619 lt_cv_path_LD="$ac_dir/$ac_prog"
4620 # Check to see if the program is GNU ld. I'd rather use --version,
4621 # but apparently some variants of GNU ld only accept -v.
4622 # Break only if it was the GNU/non-GNU ld that we prefer.
4623 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4624 *GNU* | *'with BFD'*)
4625 test "$with_gnu_ld" != no && break
4628 test "$with_gnu_ld" != yes && break
4635 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4640 if test -n "$LD"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4642 $as_echo "$LD" >&6; }
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4647 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4649 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4650 if ${lt_cv_prog_gnu_ld+:} false; then :
4651 $as_echo_n "(cached) " >&6
4653 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4654 case `$LD -v 2>&1 </dev/null` in
4655 *GNU* | *'with BFD'*)
4656 lt_cv_prog_gnu_ld=yes
4659 lt_cv_prog_gnu_ld=no
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4664 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4665 with_gnu_ld=$lt_cv_prog_gnu_ld
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4676 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4677 if ${lt_cv_path_NM+:} false; then :
4678 $as_echo_n "(cached) " >&6
4680 if test -n "$NM"; then
4681 # Let the user override the test.
4684 lt_nm_to_check="${ac_tool_prefix}nm"
4685 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4686 lt_nm_to_check="$lt_nm_to_check nm"
4688 for lt_tmp_nm in $lt_nm_to_check; do
4689 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4690 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4692 test -z "$ac_dir" && ac_dir=.
4693 tmp_nm="$ac_dir/$lt_tmp_nm"
4694 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4695 # Check to see if the nm accepts a BSD-compat flag.
4696 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4697 # nm: unknown option "B" ignored
4698 # Tru64's nm complains that /dev/null is an invalid object file
4699 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4700 */dev/null* | *'Invalid file or object type'*)
4701 lt_cv_path_NM="$tmp_nm -B"
4705 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4707 lt_cv_path_NM="$tmp_nm -p"
4711 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4712 continue # so that we can try to find one that supports BSD flags
4721 : ${lt_cv_path_NM=no}
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4725 $as_echo "$lt_cv_path_NM" >&6; }
4726 if test "$lt_cv_path_NM" != "no"; then
4729 # Didn't find any BSD compatible name lister, look for dumpbin.
4730 if test -n "$DUMPBIN"; then :
4731 # Let the user override the test.
4733 if test -n "$ac_tool_prefix"; then
4734 for ac_prog in dumpbin "link -dump"
4736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if ${ac_cv_prog_DUMPBIN+:} false; then :
4741 $as_echo_n "(cached) " >&6
4743 if test -n "$DUMPBIN"; then
4744 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4753 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 DUMPBIN=$ac_cv_prog_DUMPBIN
4764 if test -n "$DUMPBIN"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4766 $as_echo "$DUMPBIN" >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4773 test -n "$DUMPBIN" && break
4776 if test -z "$DUMPBIN"; then
4777 ac_ct_DUMPBIN=$DUMPBIN
4778 for ac_prog in dumpbin "link -dump"
4780 # Extract the first word of "$ac_prog", so it can be a program name with args.
4781 set dummy $ac_prog; ac_word=$2
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 $as_echo_n "checking for $ac_word... " >&6; }
4784 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4785 $as_echo_n "(cached) " >&6
4787 if test -n "$ac_ct_DUMPBIN"; then
4788 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4794 test -z "$as_dir" && as_dir=.
4795 for ac_exec_ext in '' $ac_executable_extensions; do
4796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4797 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4808 if test -n "$ac_ct_DUMPBIN"; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4810 $as_echo "$ac_ct_DUMPBIN" >&6; }
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4817 test -n "$ac_ct_DUMPBIN" && break
4820 if test "x$ac_ct_DUMPBIN" = x; then
4823 case $cross_compiling:$ac_tool_warned in
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4827 ac_tool_warned=yes ;;
4829 DUMPBIN=$ac_ct_DUMPBIN
4833 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4835 DUMPBIN="$DUMPBIN -symbols"
4843 if test "$DUMPBIN" != ":"; then
4847 test -z "$NM" && NM=nm
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4855 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4856 if ${lt_cv_nm_interface+:} false; then :
4857 $as_echo_n "(cached) " >&6
4859 lt_cv_nm_interface="BSD nm"
4860 echo "int some_variable = 0;" > conftest.$ac_ext
4861 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4862 (eval "$ac_compile" 2>conftest.err)
4863 cat conftest.err >&5
4864 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4865 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4866 cat conftest.err >&5
4867 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4868 cat conftest.out >&5
4869 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4870 lt_cv_nm_interface="MS dumpbin"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4875 $as_echo "$lt_cv_nm_interface" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4878 $as_echo_n "checking whether ln -s works... " >&6; }
4880 if test "$LN_S" = "ln -s"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4885 $as_echo "no, using $LN_S" >&6; }
4888 # find the maximum length of command line arguments
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4890 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4891 if ${lt_cv_sys_max_cmd_len+:} false; then :
4892 $as_echo_n "(cached) " >&6
4899 # On DJGPP, this test can blow up pretty badly due to problems in libc
4900 # (any single argument exceeding 2000 bytes causes a buffer overrun
4901 # during glob expansion). Even if it were fixed, the result of this
4902 # check would be larger than it should be.
4903 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4907 # Under GNU Hurd, this test is not required because there is
4908 # no limit to the length of command line arguments.
4909 # Libtool will interpret -1 as no limit whatsoever
4910 lt_cv_sys_max_cmd_len=-1;
4913 cygwin* | mingw* | cegcc*)
4914 # On Win9x/ME, this test blows up -- it succeeds, but takes
4915 # about 5 minutes as the teststring grows exponentially.
4916 # Worse, since 9x/ME are not pre-emptively multitasking,
4917 # you end up with a "frozen" computer, even though with patience
4918 # the test eventually succeeds (with a max line length of 256k).
4919 # Instead, let's just punt: use the minimum linelength reported by
4920 # all of the supported platforms: 8192 (on NT/2K/XP).
4921 lt_cv_sys_max_cmd_len=8192;
4925 # On MiNT this can take a long time and run out of memory.
4926 lt_cv_sys_max_cmd_len=8192;
4930 # On AmigaOS with pdksh, this test takes hours, literally.
4931 # So we just punt and use a minimum line length of 8192.
4932 lt_cv_sys_max_cmd_len=8192;
4935 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4936 # This has been around since 386BSD, at least. Likely further.
4937 if test -x /sbin/sysctl; then
4938 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4939 elif test -x /usr/sbin/sysctl; then
4940 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4942 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4944 # And add a safety zone
4945 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4950 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4951 lt_cv_sys_max_cmd_len=196608
4955 # The test takes a long time on OS/2.
4956 lt_cv_sys_max_cmd_len=8192
4960 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4961 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4962 # nice to cause kernel panics so lets avoid the loop below.
4963 # First set a reasonable default.
4964 lt_cv_sys_max_cmd_len=16384
4966 if test -x /sbin/sysconfig; then
4967 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4968 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4973 lt_cv_sys_max_cmd_len=102400
4975 sysv5* | sco5v6* | sysv4.2uw2*)
4976 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4977 if test -n "$kargmax"; then
4978 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4980 lt_cv_sys_max_cmd_len=32768
4984 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4985 if test -n "$lt_cv_sys_max_cmd_len" && \
4986 test undefined != "$lt_cv_sys_max_cmd_len"; then
4987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4988 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4990 # Make teststring a little bigger before we do anything with it.
4991 # a 1K string should be a reasonable start.
4992 for i in 1 2 3 4 5 6 7 8 ; do
4993 teststring=$teststring$teststring
4995 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4996 # If test is not a shell built-in, we'll probably end up computing a
4997 # maximum length that is only half of the actual maximum length, but
4999 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5000 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5001 test $i != 17 # 1/2 MB should be enough
5004 teststring=$teststring$teststring
5006 # Only check the string length outside the loop.
5007 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5009 # Add a significant safety factor because C++ compilers can tack on
5010 # massive amounts of additional arguments before passing them to the
5011 # linker. It appears as though 1/2 is a usable value.
5012 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5019 if test -n $lt_cv_sys_max_cmd_len ; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5021 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5024 $as_echo "none" >&6; }
5026 max_cmd_len=$lt_cv_sys_max_cmd_len
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5038 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5039 # Try some XSI features
5042 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5044 && eval 'test $(( 1 + 1 )) -eq 2 \
5045 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5048 $as_echo "$xsi_shell" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5052 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5054 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5056 && lt_shell_append=yes
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5058 $as_echo "$lt_shell_append" >&6; }
5061 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5071 # test EBCDIC or ASCII
5072 case `echo X|tr X '\101'` in
5073 A) # ASCII based system
5074 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5075 lt_SP2NL='tr \040 \012'
5076 lt_NL2SP='tr \015\012 \040\040'
5078 *) # EBCDIC based system
5079 lt_SP2NL='tr \100 \n'
5080 lt_NL2SP='tr \r\n \100\100'
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5093 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5094 if ${lt_cv_to_host_file_cmd+:} false; then :
5095 $as_echo_n "(cached) " >&6
5100 *-*-mingw* ) # actually msys
5101 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5104 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5106 * ) # otherwise, assume *nix
5107 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5113 *-*-mingw* ) # actually msys
5114 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5117 lt_cv_to_host_file_cmd=func_convert_file_noop
5119 * ) # otherwise, assume *nix
5120 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5124 * ) # unhandled hosts (and "normal" native builds)
5125 lt_cv_to_host_file_cmd=func_convert_file_noop
5131 to_host_file_cmd=$lt_cv_to_host_file_cmd
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5133 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5140 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5141 if ${lt_cv_to_tool_file_cmd+:} false; then :
5142 $as_echo_n "(cached) " >&6
5144 #assume ordinary cross tools, or native build.
5145 lt_cv_to_tool_file_cmd=func_convert_file_noop
5149 *-*-mingw* ) # actually msys
5150 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5158 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5160 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5167 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5168 if ${lt_cv_ld_reload_flag+:} false; then :
5169 $as_echo_n "(cached) " >&6
5171 lt_cv_ld_reload_flag='-r'
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5174 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5175 reload_flag=$lt_cv_ld_reload_flag
5176 case $reload_flag in
5178 *) reload_flag=" $reload_flag" ;;
5180 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5182 cygwin* | mingw* | pw32* | cegcc*)
5183 if test "$GCC" != yes; then
5188 if test "$GCC" = yes; then
5189 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5191 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5204 if test -n "$ac_tool_prefix"; then
5205 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5206 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_OBJDUMP+:} false; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$OBJDUMP"; then
5213 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 OBJDUMP=$ac_cv_prog_OBJDUMP
5233 if test -n "$OBJDUMP"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5235 $as_echo "$OBJDUMP" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5243 if test -z "$ac_cv_prog_OBJDUMP"; then
5244 ac_ct_OBJDUMP=$OBJDUMP
5245 # Extract the first word of "objdump", so it can be a program name with args.
5246 set dummy objdump; ac_word=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$ac_ct_OBJDUMP"; then
5253 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5273 if test -n "$ac_ct_OBJDUMP"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5275 $as_echo "$ac_ct_OBJDUMP" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5281 if test "x$ac_ct_OBJDUMP" = x; then
5284 case $cross_compiling:$ac_tool_warned in
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288 ac_tool_warned=yes ;;
5290 OBJDUMP=$ac_ct_OBJDUMP
5293 OBJDUMP="$ac_cv_prog_OBJDUMP"
5296 test -z "$OBJDUMP" && OBJDUMP=objdump
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5304 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5305 if ${lt_cv_deplibs_check_method+:} false; then :
5306 $as_echo_n "(cached) " >&6
5308 lt_cv_file_magic_cmd='$MAGIC_CMD'
5309 lt_cv_file_magic_test_file=
5310 lt_cv_deplibs_check_method='unknown'
5311 # Need to set the preceding variable on all platforms that support
5312 # interlibrary dependencies.
5313 # 'none' -- dependencies not supported.
5314 # `unknown' -- same as none, but documents that we really don't know.
5315 # 'pass_all' -- all dependencies passed with no checks.
5316 # 'test_compile' -- check by making test program.
5317 # 'file_magic [[regex]]' -- check by looking for files in library path
5318 # which responds to the $file_magic_cmd with a given extended regex.
5319 # If you have `file' or equivalent on your system and you're not sure
5320 # whether `pass_all' will *always* work, you probably want this one.
5324 lt_cv_deplibs_check_method=pass_all
5328 lt_cv_deplibs_check_method=pass_all
5332 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5333 lt_cv_file_magic_cmd='/usr/bin/file -L'
5334 lt_cv_file_magic_test_file=/shlib/libc.so
5338 # func_win32_libid is a shell function defined in ltmain.sh
5339 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5340 lt_cv_file_magic_cmd='func_win32_libid'
5344 # Base MSYS/MinGW do not provide the 'file' command needed by
5345 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5346 # unless we find 'file', for example because we are cross-compiling.
5347 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5348 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5349 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5350 lt_cv_file_magic_cmd='func_win32_libid'
5352 # Keep this pattern in sync with the one in func_win32_libid.
5353 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5354 lt_cv_file_magic_cmd='$OBJDUMP -f'
5359 # use the weaker test based on 'objdump'. See mingw*.
5360 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5361 lt_cv_file_magic_cmd='$OBJDUMP -f'
5364 darwin* | rhapsody*)
5365 lt_cv_deplibs_check_method=pass_all
5368 freebsd* | dragonfly*)
5369 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5372 # Not sure whether the presence of OpenBSD here was a mistake.
5373 # Let's accept both of them until this is cleared up.
5374 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5375 lt_cv_file_magic_cmd=/usr/bin/file
5376 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5380 lt_cv_deplibs_check_method=pass_all
5385 lt_cv_deplibs_check_method=pass_all
5388 hpux10.20* | hpux11*)
5389 lt_cv_file_magic_cmd=/usr/bin/file
5392 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5393 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5396 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]'
5397 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5400 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5401 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5407 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5408 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5411 irix5* | irix6* | nonstopux*)
5413 *-32|*"-32 ") libmagic=32-bit;;
5414 *-n32|*"-n32 ") libmagic=N32;;
5415 *-64|*"-64 ") libmagic=64-bit;;
5416 *) libmagic=never-match;;
5418 lt_cv_deplibs_check_method=pass_all
5421 # This must be glibc/ELF.
5422 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5423 lt_cv_deplibs_check_method=pass_all
5426 netbsd* | netbsdelf*-gnu)
5427 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5428 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5435 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5436 lt_cv_file_magic_cmd=/usr/bin/file
5437 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5441 lt_cv_deplibs_check_method=pass_all
5445 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5448 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5452 osf3* | osf4* | osf5*)
5453 lt_cv_deplibs_check_method=pass_all
5457 lt_cv_deplibs_check_method=pass_all
5461 lt_cv_deplibs_check_method=pass_all
5464 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5465 lt_cv_deplibs_check_method=pass_all
5469 case $host_vendor in
5471 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]'
5472 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5475 lt_cv_deplibs_check_method=pass_all
5478 lt_cv_file_magic_cmd='/bin/file'
5479 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5482 lt_cv_file_magic_cmd='/bin/file'
5483 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5484 lt_cv_file_magic_test_file=/lib/libc.so
5487 lt_cv_deplibs_check_method=pass_all
5490 lt_cv_deplibs_check_method=pass_all
5496 lt_cv_deplibs_check_method=pass_all
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5502 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5506 if test "$build" = "$host"; then
5509 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5512 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5518 file_magic_cmd=$lt_cv_file_magic_cmd
5519 deplibs_check_method=$lt_cv_deplibs_check_method
5520 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5543 if test -n "$ac_tool_prefix"; then
5544 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5545 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_DLLTOOL+:} false; then :
5549 $as_echo_n "(cached) " >&6
5551 if test -n "$DLLTOOL"; then
5552 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 DLLTOOL=$ac_cv_prog_DLLTOOL
5572 if test -n "$DLLTOOL"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5574 $as_echo "$DLLTOOL" >&6; }
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5582 if test -z "$ac_cv_prog_DLLTOOL"; then
5583 ac_ct_DLLTOOL=$DLLTOOL
5584 # Extract the first word of "dlltool", so it can be a program name with args.
5585 set dummy dlltool; ac_word=$2
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5587 $as_echo_n "checking for $ac_word... " >&6; }
5588 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5589 $as_echo_n "(cached) " >&6
5591 if test -n "$ac_ct_DLLTOOL"; then
5592 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5601 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5612 if test -n "$ac_ct_DLLTOOL"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5614 $as_echo "$ac_ct_DLLTOOL" >&6; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5620 if test "x$ac_ct_DLLTOOL" = x; then
5623 case $cross_compiling:$ac_tool_warned in
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5627 ac_tool_warned=yes ;;
5629 DLLTOOL=$ac_ct_DLLTOOL
5632 DLLTOOL="$ac_cv_prog_DLLTOOL"
5635 test -z "$DLLTOOL" && DLLTOOL=dlltool
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5644 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5645 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5646 $as_echo_n "(cached) " >&6
5648 lt_cv_sharedlib_from_linklib_cmd='unknown'
5651 cygwin* | mingw* | pw32* | cegcc*)
5652 # two different shell functions defined in ltmain.sh
5653 # decide which to use based on capabilities of $DLLTOOL
5654 case `$DLLTOOL --help 2>&1` in
5655 *--identify-strict*)
5656 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5659 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5664 # fallback: assume linklib IS sharedlib
5665 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5671 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5672 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5673 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5682 if test -n "$ac_tool_prefix"; then
5685 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5686 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_AR+:} false; then :
5690 $as_echo_n "(cached) " >&6
5692 if test -n "$AR"; then
5693 ac_cv_prog_AR="$AR" # Let the user override the test.
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 if test -n "$AR"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5715 $as_echo "$AR" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5722 test -n "$AR" && break
5725 if test -z "$AR"; then
5729 # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5734 $as_echo_n "(cached) " >&6
5736 if test -n "$ac_ct_AR"; then
5737 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_ac_ct_AR="$ac_prog"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5757 if test -n "$ac_ct_AR"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5759 $as_echo "$ac_ct_AR" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 test -n "$ac_ct_AR" && break
5769 if test "x$ac_ct_AR" = x; then
5772 case $cross_compiling:$ac_tool_warned in
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5776 ac_tool_warned=yes ;;
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5796 $as_echo_n "checking for archiver @FILE support... " >&6; }
5797 if ${lt_cv_ar_at_file+:} false; then :
5798 $as_echo_n "(cached) " >&6
5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5812 if ac_fn_c_try_compile "$LINENO"; then :
5813 echo conftest.$ac_objext > conftest.lst
5814 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5815 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5816 (eval $lt_ar_try) 2>&5
5818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5819 test $ac_status = 0; }
5820 if test "$ac_status" -eq 0; then
5821 # Ensure the archiver fails upon bogus file names.
5822 rm -f conftest.$ac_objext libconftest.a
5823 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5824 (eval $lt_ar_try) 2>&5
5826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5827 test $ac_status = 0; }
5828 if test "$ac_status" -ne 0; then
5832 rm -f conftest.* libconftest.a
5835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5839 $as_echo "$lt_cv_ar_at_file" >&6; }
5841 if test "x$lt_cv_ar_at_file" = xno; then
5844 archiver_list_spec=$lt_cv_ar_at_file
5853 if test -n "$ac_tool_prefix"; then
5854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5855 set dummy ${ac_tool_prefix}strip; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_STRIP+:} false; then :
5859 $as_echo_n "(cached) " >&6
5861 if test -n "$STRIP"; then
5862 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 STRIP=$ac_cv_prog_STRIP
5882 if test -n "$STRIP"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5884 $as_echo "$STRIP" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5892 if test -z "$ac_cv_prog_STRIP"; then
5894 # Extract the first word of "strip", so it can be a program name with args.
5895 set dummy strip; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5899 $as_echo_n "(cached) " >&6
5901 if test -n "$ac_ct_STRIP"; then
5902 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5911 ac_cv_prog_ac_ct_STRIP="strip"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5922 if test -n "$ac_ct_STRIP"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5924 $as_echo "$ac_ct_STRIP" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5930 if test "x$ac_ct_STRIP" = x; then
5933 case $cross_compiling:$ac_tool_warned in
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5937 ac_tool_warned=yes ;;
5942 STRIP="$ac_cv_prog_STRIP"
5945 test -z "$STRIP" && STRIP=:
5952 if test -n "$ac_tool_prefix"; then
5953 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5954 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_RANLIB+:} false; then :
5958 $as_echo_n "(cached) " >&6
5960 if test -n "$RANLIB"; then
5961 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 RANLIB=$ac_cv_prog_RANLIB
5981 if test -n "$RANLIB"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5983 $as_echo "$RANLIB" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5991 if test -z "$ac_cv_prog_RANLIB"; then
5992 ac_ct_RANLIB=$RANLIB
5993 # Extract the first word of "ranlib", so it can be a program name with args.
5994 set dummy ranlib; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -n "$ac_ct_RANLIB"; then
6001 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ac_ct_RANLIB="ranlib"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6021 if test -n "$ac_ct_RANLIB"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6023 $as_echo "$ac_ct_RANLIB" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6029 if test "x$ac_ct_RANLIB" = x; then
6032 case $cross_compiling:$ac_tool_warned in
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6036 ac_tool_warned=yes ;;
6038 RANLIB=$ac_ct_RANLIB
6041 RANLIB="$ac_cv_prog_RANLIB"
6044 test -z "$RANLIB" && RANLIB=:
6051 # Determine commands to create old-style static archives.
6052 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6053 old_postinstall_cmds='chmod 644 $oldlib'
6054 old_postuninstall_cmds=
6056 if test -n "$RANLIB"; then
6059 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6062 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6065 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6070 lock_old_archive_extraction=yes ;;
6072 lock_old_archive_extraction=no ;;
6113 # If no C compiler was specified, use CC.
6116 # If no C compiler flags were specified, use CFLAGS.
6117 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6119 # Allow CC to be a program name with arguments.
6123 # Check for command to grab the raw symbol name followed by C symbol from nm.
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6125 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6126 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6127 $as_echo_n "(cached) " >&6
6130 # These are sane defaults that work on at least a few old systems.
6131 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6133 # Character class describing NM global symbol codes.
6134 symcode='[BCDEGRST]'
6136 # Regexp to match symbols that can be accessed directly from C.
6137 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6139 # Define system-specific variables.
6144 cygwin* | mingw* | pw32* | cegcc*)
6145 symcode='[ABCDGISTW]'
6148 if test "$host_cpu" = ia64; then
6149 symcode='[ABCDEGRST]'
6153 symcode='[BCDEGRST]'
6156 symcode='[BCDEGQRST]'
6167 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6175 # If we're using GNU nm, then use its standard symbol codes.
6176 case `$NM -V 2>&1` in
6177 *GNU* | *'with BFD'*)
6178 symcode='[ABCDGIRSTW]' ;;
6181 # Transform an extracted symbol line into a proper C declaration.
6182 # Some systems (esp. on ia64) link data and code symbols differently,
6183 # so use this general approach.
6184 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6186 # Transform an extracted symbol line into symbol name and symbol address
6187 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6188 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6190 # Handle CRLF in mingw tool chain
6194 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6198 # Try without a prefix underscore, then with it.
6199 for ac_symprfx in "" "_"; do
6201 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6202 symxfrm="\\1 $ac_symprfx\\2 \\2"
6204 # Write the raw and C identifiers.
6205 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6206 # Fake it for dumpbin and say T for any non-static function
6207 # and D for any global variable.
6208 # Also find C++ and __fastcall symbols from MSVC++,
6209 # which start with @ or ?.
6210 lt_cv_sys_global_symbol_pipe="$AWK '"\
6211 " {last_section=section; section=\$ 3};"\
6212 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6213 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6214 " \$ 0!~/External *\|/{next};"\
6215 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6216 " {if(hide[section]) next};"\
6217 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6218 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6219 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6220 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6221 " ' prfx=^$ac_symprfx"
6223 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6225 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6227 # Check to see that the pipe works correctly.
6231 cat > conftest.$ac_ext <<_LT_EOF
6236 void nm_test_func(void);
6237 void nm_test_func(void){}
6241 int main(){nm_test_var='a';nm_test_func();return(0);}
6244 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6245 (eval $ac_compile) 2>&5
6247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6248 test $ac_status = 0; }; then
6249 # Now try to grab the symbols.
6251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6252 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6255 test $ac_status = 0; } && test -s "$nlist"; then
6256 # Try sorting and uniquifying the output.
6257 if sort "$nlist" | uniq > "$nlist"T; then
6258 mv -f "$nlist"T "$nlist"
6263 # Make sure that we snagged all the symbols we need.
6264 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6265 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6266 cat <<_LT_EOF > conftest.$ac_ext
6267 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6268 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6269 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6270 relocations are performed -- see ld's documentation on pseudo-relocs. */
6271 # define LT_DLSYM_CONST
6272 #elif defined(__osf__)
6273 /* This system does not cope well with relocations in const data. */
6274 # define LT_DLSYM_CONST
6276 # define LT_DLSYM_CONST const
6284 # Now generate the symbol file.
6285 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6287 cat <<_LT_EOF >> conftest.$ac_ext
6289 /* The mapping between symbol names and symbols. */
6290 LT_DLSYM_CONST struct {
6294 lt__PROGRAM__LTX_preloaded_symbols[] =
6296 { "@PROGRAM@", (void *) 0 },
6298 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6299 cat <<\_LT_EOF >> conftest.$ac_ext
6303 /* This works around a problem in FreeBSD linker */
6304 #ifdef FREEBSD_WORKAROUND
6305 static const void *lt_preloaded_setup() {
6306 return lt__PROGRAM__LTX_preloaded_symbols;
6314 # Now try linking the two files.
6315 mv conftest.$ac_objext conftstm.$ac_objext
6316 lt_globsym_save_LIBS=$LIBS
6317 lt_globsym_save_CFLAGS=$CFLAGS
6318 LIBS="conftstm.$ac_objext"
6319 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6321 (eval $ac_link) 2>&5
6323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6324 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6327 LIBS=$lt_globsym_save_LIBS
6328 CFLAGS=$lt_globsym_save_CFLAGS
6330 echo "cannot find nm_test_func in $nlist" >&5
6333 echo "cannot find nm_test_var in $nlist" >&5
6336 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6339 echo "$progname: failed program was:" >&5
6340 cat conftest.$ac_ext >&5
6342 rm -rf conftest* conftst*
6344 # Do not use the global_symbol_pipe unless it works.
6345 if test "$pipe_works" = yes; then
6348 lt_cv_sys_global_symbol_pipe=
6354 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6355 lt_cv_sys_global_symbol_to_cdecl=
6357 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6359 $as_echo "failed" >&6; }
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6362 $as_echo "ok" >&6; }
6365 # Response file support.
6366 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6367 nm_file_list_spec='@'
6368 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6369 nm_file_list_spec='@'
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6399 $as_echo_n "checking for sysroot... " >&6; }
6401 # Check whether --with-sysroot was given.
6402 if test "${with_sysroot+set}" = set; then :
6403 withval=$with_sysroot;
6410 case ${with_sysroot} in #(
6412 if test "$GCC" = yes; then
6413 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6417 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6423 $as_echo "${with_sysroot}" >&6; }
6424 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6429 $as_echo "${lt_sysroot:-no}" >&6; }
6435 # Check whether --enable-libtool-lock was given.
6436 if test "${enable_libtool_lock+set}" = set; then :
6437 enableval=$enable_libtool_lock;
6440 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6442 # Some flags need to be propagated to the compiler or linker for good
6446 # Find out which ABI we are using.
6447 echo 'int i;' > conftest.$ac_ext
6448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6449 (eval $ac_compile) 2>&5
6451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452 test $ac_status = 0; }; then
6453 case `/usr/bin/file conftest.$ac_objext` in
6465 # Find out which ABI we are using.
6466 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6467 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6468 (eval $ac_compile) 2>&5
6470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6471 test $ac_status = 0; }; then
6472 if test "$lt_cv_prog_gnu_ld" = yes; then
6473 case `/usr/bin/file conftest.$ac_objext` in
6475 LD="${LD-ld} -melf32bsmip"
6478 LD="${LD-ld} -melf32bmipn32"
6481 LD="${LD-ld} -melf64bmip"
6485 case `/usr/bin/file conftest.$ac_objext` in
6501 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6502 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6503 # Find out which ABI we are using.
6504 echo 'int i;' > conftest.$ac_ext
6505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6506 (eval $ac_compile) 2>&5
6508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6509 test $ac_status = 0; }; then
6510 case `/usr/bin/file conftest.o` in
6513 x86_64-*kfreebsd*-gnu)
6514 LD="${LD-ld} -m elf_i386_fbsd"
6517 case `/usr/bin/file conftest.o` in
6519 LD="${LD-ld} -m elf32_x86_64"
6522 LD="${LD-ld} -m elf_i386"
6527 LD="${LD-ld} -m elf32lppclinux"
6530 LD="${LD-ld} -m elf32ppclinux"
6533 LD="${LD-ld} -m elf_s390"
6536 LD="${LD-ld} -m elf32_sparc"
6542 x86_64-*kfreebsd*-gnu)
6543 LD="${LD-ld} -m elf_x86_64_fbsd"
6546 LD="${LD-ld} -m elf_x86_64"
6549 LD="${LD-ld} -m elf64lppc"
6552 LD="${LD-ld} -m elf64ppc"
6554 s390*-*linux*|s390*-*tpf*)
6555 LD="${LD-ld} -m elf64_s390"
6558 LD="${LD-ld} -m elf64_sparc"
6568 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6569 SAVE_CFLAGS="$CFLAGS"
6570 CFLAGS="$CFLAGS -belf"
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6572 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6573 if ${lt_cv_cc_needs_belf+:} false; then :
6574 $as_echo_n "(cached) " >&6
6577 ac_cpp='$CPP $CPPFLAGS'
6578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6593 if ac_fn_c_try_link "$LINENO"; then :
6594 lt_cv_cc_needs_belf=yes
6596 lt_cv_cc_needs_belf=no
6598 rm -f core conftest.err conftest.$ac_objext \
6599 conftest$ac_exeext conftest.$ac_ext
6601 ac_cpp='$CPP $CPPFLAGS'
6602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6608 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6609 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6610 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6611 CFLAGS="$SAVE_CFLAGS"
6615 # Find out which ABI we are using.
6616 echo 'int i;' > conftest.$ac_ext
6617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6618 (eval $ac_compile) 2>&5
6620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6621 test $ac_status = 0; }; then
6622 case `/usr/bin/file conftest.o` in
6624 case $lt_cv_prog_gnu_ld in
6628 LD="${LD-ld} -m elf_x86_64"
6631 LD="${LD-ld} -m elf64_sparc"
6634 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6635 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6640 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6652 need_locks="$enable_libtool_lock"
6654 if test -n "$ac_tool_prefix"; then
6655 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6656 set dummy ${ac_tool_prefix}mt; ac_word=$2
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 $as_echo_n "checking for $ac_word... " >&6; }
6659 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6660 $as_echo_n "(cached) " >&6
6662 if test -n "$MANIFEST_TOOL"; then
6663 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 test -z "$as_dir" && as_dir=.
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6682 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6683 if test -n "$MANIFEST_TOOL"; then
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6685 $as_echo "$MANIFEST_TOOL" >&6; }
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 $as_echo "no" >&6; }
6693 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6694 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6695 # Extract the first word of "mt", so it can be a program name with args.
6696 set dummy mt; ac_word=$2
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 $as_echo_n "checking for $ac_word... " >&6; }
6699 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6700 $as_echo_n "(cached) " >&6
6702 if test -n "$ac_ct_MANIFEST_TOOL"; then
6703 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709 test -z "$as_dir" && as_dir=.
6710 for ac_exec_ext in '' $ac_executable_extensions; do
6711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6712 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6723 if test -n "$ac_ct_MANIFEST_TOOL"; then
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6725 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 $as_echo "no" >&6; }
6731 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6734 case $cross_compiling:$ac_tool_warned in
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6738 ac_tool_warned=yes ;;
6740 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6743 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6746 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6748 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6749 if ${lt_cv_path_mainfest_tool+:} false; then :
6750 $as_echo_n "(cached) " >&6
6752 lt_cv_path_mainfest_tool=no
6753 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6754 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6755 cat conftest.err >&5
6756 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6757 lt_cv_path_mainfest_tool=yes
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6762 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6763 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6773 rhapsody* | darwin*)
6774 if test -n "$ac_tool_prefix"; then
6775 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6776 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6780 $as_echo_n "(cached) " >&6
6782 if test -n "$DSYMUTIL"; then
6783 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6792 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6803 if test -n "$DSYMUTIL"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6805 $as_echo "$DSYMUTIL" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6813 if test -z "$ac_cv_prog_DSYMUTIL"; then
6814 ac_ct_DSYMUTIL=$DSYMUTIL
6815 # Extract the first word of "dsymutil", so it can be a program name with args.
6816 set dummy dsymutil; ac_word=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6820 $as_echo_n "(cached) " >&6
6822 if test -n "$ac_ct_DSYMUTIL"; then
6823 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829 test -z "$as_dir" && as_dir=.
6830 for ac_exec_ext in '' $ac_executable_extensions; do
6831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6832 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6842 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6843 if test -n "$ac_ct_DSYMUTIL"; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6845 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6851 if test "x$ac_ct_DSYMUTIL" = x; then
6854 case $cross_compiling:$ac_tool_warned in
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6858 ac_tool_warned=yes ;;
6860 DSYMUTIL=$ac_ct_DSYMUTIL
6863 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6866 if test -n "$ac_tool_prefix"; then
6867 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6868 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 $as_echo_n "checking for $ac_word... " >&6; }
6871 if ${ac_cv_prog_NMEDIT+:} false; then :
6872 $as_echo_n "(cached) " >&6
6874 if test -n "$NMEDIT"; then
6875 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 test -z "$as_dir" && as_dir=.
6882 for ac_exec_ext in '' $ac_executable_extensions; do
6883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6884 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894 NMEDIT=$ac_cv_prog_NMEDIT
6895 if test -n "$NMEDIT"; then
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6897 $as_echo "$NMEDIT" >&6; }
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 $as_echo "no" >&6; }
6905 if test -z "$ac_cv_prog_NMEDIT"; then
6906 ac_ct_NMEDIT=$NMEDIT
6907 # Extract the first word of "nmedit", so it can be a program name with args.
6908 set dummy nmedit; ac_word=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6912 $as_echo_n "(cached) " >&6
6914 if test -n "$ac_ct_NMEDIT"; then
6915 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921 test -z "$as_dir" && as_dir=.
6922 for ac_exec_ext in '' $ac_executable_extensions; do
6923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6924 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6935 if test -n "$ac_ct_NMEDIT"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6937 $as_echo "$ac_ct_NMEDIT" >&6; }
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6943 if test "x$ac_ct_NMEDIT" = x; then
6946 case $cross_compiling:$ac_tool_warned in
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6950 ac_tool_warned=yes ;;
6952 NMEDIT=$ac_ct_NMEDIT
6955 NMEDIT="$ac_cv_prog_NMEDIT"
6958 if test -n "$ac_tool_prefix"; then
6959 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_LIPO+:} false; then :
6964 $as_echo_n "(cached) " >&6
6966 if test -n "$LIPO"; then
6967 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 LIPO=$ac_cv_prog_LIPO
6987 if test -n "$LIPO"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6989 $as_echo "$LIPO" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6997 if test -z "$ac_cv_prog_LIPO"; then
6999 # Extract the first word of "lipo", so it can be a program name with args.
7000 set dummy lipo; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$ac_ct_LIPO"; then
7007 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_ac_ct_LIPO="lipo"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7027 if test -n "$ac_ct_LIPO"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7029 $as_echo "$ac_ct_LIPO" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7035 if test "x$ac_ct_LIPO" = x; then
7038 case $cross_compiling:$ac_tool_warned in
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7047 LIPO="$ac_cv_prog_LIPO"
7050 if test -n "$ac_tool_prefix"; then
7051 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7052 set dummy ${ac_tool_prefix}otool; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if ${ac_cv_prog_OTOOL+:} false; then :
7056 $as_echo_n "(cached) " >&6
7058 if test -n "$OTOOL"; then
7059 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 test -z "$as_dir" && as_dir=.
7066 for ac_exec_ext in '' $ac_executable_extensions; do
7067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 OTOOL=$ac_cv_prog_OTOOL
7079 if test -n "$OTOOL"; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7081 $as_echo "$OTOOL" >&6; }
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7089 if test -z "$ac_cv_prog_OTOOL"; then
7091 # Extract the first word of "otool", so it can be a program name with args.
7092 set dummy otool; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7096 $as_echo_n "(cached) " >&6
7098 if test -n "$ac_ct_OTOOL"; then
7099 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir=.
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_ac_ct_OTOOL="otool"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7119 if test -n "$ac_ct_OTOOL"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7121 $as_echo "$ac_ct_OTOOL" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7127 if test "x$ac_ct_OTOOL" = x; then
7130 case $cross_compiling:$ac_tool_warned in
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned=yes ;;
7139 OTOOL="$ac_cv_prog_OTOOL"
7142 if test -n "$ac_tool_prefix"; then
7143 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7144 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 $as_echo_n "checking for $ac_word... " >&6; }
7147 if ${ac_cv_prog_OTOOL64+:} false; then :
7148 $as_echo_n "(cached) " >&6
7150 if test -n "$OTOOL64"; then
7151 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7157 test -z "$as_dir" && as_dir=.
7158 for ac_exec_ext in '' $ac_executable_extensions; do
7159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7160 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170 OTOOL64=$ac_cv_prog_OTOOL64
7171 if test -n "$OTOOL64"; then
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7173 $as_echo "$OTOOL64" >&6; }
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 $as_echo "no" >&6; }
7181 if test -z "$ac_cv_prog_OTOOL64"; then
7182 ac_ct_OTOOL64=$OTOOL64
7183 # Extract the first word of "otool64", so it can be a program name with args.
7184 set dummy otool64; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7188 $as_echo_n "(cached) " >&6
7190 if test -n "$ac_ct_OTOOL64"; then
7191 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_ac_ct_OTOOL64="otool64"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7211 if test -n "$ac_ct_OTOOL64"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7213 $as_echo "$ac_ct_OTOOL64" >&6; }
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7219 if test "x$ac_ct_OTOOL64" = x; then
7222 case $cross_compiling:$ac_tool_warned in
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7226 ac_tool_warned=yes ;;
7228 OTOOL64=$ac_ct_OTOOL64
7231 OTOOL64="$ac_cv_prog_OTOOL64"
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7261 $as_echo_n "checking for -single_module linker flag... " >&6; }
7262 if ${lt_cv_apple_cc_single_mod+:} false; then :
7263 $as_echo_n "(cached) " >&6
7265 lt_cv_apple_cc_single_mod=no
7266 if test -z "${LT_MULTI_MODULE}"; then
7267 # By default we will add the -single_module flag. You can override
7268 # by either setting the environment variable LT_MULTI_MODULE
7269 # non-empty at configure time, or by adding -multi_module to the
7271 rm -rf libconftest.dylib*
7272 echo "int foo(void){return 1;}" > conftest.c
7273 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7274 -dynamiclib -Wl,-single_module conftest.c" >&5
7275 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7276 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7278 # If there is a non-empty error log, and "single_module"
7279 # appears in it, assume the flag caused a linker warning
7280 if test -s conftest.err && $GREP single_module conftest.err; then
7281 cat conftest.err >&5
7282 # Otherwise, if the output was created with a 0 exit code from
7283 # the compiler, it worked.
7284 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7285 lt_cv_apple_cc_single_mod=yes
7287 cat conftest.err >&5
7289 rm -rf libconftest.dylib*
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7294 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7297 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7298 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7299 $as_echo_n "(cached) " >&6
7301 lt_cv_ld_exported_symbols_list=no
7302 save_LDFLAGS=$LDFLAGS
7303 echo "_main" > conftest.sym
7304 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306 /* end confdefs.h. */
7316 if ac_fn_c_try_link "$LINENO"; then :
7317 lt_cv_ld_exported_symbols_list=yes
7319 lt_cv_ld_exported_symbols_list=no
7321 rm -f core conftest.err conftest.$ac_objext \
7322 conftest$ac_exeext conftest.$ac_ext
7323 LDFLAGS="$save_LDFLAGS"
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7327 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7330 $as_echo_n "checking for -force_load linker flag... " >&6; }
7331 if ${lt_cv_ld_force_load+:} false; then :
7332 $as_echo_n "(cached) " >&6
7334 lt_cv_ld_force_load=no
7335 cat > conftest.c << _LT_EOF
7336 int forced_loaded() { return 2;}
7338 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7339 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7340 echo "$AR cru libconftest.a conftest.o" >&5
7341 $AR cru libconftest.a conftest.o 2>&5
7342 echo "$RANLIB libconftest.a" >&5
7343 $RANLIB libconftest.a 2>&5
7344 cat > conftest.c << _LT_EOF
7345 int main() { return 0;}
7347 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7348 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7350 if test -s conftest.err && $GREP force_load conftest.err; then
7351 cat conftest.err >&5
7352 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7353 lt_cv_ld_force_load=yes
7355 cat conftest.err >&5
7357 rm -f conftest.err libconftest.a conftest conftest.c
7358 rm -rf conftest.dSYM
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7362 $as_echo "$lt_cv_ld_force_load" >&6; }
7364 rhapsody* | darwin1.[012])
7365 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7367 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7368 darwin*) # darwin 5.x on
7369 # if running on 10.5 or later, the deployment target defaults
7370 # to the OS version, if on x86, and 10.4, the deployment
7371 # target defaults to 10.4. Don't you love it?
7372 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7373 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7374 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7376 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7378 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7382 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7383 _lt_dar_single_mod='$single_module'
7385 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7386 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7388 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7390 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7391 _lt_dsymutil='~$DSYMUTIL $lib || :'
7399 ac_cpp='$CPP $CPPFLAGS'
7400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7404 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7405 # On Suns, sometimes $CPP names a directory.
7406 if test -n "$CPP" && test -d "$CPP"; then
7409 if test -z "$CPP"; then
7410 if ${ac_cv_prog_CPP+:} false; then :
7411 $as_echo_n "(cached) " >&6
7413 # Double quotes because CPP needs to be expanded
7414 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7417 for ac_c_preproc_warn_flag in '' yes
7419 # Use a header file that comes with gcc, so configuring glibc
7420 # with a fresh cross-compiler works.
7421 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7422 # <limits.h> exists even on freestanding compilers.
7423 # On the NeXT, cc -E runs the code through the compiler's parser,
7424 # not just through cpp. "Syntax error" is here to catch this case.
7425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7426 /* end confdefs.h. */
7428 # include <limits.h>
7430 # include <assert.h>
7434 if ac_fn_c_try_cpp "$LINENO"; then :
7437 # Broken: fails on valid input.
7440 rm -f conftest.err conftest.i conftest.$ac_ext
7442 # OK, works on sane cases. Now check whether nonexistent headers
7443 # can be detected and how.
7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h. */
7446 #include <ac_nonexistent.h>
7448 if ac_fn_c_try_cpp "$LINENO"; then :
7449 # Broken: success on invalid input.
7452 # Passes both tests.
7456 rm -f conftest.err conftest.i conftest.$ac_ext
7459 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7460 rm -f conftest.i conftest.err conftest.$ac_ext
7461 if $ac_preproc_ok; then :
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7474 $as_echo "$CPP" >&6; }
7476 for ac_c_preproc_warn_flag in '' yes
7478 # Use a header file that comes with gcc, so configuring glibc
7479 # with a fresh cross-compiler works.
7480 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7481 # <limits.h> exists even on freestanding compilers.
7482 # On the NeXT, cc -E runs the code through the compiler's parser,
7483 # not just through cpp. "Syntax error" is here to catch this case.
7484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7485 /* end confdefs.h. */
7487 # include <limits.h>
7489 # include <assert.h>
7493 if ac_fn_c_try_cpp "$LINENO"; then :
7496 # Broken: fails on valid input.
7499 rm -f conftest.err conftest.i conftest.$ac_ext
7501 # OK, works on sane cases. Now check whether nonexistent headers
7502 # can be detected and how.
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7505 #include <ac_nonexistent.h>
7507 if ac_fn_c_try_cpp "$LINENO"; then :
7508 # Broken: success on invalid input.
7511 # Passes both tests.
7515 rm -f conftest.err conftest.i conftest.$ac_ext
7518 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7519 rm -f conftest.i conftest.err conftest.$ac_ext
7520 if $ac_preproc_ok; then :
7523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7525 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7526 See \`config.log' for more details" "$LINENO" 5; }
7530 ac_cpp='$CPP $CPPFLAGS'
7531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7537 $as_echo_n "checking for ANSI C header files... " >&6; }
7538 if ${ac_cv_header_stdc+:} false; then :
7539 $as_echo_n "(cached) " >&6
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7556 if ac_fn_c_try_compile "$LINENO"; then :
7557 ac_cv_header_stdc=yes
7559 ac_cv_header_stdc=no
7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7563 if test $ac_cv_header_stdc = yes; then
7564 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h. */
7570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7571 $EGREP "memchr" >/dev/null 2>&1; then :
7574 ac_cv_header_stdc=no
7580 if test $ac_cv_header_stdc = yes; then
7581 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7583 /* end confdefs.h. */
7587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7588 $EGREP "free" >/dev/null 2>&1; then :
7591 ac_cv_header_stdc=no
7597 if test $ac_cv_header_stdc = yes; then
7598 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7599 if test "$cross_compiling" = yes; then :
7602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7603 /* end confdefs.h. */
7606 #if ((' ' & 0x0FF) == 0x020)
7607 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7608 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7610 # define ISLOWER(c) \
7611 (('a' <= (c) && (c) <= 'i') \
7612 || ('j' <= (c) && (c) <= 'r') \
7613 || ('s' <= (c) && (c) <= 'z'))
7614 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7622 for (i = 0; i < 256; i++)
7623 if (XOR (islower (i), ISLOWER (i))
7624 || toupper (i) != TOUPPER (i))
7629 if ac_fn_c_try_run "$LINENO"; then :
7632 ac_cv_header_stdc=no
7634 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7635 conftest.$ac_objext conftest.beam conftest.$ac_ext
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7641 $as_echo "$ac_cv_header_stdc" >&6; }
7642 if test $ac_cv_header_stdc = yes; then
7644 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7648 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7649 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7650 inttypes.h stdint.h unistd.h
7652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7653 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7656 cat >>confdefs.h <<_ACEOF
7657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7665 for ac_header in dlfcn.h
7667 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7669 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7670 cat >>confdefs.h <<_ACEOF
7671 #define HAVE_DLFCN_H 1
7683 enable_win32_dll=yes
7686 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7687 if test -n "$ac_tool_prefix"; then
7688 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7689 set dummy ${ac_tool_prefix}as; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_prog_AS+:} false; then :
7693 $as_echo_n "(cached) " >&6
7695 if test -n "$AS"; then
7696 ac_cv_prog_AS="$AS" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705 ac_cv_prog_AS="${ac_tool_prefix}as"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716 if test -n "$AS"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7718 $as_echo "$AS" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7726 if test -z "$ac_cv_prog_AS"; then
7728 # Extract the first word of "as", so it can be a program name with args.
7729 set dummy as; ac_word=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7731 $as_echo_n "checking for $ac_word... " >&6; }
7732 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7733 $as_echo_n "(cached) " >&6
7735 if test -n "$ac_ct_AS"; then
7736 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7742 test -z "$as_dir" && as_dir=.
7743 for ac_exec_ext in '' $ac_executable_extensions; do
7744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7745 ac_cv_prog_ac_ct_AS="as"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7756 if test -n "$ac_ct_AS"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7758 $as_echo "$ac_ct_AS" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7761 $as_echo "no" >&6; }
7764 if test "x$ac_ct_AS" = x; then
7767 case $cross_compiling:$ac_tool_warned in
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7771 ac_tool_warned=yes ;;
7779 if test -n "$ac_tool_prefix"; then
7780 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7781 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7783 $as_echo_n "checking for $ac_word... " >&6; }
7784 if ${ac_cv_prog_DLLTOOL+:} false; then :
7785 $as_echo_n "(cached) " >&6
7787 if test -n "$DLLTOOL"; then
7788 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7797 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7807 DLLTOOL=$ac_cv_prog_DLLTOOL
7808 if test -n "$DLLTOOL"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7810 $as_echo "$DLLTOOL" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7813 $as_echo "no" >&6; }
7818 if test -z "$ac_cv_prog_DLLTOOL"; then
7819 ac_ct_DLLTOOL=$DLLTOOL
7820 # Extract the first word of "dlltool", so it can be a program name with args.
7821 set dummy dlltool; ac_word=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7823 $as_echo_n "checking for $ac_word... " >&6; }
7824 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7825 $as_echo_n "(cached) " >&6
7827 if test -n "$ac_ct_DLLTOOL"; then
7828 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7847 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7848 if test -n "$ac_ct_DLLTOOL"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7850 $as_echo "$ac_ct_DLLTOOL" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 $as_echo "no" >&6; }
7856 if test "x$ac_ct_DLLTOOL" = x; then
7859 case $cross_compiling:$ac_tool_warned in
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7863 ac_tool_warned=yes ;;
7865 DLLTOOL=$ac_ct_DLLTOOL
7868 DLLTOOL="$ac_cv_prog_DLLTOOL"
7871 if test -n "$ac_tool_prefix"; then
7872 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7873 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875 $as_echo_n "checking for $ac_word... " >&6; }
7876 if ${ac_cv_prog_OBJDUMP+:} false; then :
7877 $as_echo_n "(cached) " >&6
7879 if test -n "$OBJDUMP"; then
7880 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7899 OBJDUMP=$ac_cv_prog_OBJDUMP
7900 if test -n "$OBJDUMP"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7902 $as_echo "$OBJDUMP" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7910 if test -z "$ac_cv_prog_OBJDUMP"; then
7911 ac_ct_OBJDUMP=$OBJDUMP
7912 # Extract the first word of "objdump", so it can be a program name with args.
7913 set dummy objdump; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7917 $as_echo_n "(cached) " >&6
7919 if test -n "$ac_ct_OBJDUMP"; then
7920 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7940 if test -n "$ac_ct_OBJDUMP"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7942 $as_echo "$ac_ct_OBJDUMP" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7948 if test "x$ac_ct_OBJDUMP" = x; then
7951 case $cross_compiling:$ac_tool_warned in
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7955 ac_tool_warned=yes ;;
7957 OBJDUMP=$ac_ct_OBJDUMP
7960 OBJDUMP="$ac_cv_prog_OBJDUMP"
7966 test -z "$AS" && AS=as
7972 test -z "$DLLTOOL" && DLLTOOL=dlltool
7978 test -z "$OBJDUMP" && OBJDUMP=objdump
7990 # Check whether --enable-shared was given.
7991 if test "${enable_shared+set}" = set; then :
7992 enableval=$enable_shared; p=${PACKAGE-default}
7994 yes) enable_shared=yes ;;
7995 no) enable_shared=no ;;
7998 # Look at the argument we got. We use all the common list separators.
7999 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8000 for pkg in $enableval; do
8002 if test "X$pkg" = "X$p"; then
8021 # Check whether --enable-static was given.
8022 if test "${enable_static+set}" = set; then :
8023 enableval=$enable_static; p=${PACKAGE-default}
8025 yes) enable_static=yes ;;
8026 no) enable_static=no ;;
8029 # Look at the argument we got. We use all the common list separators.
8030 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8031 for pkg in $enableval; do
8033 if test "X$pkg" = "X$p"; then
8053 # Check whether --with-pic was given.
8054 if test "${with_pic+set}" = set; then :
8055 withval=$with_pic; lt_p=${PACKAGE-default}
8057 yes|no) pic_mode=$withval ;;
8060 # Look at the argument we got. We use all the common list separators.
8061 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8062 for lt_pkg in $withval; do
8064 if test "X$lt_pkg" = "X$lt_p"; then
8076 test -z "$pic_mode" && pic_mode=default
8084 # Check whether --enable-fast-install was given.
8085 if test "${enable_fast_install+set}" = set; then :
8086 enableval=$enable_fast_install; p=${PACKAGE-default}
8088 yes) enable_fast_install=yes ;;
8089 no) enable_fast_install=no ;;
8091 enable_fast_install=no
8092 # Look at the argument we got. We use all the common list separators.
8093 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8094 for pkg in $enableval; do
8096 if test "X$pkg" = "X$p"; then
8097 enable_fast_install=yes
8104 enable_fast_install=yes
8117 # This can be used to rebuild libtool when needed
8118 LIBTOOL_DEPS="$ltmain"
8120 # Always use our own libtool.
8121 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8152 test -z "$LN_S" && LN_S="ln -s"
8167 if test -n "${ZSH_VERSION+set}" ; then
8168 setopt NO_GLOB_SUBST
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8172 $as_echo_n "checking for objdir... " >&6; }
8173 if ${lt_cv_objdir+:} false; then :
8174 $as_echo_n "(cached) " >&6
8176 rm -f .libs 2>/dev/null
8177 mkdir .libs 2>/dev/null
8178 if test -d .libs; then
8181 # MS-DOS does not allow filenames that begin with a dot.
8184 rmdir .libs 2>/dev/null
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8187 $as_echo "$lt_cv_objdir" >&6; }
8188 objdir=$lt_cv_objdir
8194 cat >>confdefs.h <<_ACEOF
8195 #define LT_OBJDIR "$lt_cv_objdir/"
8203 # AIX sometimes has problems with the GCC collect2 program. For some
8204 # reason, if we set the COLLECT_NAMES environment variable, the problems
8205 # vanish in a puff of smoke.
8206 if test "X${COLLECT_NAMES+set}" != Xset; then
8208 export COLLECT_NAMES
8215 can_build_shared=yes
8217 # All known linkers require a `.a' archive for static linking (except MSVC,
8218 # which needs '.lib').
8221 with_gnu_ld="$lt_cv_prog_gnu_ld"
8224 old_CFLAGS="$CFLAGS"
8226 # Set sane defaults for various variables
8227 test -z "$CC" && CC=cc
8228 test -z "$LTCC" && LTCC=$CC
8229 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8230 test -z "$LD" && LD=ld
8231 test -z "$ac_objext" && ac_objext=o
8233 for cc_temp in $compiler""; do
8235 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8236 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8241 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8244 # Only perform the check for file, if the check method requires it
8245 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8246 case $deplibs_check_method in
8248 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8250 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8251 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8252 $as_echo_n "(cached) " >&6
8256 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8259 lt_save_MAGIC_CMD="$MAGIC_CMD"
8260 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8261 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8262 for ac_dir in $ac_dummy; do
8264 test -z "$ac_dir" && ac_dir=.
8265 if test -f $ac_dir/${ac_tool_prefix}file; then
8266 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8267 if test -n "$file_magic_test_file"; then
8268 case $deplibs_check_method in
8270 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8271 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8272 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8273 $EGREP "$file_magic_regex" > /dev/null; then
8278 *** Warning: the command libtool uses to detect shared libraries,
8279 *** $file_magic_cmd, produces output that libtool cannot recognize.
8280 *** The result is that libtool may fail to recognize shared libraries
8281 *** as such. This will affect the creation of libtool libraries that
8282 *** depend on shared libraries, but programs linked with such libtool
8283 *** libraries will work regardless of this problem. Nevertheless, you
8284 *** may want to report the problem to your system manager and/or to
8285 *** bug-libtool@gnu.org
8295 MAGIC_CMD="$lt_save_MAGIC_CMD"
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if test -n "$MAGIC_CMD"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8303 $as_echo "$MAGIC_CMD" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8313 if test -z "$lt_cv_path_MAGIC_CMD"; then
8314 if test -n "$ac_tool_prefix"; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8316 $as_echo_n "checking for file... " >&6; }
8317 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8318 $as_echo_n "(cached) " >&6
8322 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8325 lt_save_MAGIC_CMD="$MAGIC_CMD"
8326 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8327 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8328 for ac_dir in $ac_dummy; do
8330 test -z "$ac_dir" && ac_dir=.
8331 if test -f $ac_dir/file; then
8332 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8333 if test -n "$file_magic_test_file"; then
8334 case $deplibs_check_method in
8336 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8337 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8338 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8339 $EGREP "$file_magic_regex" > /dev/null; then
8344 *** Warning: the command libtool uses to detect shared libraries,
8345 *** $file_magic_cmd, produces output that libtool cannot recognize.
8346 *** The result is that libtool may fail to recognize shared libraries
8347 *** as such. This will affect the creation of libtool libraries that
8348 *** depend on shared libraries, but programs linked with such libtool
8349 *** libraries will work regardless of this problem. Nevertheless, you
8350 *** may want to report the problem to your system manager and/or to
8351 *** bug-libtool@gnu.org
8361 MAGIC_CMD="$lt_save_MAGIC_CMD"
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if test -n "$MAGIC_CMD"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8369 $as_echo "$MAGIC_CMD" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8385 # Use C for the default configuration in the libtool script
8389 ac_cpp='$CPP $CPPFLAGS'
8390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8395 # Source file extension for C test sources.
8398 # Object file extension for compiled C test sources.
8402 # Code to be used in simple compile tests
8403 lt_simple_compile_test_code="int some_variable = 0;"
8405 # Code to be used in simple link tests
8406 lt_simple_link_test_code='int main(){return(0);}'
8414 # If no C compiler was specified, use CC.
8417 # If no C compiler flags were specified, use CFLAGS.
8418 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8420 # Allow CC to be a program name with arguments.
8423 # Save the default compiler, since it gets overwritten when the other
8424 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8425 compiler_DEFAULT=$CC
8427 # save warnings/boilerplate of simple test code
8428 ac_outfile=conftest.$ac_objext
8429 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8430 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8431 _lt_compiler_boilerplate=`cat conftest.err`
8434 ac_outfile=conftest.$ac_objext
8435 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8436 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8437 _lt_linker_boilerplate=`cat conftest.err`
8442 ## There is no encapsulation within the following macros, do not change
8443 ## the running order or otherwise move them around unless you know exactly
8444 ## what you are doing...
8445 if test -n "$compiler"; then
8447 lt_prog_compiler_no_builtin_flag=
8449 if test "$GCC" = yes; then
8450 case $cc_basename in
8452 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8454 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8458 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8459 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8460 $as_echo_n "(cached) " >&6
8462 lt_cv_prog_compiler_rtti_exceptions=no
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8465 lt_compiler_flag="-fno-rtti -fno-exceptions"
8466 # Insert the option either (1) after the last *FLAGS variable, or
8467 # (2) before a word containing "conftest.", or (3) at the end.
8468 # Note that $ac_compile itself does not contain backslashes and begins
8469 # with a dollar sign (not a hyphen), so the echo should work correctly.
8470 # The option is referenced via a variable to avoid confusing sed.
8471 lt_compile=`echo "$ac_compile" | $SED \
8472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8474 -e 's:$: $lt_compiler_flag:'`
8475 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8476 (eval "$lt_compile" 2>conftest.err)
8478 cat conftest.err >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 if (exit $ac_status) && test -s "$ac_outfile"; then
8481 # The compiler can only warn and ignore the option if not recognized
8482 # So say no if there are warnings other than the usual output.
8483 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8484 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8485 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8486 lt_cv_prog_compiler_rtti_exceptions=yes
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8493 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8495 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8496 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8508 lt_prog_compiler_wl=
8509 lt_prog_compiler_pic=
8510 lt_prog_compiler_static=
8513 if test "$GCC" = yes; then
8514 lt_prog_compiler_wl='-Wl,'
8515 lt_prog_compiler_static='-static'
8519 # All AIX code is PIC.
8520 if test "$host_cpu" = ia64; then
8521 # AIX 5 now supports IA64 processor
8522 lt_prog_compiler_static='-Bstatic'
8529 # see comment about AmigaOS4 .so support
8530 lt_prog_compiler_pic='-fPIC'
8533 # FIXME: we need at least 68020 code to build shared libraries, but
8534 # adding the `-m68020' flag to GCC prevents building anything better,
8536 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8541 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8542 # PIC is the default for these OSes.
8545 mingw* | cygwin* | pw32* | os2* | cegcc*)
8546 # This hack is so that the source file can tell whether it is being
8547 # built for inclusion in a dll (and should export symbols for example).
8548 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8549 # (--disable-auto-import) libraries
8550 lt_prog_compiler_pic='-DDLL_EXPORT'
8553 darwin* | rhapsody*)
8554 # PIC is the default on this platform
8555 # Common symbols not allowed in MH_DYLIB files
8556 lt_prog_compiler_pic='-fno-common'
8560 # PIC is the default for Haiku.
8561 # The "-static" flag exists, but is broken.
8562 lt_prog_compiler_static=
8566 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8567 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8568 # sets the default TLS model and affects inlining.
8574 lt_prog_compiler_pic='-fPIC'
8580 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8581 # Instead, we relocate shared libraries at runtime.
8585 # Just because we use GCC doesn't mean we suddenly get shared libraries
8586 # on systems that don't support them.
8587 lt_prog_compiler_can_build_shared=no
8592 # QNX uses GNU C++, but need to define -shared option too, otherwise
8594 lt_prog_compiler_pic='-fPIC -shared'
8598 if test -d /usr/nec; then
8599 lt_prog_compiler_pic=-Kconform_pic
8604 lt_prog_compiler_pic='-fPIC'
8608 case $cc_basename in
8609 nvcc*) # Cuda Compiler Driver 2.2
8610 lt_prog_compiler_wl='-Xlinker '
8611 if test -n "$lt_prog_compiler_pic"; then
8612 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8617 # PORTME Check for flag to pass linker flags through the system compiler.
8620 lt_prog_compiler_wl='-Wl,'
8621 if test "$host_cpu" = ia64; then
8622 # AIX 5 now supports IA64 processor
8623 lt_prog_compiler_static='-Bstatic'
8625 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8629 mingw* | cygwin* | pw32* | os2* | cegcc*)
8630 # This hack is so that the source file can tell whether it is being
8631 # built for inclusion in a dll (and should export symbols for example).
8632 lt_prog_compiler_pic='-DDLL_EXPORT'
8635 hpux9* | hpux10* | hpux11*)
8636 lt_prog_compiler_wl='-Wl,'
8637 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8644 lt_prog_compiler_pic='+Z'
8647 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8648 lt_prog_compiler_static='${wl}-a ${wl}archive'
8651 irix5* | irix6* | nonstopux*)
8652 lt_prog_compiler_wl='-Wl,'
8653 # PIC (with -KPIC) is the default.
8654 lt_prog_compiler_static='-non_shared'
8657 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8658 case $cc_basename in
8659 # old Intel for x86_64 which still supported -KPIC.
8661 lt_prog_compiler_wl='-Wl,'
8662 lt_prog_compiler_pic='-KPIC'
8663 lt_prog_compiler_static='-static'
8665 # icc used to be incompatible with GCC.
8666 # ICC 10 doesn't accept -KPIC any more.
8668 lt_prog_compiler_wl='-Wl,'
8669 lt_prog_compiler_pic='-fPIC'
8670 lt_prog_compiler_static='-static'
8672 # Lahey Fortran 8.1.
8674 lt_prog_compiler_wl='-Wl,'
8675 lt_prog_compiler_pic='--shared'
8676 lt_prog_compiler_static='--static'
8679 # NAG Fortran compiler
8680 lt_prog_compiler_wl='-Wl,-Wl,,'
8681 lt_prog_compiler_pic='-PIC'
8682 lt_prog_compiler_static='-Bstatic'
8684 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8685 # Portland Group compilers (*not* the Pentium gcc compiler,
8686 # which looks to be a dead project)
8687 lt_prog_compiler_wl='-Wl,'
8688 lt_prog_compiler_pic='-fpic'
8689 lt_prog_compiler_static='-Bstatic'
8692 lt_prog_compiler_wl='-Wl,'
8693 # All Alpha code is PIC.
8694 lt_prog_compiler_static='-non_shared'
8696 xl* | bgxl* | bgf* | mpixl*)
8697 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-qpic'
8700 lt_prog_compiler_static='-qstaticlink'
8703 case `$CC -V 2>&1 | sed 5q` in
8704 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8705 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8706 lt_prog_compiler_pic='-KPIC'
8707 lt_prog_compiler_static='-Bstatic'
8708 lt_prog_compiler_wl=''
8710 *Sun\ F* | *Sun*Fortran*)
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8713 lt_prog_compiler_wl='-Qoption ld '
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl='-Wl,'
8721 *Intel*\ [CF]*Compiler*)
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-fPIC'
8724 lt_prog_compiler_static='-static'
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-fpic'
8729 lt_prog_compiler_static='-Bstatic'
8737 lt_prog_compiler_pic='-KPIC'
8738 lt_prog_compiler_static='-Bstatic'
8742 # QNX uses GNU C++, but need to define -shared option too, otherwise
8744 lt_prog_compiler_pic='-fPIC -shared'
8747 osf3* | osf4* | osf5*)
8748 lt_prog_compiler_wl='-Wl,'
8749 # All OSF/1 code is PIC.
8750 lt_prog_compiler_static='-non_shared'
8754 lt_prog_compiler_static='-non_shared'
8758 lt_prog_compiler_pic='-KPIC'
8759 lt_prog_compiler_static='-Bstatic'
8760 case $cc_basename in
8761 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8762 lt_prog_compiler_wl='-Qoption ld ';;
8764 lt_prog_compiler_wl='-Wl,';;
8769 lt_prog_compiler_wl='-Qoption ld '
8770 lt_prog_compiler_pic='-PIC'
8771 lt_prog_compiler_static='-Bstatic'
8774 sysv4 | sysv4.2uw2* | sysv4.3*)
8775 lt_prog_compiler_wl='-Wl,'
8776 lt_prog_compiler_pic='-KPIC'
8777 lt_prog_compiler_static='-Bstatic'
8781 if test -d /usr/nec ;then
8782 lt_prog_compiler_pic='-Kconform_pic'
8783 lt_prog_compiler_static='-Bstatic'
8787 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8788 lt_prog_compiler_wl='-Wl,'
8789 lt_prog_compiler_pic='-KPIC'
8790 lt_prog_compiler_static='-Bstatic'
8794 lt_prog_compiler_wl='-Wl,'
8795 lt_prog_compiler_can_build_shared=no
8799 lt_prog_compiler_pic='-pic'
8800 lt_prog_compiler_static='-Bstatic'
8804 lt_prog_compiler_can_build_shared=no
8810 # For platforms which do not support PIC, -DPIC is meaningless:
8812 lt_prog_compiler_pic=
8815 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8820 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8821 if ${lt_cv_prog_compiler_pic+:} false; then :
8822 $as_echo_n "(cached) " >&6
8824 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8827 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8828 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8831 # Check to make sure the PIC flag actually works.
8833 if test -n "$lt_prog_compiler_pic"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8835 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8836 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8837 $as_echo_n "(cached) " >&6
8839 lt_cv_prog_compiler_pic_works=no
8840 ac_outfile=conftest.$ac_objext
8841 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8842 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8843 # Insert the option either (1) after the last *FLAGS variable, or
8844 # (2) before a word containing "conftest.", or (3) at the end.
8845 # Note that $ac_compile itself does not contain backslashes and begins
8846 # with a dollar sign (not a hyphen), so the echo should work correctly.
8847 # The option is referenced via a variable to avoid confusing sed.
8848 lt_compile=`echo "$ac_compile" | $SED \
8849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8851 -e 's:$: $lt_compiler_flag:'`
8852 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8853 (eval "$lt_compile" 2>conftest.err)
8855 cat conftest.err >&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 if (exit $ac_status) && test -s "$ac_outfile"; then
8858 # The compiler can only warn and ignore the option if not recognized
8859 # So say no if there are warnings other than the usual output.
8860 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8861 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8862 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8863 lt_cv_prog_compiler_pic_works=yes
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8870 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8872 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8873 case $lt_prog_compiler_pic in
8875 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8878 lt_prog_compiler_pic=
8879 lt_prog_compiler_can_build_shared=no
8895 # Check to make sure the static flag actually works.
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if ${lt_cv_prog_compiler_static_works+:} false; then :
8901 $as_echo_n "(cached) " >&6
8903 lt_cv_prog_compiler_static_works=no
8904 save_LDFLAGS="$LDFLAGS"
8905 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908 # The linker can only warn and ignore the option if not recognized
8909 # So say no if there are warnings
8910 if test -s conftest.err; then
8911 # Append any errors to the config.log.
8912 cat conftest.err 1>&5
8913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915 if diff conftest.exp conftest.er2 >/dev/null; then
8916 lt_cv_prog_compiler_static_works=yes
8919 lt_cv_prog_compiler_static_works=yes
8923 LDFLAGS="$save_LDFLAGS"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8932 lt_prog_compiler_static=
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if ${lt_cv_prog_compiler_c_o+:} false; then :
8944 $as_echo_n "(cached) " >&6
8946 lt_cv_prog_compiler_c_o=no
8947 $RM -r conftest 2>/dev/null
8951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8953 lt_compiler_flag="-o out/conftest2.$ac_objext"
8954 # Insert the option either (1) after the last *FLAGS variable, or
8955 # (2) before a word containing "conftest.", or (3) at the end.
8956 # Note that $ac_compile itself does not contain backslashes and begins
8957 # with a dollar sign (not a hyphen), so the echo should work correctly.
8958 lt_compile=`echo "$ac_compile" | $SED \
8959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961 -e 's:$: $lt_compiler_flag:'`
8962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963 (eval "$lt_compile" 2>out/conftest.err)
8965 cat out/conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8969 # The compiler can only warn and ignore the option if not recognized
8970 # So say no if there are warnings
8971 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974 lt_cv_prog_compiler_c_o=yes
8979 # SGI C++ compiler will create directory out/ii_files/ for
8980 # template instantiation
8981 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982 $RM out/* && rmdir out
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if ${lt_cv_prog_compiler_c_o+:} false; then :
8999 $as_echo_n "(cached) " >&6
9001 lt_cv_prog_compiler_c_o=no
9002 $RM -r conftest 2>/dev/null
9006 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9008 lt_compiler_flag="-o out/conftest2.$ac_objext"
9009 # Insert the option either (1) after the last *FLAGS variable, or
9010 # (2) before a word containing "conftest.", or (3) at the end.
9011 # Note that $ac_compile itself does not contain backslashes and begins
9012 # with a dollar sign (not a hyphen), so the echo should work correctly.
9013 lt_compile=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>out/conftest.err)
9020 cat out/conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9024 # The compiler can only warn and ignore the option if not recognized
9025 # So say no if there are warnings
9026 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029 lt_cv_prog_compiler_c_o=yes
9034 # SGI C++ compiler will create directory out/ii_files/ for
9035 # template instantiation
9036 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037 $RM out/* && rmdir out
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051 # do not overwrite the value of need_locks provided by the user
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9056 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9058 ln conftest.a conftest.b 2>&5 || hard_links=no
9059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062 if test "$hard_links" = no; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9080 allow_undefined_flag=
9081 always_export_symbols=no
9083 archive_expsym_cmds=
9084 compiler_needs_object=no
9085 enable_shared_with_static_runtimes=no
9086 export_dynamic_flag_spec=
9087 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088 hardcode_automatic=no
9090 hardcode_direct_absolute=no
9091 hardcode_libdir_flag_spec=
9092 hardcode_libdir_separator=
9094 hardcode_shlibpath_var=unsupported
9096 link_all_deplibs=unknown
9099 old_archive_from_new_cmds=
9100 old_archive_from_expsyms_cmds=
9101 thread_safe_flag_spec=
9102 whole_archive_flag_spec=
9103 # include_expsyms should be a list of space-separated symbols to be *always*
9104 # included in the symbol list
9106 # exclude_expsyms can be an extended regexp of symbols to exclude
9107 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9108 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9109 # as well as any symbol that contains `d'.
9110 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9111 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9112 # platforms (ab)use it in PIC code, but their linkers get confused if
9113 # the symbol is explicitly referenced. Since portable code cannot
9114 # rely on this symbol name, it's probably fine to never include it in
9115 # preloaded symbol tables.
9116 # Exclude shared library initialization/finalization symbols.
9117 extract_expsyms_cmds=
9120 cygwin* | mingw* | pw32* | cegcc*)
9121 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9122 # When not using gcc, we currently assume that we are using
9123 # Microsoft Visual C++.
9124 if test "$GCC" != yes; then
9129 # we just hope/assume this is gcc and not c89 (= MSVC++)
9135 linux* | k*bsd*-gnu | gnu*)
9142 # On some targets, GNU ld is compatible enough with the native linker
9143 # that we're better off using the native interface for both.
9144 lt_use_gnu_ld_interface=no
9145 if test "$with_gnu_ld" = yes; then
9148 # The AIX port of GNU ld has always aspired to compatibility
9149 # with the native linker. However, as the warning in the GNU ld
9150 # block says, versions before 2.19.5* couldn't really create working
9151 # shared libraries, regardless of the interface used.
9152 case `$LD -v 2>&1` in
9153 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9154 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9155 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9157 lt_use_gnu_ld_interface=yes
9162 lt_use_gnu_ld_interface=yes
9167 if test "$lt_use_gnu_ld_interface" = yes; then
9168 # If archive_cmds runs LD, not CC, wlarc should be empty
9171 # Set some defaults for GNU ld with shared library support. These
9172 # are reset later if shared libraries are not supported. Putting them
9173 # here allows them to be overridden if necessary.
9174 runpath_var=LD_RUN_PATH
9175 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9176 export_dynamic_flag_spec='${wl}--export-dynamic'
9177 # ancient GNU ld didn't support --whole-archive et. al.
9178 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9179 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9181 whole_archive_flag_spec=
9183 supports_anon_versioning=no
9184 case `$LD -v 2>&1` in
9185 *GNU\ gold*) supports_anon_versioning=yes ;;
9186 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9187 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9188 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9189 *\ 2.11.*) ;; # other 2.11 versions
9190 *) supports_anon_versioning=yes ;;
9193 # See if GNU ld supports shared libraries.
9196 # On AIX/PPC, the GNU linker is very broken
9197 if test "$host_cpu" != ia64; then
9201 *** Warning: the GNU linker, at least up to release 2.19, is reported
9202 *** to be unable to reliably create shared libraries on AIX.
9203 *** Therefore, libtool is disabling shared libraries support. If you
9204 *** really care for shared libraries, you may want to install binutils
9205 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9206 *** You will then need to restart the configuration process.
9215 # see comment about AmigaOS4 .so support
9216 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217 archive_expsym_cmds=''
9220 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)'
9221 hardcode_libdir_flag_spec='-L$libdir'
9222 hardcode_minus_L=yes
9228 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9229 allow_undefined_flag=unsupported
9230 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9231 # support --undefined. This deserves some investigation. FIXME
9232 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9238 cygwin* | mingw* | pw32* | cegcc*)
9239 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9240 # as there is no search path for DLLs.
9241 hardcode_libdir_flag_spec='-L$libdir'
9242 export_dynamic_flag_spec='${wl}--export-all-symbols'
9243 allow_undefined_flag=unsupported
9244 always_export_symbols=no
9245 enable_shared_with_static_runtimes=yes
9246 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'
9247 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9249 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9251 # If the export-symbols file already is a .def file (1st line
9252 # is EXPORTS), use it as is; otherwise, prepend...
9253 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9254 cp $export_symbols $output_objdir/$soname.def;
9256 echo EXPORTS > $output_objdir/$soname.def;
9257 cat $export_symbols >> $output_objdir/$soname.def;
9259 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9266 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9267 link_all_deplibs=yes
9272 hardcode_shlibpath_var=no
9273 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9274 export_dynamic_flag_spec='${wl}-E'
9275 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9276 # Instead, shared libraries are loaded at an image base (0x10000000 by
9277 # default) and relocated if they conflict, which is a slow very memory
9278 # consuming and fragmenting process. To avoid this, we pick a random,
9279 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9280 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9281 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9282 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'
9285 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9287 if test "$host_os" = linux-dietlibc; then
9288 case $cc_basename in
9289 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9292 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9293 && test "$tmp_diet" = no
9295 tmp_addflag=' $pic_flag'
9296 tmp_sharedflag='-shared'
9297 case $cc_basename,$host_cpu in
9298 pgcc*) # Portland Group C compiler
9299 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'
9300 tmp_addflag=' $pic_flag'
9302 pgf77* | pgf90* | pgf95* | pgfortran*)
9303 # Portland Group f77 and f90 compilers
9304 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'
9305 tmp_addflag=' $pic_flag -Mnomain' ;;
9306 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9307 tmp_addflag=' -i_dynamic' ;;
9308 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9309 tmp_addflag=' -i_dynamic -nofor_main' ;;
9310 ifc* | ifort*) # Intel Fortran compiler
9311 tmp_addflag=' -nofor_main' ;;
9312 lf95*) # Lahey Fortran 8.1
9313 whole_archive_flag_spec=
9314 tmp_sharedflag='--shared' ;;
9315 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9316 tmp_sharedflag='-qmkshrobj'
9318 nvcc*) # Cuda Compiler Driver 2.2
9319 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'
9320 compiler_needs_object=yes
9323 case `$CC -V 2>&1 | sed 5q` in
9324 *Sun\ C*) # Sun C 5.9
9325 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'
9326 compiler_needs_object=yes
9327 tmp_sharedflag='-G' ;;
9328 *Sun\ F*) # Sun Fortran 8.3
9329 tmp_sharedflag='-G' ;;
9331 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333 if test "x$supports_anon_versioning" = xyes; then
9334 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9335 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9336 echo "local: *; };" >> $output_objdir/$libname.ver~
9337 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9340 case $cc_basename in
9341 xlf* | bgf* | bgxlf* | mpixlf*)
9342 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9343 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9344 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9345 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9346 if test "x$supports_anon_versioning" = xyes; then
9347 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9348 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9349 echo "local: *; };" >> $output_objdir/$libname.ver~
9350 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9359 netbsd* | netbsdelf*-gnu)
9360 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9361 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9364 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9365 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9374 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9375 *** create shared libraries on Solaris systems. Therefore, libtool
9376 *** is disabling shared libraries support. We urge you to upgrade GNU
9377 *** binutils to release 2.9.1 or newer. Another option is to modify
9378 *** your PATH or compiler configuration so that the native linker is
9379 *** used, and then restart.
9382 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9383 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9384 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9390 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9391 case `$LD -v 2>&1` in
9392 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9396 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9397 *** reliably create shared libraries on SCO systems. Therefore, libtool
9398 *** is disabling shared libraries support. We urge you to upgrade GNU
9399 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9400 *** your PATH or compiler configuration so that the native linker is
9401 *** used, and then restart.
9406 # For security reasons, it is highly recommended that you always
9407 # use absolute paths for naming shared libraries, and exclude the
9408 # DT_RUNPATH tag from executables and libraries. But doing so
9409 # requires that you compile everything twice, which is a pain.
9410 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9411 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9412 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9413 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9422 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9425 hardcode_shlibpath_var=no
9429 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9430 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9438 if test "$ld_shlibs" = no; then
9440 hardcode_libdir_flag_spec=
9441 export_dynamic_flag_spec=
9442 whole_archive_flag_spec=
9445 # PORTME fill in a description of your system's linker (not GNU ld)
9448 allow_undefined_flag=unsupported
9449 always_export_symbols=yes
9450 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'
9451 # Note: this linker hardcodes the directories in LIBPATH if there
9452 # are no directories specified by -L.
9453 hardcode_minus_L=yes
9454 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9455 # Neither direct hardcoding nor static linking is supported with a
9457 hardcode_direct=unsupported
9462 if test "$host_cpu" = ia64; then
9463 # On IA64, the linker does run time linking by default, so we don't
9464 # have to do anything special.
9465 aix_use_runtimelinking=no
9466 exp_sym_flag='-Bexport'
9469 # If we're using GNU nm, then we don't want the "-C" option.
9470 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9471 # Also, AIX nm treats weak defined symbols like other global
9472 # defined symbols, whereas GNU nm marks them as "W".
9473 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9474 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9476 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9478 aix_use_runtimelinking=no
9480 # Test if we are trying to use run time linking or normal
9481 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9482 # need to do runtime linking.
9483 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9484 for ld_flag in $LDFLAGS; do
9485 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9486 aix_use_runtimelinking=yes
9493 exp_sym_flag='-bexport'
9494 no_entry_flag='-bnoentry'
9497 # When large executables or shared objects are built, AIX ld can
9498 # have problems creating the table of contents. If linking a library
9499 # or program results in "error TOC overflow" add -mminimal-toc to
9500 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9501 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9505 hardcode_direct_absolute=yes
9506 hardcode_libdir_separator=':'
9507 link_all_deplibs=yes
9508 file_list_spec='${wl}-f,'
9510 if test "$GCC" = yes; then
9511 case $host_os in aix4.[012]|aix4.[012].*)
9512 # We only want to do this on AIX 4.2 and lower, the check
9513 # below for broken collect2 doesn't work under 4.3+
9514 collect2name=`${CC} -print-prog-name=collect2`
9515 if test -f "$collect2name" &&
9516 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9518 # We have reworked collect2
9521 # We have old collect2
9522 hardcode_direct=unsupported
9523 # It fails to find uninstalled libraries when the uninstalled
9524 # path is not listed in the libpath. Setting hardcode_minus_L
9525 # to unsupported forces relinking
9526 hardcode_minus_L=yes
9527 hardcode_libdir_flag_spec='-L$libdir'
9528 hardcode_libdir_separator=
9532 shared_flag='-shared'
9533 if test "$aix_use_runtimelinking" = yes; then
9534 shared_flag="$shared_flag "'${wl}-G'
9539 if test "$host_cpu" = ia64; then
9540 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9541 # chokes on -Wl,-G. The following line is correct:
9544 if test "$aix_use_runtimelinking" = yes; then
9545 shared_flag='${wl}-G'
9547 shared_flag='${wl}-bM:SRE'
9552 export_dynamic_flag_spec='${wl}-bexpall'
9553 # It seems that -bexpall does not export symbols beginning with
9554 # underscore (_), so it is better to generate a list of symbols to export.
9555 always_export_symbols=yes
9556 if test "$aix_use_runtimelinking" = yes; then
9557 # Warning - without using the other runtime loading flags (-brtl),
9558 # -berok will link without error, but may produce a broken library.
9559 allow_undefined_flag='-berok'
9560 # Determine the default libpath from the value encoded in an
9562 if test "${lt_cv_aix_libpath+set}" = set; then
9563 aix_libpath=$lt_cv_aix_libpath
9565 if ${lt_cv_aix_libpath_+:} false; then :
9566 $as_echo_n "(cached) " >&6
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9579 if ac_fn_c_try_link "$LINENO"; then :
9581 lt_aix_libpath_sed='
9582 /Import File Strings/,/^$/ {
9584 s/^0 *\([^ ]*\) *$/\1/
9588 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 # Check for a 64-bit object if we didn't find anything.
9590 if test -z "$lt_cv_aix_libpath_"; then
9591 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 if test -z "$lt_cv_aix_libpath_"; then
9597 lt_cv_aix_libpath_="/usr/lib:/lib"
9602 aix_libpath=$lt_cv_aix_libpath_
9605 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9606 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9608 if test "$host_cpu" = ia64; then
9609 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9610 allow_undefined_flag="-z nodefs"
9611 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"
9613 # Determine the default libpath from the value encoded in an
9615 if test "${lt_cv_aix_libpath+set}" = set; then
9616 aix_libpath=$lt_cv_aix_libpath
9618 if ${lt_cv_aix_libpath_+:} false; then :
9619 $as_echo_n "(cached) " >&6
9621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9632 if ac_fn_c_try_link "$LINENO"; then :
9634 lt_aix_libpath_sed='
9635 /Import File Strings/,/^$/ {
9637 s/^0 *\([^ ]*\) *$/\1/
9641 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9642 # Check for a 64-bit object if we didn't find anything.
9643 if test -z "$lt_cv_aix_libpath_"; then
9644 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9647 rm -f core conftest.err conftest.$ac_objext \
9648 conftest$ac_exeext conftest.$ac_ext
9649 if test -z "$lt_cv_aix_libpath_"; then
9650 lt_cv_aix_libpath_="/usr/lib:/lib"
9655 aix_libpath=$lt_cv_aix_libpath_
9658 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9659 # Warning - without using the other run time loading flags,
9660 # -berok will link without error, but may produce a broken library.
9661 no_undefined_flag=' ${wl}-bernotok'
9662 allow_undefined_flag=' ${wl}-berok'
9663 if test "$with_gnu_ld" = yes; then
9664 # We only use this code for GNU lds that support --whole-archive.
9665 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9667 # Exported symbols can be pulled into shared objects from archives
9668 whole_archive_flag_spec='$convenience'
9670 archive_cmds_need_lc=yes
9671 # This is similar to how AIX traditionally builds its shared libraries.
9672 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9680 # see comment about AmigaOS4 .so support
9681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9682 archive_expsym_cmds=''
9685 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)'
9686 hardcode_libdir_flag_spec='-L$libdir'
9687 hardcode_minus_L=yes
9693 export_dynamic_flag_spec=-rdynamic
9696 cygwin* | mingw* | pw32* | cegcc*)
9697 # When not using gcc, we currently assume that we are using
9698 # Microsoft Visual C++.
9699 # hardcode_libdir_flag_spec is actually meaningless, as there is
9700 # no search path for DLLs.
9701 case $cc_basename in
9704 hardcode_libdir_flag_spec=' '
9705 allow_undefined_flag=unsupported
9706 always_export_symbols=yes
9708 # Tell ltmain to make .lib files, not .a files.
9710 # Tell ltmain to make .dll files, not .so files.
9712 # FIXME: Setting linknames here is a bad hack.
9713 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9714 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9715 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9717 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9719 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9721 # The linker will not automatically build a static lib if we build a DLL.
9722 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9723 enable_shared_with_static_runtimes=yes
9724 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9725 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9727 old_postinstall_cmds='chmod 644 $oldlib'
9728 postlink_cmds='lt_outputfile="@OUTPUT@"~
9729 lt_tool_outputfile="@TOOL_OUTPUT@"~
9730 case $lt_outputfile in
9733 lt_outputfile="$lt_outputfile.exe"
9734 lt_tool_outputfile="$lt_tool_outputfile.exe"
9737 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9738 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9739 $RM "$lt_outputfile.manifest";
9743 # Assume MSVC wrapper
9744 hardcode_libdir_flag_spec=' '
9745 allow_undefined_flag=unsupported
9746 # Tell ltmain to make .lib files, not .a files.
9748 # Tell ltmain to make .dll files, not .so files.
9750 # FIXME: Setting linknames here is a bad hack.
9751 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9752 # The linker will automatically build a .lib file if we build a DLL.
9753 old_archive_from_new_cmds='true'
9754 # FIXME: Should let the user specify the lib program.
9755 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9756 enable_shared_with_static_runtimes=yes
9761 darwin* | rhapsody*)
9764 archive_cmds_need_lc=no
9766 hardcode_automatic=yes
9767 hardcode_shlibpath_var=unsupported
9768 if test "$lt_cv_ld_force_load" = "yes"; then
9769 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\"`'
9772 whole_archive_flag_spec=''
9774 link_all_deplibs=yes
9775 allow_undefined_flag="$_lt_dar_allow_undefined"
9776 case $cc_basename in
9777 ifort*) _lt_dar_can_shared=yes ;;
9778 *) _lt_dar_can_shared=$GCC ;;
9780 if test "$_lt_dar_can_shared" = "yes"; then
9781 output_verbose_link_cmd=func_echo_all
9782 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9783 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9784 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}"
9785 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}"
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_shlibpath_var=no
9799 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800 # support. Future versions do this automatically, but an explicit c++rt0.o
9801 # does not break anything, and helps significantly (at the cost of a little
9804 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805 hardcode_libdir_flag_spec='-R$libdir'
9807 hardcode_shlibpath_var=no
9810 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9812 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9814 hardcode_minus_L=yes
9815 hardcode_shlibpath_var=no
9818 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819 freebsd* | dragonfly*)
9820 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9821 hardcode_libdir_flag_spec='-R$libdir'
9823 hardcode_shlibpath_var=no
9827 if test "$GCC" = yes; then
9828 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9830 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833 hardcode_libdir_separator=:
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L=yes
9839 export_dynamic_flag_spec='${wl}-E'
9843 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9844 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9848 if test "$with_gnu_ld" = no; then
9849 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9850 hardcode_libdir_separator=:
9852 hardcode_direct_absolute=yes
9853 export_dynamic_flag_spec='${wl}-E'
9854 # hardcode_minus_L: Not really in the search PATH,
9855 # but as the default location of the library.
9856 hardcode_minus_L=yes
9861 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9864 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9867 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9870 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9876 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9883 # Older versions of the 11.00 compiler do not understand -b yet
9884 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9886 $as_echo_n "checking if $CC understands -b... " >&6; }
9887 if ${lt_cv_prog_compiler__b+:} false; then :
9888 $as_echo_n "(cached) " >&6
9890 lt_cv_prog_compiler__b=no
9891 save_LDFLAGS="$LDFLAGS"
9892 LDFLAGS="$LDFLAGS -b"
9893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9895 # The linker can only warn and ignore the option if not recognized
9896 # So say no if there are warnings
9897 if test -s conftest.err; then
9898 # Append any errors to the config.log.
9899 cat conftest.err 1>&5
9900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9902 if diff conftest.exp conftest.er2 >/dev/null; then
9903 lt_cv_prog_compiler__b=yes
9906 lt_cv_prog_compiler__b=yes
9910 LDFLAGS="$save_LDFLAGS"
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9914 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9916 if test x"$lt_cv_prog_compiler__b" = xyes; then
9917 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9925 if test "$with_gnu_ld" = no; then
9926 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9927 hardcode_libdir_separator=:
9932 hardcode_shlibpath_var=no
9936 hardcode_direct_absolute=yes
9937 export_dynamic_flag_spec='${wl}-E'
9939 # hardcode_minus_L: Not really in the search PATH,
9940 # but as the default location of the library.
9941 hardcode_minus_L=yes
9947 irix5* | irix6* | nonstopux*)
9948 if test "$GCC" = yes; then
9949 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'
9950 # Try to use the -exported_symbol ld option, if it does not
9951 # work, assume that -exports_file does not work either and
9952 # implicitly export all symbols.
9953 # This should be the same for all languages, so no per-tag cache variable.
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9955 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9956 if ${lt_cv_irix_exported_symbol+:} false; then :
9957 $as_echo_n "(cached) " >&6
9959 save_LDFLAGS="$LDFLAGS"
9960 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int foo (void) { return 0; }
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 lt_cv_irix_exported_symbol=yes
9968 lt_cv_irix_exported_symbol=no
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 LDFLAGS="$save_LDFLAGS"
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9975 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9976 if test "$lt_cv_irix_exported_symbol" = yes; then
9977 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'
9980 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'
9981 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'
9983 archive_cmds_need_lc='no'
9984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985 hardcode_libdir_separator=:
9987 link_all_deplibs=yes
9990 netbsd* | netbsdelf*-gnu)
9991 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9992 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9994 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9996 hardcode_libdir_flag_spec='-R$libdir'
9998 hardcode_shlibpath_var=no
10002 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10003 hardcode_direct=yes
10004 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10005 hardcode_libdir_separator=:
10006 hardcode_shlibpath_var=no
10013 if test -f /usr/libexec/ld.so; then
10014 hardcode_direct=yes
10015 hardcode_shlibpath_var=no
10016 hardcode_direct_absolute=yes
10017 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10018 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10020 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10021 export_dynamic_flag_spec='${wl}-E'
10024 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10025 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10026 hardcode_libdir_flag_spec='-R$libdir'
10029 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10030 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10040 hardcode_libdir_flag_spec='-L$libdir'
10041 hardcode_minus_L=yes
10042 allow_undefined_flag=unsupported
10043 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10044 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10048 if test "$GCC" = yes; then
10049 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10050 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'
10052 allow_undefined_flag=' -expect_unresolved \*'
10053 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'
10055 archive_cmds_need_lc='no'
10056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10057 hardcode_libdir_separator=:
10060 osf4* | osf5*) # as osf3* with the addition of -msym flag
10061 if test "$GCC" = yes; then
10062 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10063 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'
10064 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10066 allow_undefined_flag=' -expect_unresolved \*'
10067 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'
10068 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~
10069 $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'
10071 # Both c and cxx compiler support -rpath directly
10072 hardcode_libdir_flag_spec='-rpath $libdir'
10074 archive_cmds_need_lc='no'
10075 hardcode_libdir_separator=:
10079 no_undefined_flag=' -z defs'
10080 if test "$GCC" = yes; then
10082 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10083 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084 $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'
10086 case `$CC -V 2>&1` in
10089 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10090 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10091 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10095 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10096 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10097 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10101 hardcode_libdir_flag_spec='-R$libdir'
10102 hardcode_shlibpath_var=no
10104 solaris2.[0-5] | solaris2.[0-5].*) ;;
10106 # The compiler driver will combine and reorder linker options,
10107 # but understands `-z linker_flag'. GCC discards it without `$wl',
10108 # but is careful enough not to reorder.
10109 # Supported since Solaris 2.6 (maybe 2.5.1?)
10110 if test "$GCC" = yes; then
10111 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10113 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10117 link_all_deplibs=yes
10121 if test "x$host_vendor" = xsequent; then
10122 # Use $CC to link under sequent, because it throws in some extra .o
10123 # files that make .init and .fini sections work.
10124 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10128 hardcode_libdir_flag_spec='-L$libdir'
10129 hardcode_direct=yes
10130 hardcode_minus_L=yes
10131 hardcode_shlibpath_var=no
10135 case $host_vendor in
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_direct=yes # is this really true???
10141 ## LD is ld it makes a PLAMLIB
10142 ## CC just makes a GrossModule.
10143 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10144 reload_cmds='$CC -r -o $output$reload_objs'
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10152 runpath_var='LD_RUN_PATH'
10153 hardcode_shlibpath_var=no
10157 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10158 hardcode_shlibpath_var=no
10159 export_dynamic_flag_spec='-Bexport'
10163 if test -d /usr/nec; then
10164 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10165 hardcode_shlibpath_var=no
10166 runpath_var=LD_RUN_PATH
10167 hardcode_runpath_var=yes
10172 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10173 no_undefined_flag='${wl}-z,text'
10174 archive_cmds_need_lc=no
10175 hardcode_shlibpath_var=no
10176 runpath_var='LD_RUN_PATH'
10178 if test "$GCC" = yes; then
10179 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10182 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10183 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 sysv5* | sco3.2v5* | sco5v6*)
10188 # Note: We can NOT use -z defs as we might desire, because we do not
10189 # link with -lc, and that would cause any symbols used from libc to
10190 # always be unresolved, which means just about no library would
10191 # ever link correctly. If we're not using GNU ld we use -z text
10192 # though, which does catch some bad symbols but isn't as heavy-handed
10194 no_undefined_flag='${wl}-z,text'
10195 allow_undefined_flag='${wl}-z,nodefs'
10196 archive_cmds_need_lc=no
10197 hardcode_shlibpath_var=no
10198 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10199 hardcode_libdir_separator=':'
10200 link_all_deplibs=yes
10201 export_dynamic_flag_spec='${wl}-Bexport'
10202 runpath_var='LD_RUN_PATH'
10204 if test "$GCC" = yes; then
10205 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10208 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10209 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10215 hardcode_libdir_flag_spec='-L$libdir'
10216 hardcode_shlibpath_var=no
10224 if test x$host_vendor = xsni; then
10226 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10227 export_dynamic_flag_spec='${wl}-Blargedynsym'
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10234 $as_echo "$ld_shlibs" >&6; }
10235 test "$ld_shlibs" = no && can_build_shared=no
10237 with_gnu_ld=$with_gnu_ld
10254 # Do we need to explicitly link libc?
10256 case "x$archive_cmds_need_lc" in
10258 # Assume -lc should be added
10259 archive_cmds_need_lc=yes
10261 if test "$enable_shared" = yes && test "$GCC" = yes; then
10262 case $archive_cmds in
10264 # FIXME: we may have to deal with multi-command sequences.
10267 # Test whether the compiler implicitly links with -lc since on some
10268 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10269 # to ld, don't add -lc before -lgcc.
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10271 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10272 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10273 $as_echo_n "(cached) " >&6
10276 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10279 (eval $ac_compile) 2>&5
10281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10282 test $ac_status = 0; } 2>conftest.err; then
10285 libobjs=conftest.$ac_objext
10287 wl=$lt_prog_compiler_wl
10288 pic_flag=$lt_prog_compiler_pic
10294 lt_save_allow_undefined_flag=$allow_undefined_flag
10295 allow_undefined_flag=
10296 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10297 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10300 test $ac_status = 0; }
10302 lt_cv_archive_cmds_need_lc=no
10304 lt_cv_archive_cmds_need_lc=yes
10306 allow_undefined_flag=$lt_save_allow_undefined_flag
10308 cat conftest.err 1>&5
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10314 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10315 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10474 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10476 if test "$GCC" = yes; then
10478 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10479 *) lt_awk_arg="/^libraries:/" ;;
10482 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10483 *) lt_sed_strip_eq="s,=/,/,g" ;;
10485 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10486 case $lt_search_path_spec in
10488 # if the path contains ";" then we assume it to be the separator
10489 # otherwise default to the standard path separator (i.e. ":") - it is
10490 # assumed that no part of a normal pathname contains ";" but that should
10491 # okay in the real world where ";" in dirpaths is itself problematic.
10492 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10495 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10498 # Ok, now we have the path, separated by spaces, we can step through it
10499 # and add multilib dir if necessary.
10500 lt_tmp_lt_search_path_spec=
10501 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10502 for lt_sys_path in $lt_search_path_spec; do
10503 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10504 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10506 test -d "$lt_sys_path" && \
10507 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10510 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10511 BEGIN {RS=" "; FS="/|\n";} {
10514 for (lt_i = NF; lt_i > 0; lt_i--) {
10515 if ($lt_i != "" && $lt_i != ".") {
10516 if ($lt_i == "..") {
10519 if (lt_count == 0) {
10520 lt_foo="/" $lt_i lt_foo;
10527 if (lt_foo != "") { lt_freq[lt_foo]++; }
10528 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10530 # AWK program above erroneously prepends '/' to C:/dos/paths
10533 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10534 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10536 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10538 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10540 library_names_spec=
10541 libname_spec='lib$name'
10545 postuninstall_cmds=
10549 shlibpath_overrides_runpath=unknown
10551 dynamic_linker="$host_os ld.so"
10552 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10553 need_lib_prefix=unknown
10554 hardcode_into_libs=no
10556 # when you set need_version to no, make sure it does not cause -set_version
10557 # flags to be left without arguments
10558 need_version=unknown
10562 version_type=linux # correct to gnu/linux during the next big refactor
10563 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10564 shlibpath_var=LIBPATH
10566 # AIX 3 has no versioning support, so we append a major version to the name.
10567 soname_spec='${libname}${release}${shared_ext}$major'
10571 version_type=linux # correct to gnu/linux during the next big refactor
10574 hardcode_into_libs=yes
10575 if test "$host_cpu" = ia64; then
10576 # AIX 5 supports IA64
10577 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10578 shlibpath_var=LD_LIBRARY_PATH
10580 # With GCC up to 2.95.x, collect2 would create an import file
10581 # for dependence libraries. The import file would start with
10582 # the line `#! .'. This would cause the generated library to
10583 # depend on `.', always an invalid library. This was fixed in
10584 # development snapshots of GCC prior to 3.0.
10586 aix4 | aix4.[01] | aix4.[01].*)
10587 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10589 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10592 can_build_shared=no
10596 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10597 # soname into executable. Probably we can add versioning support to
10598 # collect2, so additional links can be useful in future.
10599 if test "$aix_use_runtimelinking" = yes; then
10600 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10601 # instead of lib<name>.a to let people know that these are not
10602 # typical AIX shared libraries.
10603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10605 # We preserve .a as extension for shared libraries through AIX4.2
10606 # and later when we are not doing run time linking.
10607 library_names_spec='${libname}${release}.a $libname.a'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10610 shlibpath_var=LIBPATH
10617 # Since July 2007 AmigaOS4 officially supports .so libraries.
10618 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10622 library_names_spec='$libname.ixlibrary $libname.a'
10623 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10624 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10630 library_names_spec='${libname}${shared_ext}'
10631 dynamic_linker="$host_os ld.so"
10632 shlibpath_var=LIBRARY_PATH
10636 version_type=linux # correct to gnu/linux during the next big refactor
10638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 soname_spec='${libname}${release}${shared_ext}$major'
10640 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10641 shlibpath_var=LD_LIBRARY_PATH
10642 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10643 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10644 # the default ld.so.conf also contains /usr/contrib/lib and
10645 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10646 # libtool to hard-code these into programs
10649 cygwin* | mingw* | pw32* | cegcc*)
10650 version_type=windows
10655 case $GCC,$cc_basename in
10658 library_names_spec='$libname.dll.a'
10659 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10660 postinstall_cmds='base_file=`basename \${file}`~
10661 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10662 dldir=$destdir/`dirname \$dlpath`~
10663 test -d \$dldir || mkdir -p \$dldir~
10664 $install_prog $dir/$dlname \$dldir/$dlname~
10665 chmod a+x \$dldir/$dlname~
10666 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10667 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10669 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10670 dlpath=$dir/\$dldll~
10672 shlibpath_overrides_runpath=yes
10676 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10677 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10679 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10682 # MinGW DLLs use traditional 'lib' prefix
10683 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686 # pw32 DLLs use 'pw' prefix rather than 'lib'
10687 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10690 dynamic_linker='Win32 ld.exe'
10695 libname_spec='$name'
10696 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10697 library_names_spec='${libname}.dll.lib'
10701 sys_lib_search_path_spec=
10704 for lt_path in $LIB
10707 # Let DOS variable expansion print the short 8.3 style file name.
10708 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10709 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10712 # Convert to MSYS style.
10713 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10716 # Convert to unix form, then to dos form, then back to unix form
10717 # but this time dos style (no spaces!) so that the unix form looks
10718 # like /cygdrive/c/PROGRA~1:/cygdr...
10719 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10720 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10721 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10724 sys_lib_search_path_spec="$LIB"
10725 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10726 # It is most probably a Windows format PATH.
10727 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10729 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10731 # FIXME: find the short name or the path components, as spaces are
10732 # common. (e.g. "Program Files" -> "PROGRA~1")
10736 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10737 postinstall_cmds='base_file=`basename \${file}`~
10738 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10739 dldir=$destdir/`dirname \$dlpath`~
10740 test -d \$dldir || mkdir -p \$dldir~
10741 $install_prog $dir/$dlname \$dldir/$dlname'
10742 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10743 dlpath=$dir/\$dldll~
10745 shlibpath_overrides_runpath=yes
10746 dynamic_linker='Win32 link.exe'
10750 # Assume MSVC wrapper
10751 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10752 dynamic_linker='Win32 ld.exe'
10755 # FIXME: first we should search . and the directory the executable is in
10759 darwin* | rhapsody*)
10760 dynamic_linker="$host_os dyld"
10761 version_type=darwin
10764 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10765 soname_spec='${libname}${release}${major}$shared_ext'
10766 shlibpath_overrides_runpath=yes
10767 shlibpath_var=DYLD_LIBRARY_PATH
10768 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10770 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10771 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10775 version_type=linux # correct to gnu/linux during the next big refactor
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10779 soname_spec='${libname}${release}${shared_ext}$major'
10780 shlibpath_var=LD_LIBRARY_PATH
10783 freebsd* | dragonfly*)
10784 # DragonFly does not have aout. When/if they implement a new
10785 # versioning mechanism, adjust this.
10786 if test -x /usr/bin/objformat; then
10787 objformat=`/usr/bin/objformat`
10790 freebsd[23].*) objformat=aout ;;
10791 *) objformat=elf ;;
10794 version_type=freebsd-$objformat
10795 case $version_type in
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10806 shlibpath_var=LD_LIBRARY_PATH
10809 shlibpath_overrides_runpath=yes
10811 freebsd3.[01]* | freebsdelf3.[01]*)
10812 shlibpath_overrides_runpath=yes
10813 hardcode_into_libs=yes
10815 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10816 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10817 shlibpath_overrides_runpath=no
10818 hardcode_into_libs=yes
10820 *) # from 4.6 on, and DragonFly
10821 shlibpath_overrides_runpath=yes
10822 hardcode_into_libs=yes
10828 version_type=linux # correct to gnu/linux during the next big refactor
10831 dynamic_linker="$host_os runtime_loader"
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10834 shlibpath_var=LIBRARY_PATH
10835 shlibpath_overrides_runpath=yes
10836 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10837 hardcode_into_libs=yes
10840 hpux9* | hpux10* | hpux11*)
10841 # Give a soname corresponding to the major version so that dld.sl refuses to
10842 # link against other versions.
10849 hardcode_into_libs=yes
10850 dynamic_linker="$host_os dld.so"
10851 shlibpath_var=LD_LIBRARY_PATH
10852 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854 soname_spec='${libname}${release}${shared_ext}$major'
10855 if test "X$HPUX_IA64_MODE" = X32; then
10856 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10858 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10860 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10864 hardcode_into_libs=yes
10865 dynamic_linker="$host_os dld.sl"
10866 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10867 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 soname_spec='${libname}${release}${shared_ext}$major'
10870 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10871 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10875 dynamic_linker="$host_os dld.sl"
10876 shlibpath_var=SHLIB_PATH
10877 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10879 soname_spec='${libname}${release}${shared_ext}$major'
10882 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10883 postinstall_cmds='chmod 555 $lib'
10884 # or fails outright, so override atomically:
10885 install_override_mode=555
10889 version_type=linux # correct to gnu/linux during the next big refactor
10892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10893 soname_spec='${libname}${release}${shared_ext}$major'
10894 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10895 shlibpath_var=LD_LIBRARY_PATH
10896 shlibpath_overrides_runpath=no
10897 hardcode_into_libs=yes
10900 irix5* | irix6* | nonstopux*)
10902 nonstopux*) version_type=nonstopux ;;
10904 if test "$lt_cv_prog_gnu_ld" = yes; then
10905 version_type=linux # correct to gnu/linux during the next big refactor
10912 soname_spec='${libname}${release}${shared_ext}$major'
10913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10915 irix5* | nonstopux*)
10916 libsuff= shlibsuff=
10919 case $LD in # libtool.m4 will add one of these switches to LD
10920 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10921 libsuff= shlibsuff= libmagic=32-bit;;
10922 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10923 libsuff=32 shlibsuff=N32 libmagic=N32;;
10924 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10925 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10926 *) libsuff= shlibsuff= libmagic=never-match;;
10930 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10931 shlibpath_overrides_runpath=no
10932 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10933 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10934 hardcode_into_libs=yes
10937 # No shared lib support for Linux oldld, aout, or coff.
10938 linux*oldld* | linux*aout* | linux*coff*)
10942 # This must be glibc/ELF.
10943 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10944 version_type=linux # correct to gnu/linux during the next big refactor
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948 soname_spec='${libname}${release}${shared_ext}$major'
10949 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 shlibpath_overrides_runpath=no
10953 # Some binutils ld are patched to set DT_RUNPATH
10954 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10955 $as_echo_n "(cached) " >&6
10957 lt_cv_shlibpath_overrides_runpath=no
10958 save_LDFLAGS=$LDFLAGS
10959 save_libdir=$libdir
10960 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10961 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10973 if ac_fn_c_try_link "$LINENO"; then :
10974 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10975 lt_cv_shlibpath_overrides_runpath=yes
10978 rm -f core conftest.err conftest.$ac_objext \
10979 conftest$ac_exeext conftest.$ac_ext
10980 LDFLAGS=$save_LDFLAGS
10981 libdir=$save_libdir
10985 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10987 # This implies no fast_install, which is unacceptable.
10988 # Some rework will be needed to allow for fast_install
10989 # before this can be enabled.
10990 hardcode_into_libs=yes
10992 # Append ld.so.conf contents to the search path
10993 if test -f /etc/ld.so.conf; then
10994 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' ' '`
10995 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10998 # We used to test for /lib/ld.so.1 and disable shared libraries on
10999 # powerpc, because MkLinux only supported shared libraries with the
11000 # GNU dynamic linker. Since this was broken with cross compilers,
11001 # most powerpc-linux boxes support dynamic linking these days and
11002 # people can always --disable-shared, the test was removed, and we
11003 # assume the GNU/Linux dynamic linker is in use.
11004 dynamic_linker='GNU/Linux ld.so'
11011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11012 soname_spec='${libname}${release}${shared_ext}$major'
11013 shlibpath_var=LD_LIBRARY_PATH
11014 shlibpath_overrides_runpath=no
11015 hardcode_into_libs=yes
11016 dynamic_linker='NetBSD ld.elf_so'
11023 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11025 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11026 dynamic_linker='NetBSD (a.out) ld.so'
11028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11029 soname_spec='${libname}${release}${shared_ext}$major'
11030 dynamic_linker='NetBSD ld.elf_so'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath=yes
11034 hardcode_into_libs=yes
11038 version_type=linux # correct to gnu/linux during the next big refactor
11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040 shlibpath_var=LD_LIBRARY_PATH
11041 shlibpath_overrides_runpath=yes
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=no
11052 hardcode_into_libs=yes
11053 dynamic_linker='ldqnx.so'
11058 sys_lib_dlsearch_path_spec="/usr/lib"
11060 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11062 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11063 *) need_version=no ;;
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11066 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11067 shlibpath_var=LD_LIBRARY_PATH
11068 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11070 openbsd2.[89] | openbsd2.[89].*)
11071 shlibpath_overrides_runpath=no
11074 shlibpath_overrides_runpath=yes
11078 shlibpath_overrides_runpath=yes
11083 libname_spec='$name'
11086 library_names_spec='$libname${shared_ext} $libname.a'
11087 dynamic_linker='OS/2 ld.exe'
11088 shlibpath_var=LIBPATH
11091 osf3* | osf4* | osf5*)
11095 soname_spec='${libname}${release}${shared_ext}$major'
11096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11099 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11107 version_type=linux # correct to gnu/linux during the next big refactor
11110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 soname_spec='${libname}${release}${shared_ext}$major'
11112 shlibpath_var=LD_LIBRARY_PATH
11113 shlibpath_overrides_runpath=yes
11114 hardcode_into_libs=yes
11115 # ldd complains unless libraries are executable
11116 postinstall_cmds='chmod +x $lib'
11121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11122 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11123 shlibpath_var=LD_LIBRARY_PATH
11124 shlibpath_overrides_runpath=yes
11125 if test "$with_gnu_ld" = yes; then
11132 version_type=linux # correct to gnu/linux during the next big refactor
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134 soname_spec='${libname}${release}${shared_ext}$major'
11135 shlibpath_var=LD_LIBRARY_PATH
11136 case $host_vendor in
11138 shlibpath_overrides_runpath=no
11140 runpath_var=LD_RUN_PATH
11148 shlibpath_overrides_runpath=no
11149 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11155 if test -d /usr/nec ;then
11156 version_type=linux # correct to gnu/linux during the next big refactor
11157 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11158 soname_spec='$libname${shared_ext}.$major'
11159 shlibpath_var=LD_LIBRARY_PATH
11163 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11164 version_type=freebsd-elf
11167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11168 soname_spec='${libname}${release}${shared_ext}$major'
11169 shlibpath_var=LD_LIBRARY_PATH
11170 shlibpath_overrides_runpath=yes
11171 hardcode_into_libs=yes
11172 if test "$with_gnu_ld" = yes; then
11173 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11175 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11178 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11182 sys_lib_dlsearch_path_spec='/usr/lib'
11186 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11187 version_type=linux # correct to gnu/linux during the next big refactor
11190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11191 shlibpath_var=LD_LIBRARY_PATH
11192 shlibpath_overrides_runpath=no
11193 hardcode_into_libs=yes
11197 version_type=linux # correct to gnu/linux during the next big refactor
11198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11199 soname_spec='${libname}${release}${shared_ext}$major'
11200 shlibpath_var=LD_LIBRARY_PATH
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11208 $as_echo "$dynamic_linker" >&6; }
11209 test "$dynamic_linker" = no && can_build_shared=no
11211 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11212 if test "$GCC" = yes; then
11213 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11216 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11217 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11219 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11220 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11315 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11317 if test -n "$hardcode_libdir_flag_spec" ||
11318 test -n "$runpath_var" ||
11319 test "X$hardcode_automatic" = "Xyes" ; then
11321 # We can hardcode non-existent directories.
11322 if test "$hardcode_direct" != no &&
11323 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11324 # have to relink, otherwise we might link with an installed library
11325 # when we should be linking with a yet-to-be-installed one
11326 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11327 test "$hardcode_minus_L" != no; then
11328 # Linking always hardcodes the temporary library directory.
11329 hardcode_action=relink
11331 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11332 hardcode_action=immediate
11335 # We cannot hardcode anything, or else we can only hardcode existing
11337 hardcode_action=unsupported
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11340 $as_echo "$hardcode_action" >&6; }
11342 if test "$hardcode_action" = relink ||
11343 test "$inherit_rpath" = yes; then
11344 # Fast installation is not supported
11345 enable_fast_install=no
11346 elif test "$shlibpath_overrides_runpath" = yes ||
11347 test "$enable_shared" = no; then
11348 # Fast installation is not necessary
11349 enable_fast_install=needless
11357 if test "x$enable_dlopen" != xyes; then
11358 enable_dlopen=unknown
11359 enable_dlopen_self=unknown
11360 enable_dlopen_self_static=unknown
11367 lt_cv_dlopen="load_add_on"
11369 lt_cv_dlopen_self=yes
11372 mingw* | pw32* | cegcc*)
11373 lt_cv_dlopen="LoadLibrary"
11378 lt_cv_dlopen="dlopen"
11383 # if libdl is installed we need to link against it
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11385 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11386 if ${ac_cv_lib_dl_dlopen+:} false; then :
11387 $as_echo_n "(cached) " >&6
11389 ac_check_lib_save_LIBS=$LIBS
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 ac_cv_lib_dl_dlopen=yes
11412 ac_cv_lib_dl_dlopen=no
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11419 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11420 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11421 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11424 lt_cv_dlopen="dyld"
11426 lt_cv_dlopen_self=yes
11433 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11434 if test "x$ac_cv_func_shl_load" = xyes; then :
11435 lt_cv_dlopen="shl_load"
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11438 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11439 if ${ac_cv_lib_dld_shl_load+:} false; then :
11440 $as_echo_n "(cached) " >&6
11442 ac_check_lib_save_LIBS=$LIBS
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11457 return shl_load ();
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_dld_shl_load=yes
11465 ac_cv_lib_dld_shl_load=no
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11472 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11473 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11474 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11476 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11477 if test "x$ac_cv_func_dlopen" = xyes; then :
11478 lt_cv_dlopen="dlopen"
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11481 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11482 if ${ac_cv_lib_dl_dlopen+:} false; then :
11483 $as_echo_n "(cached) " >&6
11485 ac_check_lib_save_LIBS=$LIBS
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11505 if ac_fn_c_try_link "$LINENO"; then :
11506 ac_cv_lib_dl_dlopen=yes
11508 ac_cv_lib_dl_dlopen=no
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_lib_save_LIBS
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11515 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11516 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11517 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11520 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11521 if ${ac_cv_lib_svld_dlopen+:} false; then :
11522 $as_echo_n "(cached) " >&6
11524 ac_check_lib_save_LIBS=$LIBS
11525 LIBS="-lsvld $LIBS"
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11544 if ac_fn_c_try_link "$LINENO"; then :
11545 ac_cv_lib_svld_dlopen=yes
11547 ac_cv_lib_svld_dlopen=no
11549 rm -f core conftest.err conftest.$ac_objext \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_lib_save_LIBS
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11554 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11555 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11556 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11559 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11560 if ${ac_cv_lib_dld_dld_link+:} false; then :
11561 $as_echo_n "(cached) " >&6
11563 ac_check_lib_save_LIBS=$LIBS
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11568 /* Override any GCC internal prototype to avoid an error.
11569 Use char because int might match the return type of a GCC
11570 builtin and then its argument prototype would still apply. */
11578 return dld_link ();
11583 if ac_fn_c_try_link "$LINENO"; then :
11584 ac_cv_lib_dld_dld_link=yes
11586 ac_cv_lib_dld_dld_link=no
11588 rm -f core conftest.err conftest.$ac_objext \
11589 conftest$ac_exeext conftest.$ac_ext
11590 LIBS=$ac_check_lib_save_LIBS
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11593 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11594 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11595 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11616 if test "x$lt_cv_dlopen" != xno; then
11622 case $lt_cv_dlopen in
11624 save_CPPFLAGS="$CPPFLAGS"
11625 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11627 save_LDFLAGS="$LDFLAGS"
11628 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11631 LIBS="$lt_cv_dlopen_libs $LIBS"
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11634 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11635 if ${lt_cv_dlopen_self+:} false; then :
11636 $as_echo_n "(cached) " >&6
11638 if test "$cross_compiling" = yes; then :
11639 lt_cv_dlopen_self=cross
11641 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11642 lt_status=$lt_dlunknown
11643 cat > conftest.$ac_ext <<_LT_EOF
11644 #line $LINENO "configure"
11645 #include "confdefs.h"
11654 # define LT_DLGLOBAL RTLD_GLOBAL
11657 # define LT_DLGLOBAL DL_GLOBAL
11659 # define LT_DLGLOBAL 0
11663 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11664 find out it does not work in some platform. */
11665 #ifndef LT_DLLAZY_OR_NOW
11667 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11670 # define LT_DLLAZY_OR_NOW DL_LAZY
11673 # define LT_DLLAZY_OR_NOW RTLD_NOW
11676 # define LT_DLLAZY_OR_NOW DL_NOW
11678 # define LT_DLLAZY_OR_NOW 0
11685 /* When -fvisbility=hidden is used, assume the code has been annotated
11686 correspondingly for the symbols needed. */
11687 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11688 int fnord () __attribute__((visibility("default")));
11691 int fnord () { return 42; }
11694 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11695 int status = $lt_dlunknown;
11699 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11702 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11703 else puts (dlerror ());
11705 /* dlclose (self); */
11713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11714 (eval $ac_link) 2>&5
11716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11717 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11718 (./conftest; exit; ) >&5 2>/dev/null
11720 case x$lt_status in
11721 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11722 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11723 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11726 # compilation failed
11727 lt_cv_dlopen_self=no
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11735 $as_echo "$lt_cv_dlopen_self" >&6; }
11737 if test "x$lt_cv_dlopen_self" = xyes; then
11738 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11740 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11741 if ${lt_cv_dlopen_self_static+:} false; then :
11742 $as_echo_n "(cached) " >&6
11744 if test "$cross_compiling" = yes; then :
11745 lt_cv_dlopen_self_static=cross
11747 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11748 lt_status=$lt_dlunknown
11749 cat > conftest.$ac_ext <<_LT_EOF
11750 #line $LINENO "configure"
11751 #include "confdefs.h"
11760 # define LT_DLGLOBAL RTLD_GLOBAL
11763 # define LT_DLGLOBAL DL_GLOBAL
11765 # define LT_DLGLOBAL 0
11769 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11770 find out it does not work in some platform. */
11771 #ifndef LT_DLLAZY_OR_NOW
11773 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11776 # define LT_DLLAZY_OR_NOW DL_LAZY
11779 # define LT_DLLAZY_OR_NOW RTLD_NOW
11782 # define LT_DLLAZY_OR_NOW DL_NOW
11784 # define LT_DLLAZY_OR_NOW 0
11791 /* When -fvisbility=hidden is used, assume the code has been annotated
11792 correspondingly for the symbols needed. */
11793 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11794 int fnord () __attribute__((visibility("default")));
11797 int fnord () { return 42; }
11800 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11801 int status = $lt_dlunknown;
11805 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11808 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11809 else puts (dlerror ());
11811 /* dlclose (self); */
11819 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11820 (eval $ac_link) 2>&5
11822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11823 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11824 (./conftest; exit; ) >&5 2>/dev/null
11826 case x$lt_status in
11827 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11828 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11829 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11832 # compilation failed
11833 lt_cv_dlopen_self_static=no
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11841 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11844 CPPFLAGS="$save_CPPFLAGS"
11845 LDFLAGS="$save_LDFLAGS"
11850 case $lt_cv_dlopen_self in
11851 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11852 *) enable_dlopen_self=unknown ;;
11855 case $lt_cv_dlopen_self_static in
11856 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11857 *) enable_dlopen_self_static=unknown ;;
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11880 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11881 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11882 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11883 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11885 $as_echo "yes" >&6; }
11887 # FIXME - insert some real tests, host_os isn't really good enough
11890 if test -n "$STRIP" ; then
11891 striplib="$STRIP -x"
11892 old_striplib="$STRIP -S"
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11894 $as_echo "yes" >&6; }
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897 $as_echo "no" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11918 # Report which library types will actually be built
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11920 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11922 $as_echo "$can_build_shared" >&6; }
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11925 $as_echo_n "checking whether to build shared libraries... " >&6; }
11926 test "$can_build_shared" = "no" && enable_shared=no
11928 # On AIX, shared libraries and static libraries use the same namespace, and
11929 # are all built from PIC.
11932 test "$enable_shared" = yes && enable_static=no
11933 if test -n "$RANLIB"; then
11934 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11935 postinstall_cmds='$RANLIB $lib'
11940 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11941 test "$enable_shared" = yes && enable_static=no
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11946 $as_echo "$enable_shared" >&6; }
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11949 $as_echo_n "checking whether to build static libraries... " >&6; }
11950 # Make sure either enable_shared or enable_static is yes.
11951 test "$enable_shared" = yes || enable_static=yes
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11953 $as_echo "$enable_static" >&6; }
11960 ac_cpp='$CPP $CPPFLAGS'
11961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11981 ac_config_commands="$ac_config_commands libtool"
11986 # Only expand once:
11992 for ac_func in $ac_func_list
11994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11996 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11997 cat >>confdefs.h <<_ACEOF
11998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12010 # Checks for programs.
12018 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12019 if test -n "$ac_tool_prefix"; then
12020 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12021 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12023 $as_echo_n "checking for $ac_word... " >&6; }
12024 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12025 $as_echo_n "(cached) " >&6
12027 case $PKG_CONFIG in
12029 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12033 for as_dir in $PATH
12036 test -z "$as_dir" && as_dir=.
12037 for ac_exec_ext in '' $ac_executable_extensions; do
12038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12039 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12050 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12051 if test -n "$PKG_CONFIG"; then
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12053 $as_echo "$PKG_CONFIG" >&6; }
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12056 $as_echo "no" >&6; }
12061 if test -z "$ac_cv_path_PKG_CONFIG"; then
12062 ac_pt_PKG_CONFIG=$PKG_CONFIG
12063 # Extract the first word of "pkg-config", so it can be a program name with args.
12064 set dummy pkg-config; ac_word=$2
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12066 $as_echo_n "checking for $ac_word... " >&6; }
12067 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12068 $as_echo_n "(cached) " >&6
12070 case $ac_pt_PKG_CONFIG in
12072 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12076 for as_dir in $PATH
12079 test -z "$as_dir" && as_dir=.
12080 for ac_exec_ext in '' $ac_executable_extensions; do
12081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12082 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12093 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12094 if test -n "$ac_pt_PKG_CONFIG"; then
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12096 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12099 $as_echo "no" >&6; }
12102 if test "x$ac_pt_PKG_CONFIG" = x; then
12105 case $cross_compiling:$ac_tool_warned in
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12109 ac_tool_warned=yes ;;
12111 PKG_CONFIG=$ac_pt_PKG_CONFIG
12114 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12118 if test -n "$PKG_CONFIG"; then
12119 _pkg_min_version=0.23
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12121 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12122 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12124 $as_echo "yes" >&6; }
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12127 $as_echo "no" >&6; }
12132 ac_cpp='$CPP $CPPFLAGS'
12133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12136 if test -n "$ac_tool_prefix"; then
12137 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12138 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12140 $as_echo_n "checking for $ac_word... " >&6; }
12141 if ${ac_cv_prog_CC+:} false; then :
12142 $as_echo_n "(cached) " >&6
12144 if test -n "$CC"; then
12145 ac_cv_prog_CC="$CC" # Let the user override the test.
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12151 test -z "$as_dir" && as_dir=.
12152 for ac_exec_ext in '' $ac_executable_extensions; do
12153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12154 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12165 if test -n "$CC"; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12167 $as_echo "$CC" >&6; }
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12170 $as_echo "no" >&6; }
12175 if test -z "$ac_cv_prog_CC"; then
12177 # Extract the first word of "gcc", so it can be a program name with args.
12178 set dummy gcc; ac_word=$2
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12180 $as_echo_n "checking for $ac_word... " >&6; }
12181 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12182 $as_echo_n "(cached) " >&6
12184 if test -n "$ac_ct_CC"; then
12185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12188 for as_dir in $PATH
12191 test -z "$as_dir" && as_dir=.
12192 for ac_exec_ext in '' $ac_executable_extensions; do
12193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12194 ac_cv_prog_ac_ct_CC="gcc"
12195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12204 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12205 if test -n "$ac_ct_CC"; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12207 $as_echo "$ac_ct_CC" >&6; }
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12213 if test "x$ac_ct_CC" = x; then
12216 case $cross_compiling:$ac_tool_warned in
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12220 ac_tool_warned=yes ;;
12225 CC="$ac_cv_prog_CC"
12228 if test -z "$CC"; then
12229 if test -n "$ac_tool_prefix"; then
12230 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12231 set dummy ${ac_tool_prefix}cc; ac_word=$2
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12233 $as_echo_n "checking for $ac_word... " >&6; }
12234 if ${ac_cv_prog_CC+:} false; then :
12235 $as_echo_n "(cached) " >&6
12237 if test -n "$CC"; then
12238 ac_cv_prog_CC="$CC" # Let the user override the test.
12240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12241 for as_dir in $PATH
12244 test -z "$as_dir" && as_dir=.
12245 for ac_exec_ext in '' $ac_executable_extensions; do
12246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12247 ac_cv_prog_CC="${ac_tool_prefix}cc"
12248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12258 if test -n "$CC"; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12260 $as_echo "$CC" >&6; }
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12263 $as_echo "no" >&6; }
12269 if test -z "$CC"; then
12270 # Extract the first word of "cc", so it can be a program name with args.
12271 set dummy cc; ac_word=$2
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12273 $as_echo_n "checking for $ac_word... " >&6; }
12274 if ${ac_cv_prog_CC+:} false; then :
12275 $as_echo_n "(cached) " >&6
12277 if test -n "$CC"; then
12278 ac_cv_prog_CC="$CC" # Let the user override the test.
12280 ac_prog_rejected=no
12281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12282 for as_dir in $PATH
12285 test -z "$as_dir" && as_dir=.
12286 for ac_exec_ext in '' $ac_executable_extensions; do
12287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12288 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12289 ac_prog_rejected=yes
12293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12300 if test $ac_prog_rejected = yes; then
12301 # We found a bogon in the path, so make sure we never use it.
12302 set dummy $ac_cv_prog_CC
12304 if test $# != 0; then
12305 # We chose a different compiler from the bogus one.
12306 # However, it has the same basename, so the bogon will be chosen
12307 # first if we set CC to just the basename; use the full file name.
12309 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12315 if test -n "$CC"; then
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12317 $as_echo "$CC" >&6; }
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320 $as_echo "no" >&6; }
12325 if test -z "$CC"; then
12326 if test -n "$ac_tool_prefix"; then
12327 for ac_prog in cl.exe
12329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12332 $as_echo_n "checking for $ac_word... " >&6; }
12333 if ${ac_cv_prog_CC+:} false; then :
12334 $as_echo_n "(cached) " >&6
12336 if test -n "$CC"; then
12337 ac_cv_prog_CC="$CC" # Let the user override the test.
12339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12340 for as_dir in $PATH
12343 test -z "$as_dir" && as_dir=.
12344 for ac_exec_ext in '' $ac_executable_extensions; do
12345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12346 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12357 if test -n "$CC"; then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12359 $as_echo "$CC" >&6; }
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12362 $as_echo "no" >&6; }
12366 test -n "$CC" && break
12369 if test -z "$CC"; then
12371 for ac_prog in cl.exe
12373 # Extract the first word of "$ac_prog", so it can be a program name with args.
12374 set dummy $ac_prog; ac_word=$2
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12376 $as_echo_n "checking for $ac_word... " >&6; }
12377 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12378 $as_echo_n "(cached) " >&6
12380 if test -n "$ac_ct_CC"; then
12381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12384 for as_dir in $PATH
12387 test -z "$as_dir" && as_dir=.
12388 for ac_exec_ext in '' $ac_executable_extensions; do
12389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12390 ac_cv_prog_ac_ct_CC="$ac_prog"
12391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12401 if test -n "$ac_ct_CC"; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12403 $as_echo "$ac_ct_CC" >&6; }
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12406 $as_echo "no" >&6; }
12410 test -n "$ac_ct_CC" && break
12413 if test "x$ac_ct_CC" = x; then
12416 case $cross_compiling:$ac_tool_warned in
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12420 ac_tool_warned=yes ;;
12429 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12431 as_fn_error $? "no acceptable C compiler found in \$PATH
12432 See \`config.log' for more details" "$LINENO" 5; }
12434 # Provide some information about the compiler.
12435 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12438 for ac_option in --version -v -V -qversion; do
12439 { { ac_try="$ac_compiler $ac_option >&5"
12440 case "(($ac_try" in
12441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12442 *) ac_try_echo=$ac_try;;
12444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12445 $as_echo "$ac_try_echo"; } >&5
12446 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12448 if test -s conftest.err; then
12450 ... rest of stderr output deleted ...
12451 10q' conftest.err >conftest.er1
12452 cat conftest.er1 >&5
12454 rm -f conftest.er1 conftest.err
12455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12456 test $ac_status = 0; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12460 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12461 if ${ac_cv_c_compiler_gnu+:} false; then :
12462 $as_echo_n "(cached) " >&6
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12478 if ac_fn_c_try_compile "$LINENO"; then :
12479 ac_compiler_gnu=yes
12483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12484 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12488 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12489 if test $ac_compiler_gnu = yes; then
12494 ac_test_CFLAGS=${CFLAGS+set}
12495 ac_save_CFLAGS=$CFLAGS
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12497 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12498 if ${ac_cv_prog_cc_g+:} false; then :
12499 $as_echo_n "(cached) " >&6
12501 ac_save_c_werror_flag=$ac_c_werror_flag
12502 ac_c_werror_flag=yes
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12516 if ac_fn_c_try_compile "$LINENO"; then :
12517 ac_cv_prog_cc_g=yes
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12531 if ac_fn_c_try_compile "$LINENO"; then :
12534 ac_c_werror_flag=$ac_save_c_werror_flag
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12547 if ac_fn_c_try_compile "$LINENO"; then :
12548 ac_cv_prog_cc_g=yes
12550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12555 ac_c_werror_flag=$ac_save_c_werror_flag
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12558 $as_echo "$ac_cv_prog_cc_g" >&6; }
12559 if test "$ac_test_CFLAGS" = set; then
12560 CFLAGS=$ac_save_CFLAGS
12561 elif test $ac_cv_prog_cc_g = yes; then
12562 if test "$GCC" = yes; then
12568 if test "$GCC" = yes; then
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12575 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12576 if ${ac_cv_prog_cc_c89+:} false; then :
12577 $as_echo_n "(cached) " >&6
12579 ac_cv_prog_cc_c89=no
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12583 #include <stdarg.h>
12586 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12587 struct buf { int x; };
12588 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12589 static char *e (p, i)
12595 static char *f (char * (*g) (char **, int), char **p, ...)
12600 s = g (p, va_arg (v,int));
12605 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12606 function prototypes and stuff, but not '\xHH' hex character constants.
12607 These don't provoke an error unfortunately, instead are silently treated
12608 as 'x'. The following induces an error, until -std is added to get
12609 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12610 array size at least. It's necessary to write '\x00'==0 to get something
12611 that's true only with -std. */
12612 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12614 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12615 inside strings and character constants. */
12617 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12619 int test (int i, double x);
12620 struct s1 {int (*f) (int a);};
12621 struct s2 {int (*f) (double a);};
12622 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12628 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12633 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12634 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12636 CC="$ac_save_CC $ac_arg"
12637 if ac_fn_c_try_compile "$LINENO"; then :
12638 ac_cv_prog_cc_c89=$ac_arg
12640 rm -f core conftest.err conftest.$ac_objext
12641 test "x$ac_cv_prog_cc_c89" != "xno" && break
12643 rm -f conftest.$ac_ext
12648 case "x$ac_cv_prog_cc_c89" in
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12651 $as_echo "none needed" >&6; } ;;
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12654 $as_echo "unsupported" >&6; } ;;
12656 CC="$CC $ac_cv_prog_cc_c89"
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12658 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12660 if test "x$ac_cv_prog_cc_c89" != xno; then :
12665 ac_cpp='$CPP $CPPFLAGS'
12666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12671 ac_cpp='$CPP $CPPFLAGS'
12672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12676 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12677 if ${am_cv_prog_cc_c_o+:} false; then :
12678 $as_echo_n "(cached) " >&6
12680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12691 # Make sure it works both with $CC and with simple cc.
12692 # Following AC_PROG_CC_C_O, we do the test twice because some
12693 # compilers refuse to overwrite an existing .o file with -o,
12694 # though they will create one.
12695 am_cv_prog_cc_c_o=yes
12696 for am_i in 1 2; do
12697 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12698 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } \
12702 && test -f conftest2.$ac_objext; then
12705 am_cv_prog_cc_c_o=no
12709 rm -f core conftest*
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12713 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12714 if test "$am_cv_prog_cc_c_o" != yes; then
12715 # Losing compiler, so override with the script.
12716 # FIXME: It is wrong to rewrite CC.
12717 # But if we don't then we get into trouble of one sort or another.
12718 # A longer-term fix would be to have automake use am__CC in this case,
12719 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12720 CC="$am_aux_dir/compile $CC"
12723 ac_cpp='$CPP $CPPFLAGS'
12724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12729 depcc="$CC" am_compiler_list=
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12732 $as_echo_n "checking dependency style of $depcc... " >&6; }
12733 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12734 $as_echo_n "(cached) " >&6
12736 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12737 # We make a subdir and do the tests there. Otherwise we can end up
12738 # making bogus files that we don't know about and never remove. For
12739 # instance it was reported that on HP-UX the gcc test will end up
12740 # making a dummy file named 'D' -- because '-MD' means "put the output
12742 rm -rf conftest.dir
12744 # Copy depcomp to subdir because otherwise we won't find it if we're
12745 # using a relative directory.
12746 cp "$am_depcomp" conftest.dir
12748 # We will build objects and dependencies in a subdirectory because
12749 # it helps to detect inapplicable dependency modes. For instance
12750 # both Tru64's cc and ICC support -MD to output dependencies as a
12751 # side effect of compilation, but ICC will put the dependencies in
12752 # the current directory while Tru64 will put them in the object
12756 am_cv_CC_dependencies_compiler_type=none
12757 if test "$am_compiler_list" = ""; then
12758 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12760 am__universal=false
12761 case " $depcc " in #(
12762 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12765 for depmode in $am_compiler_list; do
12766 # Setup a source with many dependencies, because some compilers
12767 # like to wrap large dependency lists on column 80 (with \), and
12768 # we should not choose a depcomp mode which is confused by this.
12770 # We need to recreate these files for each test, as the compiler may
12771 # overwrite some of them when testing with obscure command lines.
12772 # This happens at least with the AIX C compiler.
12774 for i in 1 2 3 4 5 6; do
12775 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12776 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12777 # Solaris 10 /bin/sh.
12778 echo '/* dummy */' > sub/conftst$i.h
12780 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12782 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12783 # mode. It turns out that the SunPro C++ compiler does not properly
12784 # handle '-M -o', and we need to detect this. Also, some Intel
12785 # versions had trouble with output in subdirs.
12786 am__obj=sub/conftest.${OBJEXT-o}
12787 am__minus_obj="-o $am__obj"
12790 # This depmode causes a compiler race in universal mode.
12791 test "$am__universal" = false || continue
12794 # After this tag, mechanisms are not by side-effect, so they'll
12795 # only be used when explicitly requested.
12796 if test "x$enable_dependency_tracking" = xyes; then
12802 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12803 # This compiler won't grok '-c -o', but also, the minuso test has
12804 # not run yet. These depmodes are late enough in the game, and
12805 # so weak that their functioning should not be impacted.
12806 am__obj=conftest.${OBJEXT-o}
12811 if depmode=$depmode \
12812 source=sub/conftest.c object=$am__obj \
12813 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12814 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12815 >/dev/null 2>conftest.err &&
12816 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12817 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12818 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12819 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12820 # icc doesn't choke on unknown options, it will just issue warnings
12821 # or remarks (even with -Werror). So we grep stderr for any message
12822 # that says an option was ignored or not supported.
12823 # When given -MP, icc 7.0 and 7.1 complain thusly:
12824 # icc: Command line warning: ignoring option '-M'; no argument required
12825 # The diagnosis changed in icc 8.0:
12826 # icc: Command line remark: option '-MP' not supported
12827 if (grep 'ignoring option' conftest.err ||
12828 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12829 am_cv_CC_dependencies_compiler_type=$depmode
12836 rm -rf conftest.dir
12838 am_cv_CC_dependencies_compiler_type=none
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12843 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12844 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12847 test "x$enable_dependency_tracking" != xno \
12848 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12849 am__fastdepCC_TRUE=
12850 am__fastdepCC_FALSE='#'
12852 am__fastdepCC_TRUE='#'
12853 am__fastdepCC_FALSE=
12858 # Extract the first word of "valac", so it can be a program name with args.
12859 set dummy valac; ac_word=$2
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12861 $as_echo_n "checking for $ac_word... " >&6; }
12862 if ${ac_cv_path_VALAC+:} false; then :
12863 $as_echo_n "(cached) " >&6
12867 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
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_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
12878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12885 test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
12889 VALAC=$ac_cv_path_VALAC
12890 if test -n "$VALAC"; then
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
12892 $as_echo "$VALAC" >&6; }
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12895 $as_echo "no" >&6; }
12899 if test "$VALAC" != valac && test -n "0.9"; then :
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.9" >&5
12901 $as_echo_n "checking whether $VALAC is at least version 0.9... " >&6; }
12902 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
12904 as_arg_v2="$am__vala_version"
12905 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12909 $as_echo "yes" >&6; } ;; #(
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12912 $as_echo "yes" >&6; } ;; #(
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12915 $as_echo "no" >&6; }
12921 if test "$VALAC" = valac; then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
12923 $as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
12925 $as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
12938 SERVER_IPC_MODULE="msrpc-glib2-1.0"
12939 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12943 $as_echo_n "checking for GTK... " >&6; }
12945 if test -n "$GTK_CFLAGS"; then
12946 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12947 elif test -n "$PKG_CONFIG"; then
12948 if test -n "$PKG_CONFIG" && \
12949 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12950 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12953 test $ac_status = 0; }; then
12954 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12955 test "x$?" != "x0" && pkg_failed=yes
12962 if test -n "$GTK_LIBS"; then
12963 pkg_cv_GTK_LIBS="$GTK_LIBS"
12964 elif test -n "$PKG_CONFIG"; then
12965 if test -n "$PKG_CONFIG" && \
12966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12967 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12970 test $ac_status = 0; }; then
12971 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12972 test "x$?" != "x0" && pkg_failed=yes
12982 if test $pkg_failed = yes; then
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12984 $as_echo "no" >&6; }
12986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12987 _pkg_short_errors_supported=yes
12989 _pkg_short_errors_supported=no
12991 if test $_pkg_short_errors_supported = yes; then
12992 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12994 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12996 # Put the nasty error message in config.log where it belongs
12997 echo "$GTK_PKG_ERRORS" >&5
12999 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13003 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13004 installed software in a non-standard prefix.
13006 Alternatively, you may set the environment variables GTK_CFLAGS
13007 and GTK_LIBS to avoid the need to call pkg-config.
13008 See the pkg-config man page for more details." "$LINENO" 5
13009 elif test $pkg_failed = untried; then
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13011 $as_echo "no" >&6; }
13012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13014 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13015 is in your PATH or set the PKG_CONFIG environment variable to the full
13016 path to pkg-config.
13018 Alternatively, you may set the environment variables GTK_CFLAGS
13019 and GTK_LIBS to avoid the need to call pkg-config.
13020 See the pkg-config man page for more details.
13022 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13023 See \`config.log' for more details" "$LINENO" 5; }
13025 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13026 GTK_LIBS=$pkg_cv_GTK_LIBS
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13028 $as_echo "yes" >&6; }
13029 GTK_VERSION="gtk+-2.0"
13039 # We require dbus-glib for the client library even if we are using GDBus
13040 # in the server. The reason we can't always use dbus-glib in the server is
13041 # because Vala drops support for it, but as it ships with DBus there is very
13042 # little danger of it being dropped by distros any time soon.
13043 CLIENT_IPC_MODULE="dbus-glib-1"
13044 SERVER_IPC_MODULE="dbus-glib-1"
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
13049 $as_echo_n "checking for MAC... " >&6; }
13051 if test -n "$MAC_CFLAGS"; then
13052 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
13053 elif test -n "$PKG_CONFIG"; then
13054 if test -n "$PKG_CONFIG" && \
13055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13057 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13061 test $ac_status = 0; }; then
13062 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
13064 test "x$?" != "x0" && pkg_failed=yes
13071 if test -n "$MAC_LIBS"; then
13072 pkg_cv_MAC_LIBS="$MAC_LIBS"
13073 elif test -n "$PKG_CONFIG"; then
13074 if test -n "$PKG_CONFIG" && \
13075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13077 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13081 test $ac_status = 0; }; then
13082 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
13084 test "x$?" != "x0" && pkg_failed=yes
13094 if test $pkg_failed = yes; then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13096 $as_echo "no" >&6; }
13098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13099 _pkg_short_errors_supported=yes
13101 _pkg_short_errors_supported=no
13103 if test $_pkg_short_errors_supported = yes; then
13104 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13107 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13110 # Put the nasty error message in config.log where it belongs
13111 echo "$MAC_PKG_ERRORS" >&5
13113 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
13118 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13119 installed software in a non-standard prefix.
13121 Alternatively, you may set the environment variables MAC_CFLAGS
13122 and MAC_LIBS to avoid the need to call pkg-config.
13123 See the pkg-config man page for more details." "$LINENO" 5
13124 elif test $pkg_failed = untried; then
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13126 $as_echo "no" >&6; }
13127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13129 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13130 is in your PATH or set the PKG_CONFIG environment variable to the full
13131 path to pkg-config.
13133 Alternatively, you may set the environment variables MAC_CFLAGS
13134 and MAC_LIBS to avoid the need to call pkg-config.
13135 See the pkg-config man page for more details.
13137 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13138 See \`config.log' for more details" "$LINENO" 5; }
13140 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
13141 MAC_LIBS=$pkg_cv_MAC_LIBS
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13143 $as_echo "yes" >&6; }
13147 # TODO: Move to GTK+-3
13148 # [gtk+-3.0 >= 2.0],
13149 # [GTK_VERSION="gtk+-3.0"]
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13153 $as_echo_n "checking for GTK... " >&6; }
13155 if test -n "$GTK_CFLAGS"; then
13156 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13157 elif test -n "$PKG_CONFIG"; then
13158 if test -n "$PKG_CONFIG" && \
13159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13160 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13163 test $ac_status = 0; }; then
13164 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13165 test "x$?" != "x0" && pkg_failed=yes
13172 if test -n "$GTK_LIBS"; then
13173 pkg_cv_GTK_LIBS="$GTK_LIBS"
13174 elif test -n "$PKG_CONFIG"; then
13175 if test -n "$PKG_CONFIG" && \
13176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13177 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13180 test $ac_status = 0; }; then
13181 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13182 test "x$?" != "x0" && pkg_failed=yes
13192 if test $pkg_failed = yes; then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13194 $as_echo "no" >&6; }
13196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13197 _pkg_short_errors_supported=yes
13199 _pkg_short_errors_supported=no
13201 if test $_pkg_short_errors_supported = yes; then
13202 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13204 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13206 # Put the nasty error message in config.log where it belongs
13207 echo "$GTK_PKG_ERRORS" >&5
13209 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13213 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13214 installed software in a non-standard prefix.
13216 Alternatively, you may set the environment variables GTK_CFLAGS
13217 and GTK_LIBS to avoid the need to call pkg-config.
13218 See the pkg-config man page for more details." "$LINENO" 5
13219 elif test $pkg_failed = untried; then
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13221 $as_echo "no" >&6; }
13222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13224 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13225 is in your PATH or set the PKG_CONFIG environment variable to the full
13226 path to pkg-config.
13228 Alternatively, you may set the environment variables GTK_CFLAGS
13229 and GTK_LIBS to avoid the need to call pkg-config.
13230 See the pkg-config man page for more details.
13232 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13233 See \`config.log' for more details" "$LINENO" 5; }
13235 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13236 GTK_LIBS=$pkg_cv_GTK_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13238 $as_echo "yes" >&6; }
13239 GTK_VERSION="gtk+-2.0"
13249 # We require dbus-glib for the client library even if we are using GDBus
13250 # in the server. The reason we can't always use dbus-glib in the server is
13251 # because Vala drops support for it, but as it ships with DBus there is very
13252 # little danger of it being dropped by distros any time soon.
13253 CLIENT_IPC_MODULE="dbus-glib-1"
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
13257 $as_echo_n "checking for GDBUS... " >&6; }
13259 if test -n "$GDBUS_CFLAGS"; then
13260 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
13261 elif test -n "$PKG_CONFIG"; then
13262 if test -n "$PKG_CONFIG" && \
13263 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13264 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 test $ac_status = 0; }; then
13268 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
13269 test "x$?" != "x0" && pkg_failed=yes
13276 if test -n "$GDBUS_LIBS"; then
13277 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
13278 elif test -n "$PKG_CONFIG"; then
13279 if test -n "$PKG_CONFIG" && \
13280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13281 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13284 test $ac_status = 0; }; then
13285 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
13286 test "x$?" != "x0" && pkg_failed=yes
13296 if test $pkg_failed = yes; then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13298 $as_echo "no" >&6; }
13300 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13301 _pkg_short_errors_supported=yes
13303 _pkg_short_errors_supported=no
13305 if test $_pkg_short_errors_supported = yes; then
13306 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13308 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13310 # Put the nasty error message in config.log where it belongs
13311 echo "$GDBUS_PKG_ERRORS" >&5
13313 SERVER_IPC_MODULE="dbus-glib-1"
13315 elif test $pkg_failed = untried; then
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13317 $as_echo "no" >&6; }
13318 SERVER_IPC_MODULE="dbus-glib-1"
13321 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
13322 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13324 $as_echo "yes" >&6; }
13325 SERVER_IPC_MODULE="gio-2.0"
13327 # TODO: Move to GTK+-3
13328 # [gtk+-3.0 >= 2.0],
13329 # [GTK_VERSION="gtk+-3.0"]
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13333 $as_echo_n "checking for GTK... " >&6; }
13335 if test -n "$GTK_CFLAGS"; then
13336 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13337 elif test -n "$PKG_CONFIG"; then
13338 if test -n "$PKG_CONFIG" && \
13339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13340 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13343 test $ac_status = 0; }; then
13344 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13345 test "x$?" != "x0" && pkg_failed=yes
13352 if test -n "$GTK_LIBS"; then
13353 pkg_cv_GTK_LIBS="$GTK_LIBS"
13354 elif test -n "$PKG_CONFIG"; then
13355 if test -n "$PKG_CONFIG" && \
13356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13357 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13360 test $ac_status = 0; }; then
13361 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13362 test "x$?" != "x0" && pkg_failed=yes
13372 if test $pkg_failed = yes; then
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13374 $as_echo "no" >&6; }
13376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13377 _pkg_short_errors_supported=yes
13379 _pkg_short_errors_supported=no
13381 if test $_pkg_short_errors_supported = yes; then
13382 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13384 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13386 # Put the nasty error message in config.log where it belongs
13387 echo "$GTK_PKG_ERRORS" >&5
13389 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13393 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13394 installed software in a non-standard prefix.
13396 Alternatively, you may set the environment variables GTK_CFLAGS
13397 and GTK_LIBS to avoid the need to call pkg-config.
13398 See the pkg-config man page for more details." "$LINENO" 5
13399 elif test $pkg_failed = untried; then
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13401 $as_echo "no" >&6; }
13402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13404 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13405 is in your PATH or set the PKG_CONFIG environment variable to the full
13406 path to pkg-config.
13408 Alternatively, you may set the environment variables GTK_CFLAGS
13409 and GTK_LIBS to avoid the need to call pkg-config.
13410 See the pkg-config man page for more details.
13412 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13413 See \`config.log' for more details" "$LINENO" 5; }
13415 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13416 GTK_LIBS=$pkg_cv_GTK_LIBS
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13418 $as_echo "yes" >&6; }
13419 GTK_VERSION="gtk+-2.0"
13426 if test "$linux" = "yes"; then
13434 if test "$win32" = "yes"; then
13442 if test "$macos" = "yes"; then
13451 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13453 IPC_MSRPC_FALSE='#'
13459 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
13467 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13468 IPC_DBUS_GLIB_TRUE=
13469 IPC_DBUS_GLIB_FALSE='#'
13471 IPC_DBUS_GLIB_TRUE='#'
13472 IPC_DBUS_GLIB_FALSE=
13475 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
13477 IPC_GDBUS_FALSE='#'
13484 vala_version=`$VALAC --version | sed 's/Vala *//'`
13485 as_arg_v1="$vala_version"
13487 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13490 gio_vapi_uses_arrays="no" ;; #(
13492 gio_vapi_uses_arrays="yes" ;; #(
13494 gio_vapi_uses_arrays="yes" ;; #(
13498 if test "$gio_vapi_uses_arrays" = "yes"; then
13499 GIO_VAPI_USES_ARRAYS_TRUE=
13500 GIO_VAPI_USES_ARRAYS_FALSE='#'
13502 GIO_VAPI_USES_ARRAYS_TRUE='#'
13503 GIO_VAPI_USES_ARRAYS_FALSE=
13506 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
13508 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
13510 as_arg_v2="$vala_version"
13511 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13514 vala_supports_dbus_glib="no" ;; #(
13516 vala_supports_dbus_glib="no" ;; #(
13518 vala_supports_dbus_glib="yes" ;; #(
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
13524 $as_echo "$vala_supports_dbus_glib" >&6; }
13525 if test "$vala_supports_dbus_glib" = "no"; then
13527 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
13528 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
13532 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13535 pkg_config_args="msrpc-mingw-1.0"
13544 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13545 if test -n "$ac_tool_prefix"; then
13546 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13547 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13549 $as_echo_n "checking for $ac_word... " >&6; }
13550 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13551 $as_echo_n "(cached) " >&6
13553 case $PKG_CONFIG in
13555 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13559 for as_dir in $PATH
13562 test -z "$as_dir" && as_dir=.
13563 for ac_exec_ext in '' $ac_executable_extensions; do
13564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13565 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13576 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13577 if test -n "$PKG_CONFIG"; then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13579 $as_echo "$PKG_CONFIG" >&6; }
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13582 $as_echo "no" >&6; }
13587 if test -z "$ac_cv_path_PKG_CONFIG"; then
13588 ac_pt_PKG_CONFIG=$PKG_CONFIG
13589 # Extract the first word of "pkg-config", so it can be a program name with args.
13590 set dummy pkg-config; ac_word=$2
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13592 $as_echo_n "checking for $ac_word... " >&6; }
13593 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13594 $as_echo_n "(cached) " >&6
13596 case $ac_pt_PKG_CONFIG in
13598 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13602 for as_dir in $PATH
13605 test -z "$as_dir" && as_dir=.
13606 for ac_exec_ext in '' $ac_executable_extensions; do
13607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13608 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13619 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13620 if test -n "$ac_pt_PKG_CONFIG"; then
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13622 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13625 $as_echo "no" >&6; }
13628 if test "x$ac_pt_PKG_CONFIG" = x; then
13631 case $cross_compiling:$ac_tool_warned in
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13635 ac_tool_warned=yes ;;
13637 PKG_CONFIG=$ac_pt_PKG_CONFIG
13640 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13644 if test -n "$PKG_CONFIG"; then
13645 _pkg_min_version=0.16
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13647 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13648 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13650 $as_echo "yes" >&6; }
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13653 $as_echo "no" >&6; }
13660 if test "x$PKG_CONFIG" = x ; then
13665 min_msrpc_mingw_version=0.1.0
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
13667 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
13669 if test x$PKG_CONFIG != xno ; then
13670 if $PKG_CONFIG --uninstalled $pkg_config_args; then
13671 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
13674 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
13681 if test x"$no_msrpc" = x ; then
13682 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
13683 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13684 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13687 if test "x$no_msrpc" = x ; then
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13689 $as_echo "yes" >&6; }
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13693 $as_echo "no" >&6; }
13694 if test "$PKG_CONFIG" = "no" ; then
13695 echo "*** A new enough version of pkg-config was not found."
13696 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13704 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
13711 # Extract the first word of "midl", so it can be a program name with args.
13712 set dummy midl; ac_word=$2
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13714 $as_echo_n "checking for $ac_word... " >&6; }
13715 if ${ac_cv_path_MIDL+:} false; then :
13716 $as_echo_n "(cached) " >&6
13720 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
13723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13724 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
13727 test -z "$as_dir" && as_dir=.
13728 for ac_exec_ext in '' $ac_executable_extensions; do
13729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13730 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
13731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13738 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
13742 MIDL=$ac_cv_path_MIDL
13743 if test -n "$MIDL"; then
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
13745 $as_echo "$MIDL" >&6; }
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13748 $as_echo "no" >&6; }
13752 if test "$MIDL" = "no"; then
13754 *** Could not find the Microsoft interface compiler MIDL.EXE.
13755 *** This program is available as part of the MS Windows SDK, in
13756 *** the Win32 Development Tools package. If it is not in the PATH
13757 *** or its default location you may set the 'MIDL' environment
13758 *** variable to point to its location and rerun configure." "$LINENO" 5
13762 if test "$win32" = "yes"; then
13763 # Other Windows-specific tools
13765 # LIB.EXE from MSVC to build an MSVC-compatible import library.
13766 # Extract the first word of "lib", so it can be a program name with args.
13767 set dummy lib; ac_word=$2
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13769 $as_echo_n "checking for $ac_word... " >&6; }
13770 if ${ac_cv_path_MSVC_LIB+:} false; then :
13771 $as_echo_n "(cached) " >&6
13775 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
13778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13779 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
13782 test -z "$as_dir" && as_dir=.
13783 for ac_exec_ext in '' $ac_executable_extensions; do
13784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13785 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
13786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13793 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
13797 MSVC_LIB=$ac_cv_path_MSVC_LIB
13798 if test -n "$MSVC_LIB"; then
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
13800 $as_echo "$MSVC_LIB" >&6; }
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13803 $as_echo "no" >&6; }
13808 if test "$MSVC_LIB" = "no"; then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13810 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13811 *** to build the Visual C import library for libmoonshot. Use the
13812 *** MSVC_LIB environment variable to pass its location if this is
13813 *** outside the PATH." >&5
13814 $as_echo "$as_me: WARNING:
13815 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13816 *** to build the Visual C import library for libmoonshot. Use the
13817 *** MSVC_LIB environment variable to pass its location if this is
13818 *** outside the PATH." >&2;}
13822 # ImageMagick for the 'make icons' target. Note that
13823 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
13824 # Extract the first word of "convert", so it can be a program name with args.
13825 set dummy convert; ac_word=$2
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13827 $as_echo_n "checking for $ac_word... " >&6; }
13828 if ${ac_cv_path_IMAGEMAGICK_CONVERT+:} false; then :
13829 $as_echo_n "(cached) " >&6
13831 case $IMAGEMAGICK_CONVERT in
13833 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
13836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13837 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
13840 test -z "$as_dir" && as_dir=.
13841 for ac_exec_ext in '' $ac_executable_extensions; do
13842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13843 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
13844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13851 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
13855 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
13856 if test -n "$IMAGEMAGICK_CONVERT"; then
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
13858 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13861 $as_echo "no" >&6; }
13866 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13868 *** Could not find ImageMagick convert.exe. This is required for the
13869 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13870 *** variable to pass its location if this is outside the PATH." >&5
13871 $as_echo "$as_me: WARNING:
13872 *** Could not find ImageMagick convert.exe. This is required for the
13873 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13874 *** variable to pass its location if this is outside the PATH." >&2;}
13878 # Windows Installer XML tools
13879 # Extract the first word of "candle", so it can be a program name with args.
13880 set dummy candle; ac_word=$2
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13882 $as_echo_n "checking for $ac_word... " >&6; }
13883 if ${ac_cv_path_WIX_CANDLE+:} false; then :
13884 $as_echo_n "(cached) " >&6
13886 case $WIX_CANDLE in
13888 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
13891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13892 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
13895 test -z "$as_dir" && as_dir=.
13896 for ac_exec_ext in '' $ac_executable_extensions; do
13897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13898 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
13899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13906 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
13910 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
13911 if test -n "$WIX_CANDLE"; then
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
13913 $as_echo "$WIX_CANDLE" >&6; }
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13916 $as_echo "no" >&6; }
13920 # Extract the first word of "light", so it can be a program name with args.
13921 set dummy light; ac_word=$2
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13923 $as_echo_n "checking for $ac_word... " >&6; }
13924 if ${ac_cv_path_WIX_LIGHT+:} false; then :
13925 $as_echo_n "(cached) " >&6
13929 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
13932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13933 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
13936 test -z "$as_dir" && as_dir=.
13937 for ac_exec_ext in '' $ac_executable_extensions; do
13938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13939 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
13940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13947 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
13951 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
13952 if test -n "$WIX_LIGHT"; then
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
13954 $as_echo "$WIX_LIGHT" >&6; }
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13957 $as_echo "no" >&6; }
13962 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13964 *** Could not find the Windows Installer XML tools. These are required
13965 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13966 *** environment variables to pass their locations if they are outside
13968 $as_echo "$as_me: WARNING:
13969 *** Could not find the Windows Installer XML tools. These are required
13970 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13971 *** environment variables to pass their locations if they are outside
13972 *** the PATH." >&2;}
13976 if test "$linux" = "yes"; then
13977 # Extract the first word of "update-mime-database", so it can be a program name with args.
13978 set dummy update-mime-database; ac_word=$2
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13980 $as_echo_n "checking for $ac_word... " >&6; }
13981 if ${ac_cv_path_UPDATE_MIME_DATABASE+:} false; then :
13982 $as_echo_n "(cached) " >&6
13984 case $UPDATE_MIME_DATABASE in
13986 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
13989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13990 for as_dir in $PATH
13993 test -z "$as_dir" && as_dir=.
13994 for ac_exec_ext in '' $ac_executable_extensions; do
13995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13996 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14004 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
14008 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
14009 if test -n "$UPDATE_MIME_DATABASE"; then
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
14011 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14014 $as_echo "no" >&6; }
14018 if test "$UPDATE_MIME_DATABASE" = "no"; then
14020 *** Could not find the Freedesktop.org mime database update tool.
14021 *** Web provisioning files could not be automatically installed." "$LINENO" 5
14023 # Extract the first word of "update-desktop-database", so it can be a program name with args.
14024 set dummy update-desktop-database; ac_word=$2
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14026 $as_echo_n "checking for $ac_word... " >&6; }
14027 if ${ac_cv_path_UPDATE_DESKTOP_DATABASE+:} false; then :
14028 $as_echo_n "(cached) " >&6
14030 case $UPDATE_DESKTOP_DATABASE in
14032 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
14035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14036 for as_dir in $PATH
14039 test -z "$as_dir" && as_dir=.
14040 for ac_exec_ext in '' $ac_executable_extensions; do
14041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14042 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14050 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
14054 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
14055 if test -n "$UPDATE_DESKTOP_DATABASE"; then
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
14057 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14060 $as_echo "no" >&6; }
14064 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
14066 *** Could not find the Freedesktop.org desktop entry database update
14067 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
14071 MOONSHOT_APP="$bindir/moonshot"
14072 MOONSHOT_WEBP="$bindir/moonshot-webp"
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
14088 $as_echo_n "checking for moonshot... " >&6; }
14090 if test -n "$moonshot_CFLAGS"; then
14091 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
14092 elif test -n "$PKG_CONFIG"; then
14093 if test -n "$PKG_CONFIG" && \
14094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14097 gobject-2.0 >= 2.22
14100 \$SERVER_IPC_MODULE
14103 ($PKG_CONFIG --exists --print-errors "
14106 gobject-2.0 >= 2.22
14113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14114 test $ac_status = 0; }; then
14115 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
14118 gobject-2.0 >= 2.22
14124 test "x$?" != "x0" && pkg_failed=yes
14131 if test -n "$moonshot_LIBS"; then
14132 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
14133 elif test -n "$PKG_CONFIG"; then
14134 if test -n "$PKG_CONFIG" && \
14135 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14138 gobject-2.0 >= 2.22
14141 \$SERVER_IPC_MODULE
14144 ($PKG_CONFIG --exists --print-errors "
14147 gobject-2.0 >= 2.22
14154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14155 test $ac_status = 0; }; then
14156 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
14159 gobject-2.0 >= 2.22
14165 test "x$?" != "x0" && pkg_failed=yes
14175 if test $pkg_failed = yes; then
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14177 $as_echo "no" >&6; }
14179 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14180 _pkg_short_errors_supported=yes
14182 _pkg_short_errors_supported=no
14184 if test $_pkg_short_errors_supported = yes; then
14185 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14188 gobject-2.0 >= 2.22
14195 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14198 gobject-2.0 >= 2.22
14205 # Put the nasty error message in config.log where it belongs
14206 echo "$moonshot_PKG_ERRORS" >&5
14208 as_fn_error $? "Package requirements (
14211 gobject-2.0 >= 2.22
14218 $moonshot_PKG_ERRORS
14220 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14221 installed software in a non-standard prefix.
14223 Alternatively, you may set the environment variables moonshot_CFLAGS
14224 and moonshot_LIBS to avoid the need to call pkg-config.
14225 See the pkg-config man page for more details." "$LINENO" 5
14226 elif test $pkg_failed = untried; then
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14228 $as_echo "no" >&6; }
14229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14231 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14232 is in your PATH or set the PKG_CONFIG environment variable to the full
14233 path to pkg-config.
14235 Alternatively, you may set the environment variables moonshot_CFLAGS
14236 and moonshot_LIBS to avoid the need to call pkg-config.
14237 See the pkg-config man page for more details.
14239 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14240 See \`config.log' for more details" "$LINENO" 5; }
14242 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
14243 moonshot_LIBS=$pkg_cv_moonshot_LIBS
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14245 $as_echo "yes" >&6; }
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
14252 $as_echo_n "checking for libmoonshot... " >&6; }
14254 if test -n "$libmoonshot_CFLAGS"; then
14255 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
14256 elif test -n "$PKG_CONFIG"; then
14257 if test -n "$PKG_CONFIG" && \
14258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14259 \$CLIENT_IPC_MODULE
14261 ($PKG_CONFIG --exists --print-errors "
14265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14266 test $ac_status = 0; }; then
14267 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
14270 test "x$?" != "x0" && pkg_failed=yes
14277 if test -n "$libmoonshot_LIBS"; then
14278 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
14279 elif test -n "$PKG_CONFIG"; then
14280 if test -n "$PKG_CONFIG" && \
14281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14282 \$CLIENT_IPC_MODULE
14284 ($PKG_CONFIG --exists --print-errors "
14288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14289 test $ac_status = 0; }; then
14290 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
14293 test "x$?" != "x0" && pkg_failed=yes
14303 if test $pkg_failed = yes; then
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14305 $as_echo "no" >&6; }
14307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14308 _pkg_short_errors_supported=yes
14310 _pkg_short_errors_supported=no
14312 if test $_pkg_short_errors_supported = yes; then
14313 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14317 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14321 # Put the nasty error message in config.log where it belongs
14322 echo "$libmoonshot_PKG_ERRORS" >&5
14324 as_fn_error $? "Package requirements (
14328 $libmoonshot_PKG_ERRORS
14330 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14331 installed software in a non-standard prefix.
14333 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14334 and libmoonshot_LIBS to avoid the need to call pkg-config.
14335 See the pkg-config man page for more details." "$LINENO" 5
14336 elif test $pkg_failed = untried; then
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14338 $as_echo "no" >&6; }
14339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14341 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14342 is in your PATH or set the PKG_CONFIG environment variable to the full
14343 path to pkg-config.
14345 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14346 and libmoonshot_LIBS to avoid the need to call pkg-config.
14347 See the pkg-config man page for more details.
14349 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14350 See \`config.log' for more details" "$LINENO" 5; }
14352 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
14353 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14355 $as_echo "yes" >&6; }
14363 [\\/$]* | ?:[\\/]*) ;;
14364 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14369 $as_echo_n "checking whether NLS is requested... " >&6; }
14370 # Check whether --enable-nls was given.
14371 if test "${enable_nls+set}" = set; then :
14372 enableval=$enable_nls; USE_NLS=$enableval
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14378 $as_echo "$USE_NLS" >&6; }
14383 GETTEXT_MACRO_VERSION=0.17
14388 # Prepare PATH_SEPARATOR.
14389 # The user is always right.
14390 if test "${PATH_SEPARATOR+set}" != set; then
14391 echo "#! /bin/sh" >conf$$.sh
14392 echo "exit 0" >>conf$$.sh
14394 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14402 # Find out how to test for executable files. Don't use a zero-byte file,
14403 # as systems may use methods other than mode bits to determine executability.
14404 cat >conf$$.file <<_ASEOF
14408 chmod +x conf$$.file
14409 if test -x conf$$.file >/dev/null 2>&1; then
14410 ac_executable_p="test -x"
14412 ac_executable_p="test -f"
14416 # Extract the first word of "msgfmt", so it can be a program name with args.
14417 set dummy msgfmt; ac_word=$2
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14419 $as_echo_n "checking for $ac_word... " >&6; }
14420 if ${ac_cv_path_MSGFMT+:} false; then :
14421 $as_echo_n "(cached) " >&6
14425 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14428 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14429 for ac_dir in $PATH; do
14431 test -z "$ac_dir" && ac_dir=.
14432 for ac_exec_ext in '' $ac_executable_extensions; do
14433 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14434 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14435 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14436 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14437 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14444 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14448 MSGFMT="$ac_cv_path_MSGFMT"
14449 if test "$MSGFMT" != ":"; then
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14451 $as_echo "$MSGFMT" >&6; }
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14454 $as_echo "no" >&6; }
14457 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14458 set dummy gmsgfmt; ac_word=$2
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14460 $as_echo_n "checking for $ac_word... " >&6; }
14461 if ${ac_cv_path_GMSGFMT+:} false; then :
14462 $as_echo_n "(cached) " >&6
14466 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14470 for as_dir in $PATH
14473 test -z "$as_dir" && as_dir=.
14474 for ac_exec_ext in '' $ac_executable_extensions; do
14475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14476 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14484 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14488 GMSGFMT=$ac_cv_path_GMSGFMT
14489 if test -n "$GMSGFMT"; then
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14491 $as_echo "$GMSGFMT" >&6; }
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14494 $as_echo "no" >&6; }
14499 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14500 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14501 *) MSGFMT_015=$MSGFMT ;;
14504 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14505 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14506 *) GMSGFMT_015=$GMSGFMT ;;
14511 # Prepare PATH_SEPARATOR.
14512 # The user is always right.
14513 if test "${PATH_SEPARATOR+set}" != set; then
14514 echo "#! /bin/sh" >conf$$.sh
14515 echo "exit 0" >>conf$$.sh
14517 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14525 # Find out how to test for executable files. Don't use a zero-byte file,
14526 # as systems may use methods other than mode bits to determine executability.
14527 cat >conf$$.file <<_ASEOF
14531 chmod +x conf$$.file
14532 if test -x conf$$.file >/dev/null 2>&1; then
14533 ac_executable_p="test -x"
14535 ac_executable_p="test -f"
14539 # Extract the first word of "xgettext", so it can be a program name with args.
14540 set dummy xgettext; ac_word=$2
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14542 $as_echo_n "checking for $ac_word... " >&6; }
14543 if ${ac_cv_path_XGETTEXT+:} false; then :
14544 $as_echo_n "(cached) " >&6
14546 case "$XGETTEXT" in
14548 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14551 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14552 for ac_dir in $PATH; do
14554 test -z "$ac_dir" && ac_dir=.
14555 for ac_exec_ext in '' $ac_executable_extensions; do
14556 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14557 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14558 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14559 (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
14560 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14567 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14571 XGETTEXT="$ac_cv_path_XGETTEXT"
14572 if test "$XGETTEXT" != ":"; then
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14574 $as_echo "$XGETTEXT" >&6; }
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14577 $as_echo "no" >&6; }
14582 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14583 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14584 *) XGETTEXT_015=$XGETTEXT ;;
14589 # Prepare PATH_SEPARATOR.
14590 # The user is always right.
14591 if test "${PATH_SEPARATOR+set}" != set; then
14592 echo "#! /bin/sh" >conf$$.sh
14593 echo "exit 0" >>conf$$.sh
14595 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14603 # Find out how to test for executable files. Don't use a zero-byte file,
14604 # as systems may use methods other than mode bits to determine executability.
14605 cat >conf$$.file <<_ASEOF
14609 chmod +x conf$$.file
14610 if test -x conf$$.file >/dev/null 2>&1; then
14611 ac_executable_p="test -x"
14613 ac_executable_p="test -f"
14617 # Extract the first word of "msgmerge", so it can be a program name with args.
14618 set dummy msgmerge; ac_word=$2
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14620 $as_echo_n "checking for $ac_word... " >&6; }
14621 if ${ac_cv_path_MSGMERGE+:} false; then :
14622 $as_echo_n "(cached) " >&6
14624 case "$MSGMERGE" in
14626 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14629 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14630 for ac_dir in $PATH; do
14632 test -z "$ac_dir" && ac_dir=.
14633 for ac_exec_ext in '' $ac_executable_extensions; do
14634 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14635 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14636 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14637 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14644 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14648 MSGMERGE="$ac_cv_path_MSGMERGE"
14649 if test "$MSGMERGE" != ":"; then
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14651 $as_echo "$MSGMERGE" >&6; }
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14654 $as_echo "no" >&6; }
14658 test -n "$localedir" || localedir='${datadir}/locale'
14661 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14664 ac_config_commands="$ac_config_commands po-directories"
14668 if test "X$prefix" = "XNONE"; then
14669 acl_final_prefix="$ac_default_prefix"
14671 acl_final_prefix="$prefix"
14673 if test "X$exec_prefix" = "XNONE"; then
14674 acl_final_exec_prefix='${prefix}'
14676 acl_final_exec_prefix="$exec_prefix"
14678 acl_save_prefix="$prefix"
14679 prefix="$acl_final_prefix"
14680 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14681 prefix="$acl_save_prefix"
14684 # Check whether --with-gnu-ld was given.
14685 if test "${with_gnu_ld+set}" = set; then :
14686 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14691 # Prepare PATH_SEPARATOR.
14692 # The user is always right.
14693 if test "${PATH_SEPARATOR+set}" != set; then
14694 echo "#! /bin/sh" >conf$$.sh
14695 echo "exit 0" >>conf$$.sh
14697 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14705 if test "$GCC" = yes; then
14706 # Check if gcc -print-prog-name=ld gives a path.
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14708 $as_echo_n "checking for ld used by GCC... " >&6; }
14711 # gcc leaves a trailing carriage return which upsets mingw
14712 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14714 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14717 # Accept absolute paths.
14718 [\\/]* | [A-Za-z]:[\\/]*)
14719 re_direlt='/[^/][^/]*/\.\./'
14720 # Canonicalize the path of ld
14721 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14722 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14723 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14725 test -z "$LD" && LD="$ac_prog"
14728 # If it fails, then pretend we aren't using GCC.
14732 # If it is relative, then search for the first ld in PATH.
14733 with_gnu_ld=unknown
14736 elif test "$with_gnu_ld" = yes; then
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14738 $as_echo_n "checking for GNU ld... " >&6; }
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14741 $as_echo_n "checking for non-GNU ld... " >&6; }
14743 if ${acl_cv_path_LD+:} false; then :
14744 $as_echo_n "(cached) " >&6
14746 if test -z "$LD"; then
14747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14748 for ac_dir in $PATH; do
14749 test -z "$ac_dir" && ac_dir=.
14750 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14751 acl_cv_path_LD="$ac_dir/$ac_prog"
14752 # Check to see if the program is GNU ld. I'd rather use --version,
14753 # but apparently some GNU ld's only accept -v.
14754 # Break only if it was the GNU/non-GNU ld that we prefer.
14755 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14756 *GNU* | *'with BFD'*)
14757 test "$with_gnu_ld" != no && break ;;
14759 test "$with_gnu_ld" != yes && break ;;
14765 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14769 LD="$acl_cv_path_LD"
14770 if test -n "$LD"; then
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14772 $as_echo "$LD" >&6; }
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14775 $as_echo "no" >&6; }
14777 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14779 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14780 if ${acl_cv_prog_gnu_ld+:} false; then :
14781 $as_echo_n "(cached) " >&6
14783 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14784 case `$LD -v 2>&1 </dev/null` in
14785 *GNU* | *'with BFD'*)
14786 acl_cv_prog_gnu_ld=yes ;;
14788 acl_cv_prog_gnu_ld=no ;;
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14792 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14793 with_gnu_ld=$acl_cv_prog_gnu_ld
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14799 $as_echo_n "checking for shared library run path origin... " >&6; }
14800 if ${acl_cv_rpath+:} false; then :
14801 $as_echo_n "(cached) " >&6
14804 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14805 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14807 rm -f ./conftest.sh
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14812 $as_echo "$acl_cv_rpath" >&6; }
14814 acl_libext="$acl_cv_libext"
14815 acl_shlibext="$acl_cv_shlibext"
14816 acl_libname_spec="$acl_cv_libname_spec"
14817 acl_library_names_spec="$acl_cv_library_names_spec"
14818 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14819 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14820 acl_hardcode_direct="$acl_cv_hardcode_direct"
14821 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14822 # Check whether --enable-rpath was given.
14823 if test "${enable_rpath+set}" = set; then :
14824 enableval=$enable_rpath; :
14832 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14833 if test -n "$searchpath"; then
14834 acl_save_IFS="${IFS= }"; IFS=":"
14835 for searchdir in $searchpath; do
14836 if test -d "$searchdir"; then
14837 case "$searchdir" in
14838 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14839 *) searchdir=`cd "$searchdir" && pwd`
14840 case "$searchdir" in
14841 */lib64 ) acl_libdirstem=lib64 ;;
14846 IFS="$acl_save_IFS"
14859 acl_save_prefix="$prefix"
14860 prefix="$acl_final_prefix"
14861 acl_save_exec_prefix="$exec_prefix"
14862 exec_prefix="$acl_final_exec_prefix"
14864 eval additional_includedir=\"$includedir\"
14865 eval additional_libdir=\"$libdir\"
14867 exec_prefix="$acl_save_exec_prefix"
14868 prefix="$acl_save_prefix"
14871 # Check whether --with-libiconv-prefix was given.
14872 if test "${with_libiconv_prefix+set}" = set; then :
14873 withval=$with_libiconv_prefix;
14874 if test "X$withval" = "Xno"; then
14877 if test "X$withval" = "X"; then
14879 acl_save_prefix="$prefix"
14880 prefix="$acl_final_prefix"
14881 acl_save_exec_prefix="$exec_prefix"
14882 exec_prefix="$acl_final_exec_prefix"
14884 eval additional_includedir=\"$includedir\"
14885 eval additional_libdir=\"$libdir\"
14887 exec_prefix="$acl_save_exec_prefix"
14888 prefix="$acl_save_prefix"
14891 additional_includedir="$withval/include"
14892 additional_libdir="$withval/$acl_libdirstem"
14904 names_already_handled=
14905 names_next_round='iconv '
14906 while test -n "$names_next_round"; do
14907 names_this_round="$names_next_round"
14909 for name in $names_this_round; do
14911 for n in $names_already_handled; do
14912 if test "$n" = "$name"; then
14913 already_handled=yes
14917 if test -z "$already_handled"; then
14918 names_already_handled="$names_already_handled $name"
14919 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14920 eval value=\"\$HAVE_LIB$uppername\"
14921 if test -n "$value"; then
14922 if test "$value" = yes; then
14923 eval value=\"\$LIB$uppername\"
14924 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14925 eval value=\"\$LTLIB$uppername\"
14926 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14935 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14936 if test -n "$acl_shlibext"; then
14937 shrext=".$acl_shlibext" # typically: shrext=.so
14941 if test $use_additional = yes; then
14942 dir="$additional_libdir"
14943 if test -n "$acl_shlibext"; then
14944 if test -f "$dir/$libname$shrext"; then
14946 found_so="$dir/$libname$shrext"
14948 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14949 ver=`(cd "$dir" && \
14950 for f in "$libname$shrext".*; do echo "$f"; done \
14951 | sed -e "s,^$libname$shrext\\\\.,," \
14952 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14953 | sed 1q ) 2>/dev/null`
14954 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14956 found_so="$dir/$libname$shrext.$ver"
14959 eval library_names=\"$acl_library_names_spec\"
14960 for f in $library_names; do
14961 if test -f "$dir/$f"; then
14970 if test "X$found_dir" = "X"; then
14971 if test -f "$dir/$libname.$acl_libext"; then
14973 found_a="$dir/$libname.$acl_libext"
14976 if test "X$found_dir" != "X"; then
14977 if test -f "$dir/$libname.la"; then
14978 found_la="$dir/$libname.la"
14982 if test "X$found_dir" = "X"; then
14983 for x in $LDFLAGS $LTLIBICONV; do
14985 acl_save_prefix="$prefix"
14986 prefix="$acl_final_prefix"
14987 acl_save_exec_prefix="$exec_prefix"
14988 exec_prefix="$acl_final_exec_prefix"
14990 exec_prefix="$acl_save_exec_prefix"
14991 prefix="$acl_save_prefix"
14995 dir=`echo "X$x" | sed -e 's/^X-L//'`
14996 if test -n "$acl_shlibext"; then
14997 if test -f "$dir/$libname$shrext"; then
14999 found_so="$dir/$libname$shrext"
15001 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15002 ver=`(cd "$dir" && \
15003 for f in "$libname$shrext".*; do echo "$f"; done \
15004 | sed -e "s,^$libname$shrext\\\\.,," \
15005 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15006 | sed 1q ) 2>/dev/null`
15007 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15009 found_so="$dir/$libname$shrext.$ver"
15012 eval library_names=\"$acl_library_names_spec\"
15013 for f in $library_names; do
15014 if test -f "$dir/$f"; then
15023 if test "X$found_dir" = "X"; then
15024 if test -f "$dir/$libname.$acl_libext"; then
15026 found_a="$dir/$libname.$acl_libext"
15029 if test "X$found_dir" != "X"; then
15030 if test -f "$dir/$libname.la"; then
15031 found_la="$dir/$libname.la"
15036 if test "X$found_dir" != "X"; then
15041 if test "X$found_dir" != "X"; then
15042 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15043 if test "X$found_so" != "X"; then
15044 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15045 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15048 for x in $ltrpathdirs; do
15049 if test "X$x" = "X$found_dir"; then
15054 if test -z "$haveit"; then
15055 ltrpathdirs="$ltrpathdirs $found_dir"
15057 if test "$acl_hardcode_direct" = yes; then
15058 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15060 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15061 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15063 for x in $rpathdirs; do
15064 if test "X$x" = "X$found_dir"; then
15069 if test -z "$haveit"; then
15070 rpathdirs="$rpathdirs $found_dir"
15074 for x in $LDFLAGS $LIBICONV; do
15076 acl_save_prefix="$prefix"
15077 prefix="$acl_final_prefix"
15078 acl_save_exec_prefix="$exec_prefix"
15079 exec_prefix="$acl_final_exec_prefix"
15081 exec_prefix="$acl_save_exec_prefix"
15082 prefix="$acl_save_prefix"
15084 if test "X$x" = "X-L$found_dir"; then
15089 if test -z "$haveit"; then
15090 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15092 if test "$acl_hardcode_minus_L" != no; then
15093 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15095 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15101 if test "X$found_a" != "X"; then
15102 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15104 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15107 additional_includedir=
15108 case "$found_dir" in
15109 */$acl_libdirstem | */$acl_libdirstem/)
15110 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15111 LIBICONV_PREFIX="$basedir"
15112 additional_includedir="$basedir/include"
15115 if test "X$additional_includedir" != "X"; then
15116 if test "X$additional_includedir" != "X/usr/include"; then
15118 if test "X$additional_includedir" = "X/usr/local/include"; then
15119 if test -n "$GCC"; then
15121 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15125 if test -z "$haveit"; then
15126 for x in $CPPFLAGS $INCICONV; do
15128 acl_save_prefix="$prefix"
15129 prefix="$acl_final_prefix"
15130 acl_save_exec_prefix="$exec_prefix"
15131 exec_prefix="$acl_final_exec_prefix"
15133 exec_prefix="$acl_save_exec_prefix"
15134 prefix="$acl_save_prefix"
15136 if test "X$x" = "X-I$additional_includedir"; then
15141 if test -z "$haveit"; then
15142 if test -d "$additional_includedir"; then
15143 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15149 if test -n "$found_la"; then
15150 save_libdir="$libdir"
15151 case "$found_la" in
15152 */* | *\\*) . "$found_la" ;;
15153 *) . "./$found_la" ;;
15155 libdir="$save_libdir"
15156 for dep in $dependency_libs; do
15159 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15160 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15162 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15163 if test -n "$GCC"; then
15165 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15169 if test -z "$haveit"; then
15171 for x in $LDFLAGS $LIBICONV; do
15173 acl_save_prefix="$prefix"
15174 prefix="$acl_final_prefix"
15175 acl_save_exec_prefix="$exec_prefix"
15176 exec_prefix="$acl_final_exec_prefix"
15178 exec_prefix="$acl_save_exec_prefix"
15179 prefix="$acl_save_prefix"
15181 if test "X$x" = "X-L$additional_libdir"; then
15186 if test -z "$haveit"; then
15187 if test -d "$additional_libdir"; then
15188 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15192 for x in $LDFLAGS $LTLIBICONV; do
15194 acl_save_prefix="$prefix"
15195 prefix="$acl_final_prefix"
15196 acl_save_exec_prefix="$exec_prefix"
15197 exec_prefix="$acl_final_exec_prefix"
15199 exec_prefix="$acl_save_exec_prefix"
15200 prefix="$acl_save_prefix"
15202 if test "X$x" = "X-L$additional_libdir"; then
15207 if test -z "$haveit"; then
15208 if test -d "$additional_libdir"; then
15209 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15216 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15217 if test "$enable_rpath" != no; then
15219 for x in $rpathdirs; do
15220 if test "X$x" = "X$dir"; then
15225 if test -z "$haveit"; then
15226 rpathdirs="$rpathdirs $dir"
15229 for x in $ltrpathdirs; do
15230 if test "X$x" = "X$dir"; then
15235 if test -z "$haveit"; then
15236 ltrpathdirs="$ltrpathdirs $dir"
15241 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15244 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15247 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15248 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15254 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15255 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15261 if test "X$rpathdirs" != "X"; then
15262 if test -n "$acl_hardcode_libdir_separator"; then
15264 for found_dir in $rpathdirs; do
15265 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15267 acl_save_libdir="$libdir"
15269 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15270 libdir="$acl_save_libdir"
15271 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15273 for found_dir in $rpathdirs; do
15274 acl_save_libdir="$libdir"
15275 libdir="$found_dir"
15276 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15277 libdir="$acl_save_libdir"
15278 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15282 if test "X$ltrpathdirs" != "X"; then
15283 for found_dir in $ltrpathdirs; do
15284 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15313 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15314 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15315 $as_echo_n "(cached) " >&6
15317 gt_save_LIBS="$LIBS"
15318 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15321 #include <CoreFoundation/CFPreferences.h>
15325 CFPreferencesCopyAppValue(NULL, NULL)
15330 if ac_fn_c_try_link "$LINENO"; then :
15331 gt_cv_func_CFPreferencesCopyAppValue=yes
15333 gt_cv_func_CFPreferencesCopyAppValue=no
15335 rm -f core conftest.err conftest.$ac_objext \
15336 conftest$ac_exeext conftest.$ac_ext
15337 LIBS="$gt_save_LIBS"
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15340 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15341 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15343 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15347 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15348 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15349 $as_echo_n "(cached) " >&6
15351 gt_save_LIBS="$LIBS"
15352 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15355 #include <CoreFoundation/CFLocale.h>
15359 CFLocaleCopyCurrent();
15364 if ac_fn_c_try_link "$LINENO"; then :
15365 gt_cv_func_CFLocaleCopyCurrent=yes
15367 gt_cv_func_CFLocaleCopyCurrent=no
15369 rm -f core conftest.err conftest.$ac_objext \
15370 conftest$ac_exeext conftest.$ac_ext
15371 LIBS="$gt_save_LIBS"
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15374 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15375 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15377 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15381 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15382 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15394 case " $gt_needs " in
15395 *" need-formatstring-macros "*) gt_api_version=3 ;;
15396 *" need-ngettext "*) gt_api_version=2 ;;
15397 *) gt_api_version=1 ;;
15399 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15400 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15402 if test "$USE_NLS" = "yes"; then
15403 gt_use_preinstalled_gnugettext=no
15406 if test $gt_api_version -ge 3; then
15407 gt_revision_test_code='
15408 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15409 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15411 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15414 gt_revision_test_code=
15416 if test $gt_api_version -ge 2; then
15417 gt_expression_test_code=' + * ngettext ("", "", 0)'
15419 gt_expression_test_code=
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15423 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15424 if eval \${$gt_func_gnugettext_libc+:} false; then :
15425 $as_echo_n "(cached) " >&6
15427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15428 /* end confdefs.h. */
15429 #include <libintl.h>
15430 $gt_revision_test_code
15431 extern int _nl_msg_cat_cntr;
15432 extern int *_nl_domain_bindings;
15436 bindtextdomain ("", "");
15437 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15442 if ac_fn_c_try_link "$LINENO"; then :
15443 eval "$gt_func_gnugettext_libc=yes"
15445 eval "$gt_func_gnugettext_libc=no"
15447 rm -f core conftest.err conftest.$ac_objext \
15448 conftest$ac_exeext conftest.$ac_ext
15450 eval ac_res=\$$gt_func_gnugettext_libc
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15452 $as_echo "$ac_res" >&6; }
15454 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15460 am_save_CPPFLAGS="$CPPFLAGS"
15462 for element in $INCICONV; do
15464 for x in $CPPFLAGS; do
15466 acl_save_prefix="$prefix"
15467 prefix="$acl_final_prefix"
15468 acl_save_exec_prefix="$exec_prefix"
15469 exec_prefix="$acl_final_exec_prefix"
15471 exec_prefix="$acl_save_exec_prefix"
15472 prefix="$acl_save_prefix"
15474 if test "X$x" = "X$element"; then
15479 if test -z "$haveit"; then
15480 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15486 $as_echo_n "checking for iconv... " >&6; }
15487 if ${am_cv_func_iconv+:} false; then :
15488 $as_echo_n "(cached) " >&6
15491 am_cv_func_iconv="no, consider installing GNU libiconv"
15493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */
15495 #include <stdlib.h>
15500 iconv_t cd = iconv_open("","");
15501 iconv(cd,NULL,NULL,NULL,NULL);
15507 if ac_fn_c_try_link "$LINENO"; then :
15508 am_cv_func_iconv=yes
15510 rm -f core conftest.err conftest.$ac_objext \
15511 conftest$ac_exeext conftest.$ac_ext
15512 if test "$am_cv_func_iconv" != yes; then
15513 am_save_LIBS="$LIBS"
15514 LIBS="$LIBS $LIBICONV"
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15517 #include <stdlib.h>
15522 iconv_t cd = iconv_open("","");
15523 iconv(cd,NULL,NULL,NULL,NULL);
15529 if ac_fn_c_try_link "$LINENO"; then :
15530 am_cv_lib_iconv=yes
15531 am_cv_func_iconv=yes
15533 rm -f core conftest.err conftest.$ac_objext \
15534 conftest$ac_exeext conftest.$ac_ext
15535 LIBS="$am_save_LIBS"
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15540 $as_echo "$am_cv_func_iconv" >&6; }
15541 if test "$am_cv_func_iconv" = yes; then
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15543 $as_echo_n "checking for working iconv... " >&6; }
15544 if ${am_cv_func_iconv_works+:} false; then :
15545 $as_echo_n "(cached) " >&6
15548 am_save_LIBS="$LIBS"
15549 if test $am_cv_lib_iconv = yes; then
15550 LIBS="$LIBS $LIBICONV"
15552 if test "$cross_compiling" = yes; then :
15554 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15555 *) am_cv_func_iconv_works="guessing yes" ;;
15558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15559 /* end confdefs.h. */
15562 #include <string.h>
15565 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15568 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15569 if (cd_utf8_to_88591 != (iconv_t)(-1))
15571 static const char input[] = "\342\202\254"; /* EURO SIGN */
15573 const char *inptr = input;
15574 size_t inbytesleft = strlen (input);
15575 char *outptr = buf;
15576 size_t outbytesleft = sizeof (buf);
15577 size_t res = iconv (cd_utf8_to_88591,
15578 (char **) &inptr, &inbytesleft,
15579 &outptr, &outbytesleft);
15584 #if 0 /* This bug could be worked around by the caller. */
15585 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15587 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15588 if (cd_88591_to_utf8 != (iconv_t)(-1))
15590 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15592 const char *inptr = input;
15593 size_t inbytesleft = strlen (input);
15594 char *outptr = buf;
15595 size_t outbytesleft = sizeof (buf);
15596 size_t res = iconv (cd_88591_to_utf8,
15597 (char **) &inptr, &inbytesleft,
15598 &outptr, &outbytesleft);
15604 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15606 if (/* Try standardized names. */
15607 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15608 /* Try IRIX, OSF/1 names. */
15609 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15610 /* Try AIX names. */
15611 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15612 /* Try HP-UX names. */
15613 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15618 if ac_fn_c_try_run "$LINENO"; then :
15619 am_cv_func_iconv_works=yes
15621 am_cv_func_iconv_works=no
15623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15624 conftest.$ac_objext conftest.beam conftest.$ac_ext
15627 LIBS="$am_save_LIBS"
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15631 $as_echo "$am_cv_func_iconv_works" >&6; }
15632 case "$am_cv_func_iconv_works" in
15633 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15634 *) am_func_iconv=yes ;;
15637 am_func_iconv=no am_cv_lib_iconv=no
15639 if test "$am_func_iconv" = yes; then
15641 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15644 if test "$am_cv_lib_iconv" = yes; then
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15646 $as_echo_n "checking how to link with libiconv... " >&6; }
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15648 $as_echo "$LIBICONV" >&6; }
15650 CPPFLAGS="$am_save_CPPFLAGS"
15664 acl_save_prefix="$prefix"
15665 prefix="$acl_final_prefix"
15666 acl_save_exec_prefix="$exec_prefix"
15667 exec_prefix="$acl_final_exec_prefix"
15669 eval additional_includedir=\"$includedir\"
15670 eval additional_libdir=\"$libdir\"
15672 exec_prefix="$acl_save_exec_prefix"
15673 prefix="$acl_save_prefix"
15676 # Check whether --with-libintl-prefix was given.
15677 if test "${with_libintl_prefix+set}" = set; then :
15678 withval=$with_libintl_prefix;
15679 if test "X$withval" = "Xno"; then
15682 if test "X$withval" = "X"; then
15684 acl_save_prefix="$prefix"
15685 prefix="$acl_final_prefix"
15686 acl_save_exec_prefix="$exec_prefix"
15687 exec_prefix="$acl_final_exec_prefix"
15689 eval additional_includedir=\"$includedir\"
15690 eval additional_libdir=\"$libdir\"
15692 exec_prefix="$acl_save_exec_prefix"
15693 prefix="$acl_save_prefix"
15696 additional_includedir="$withval/include"
15697 additional_libdir="$withval/$acl_libdirstem"
15709 names_already_handled=
15710 names_next_round='intl '
15711 while test -n "$names_next_round"; do
15712 names_this_round="$names_next_round"
15714 for name in $names_this_round; do
15716 for n in $names_already_handled; do
15717 if test "$n" = "$name"; then
15718 already_handled=yes
15722 if test -z "$already_handled"; then
15723 names_already_handled="$names_already_handled $name"
15724 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15725 eval value=\"\$HAVE_LIB$uppername\"
15726 if test -n "$value"; then
15727 if test "$value" = yes; then
15728 eval value=\"\$LIB$uppername\"
15729 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15730 eval value=\"\$LTLIB$uppername\"
15731 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15740 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15741 if test -n "$acl_shlibext"; then
15742 shrext=".$acl_shlibext" # typically: shrext=.so
15746 if test $use_additional = yes; then
15747 dir="$additional_libdir"
15748 if test -n "$acl_shlibext"; then
15749 if test -f "$dir/$libname$shrext"; then
15751 found_so="$dir/$libname$shrext"
15753 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15754 ver=`(cd "$dir" && \
15755 for f in "$libname$shrext".*; do echo "$f"; done \
15756 | sed -e "s,^$libname$shrext\\\\.,," \
15757 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15758 | sed 1q ) 2>/dev/null`
15759 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15761 found_so="$dir/$libname$shrext.$ver"
15764 eval library_names=\"$acl_library_names_spec\"
15765 for f in $library_names; do
15766 if test -f "$dir/$f"; then
15775 if test "X$found_dir" = "X"; then
15776 if test -f "$dir/$libname.$acl_libext"; then
15778 found_a="$dir/$libname.$acl_libext"
15781 if test "X$found_dir" != "X"; then
15782 if test -f "$dir/$libname.la"; then
15783 found_la="$dir/$libname.la"
15787 if test "X$found_dir" = "X"; then
15788 for x in $LDFLAGS $LTLIBINTL; do
15790 acl_save_prefix="$prefix"
15791 prefix="$acl_final_prefix"
15792 acl_save_exec_prefix="$exec_prefix"
15793 exec_prefix="$acl_final_exec_prefix"
15795 exec_prefix="$acl_save_exec_prefix"
15796 prefix="$acl_save_prefix"
15800 dir=`echo "X$x" | sed -e 's/^X-L//'`
15801 if test -n "$acl_shlibext"; then
15802 if test -f "$dir/$libname$shrext"; then
15804 found_so="$dir/$libname$shrext"
15806 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15807 ver=`(cd "$dir" && \
15808 for f in "$libname$shrext".*; do echo "$f"; done \
15809 | sed -e "s,^$libname$shrext\\\\.,," \
15810 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15811 | sed 1q ) 2>/dev/null`
15812 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15814 found_so="$dir/$libname$shrext.$ver"
15817 eval library_names=\"$acl_library_names_spec\"
15818 for f in $library_names; do
15819 if test -f "$dir/$f"; then
15828 if test "X$found_dir" = "X"; then
15829 if test -f "$dir/$libname.$acl_libext"; then
15831 found_a="$dir/$libname.$acl_libext"
15834 if test "X$found_dir" != "X"; then
15835 if test -f "$dir/$libname.la"; then
15836 found_la="$dir/$libname.la"
15841 if test "X$found_dir" != "X"; then
15846 if test "X$found_dir" != "X"; then
15847 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15848 if test "X$found_so" != "X"; then
15849 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15850 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15853 for x in $ltrpathdirs; do
15854 if test "X$x" = "X$found_dir"; then
15859 if test -z "$haveit"; then
15860 ltrpathdirs="$ltrpathdirs $found_dir"
15862 if test "$acl_hardcode_direct" = yes; then
15863 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15865 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15866 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15868 for x in $rpathdirs; do
15869 if test "X$x" = "X$found_dir"; then
15874 if test -z "$haveit"; then
15875 rpathdirs="$rpathdirs $found_dir"
15879 for x in $LDFLAGS $LIBINTL; do
15881 acl_save_prefix="$prefix"
15882 prefix="$acl_final_prefix"
15883 acl_save_exec_prefix="$exec_prefix"
15884 exec_prefix="$acl_final_exec_prefix"
15886 exec_prefix="$acl_save_exec_prefix"
15887 prefix="$acl_save_prefix"
15889 if test "X$x" = "X-L$found_dir"; then
15894 if test -z "$haveit"; then
15895 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15897 if test "$acl_hardcode_minus_L" != no; then
15898 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15900 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15906 if test "X$found_a" != "X"; then
15907 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15909 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15912 additional_includedir=
15913 case "$found_dir" in
15914 */$acl_libdirstem | */$acl_libdirstem/)
15915 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15916 LIBINTL_PREFIX="$basedir"
15917 additional_includedir="$basedir/include"
15920 if test "X$additional_includedir" != "X"; then
15921 if test "X$additional_includedir" != "X/usr/include"; then
15923 if test "X$additional_includedir" = "X/usr/local/include"; then
15924 if test -n "$GCC"; then
15926 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15930 if test -z "$haveit"; then
15931 for x in $CPPFLAGS $INCINTL; do
15933 acl_save_prefix="$prefix"
15934 prefix="$acl_final_prefix"
15935 acl_save_exec_prefix="$exec_prefix"
15936 exec_prefix="$acl_final_exec_prefix"
15938 exec_prefix="$acl_save_exec_prefix"
15939 prefix="$acl_save_prefix"
15941 if test "X$x" = "X-I$additional_includedir"; then
15946 if test -z "$haveit"; then
15947 if test -d "$additional_includedir"; then
15948 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15954 if test -n "$found_la"; then
15955 save_libdir="$libdir"
15956 case "$found_la" in
15957 */* | *\\*) . "$found_la" ;;
15958 *) . "./$found_la" ;;
15960 libdir="$save_libdir"
15961 for dep in $dependency_libs; do
15964 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15965 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15967 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15968 if test -n "$GCC"; then
15970 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15974 if test -z "$haveit"; then
15976 for x in $LDFLAGS $LIBINTL; do
15978 acl_save_prefix="$prefix"
15979 prefix="$acl_final_prefix"
15980 acl_save_exec_prefix="$exec_prefix"
15981 exec_prefix="$acl_final_exec_prefix"
15983 exec_prefix="$acl_save_exec_prefix"
15984 prefix="$acl_save_prefix"
15986 if test "X$x" = "X-L$additional_libdir"; then
15991 if test -z "$haveit"; then
15992 if test -d "$additional_libdir"; then
15993 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15997 for x in $LDFLAGS $LTLIBINTL; do
15999 acl_save_prefix="$prefix"
16000 prefix="$acl_final_prefix"
16001 acl_save_exec_prefix="$exec_prefix"
16002 exec_prefix="$acl_final_exec_prefix"
16004 exec_prefix="$acl_save_exec_prefix"
16005 prefix="$acl_save_prefix"
16007 if test "X$x" = "X-L$additional_libdir"; then
16012 if test -z "$haveit"; then
16013 if test -d "$additional_libdir"; then
16014 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
16021 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16022 if test "$enable_rpath" != no; then
16024 for x in $rpathdirs; do
16025 if test "X$x" = "X$dir"; then
16030 if test -z "$haveit"; then
16031 rpathdirs="$rpathdirs $dir"
16034 for x in $ltrpathdirs; do
16035 if test "X$x" = "X$dir"; then
16040 if test -z "$haveit"; then
16041 ltrpathdirs="$ltrpathdirs $dir"
16046 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16049 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16052 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
16053 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
16059 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16060 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
16066 if test "X$rpathdirs" != "X"; then
16067 if test -n "$acl_hardcode_libdir_separator"; then
16069 for found_dir in $rpathdirs; do
16070 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16072 acl_save_libdir="$libdir"
16074 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16075 libdir="$acl_save_libdir"
16076 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16078 for found_dir in $rpathdirs; do
16079 acl_save_libdir="$libdir"
16080 libdir="$found_dir"
16081 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16082 libdir="$acl_save_libdir"
16083 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16087 if test "X$ltrpathdirs" != "X"; then
16088 for found_dir in $ltrpathdirs; do
16089 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16094 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16095 if eval \${$gt_func_gnugettext_libintl+:} false; then :
16096 $as_echo_n "(cached) " >&6
16098 gt_save_CPPFLAGS="$CPPFLAGS"
16099 CPPFLAGS="$CPPFLAGS $INCINTL"
16100 gt_save_LIBS="$LIBS"
16101 LIBS="$LIBS $LIBINTL"
16102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16103 /* end confdefs.h. */
16104 #include <libintl.h>
16105 $gt_revision_test_code
16106 extern int _nl_msg_cat_cntr;
16111 const char *_nl_expand_alias (const char *);
16115 bindtextdomain ("", "");
16116 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16121 if ac_fn_c_try_link "$LINENO"; then :
16122 eval "$gt_func_gnugettext_libintl=yes"
16124 eval "$gt_func_gnugettext_libintl=no"
16126 rm -f core conftest.err conftest.$ac_objext \
16127 conftest$ac_exeext conftest.$ac_ext
16128 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16129 LIBS="$LIBS $LIBICONV"
16130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16132 #include <libintl.h>
16133 $gt_revision_test_code
16134 extern int _nl_msg_cat_cntr;
16139 const char *_nl_expand_alias (const char *);
16143 bindtextdomain ("", "");
16144 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16149 if ac_fn_c_try_link "$LINENO"; then :
16150 LIBINTL="$LIBINTL $LIBICONV"
16151 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16152 eval "$gt_func_gnugettext_libintl=yes"
16155 rm -f core conftest.err conftest.$ac_objext \
16156 conftest$ac_exeext conftest.$ac_ext
16158 CPPFLAGS="$gt_save_CPPFLAGS"
16159 LIBS="$gt_save_LIBS"
16161 eval ac_res=\$$gt_func_gnugettext_libintl
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16163 $as_echo "$ac_res" >&6; }
16166 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16167 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16168 && test "$PACKAGE" != gettext-runtime \
16169 && test "$PACKAGE" != gettext-tools; }; then
16170 gt_use_preinstalled_gnugettext=yes
16179 if test -n "$INTL_MACOSX_LIBS"; then
16180 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16181 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16182 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16183 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16187 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16188 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16190 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16198 $as_echo_n "checking whether to use NLS... " >&6; }
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16200 $as_echo "$USE_NLS" >&6; }
16201 if test "$USE_NLS" = "yes"; then
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16203 $as_echo_n "checking where the gettext function comes from... " >&6; }
16204 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16205 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16206 gt_source="external libintl"
16211 gt_source="included intl directory"
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16214 $as_echo "$gt_source" >&6; }
16217 if test "$USE_NLS" = "yes"; then
16219 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16220 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16222 $as_echo_n "checking how to link with libintl... " >&6; }
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16224 $as_echo "$LIBINTL" >&6; }
16226 for element in $INCINTL; do
16228 for x in $CPPFLAGS; do
16230 acl_save_prefix="$prefix"
16231 prefix="$acl_final_prefix"
16232 acl_save_exec_prefix="$exec_prefix"
16233 exec_prefix="$acl_final_exec_prefix"
16235 exec_prefix="$acl_save_exec_prefix"
16236 prefix="$acl_save_prefix"
16238 if test "X$x" = "X$element"; then
16243 if test -z "$haveit"; then
16244 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16251 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16254 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16263 INTLLIBS="$LIBINTL"
16272 GETTEXT_PACKAGE=PACKAGE_TARNAME
16275 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
16278 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
16281 cat >confcache <<\_ACEOF
16282 # This file is a shell script that caches the results of configure
16283 # tests run on this system so they can be shared between configure
16284 # scripts and configure runs, see configure's option --config-cache.
16285 # It is not useful on other systems. If it contains results you don't
16286 # want to keep, you may remove or edit it.
16288 # config.status only pays attention to the cache file if you give it
16289 # the --recheck option to rerun configure.
16291 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16292 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16293 # following values.
16297 # The following way of writing the cache mishandles newlines in values,
16298 # but we know of no workaround that is simple, portable, and efficient.
16299 # So, we kill variables containing newlines.
16300 # Ultrix sh set writes to stderr and can't be redirected directly,
16301 # and sets the high bit in the cache file unless we assign to the vars.
16303 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16304 eval ac_val=\$$ac_var
16308 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16309 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16312 _ | IFS | as_nl) ;; #(
16313 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16314 *) { eval $ac_var=; unset $ac_var;} ;;
16320 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16321 *${as_nl}ac_space=\ *)
16322 # `set' does not quote correctly, so add quotes: double-quote
16323 # substitution turns \\\\ into \\, and sed turns \\ into \.
16326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16329 # `set' quotes correctly as required by POSIX, so do not add quotes.
16330 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16339 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16341 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16343 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16344 if test -w "$cache_file"; then
16345 if test "x$cache_file" != "x/dev/null"; then
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16347 $as_echo "$as_me: updating cache $cache_file" >&6;}
16348 if test ! -f "$cache_file" || test -h "$cache_file"; then
16349 cat confcache >"$cache_file"
16351 case $cache_file in #(
16353 mv -f confcache "$cache_file"$$ &&
16354 mv -f "$cache_file"$$ "$cache_file" ;; #(
16356 mv -f confcache "$cache_file" ;;
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16362 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16367 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16368 # Let make expand exec_prefix.
16369 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16371 DEFS=-DHAVE_CONFIG_H
16376 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16377 # 1. Remove the extension, and $U if already installed.
16378 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16379 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16380 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16381 # will be set to the directory where LIBOBJS objects are built.
16382 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16383 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16385 LIBOBJS=$ac_libobjs
16387 LTLIBOBJS=$ac_ltlibobjs
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16391 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16392 if test -n "$am_sleep_pid"; then
16393 # Hide warnings about reused PIDs.
16394 wait $am_sleep_pid 2>/dev/null
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16397 $as_echo "done" >&6; }
16398 if test -n "$EXEEXT"; then
16400 am__EXEEXT_FALSE='#'
16402 am__EXEEXT_TRUE='#'
16406 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16407 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16410 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16411 as_fn_error $? "conditional \"AMDEP\" was never defined.
16412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16414 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16415 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16418 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16419 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16422 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
16423 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
16424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16426 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16427 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16430 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
16431 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
16432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16434 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
16435 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
16436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16438 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
16439 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
16440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16442 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
16443 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
16444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16446 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
16447 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
16448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16450 if test -z "${GIO_VAPI_USES_ARRAYS_TRUE}" && test -z "${GIO_VAPI_USES_ARRAYS_FALSE}"; then
16451 as_fn_error $? "conditional \"GIO_VAPI_USES_ARRAYS\" was never defined.
16452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16455 : "${CONFIG_STATUS=./config.status}"
16457 ac_clean_files_save=$ac_clean_files
16458 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16460 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16462 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16464 # Generated by $as_me.
16465 # Run this file to recreate the current configuration.
16466 # Compiler output produced by configure, useful for debugging
16467 # configure, is in config.log if it exists.
16470 ac_cs_recheck=false
16473 SHELL=\${CONFIG_SHELL-$SHELL}
16476 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16477 ## -------------------- ##
16478 ## M4sh Initialization. ##
16479 ## -------------------- ##
16481 # Be more Bourne compatible
16482 DUALCASE=1; export DUALCASE # for MKS sh
16483 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16486 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16487 # is contrary to our usage. Disable this feature.
16488 alias -g '${1+"$@"}'='"$@"'
16489 setopt NO_GLOB_SUBST
16491 case `(set -o) 2>/dev/null` in #(
16503 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16504 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16505 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16506 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16507 # Prefer a ksh shell builtin over an external printf program on Solaris,
16508 # but without wasting forks for bash or zsh.
16509 if test -z "$BASH_VERSION$ZSH_VERSION" \
16510 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16511 as_echo='print -r --'
16512 as_echo_n='print -rn --'
16513 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16514 as_echo='printf %s\n'
16515 as_echo_n='printf %s'
16517 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16518 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16519 as_echo_n='/usr/ucb/echo -n'
16521 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16522 as_echo_n_body='eval
16526 expr "X$arg" : "X\\(.*\\)$as_nl";
16527 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16529 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16531 export as_echo_n_body
16532 as_echo_n='sh -c $as_echo_n_body as_echo'
16534 export as_echo_body
16535 as_echo='sh -c $as_echo_body as_echo'
16538 # The user is always right.
16539 if test "${PATH_SEPARATOR+set}" != set; then
16541 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16542 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16549 # We need space, tab and new line, in precisely that order. Quoting is
16550 # there to prevent editors from complaining about space-tab.
16551 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16552 # splitting by setting IFS to empty value.)
16555 # Find who we are. Look in the path if we contain no directory separator.
16558 *[\\/]* ) as_myself=$0 ;;
16559 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16560 for as_dir in $PATH
16563 test -z "$as_dir" && as_dir=.
16564 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16570 # We did not find ourselves, most probably we were run as `sh COMMAND'
16571 # in which case we are not to be found in the path.
16572 if test "x$as_myself" = x; then
16575 if test ! -f "$as_myself"; then
16576 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16580 # Unset variables that we do not need and which cause bugs (e.g. in
16581 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16582 # suppresses any "Segmentation fault" message there. '((' could
16583 # trigger a bug in pdksh 5.2.14.
16584 for as_var in BASH_ENV ENV MAIL MAILPATH
16585 do eval test x\${$as_var+set} = xset \
16586 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16599 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16602 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16603 # ----------------------------------------
16604 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16605 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16606 # script with STATUS, using 1 if that was 0.
16609 as_status=$1; test $as_status -eq 0 && as_status=1
16611 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16612 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16614 $as_echo "$as_me: error: $2" >&2
16615 as_fn_exit $as_status
16619 # as_fn_set_status STATUS
16620 # -----------------------
16621 # Set $? to STATUS, without forking.
16622 as_fn_set_status ()
16625 } # as_fn_set_status
16627 # as_fn_exit STATUS
16628 # -----------------
16629 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16633 as_fn_set_status $1
16639 # Portably unset VAR.
16642 { eval $1=; unset $1;}
16644 as_unset=as_fn_unset
16645 # as_fn_append VAR VALUE
16646 # ----------------------
16647 # Append the text in VALUE to the end of the definition contained in VAR. Take
16648 # advantage of any shell optimizations that allow amortized linear growth over
16649 # repeated appends, instead of the typical quadratic growth present in naive
16651 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16652 eval 'as_fn_append ()
16663 # as_fn_arith ARG...
16664 # ------------------
16665 # Perform arithmetic evaluation on the ARGs, and store the result in the
16666 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16667 # must be portable across $(()) and expr.
16668 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16669 eval 'as_fn_arith ()
16676 as_val=`expr "$@" || test $? -eq 1`
16681 if expr a : '\(a\)' >/dev/null 2>&1 &&
16682 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16688 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16689 as_basename=basename
16694 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16700 as_me=`$as_basename -- "$0" ||
16701 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16702 X"$0" : 'X\(//\)$' \| \
16703 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16705 sed '/^.*\/\([^/][^/]*\)\/*$/{
16719 # Avoid depending upon Character Ranges.
16720 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16721 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16722 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16723 as_cr_digits='0123456789'
16724 as_cr_alnum=$as_cr_Letters$as_cr_digits
16726 ECHO_C= ECHO_N= ECHO_T=
16727 case `echo -n x` in #(((((
16729 case `echo 'xy\c'` in
16730 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16732 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16739 rm -f conf$$ conf$$.exe conf$$.file
16740 if test -d conf$$.dir; then
16741 rm -f conf$$.dir/conf$$.file
16744 mkdir conf$$.dir 2>/dev/null
16746 if (echo >conf$$.file) 2>/dev/null; then
16747 if ln -s conf$$.file conf$$ 2>/dev/null; then
16749 # ... but there are two gotchas:
16750 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16751 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16752 # In both cases, we have to default to `cp -pR'.
16753 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16755 elif ln conf$$.file conf$$ 2>/dev/null; then
16763 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16764 rmdir conf$$.dir 2>/dev/null
16769 # Create "$as_dir" as a directory, including parents if necessary.
16774 -*) as_dir=./$as_dir;;
16776 test -d "$as_dir" || eval $as_mkdir_p || {
16780 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16781 *) as_qdir=$as_dir;;
16783 as_dirs="'$as_qdir' $as_dirs"
16784 as_dir=`$as_dirname -- "$as_dir" ||
16785 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16786 X"$as_dir" : 'X\(//\)[^/]' \| \
16787 X"$as_dir" : 'X\(//\)$' \| \
16788 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16789 $as_echo X"$as_dir" |
16790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16794 /^X\(\/\/\)[^/].*/{
16807 test -d "$as_dir" && break
16809 test -z "$as_dirs" || eval "mkdir $as_dirs"
16810 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16814 if mkdir -p . 2>/dev/null; then
16815 as_mkdir_p='mkdir -p "$as_dir"'
16817 test -d ./-p && rmdir ./-p
16822 # as_fn_executable_p FILE
16823 # -----------------------
16824 # Test if FILE is an executable regular file.
16825 as_fn_executable_p ()
16827 test -f "$1" && test -x "$1"
16828 } # as_fn_executable_p
16829 as_test_x='test -x'
16830 as_executable_p=as_fn_executable_p
16832 # Sed expression to map a string onto a valid CPP name.
16833 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16835 # Sed expression to map a string onto a valid variable name.
16836 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16840 ## ----------------------------------- ##
16841 ## Main body of $CONFIG_STATUS script. ##
16842 ## ----------------------------------- ##
16844 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16847 # Save the log message, to keep $0 and so on meaningful, and to
16848 # report actual input values of CONFIG_FILES etc. instead of their
16849 # values after options handling.
16851 This file was extended by Moonshot-ui $as_me 0.7.2, which was
16852 generated by GNU Autoconf 2.69. Invocation command line was
16854 CONFIG_FILES = $CONFIG_FILES
16855 CONFIG_HEADERS = $CONFIG_HEADERS
16856 CONFIG_LINKS = $CONFIG_LINKS
16857 CONFIG_COMMANDS = $CONFIG_COMMANDS
16860 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16865 case $ac_config_files in *"
16866 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16869 case $ac_config_headers in *"
16870 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16875 # Files that config.status was made for.
16876 config_files="$ac_config_files"
16877 config_headers="$ac_config_headers"
16878 config_commands="$ac_config_commands"
16882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16884 \`$as_me' instantiates files and other configuration actions
16885 from templates according to the current configuration. Unless the files
16886 and actions are specified as TAGs, all are instantiated by default.
16888 Usage: $0 [OPTION]... [TAG]...
16890 -h, --help print this help, then exit
16891 -V, --version print version number and configuration settings, then exit
16892 --config print configuration, then exit
16893 -q, --quiet, --silent
16894 do not print progress messages
16895 -d, --debug don't remove temporary files
16896 --recheck update $as_me by reconfiguring in the same conditions
16897 --file=FILE[:TEMPLATE]
16898 instantiate the configuration file FILE
16899 --header=FILE[:TEMPLATE]
16900 instantiate the configuration header FILE
16902 Configuration files:
16905 Configuration headers:
16908 Configuration commands:
16911 Report bugs to <moonshot-community@jiscmail.ac.uk>.
16912 Moonshot-ui home page: <http://www.project-moonshot.org/>."
16915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16916 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16918 Moonshot-ui config.status 0.7.2
16919 configured by $0, generated by GNU Autoconf 2.69,
16920 with options \\"\$ac_cs_config\\"
16922 Copyright (C) 2012 Free Software Foundation, Inc.
16923 This config.status script is free software; the Free Software Foundation
16924 gives unlimited permission to copy, distribute and modify it."
16931 test -n "\$AWK" || AWK=awk
16934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16935 # The default lists apply if the user does not specify any file.
16941 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16942 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16946 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16958 # Handling of the options.
16959 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16961 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16962 $as_echo "$ac_cs_version"; exit ;;
16963 --config | --confi | --conf | --con | --co | --c )
16964 $as_echo "$ac_cs_config"; exit ;;
16965 --debug | --debu | --deb | --de | --d | -d )
16967 --file | --fil | --fi | --f )
16970 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16971 '') as_fn_error $? "missing file argument" ;;
16973 as_fn_append CONFIG_FILES " '$ac_optarg'"
16974 ac_need_defaults=false;;
16975 --header | --heade | --head | --hea )
16978 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16980 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16981 ac_need_defaults=false;;
16983 # Conflict between --help and --header
16984 as_fn_error $? "ambiguous option: \`$1'
16985 Try \`$0 --help' for more information.";;
16986 --help | --hel | -h )
16987 $as_echo "$ac_cs_usage"; exit ;;
16988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16989 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16992 # This is an error.
16993 -*) as_fn_error $? "unrecognized option: \`$1'
16994 Try \`$0 --help' for more information." ;;
16996 *) as_fn_append ac_config_targets " $1"
16997 ac_need_defaults=false ;;
17003 ac_configure_extra_args=
17005 if $ac_cs_silent; then
17007 ac_configure_extra_args="$ac_configure_extra_args --silent"
17011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17012 if \$ac_cs_recheck; then
17013 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17015 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17016 CONFIG_SHELL='$SHELL'
17017 export CONFIG_SHELL
17022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17026 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17027 ## Running $as_me. ##
17033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17037 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17040 # The HP-UX ksh and POSIX shell print the target directory to stdout
17041 # if CDPATH is set.
17042 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17044 sed_quote_subst='$sed_quote_subst'
17045 double_quote_subst='$double_quote_subst'
17046 delay_variable_subst='$delay_variable_subst'
17047 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17048 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17049 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17050 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17051 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17052 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17053 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17054 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17055 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17056 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17057 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17058 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17059 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17060 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17061 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17062 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17063 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17064 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17065 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17066 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17067 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17068 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17069 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17070 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17071 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17072 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17073 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17074 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17075 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17076 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17077 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17078 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17079 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17080 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17081 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17082 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17083 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17084 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17085 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17086 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17087 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17088 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17089 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17090 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17091 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17092 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17093 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17094 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17095 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17096 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17097 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17098 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17099 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17100 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17101 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17102 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17103 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17104 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"`'
17105 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17106 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17107 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17108 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17109 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17110 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17111 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17112 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17113 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17114 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17115 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17116 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17117 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17118 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17119 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17120 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17121 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17122 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17123 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17124 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17125 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17126 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17127 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17128 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17129 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17130 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17131 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17132 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17133 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17134 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17135 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17136 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17137 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17138 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17139 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17140 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17141 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17142 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17143 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17144 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17145 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17146 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17147 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17148 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17149 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17150 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17151 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17152 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17153 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17154 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17155 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17156 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17157 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17158 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17159 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17160 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17161 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17162 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17163 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17164 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17165 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17166 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17167 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17168 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17169 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17170 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17171 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17172 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17173 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17174 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17175 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17176 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17177 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17180 LTCFLAGS='$LTCFLAGS'
17181 compiler='$compiler_DEFAULT'
17183 # A function that is used when there is no print builtin or printf.
17184 func_fallback_echo ()
17186 eval 'cat <<_LTECHO_EOF
17191 # Quote evaled strings.
17208 deplibs_check_method \
17212 sharedlib_from_linklib_cmd \
17215 archiver_list_spec \
17221 lt_cv_sys_global_symbol_pipe \
17222 lt_cv_sys_global_symbol_to_cdecl \
17223 lt_cv_sys_global_symbol_to_c_name_address \
17224 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17225 nm_file_list_spec \
17226 lt_prog_compiler_no_builtin_flag \
17227 lt_prog_compiler_pic \
17228 lt_prog_compiler_wl \
17229 lt_prog_compiler_static \
17230 lt_cv_prog_compiler_c_o \
17239 export_dynamic_flag_spec \
17240 whole_archive_flag_spec \
17241 compiler_needs_object \
17243 allow_undefined_flag \
17244 no_undefined_flag \
17245 hardcode_libdir_flag_spec \
17246 hardcode_libdir_separator \
17250 variables_saved_for_relink \
17252 library_names_spec \
17254 install_override_mode \
17258 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17259 *[\\\\\\\`\\"\\\$]*)
17260 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17263 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17268 # Double-quote double-evaled strings.
17269 for var in reload_cmds \
17270 old_postinstall_cmds \
17271 old_postuninstall_cmds \
17273 extract_expsyms_cmds \
17274 old_archive_from_new_cmds \
17275 old_archive_from_expsyms_cmds \
17277 archive_expsym_cmds \
17279 module_expsym_cmds \
17280 export_symbols_cmds \
17284 postuninstall_cmds \
17286 sys_lib_search_path_spec \
17287 sys_lib_dlsearch_path_spec; do
17288 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17289 *[\\\\\\\`\\"\\\$]*)
17290 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17293 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17298 ac_aux_dir='$ac_aux_dir'
17299 xsi_shell='$xsi_shell'
17300 lt_shell_append='$lt_shell_append'
17302 # See if we are running on zsh, and set the options which allow our
17303 # commands through without removal of \ escapes INIT.
17304 if test -n "\${ZSH_VERSION+set}" ; then
17305 setopt NO_GLOB_SUBST
17311 TIMESTAMP='$TIMESTAMP'
17317 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17318 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17319 # from automake < 1.5.
17320 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17321 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17322 LINGUAS="${LINGUAS-%UNSET%}"
17327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17329 # Handling of arguments.
17330 for ac_config_target in $ac_config_targets
17332 case $ac_config_target in
17333 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17334 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17335 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17336 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17337 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17338 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17339 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
17340 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
17341 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
17343 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17348 # If the user did not use the arguments to specify the items to instantiate,
17349 # then the envvar interface is used. Set only those that are not.
17350 # We use the long form for the default assignment because of an extremely
17351 # bizarre bug on SunOS 4.1.3.
17352 if $ac_need_defaults; then
17353 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17354 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17355 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17358 # Have a temporary directory for convenience. Make it in the build tree
17359 # simply because there is no reason against having it here, and in addition,
17360 # creating and moving files from /tmp can sometimes cause problems.
17361 # Hook for its removal unless debugging.
17362 # Note that there is a small window in which the directory will not be cleaned:
17363 # after its creation but before its name has been assigned to `$tmp'.
17367 trap 'exit_status=$?
17368 : "${ac_tmp:=$tmp}"
17369 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17371 trap 'as_fn_exit 1' 1 2 13 15
17373 # Create a (secure) tmp directory for tmp files.
17376 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17380 tmp=./conf$$-$RANDOM
17381 (umask 077 && mkdir "$tmp")
17382 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17385 # Set up the scripts for CONFIG_FILES section.
17386 # No need to generate them if there are no CONFIG_FILES.
17387 # This happens for instance with `./config.status config.h'.
17388 if test -n "$CONFIG_FILES"; then
17391 ac_cr=`echo X | tr X '\015'`
17392 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17393 # But we know of no other shell where ac_cr would be empty at this
17394 # point, so we can use a bashism as a fallback.
17395 if test "x$ac_cr" = x; then
17396 eval ac_cr=\$\'\\r\'
17398 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17399 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17402 ac_cs_awk_cr=$ac_cr
17405 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17410 echo "cat >conf$$subs.awk <<_ACEOF" &&
17411 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17413 } >conf$$subs.sh ||
17414 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17415 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17417 for ac_last_try in false false false false false :; do
17418 . ./conf$$subs.sh ||
17419 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17421 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17422 if test $ac_delim_n = $ac_delim_num; then
17424 elif $ac_last_try; then
17425 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17427 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17430 rm -f conf$$subs.sh
17432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17433 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17437 s/^/S["/; s/!.*/"]=/
17447 s/\(.\{148\}\)..*/\1/
17449 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17454 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17461 s/\(.\{148\}\)..*/\1/
17463 s/["\\]/\\&/g; s/^/"/; s/$/"/
17467 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17472 ' <conf$$subs.awk | sed '
17477 ' >>$CONFIG_STATUS || ac_write_fail=1
17478 rm -f conf$$subs.awk
17479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17481 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17482 for (key in S) S_is_set[key] = 1
17488 nfields = split(line, field, "@")
17490 len = length(field[1])
17491 for (i = 2; i < nfields; i++) {
17493 keylen = length(key)
17494 if (S_is_set[key]) {
17496 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17497 len += length(value) + length(field[++i])
17508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17509 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17510 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17513 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17514 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17517 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17518 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17519 # trailing colons and then remove the whole line if VPATH becomes empty
17520 # (actually we leave an empty line to preserve line numbers).
17521 if test "x$srcdir" = x.; then
17522 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17541 fi # test -n "$CONFIG_FILES"
17543 # Set up the scripts for CONFIG_HEADERS section.
17544 # No need to generate them if there are no CONFIG_HEADERS.
17545 # This happens for instance with `./config.status Makefile'.
17546 if test -n "$CONFIG_HEADERS"; then
17547 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17551 # Transform confdefs.h into an awk script `defines.awk', embedded as
17552 # here-document in config.status, that substitutes the proper values into
17553 # config.h.in to produce config.h.
17555 # Create a delimiter string that does not exist in confdefs.h, to ease
17556 # handling of long lines.
17558 for ac_last_try in false false :; do
17559 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17560 if test -z "$ac_tt"; then
17562 elif $ac_last_try; then
17563 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17565 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17569 # For the awk script, D is an array of macro values keyed by name,
17570 # likewise P contains macro parameters if any. Preserve backslash
17571 # newline sequences.
17573 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17575 s/.\{148\}/&'"$ac_delim"'/g
17578 s/^[ ]*#[ ]*define[ ][ ]*/ /
17585 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17587 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17592 D["\1"]=" \3\\\\\\n"\\/p
17594 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17599 s/.\{148\}/&'"$ac_delim"'/g
17604 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17607 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17609 ' <confdefs.h | sed '
17610 s/'"$ac_delim"'/"\\\
17611 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17614 for (key in D) D_is_set[key] = 1
17617 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17619 split(line, arg, " ")
17620 if (arg[1] == "#") {
17624 defundef = substr(arg[1], 2)
17627 split(mac1, mac2, "(") #)
17629 prefix = substr(line, 1, index(line, defundef) - 1)
17630 if (D_is_set[macro]) {
17631 # Preserve the white space surrounding the "#".
17632 print prefix "define", macro P[macro] D[macro]
17635 # Replace #undef with comments. This is necessary, for example,
17636 # in the case of _POSIX_SOURCE, which is predefined and required
17637 # on some systems where configure will not decide to define it.
17638 if (defundef == "undef") {
17639 print "/*", prefix defundef, macro, "*/"
17647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17648 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17649 fi # test -n "$CONFIG_HEADERS"
17652 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17657 :[FHLC]) ac_mode=$ac_tag; continue;;
17659 case $ac_mode$ac_tag in
17661 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17662 :[FH]-) ac_tag=-:-;;
17663 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17680 -) ac_f="$ac_tmp/stdin";;
17681 *) # Look for the file first in the build tree, then in the source tree
17682 # (if the path is not absolute). The absolute path cannot be DOS-style,
17683 # because $ac_f cannot contain `:'.
17687 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17689 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17691 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17692 as_fn_append ac_file_inputs " '$ac_f'"
17695 # Let's still pretend it is `configure' which instantiates (i.e., don't
17696 # use $as_me), people would be surprised to read:
17697 # /* config.h. Generated by config.status. */
17698 configure_input='Generated from '`
17699 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17701 if test x"$ac_file" != x-; then
17702 configure_input="$ac_file. $configure_input"
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17704 $as_echo "$as_me: creating $ac_file" >&6;}
17706 # Neutralize special characters interpreted by sed in replacement strings.
17707 case $configure_input in #(
17708 *\&* | *\|* | *\\* )
17709 ac_sed_conf_input=`$as_echo "$configure_input" |
17710 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17711 *) ac_sed_conf_input=$configure_input;;
17715 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17716 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17721 ac_dir=`$as_dirname -- "$ac_file" ||
17722 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17723 X"$ac_file" : 'X\(//\)[^/]' \| \
17724 X"$ac_file" : 'X\(//\)$' \| \
17725 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17726 $as_echo X"$ac_file" |
17727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17731 /^X\(\/\/\)[^/].*/{
17744 as_dir="$ac_dir"; as_fn_mkdir_p
17748 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17750 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17751 # A ".." for each directory in $ac_dir_suffix.
17752 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17753 case $ac_top_builddir_sub in
17754 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17755 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17758 ac_abs_top_builddir=$ac_pwd
17759 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17760 # for backward compatibility:
17761 ac_top_builddir=$ac_top_build_prefix
17764 .) # We are building in place.
17766 ac_top_srcdir=$ac_top_builddir_sub
17767 ac_abs_top_srcdir=$ac_pwd ;;
17768 [\\/]* | ?:[\\/]* ) # Absolute name.
17769 ac_srcdir=$srcdir$ac_dir_suffix;
17770 ac_top_srcdir=$srcdir
17771 ac_abs_top_srcdir=$srcdir ;;
17772 *) # Relative name.
17773 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17774 ac_top_srcdir=$ac_top_build_prefix$srcdir
17775 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17777 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17787 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17788 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17790 ac_MKDIR_P=$MKDIR_P
17792 [\\/$]* | ?:[\\/]* ) ;;
17793 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17798 # If the template does not know about datarootdir, expand it.
17799 # FIXME: This hack should be removed a few years after 2.60.
17800 ac_datarootdir_hack=; ac_datarootdir_seen=
17811 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17812 *datarootdir*) ac_datarootdir_seen=yes;;
17813 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17815 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17818 ac_datarootdir_hack='
17819 s&@datadir@&$datadir&g
17820 s&@docdir@&$docdir&g
17821 s&@infodir@&$infodir&g
17822 s&@localedir@&$localedir&g
17823 s&@mandir@&$mandir&g
17824 s&\\\${datarootdir}&$datarootdir&g' ;;
17828 # Neutralize VPATH when `$srcdir' = `.'.
17829 # Shell code in configure.ac might set extrasub.
17830 # FIXME: do we really want to maintain this feature?
17831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17832 ac_sed_extra="$ac_vpsub
17835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17837 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17838 s|@configure_input@|$ac_sed_conf_input|;t t
17839 s&@top_builddir@&$ac_top_builddir_sub&;t t
17840 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17841 s&@srcdir@&$ac_srcdir&;t t
17842 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17843 s&@top_srcdir@&$ac_top_srcdir&;t t
17844 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17845 s&@builddir@&$ac_builddir&;t t
17846 s&@abs_builddir@&$ac_abs_builddir&;t t
17847 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17848 s&@INSTALL@&$ac_INSTALL&;t t
17849 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17850 $ac_datarootdir_hack
17852 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17853 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17855 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17856 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17857 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17858 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17860 which seems to be undefined. Please make sure it is defined" >&5
17861 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17862 which seems to be undefined. Please make sure it is defined" >&2;}
17864 rm -f "$ac_tmp/stdin"
17866 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17867 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17875 if test x"$ac_file" != x-; then
17877 $as_echo "/* $configure_input */" \
17878 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17879 } >"$ac_tmp/config.h" \
17880 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17881 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17883 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17886 mv "$ac_tmp/config.h" "$ac_file" \
17887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17890 $as_echo "/* $configure_input */" \
17891 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17892 || as_fn_error $? "could not create -" "$LINENO" 5
17894 # Compute "$ac_file"'s index in $config_headers.
17897 for _am_header in $config_headers :; do
17898 case $_am_header in
17899 $_am_arg | $_am_arg:* )
17902 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17905 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17906 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17907 X"$_am_arg" : 'X\(//\)[^/]' \| \
17908 X"$_am_arg" : 'X\(//\)$' \| \
17909 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17910 $as_echo X"$_am_arg" |
17911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17915 /^X\(\/\/\)[^/].*/{
17927 s/.*/./; q'`/stamp-h$_am_stamp_count
17930 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17931 $as_echo "$as_me: executing $ac_file commands" >&6;}
17936 case $ac_file$ac_mode in
17937 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17938 # Older Autoconf quotes --file arguments for eval, but not when files
17939 # are listed without --file. Let's play safe and only enable the eval
17940 # if we detect the quoting.
17941 case $CONFIG_FILES in
17942 *\'*) eval set x "$CONFIG_FILES" ;;
17943 *) set x $CONFIG_FILES ;;
17948 # Strip MF so we end up with the name of the file.
17949 mf=`echo "$mf" | sed -e 's/:.*$//'`
17950 # Check whether this is an Automake generated Makefile or not.
17951 # We used to match only the files named 'Makefile.in', but
17952 # some people rename them; so instead we look at the file content.
17953 # Grep'ing the first line is not enough: some people post-process
17954 # each Makefile.in and add a new line on top of each file to say so.
17955 # Grep'ing the whole file is not good either: AIX grep has a line
17956 # limit of 2048, but all sed's we know have understand at least 4000.
17957 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17958 dirpart=`$as_dirname -- "$mf" ||
17959 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17960 X"$mf" : 'X\(//\)[^/]' \| \
17961 X"$mf" : 'X\(//\)$' \| \
17962 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17968 /^X\(\/\/\)[^/].*/{
17984 # Extract the definition of DEPDIR, am__include, and am__quote
17985 # from the Makefile without running 'make'.
17986 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17987 test -z "$DEPDIR" && continue
17988 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17989 test -z "$am__include" && continue
17990 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17991 # Find all dependency output files, they are included files with
17992 # $(DEPDIR) in their names. We invoke sed twice because it is the
17993 # simplest approach to changing $(DEPDIR) to its actual value in the
17995 for file in `sed -n "
17996 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17997 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17998 # Make sure the directory exists.
17999 test -f "$dirpart/$file" && continue
18000 fdir=`$as_dirname -- "$file" ||
18001 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18002 X"$file" : 'X\(//\)[^/]' \| \
18003 X"$file" : 'X\(//\)$' \| \
18004 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18005 $as_echo X"$file" |
18006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18010 /^X\(\/\/\)[^/].*/{
18023 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18024 # echo "creating $dirpart/$file"
18025 echo '# dummy' > "$dirpart/$file"
18032 # See if we are running on zsh, and set the options which allow our
18033 # commands through without removal of \ escapes.
18034 if test -n "${ZSH_VERSION+set}" ; then
18035 setopt NO_GLOB_SUBST
18038 cfgfile="${ofile}T"
18039 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18042 cat <<_LT_EOF >> "$cfgfile"
18045 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18046 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18047 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18048 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18050 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18051 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18053 # Written by Gordon Matzigkeit, 1996
18055 # This file is part of GNU Libtool.
18057 # GNU Libtool is free software; you can redistribute it and/or
18058 # modify it under the terms of the GNU General Public License as
18059 # published by the Free Software Foundation; either version 2 of
18060 # the License, or (at your option) any later version.
18062 # As a special exception to the GNU General Public License,
18063 # if you distribute this file as part of a program or library that
18064 # is built using GNU Libtool, you may include this file under the
18065 # same distribution terms that you use for the rest of that program.
18067 # GNU Libtool is distributed in the hope that it will be useful,
18068 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18069 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18070 # GNU General Public License for more details.
18072 # You should have received a copy of the GNU General Public License
18073 # along with GNU Libtool; see the file COPYING. If not, a copy
18074 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18075 # obtained by writing to the Free Software Foundation, Inc.,
18076 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18079 # The names of the tagged configurations supported by this script.
18082 # ### BEGIN LIBTOOL CONFIG
18084 # Which release of libtool.m4 was used?
18085 macro_version=$macro_version
18086 macro_revision=$macro_revision
18088 # Assembler program.
18091 # DLL creation program.
18092 DLLTOOL=$lt_DLLTOOL
18094 # Object dumper program.
18095 OBJDUMP=$lt_OBJDUMP
18097 # Whether or not to build shared libraries.
18098 build_libtool_libs=$enable_shared
18100 # Whether or not to build static libraries.
18101 build_old_libs=$enable_static
18103 # What type of objects to build.
18106 # Whether or not to optimize for fast installation.
18107 fast_install=$enable_fast_install
18109 # Shell to use when invoking shell scripts.
18112 # An echo program that protects backslashes.
18115 # The PATH separator for the build system.
18116 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18119 host_alias=$host_alias
18123 # The build system.
18124 build_alias=$build_alias
18128 # A sed program that does not truncate output.
18131 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18132 Xsed="\$SED -e 1s/^X//"
18134 # A grep program that handles long lines.
18140 # A literal string matcher.
18143 # A BSD- or MS-compatible name lister.
18146 # Whether we need soft or hard links.
18149 # What is the maximum length of a command?
18150 max_cmd_len=$max_cmd_len
18152 # Object file suffix (normally "o").
18155 # Executable file suffix (normally "").
18158 # whether the shell understands "unset".
18161 # turn spaces into newlines.
18164 # turn newlines into spaces.
18167 # convert \$build file names to \$host format.
18168 to_host_file_cmd=$lt_cv_to_host_file_cmd
18170 # convert \$build files to toolchain format.
18171 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18173 # Method to check whether dependent libraries are shared objects.
18174 deplibs_check_method=$lt_deplibs_check_method
18176 # Command to use when deplibs_check_method = "file_magic".
18177 file_magic_cmd=$lt_file_magic_cmd
18179 # How to find potential files when deplibs_check_method = "file_magic".
18180 file_magic_glob=$lt_file_magic_glob
18182 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18183 want_nocaseglob=$lt_want_nocaseglob
18185 # Command to associate shared and link libraries.
18186 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18191 # Flags to create an archive.
18192 AR_FLAGS=$lt_AR_FLAGS
18194 # How to feed a file listing to the archiver.
18195 archiver_list_spec=$lt_archiver_list_spec
18197 # A symbol stripping program.
18200 # Commands used to install an old-style archive.
18202 old_postinstall_cmds=$lt_old_postinstall_cmds
18203 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18205 # Whether to use a lock for old archive extraction.
18206 lock_old_archive_extraction=$lock_old_archive_extraction
18211 # LTCC compiler flags.
18212 LTCFLAGS=$lt_CFLAGS
18214 # Take the output of nm and produce a listing of raw symbols and C names.
18215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18217 # Transform the output of nm in a proper C declaration.
18218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18220 # Transform the output of nm in a C name address pair.
18221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18223 # Transform the output of nm in a C name address pair when lib prefix is needed.
18224 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18226 # Specify filename containing input files for \$NM.
18227 nm_file_list_spec=$lt_nm_file_list_spec
18229 # The root where to search for dependent libraries,and in which our libraries should be installed.
18230 lt_sysroot=$lt_sysroot
18232 # The name of the directory that contains temporary libtool files.
18235 # Used to examine libraries when file_magic_cmd begins with "file".
18236 MAGIC_CMD=$MAGIC_CMD
18238 # Must we lock files when doing compilation?
18239 need_locks=$lt_need_locks
18242 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18244 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18245 DSYMUTIL=$lt_DSYMUTIL
18247 # Tool to change global to local symbols on Mac OS X.
18250 # Tool to manipulate fat objects and archives on Mac OS X.
18253 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18256 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18257 OTOOL64=$lt_OTOOL64
18259 # Old archive suffix (normally "a").
18262 # Shared library suffix (normally ".so").
18263 shrext_cmds=$lt_shrext_cmds
18265 # The commands to extract the exported symbol list from a shared archive.
18266 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18268 # Variables whose values should be saved in libtool wrapper scripts and
18269 # restored at link time.
18270 variables_saved_for_relink=$lt_variables_saved_for_relink
18272 # Do we need the "lib" prefix for modules?
18273 need_lib_prefix=$need_lib_prefix
18275 # Do we need a version for libraries?
18276 need_version=$need_version
18278 # Library versioning type.
18279 version_type=$version_type
18281 # Shared library runtime path variable.
18282 runpath_var=$runpath_var
18284 # Shared library path variable.
18285 shlibpath_var=$shlibpath_var
18287 # Is shlibpath searched before the hard-coded library search path?
18288 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18290 # Format of library name prefix.
18291 libname_spec=$lt_libname_spec
18293 # List of archive names. First name is the real one, the rest are links.
18294 # The last name is the one that the linker finds with -lNAME
18295 library_names_spec=$lt_library_names_spec
18297 # The coded name of the library, if different from the real name.
18298 soname_spec=$lt_soname_spec
18300 # Permission mode override for installation of shared libraries.
18301 install_override_mode=$lt_install_override_mode
18303 # Command to use after installation of a shared archive.
18304 postinstall_cmds=$lt_postinstall_cmds
18306 # Command to use after uninstallation of a shared archive.
18307 postuninstall_cmds=$lt_postuninstall_cmds
18309 # Commands used to finish a libtool library installation in a directory.
18310 finish_cmds=$lt_finish_cmds
18312 # As "finish_cmds", except a single script fragment to be evaled but
18314 finish_eval=$lt_finish_eval
18316 # Whether we should hardcode library paths into libraries.
18317 hardcode_into_libs=$hardcode_into_libs
18319 # Compile-time system search path for libraries.
18320 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18322 # Run-time system search path for libraries.
18323 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18325 # Whether dlopen is supported.
18326 dlopen_support=$enable_dlopen
18328 # Whether dlopen of programs is supported.
18329 dlopen_self=$enable_dlopen_self
18331 # Whether dlopen of statically linked programs is supported.
18332 dlopen_self_static=$enable_dlopen_self_static
18334 # Commands to strip libraries.
18335 old_striplib=$lt_old_striplib
18336 striplib=$lt_striplib
18339 # The linker used to build libraries.
18342 # How to create reloadable object files.
18343 reload_flag=$lt_reload_flag
18344 reload_cmds=$lt_reload_cmds
18346 # Commands used to build an old-style archive.
18347 old_archive_cmds=$lt_old_archive_cmds
18349 # A language specific compiler.
18352 # Is the compiler the GNU compiler?
18355 # Compiler flag to turn off builtin functions.
18356 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18358 # Additional compiler flags for building library objects.
18359 pic_flag=$lt_lt_prog_compiler_pic
18361 # How to pass a linker flag through the compiler.
18362 wl=$lt_lt_prog_compiler_wl
18364 # Compiler flag to prevent dynamic linking.
18365 link_static_flag=$lt_lt_prog_compiler_static
18367 # Does compiler simultaneously support -c and -o options?
18368 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18370 # Whether or not to add -lc for building shared libraries.
18371 build_libtool_need_lc=$archive_cmds_need_lc
18373 # Whether or not to disallow shared libs when runtime libs are static.
18374 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18376 # Compiler flag to allow reflexive dlopens.
18377 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18379 # Compiler flag to generate shared objects directly from archives.
18380 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18382 # Whether the compiler copes with passing no objects directly.
18383 compiler_needs_object=$lt_compiler_needs_object
18385 # Create an old-style archive from a shared archive.
18386 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18388 # Create a temporary old-style archive to link instead of a shared archive.
18389 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18391 # Commands used to build a shared archive.
18392 archive_cmds=$lt_archive_cmds
18393 archive_expsym_cmds=$lt_archive_expsym_cmds
18395 # Commands used to build a loadable module if different from building
18396 # a shared archive.
18397 module_cmds=$lt_module_cmds
18398 module_expsym_cmds=$lt_module_expsym_cmds
18400 # Whether we are building with GNU ld or not.
18401 with_gnu_ld=$lt_with_gnu_ld
18403 # Flag that allows shared libraries with undefined symbols to be built.
18404 allow_undefined_flag=$lt_allow_undefined_flag
18406 # Flag that enforces no undefined symbols.
18407 no_undefined_flag=$lt_no_undefined_flag
18409 # Flag to hardcode \$libdir into a binary during linking.
18410 # This must work even if \$libdir does not exist
18411 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18413 # Whether we need a single "-rpath" flag with a separated argument.
18414 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18416 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18417 # DIR into the resulting binary.
18418 hardcode_direct=$hardcode_direct
18420 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18421 # DIR into the resulting binary and the resulting library dependency is
18422 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18423 # library is relocated.
18424 hardcode_direct_absolute=$hardcode_direct_absolute
18426 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18427 # into the resulting binary.
18428 hardcode_minus_L=$hardcode_minus_L
18430 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18431 # into the resulting binary.
18432 hardcode_shlibpath_var=$hardcode_shlibpath_var
18434 # Set to "yes" if building a shared library automatically hardcodes DIR
18435 # into the library and all subsequent libraries and executables linked
18437 hardcode_automatic=$hardcode_automatic
18439 # Set to yes if linker adds runtime paths of dependent libraries
18440 # to runtime path list.
18441 inherit_rpath=$inherit_rpath
18443 # Whether libtool must link a program against all its dependency libraries.
18444 link_all_deplibs=$link_all_deplibs
18446 # Set to "yes" if exported symbols are required.
18447 always_export_symbols=$always_export_symbols
18449 # The commands to list exported symbols.
18450 export_symbols_cmds=$lt_export_symbols_cmds
18452 # Symbols that should not be listed in the preloaded symbols.
18453 exclude_expsyms=$lt_exclude_expsyms
18455 # Symbols that must always be exported.
18456 include_expsyms=$lt_include_expsyms
18458 # Commands necessary for linking programs (against libraries) with templates.
18459 prelink_cmds=$lt_prelink_cmds
18461 # Commands necessary for finishing linking programs.
18462 postlink_cmds=$lt_postlink_cmds
18464 # Specify filename containing input files.
18465 file_list_spec=$lt_file_list_spec
18467 # How to hardcode a shared library path into an executable.
18468 hardcode_action=$hardcode_action
18470 # ### END LIBTOOL CONFIG
18476 cat <<\_LT_EOF >> "$cfgfile"
18477 # AIX sometimes has problems with the GCC collect2 program. For some
18478 # reason, if we set the COLLECT_NAMES environment variable, the problems
18479 # vanish in a puff of smoke.
18480 if test "X${COLLECT_NAMES+set}" != Xset; then
18482 export COLLECT_NAMES
18489 ltmain="$ac_aux_dir/ltmain.sh"
18492 # We use sed instead of cat because bash on DJGPP gets confused if
18493 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18494 # text mode, it properly converts lines to CR/LF. This bash problem
18495 # is reportedly fixed, but why not run on old versions too?
18496 sed '$q' "$ltmain" >> "$cfgfile" \
18497 || (rm -f "$cfgfile"; exit 1)
18499 if test x"$xsi_shell" = xyes; then
18500 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18504 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18505 \ * ) func_dirname_result="${3}" ;;\
18507 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18508 && mv -f "$cfgfile.tmp" "$cfgfile" \
18509 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18510 test 0 -eq $? || _lt_function_replace_fail=:
18513 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18516 \ func_basename_result="${1##*/}"\
18517 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18518 && mv -f "$cfgfile.tmp" "$cfgfile" \
18519 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18520 test 0 -eq $? || _lt_function_replace_fail=:
18523 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18524 func_dirname_and_basename ()\
18527 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18528 \ * ) func_dirname_result="${3}" ;;\
18530 \ func_basename_result="${1##*/}"\
18531 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18532 && mv -f "$cfgfile.tmp" "$cfgfile" \
18533 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18534 test 0 -eq $? || _lt_function_replace_fail=:
18537 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18540 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18541 \ # positional parameters, so assign one to ordinary parameter first.\
18542 \ func_stripname_result=${3}\
18543 \ func_stripname_result=${func_stripname_result#"${1}"}\
18544 \ func_stripname_result=${func_stripname_result%"${2}"}\
18545 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18546 && mv -f "$cfgfile.tmp" "$cfgfile" \
18547 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18548 test 0 -eq $? || _lt_function_replace_fail=:
18551 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18552 func_split_long_opt ()\
18554 \ func_split_long_opt_name=${1%%=*}\
18555 \ func_split_long_opt_arg=${1#*=}\
18556 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18557 && mv -f "$cfgfile.tmp" "$cfgfile" \
18558 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18559 test 0 -eq $? || _lt_function_replace_fail=:
18562 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18563 func_split_short_opt ()\
18565 \ func_split_short_opt_arg=${1#??}\
18566 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18567 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18568 && mv -f "$cfgfile.tmp" "$cfgfile" \
18569 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18570 test 0 -eq $? || _lt_function_replace_fail=:
18573 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18577 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18578 \ *) func_lo2o_result=${1} ;;\
18580 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18581 && mv -f "$cfgfile.tmp" "$cfgfile" \
18582 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18583 test 0 -eq $? || _lt_function_replace_fail=:
18586 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18589 func_xform_result=${1%.*}.lo\
18590 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18591 && mv -f "$cfgfile.tmp" "$cfgfile" \
18592 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18593 test 0 -eq $? || _lt_function_replace_fail=:
18596 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18599 func_arith_result=$(( $* ))\
18600 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18601 && mv -f "$cfgfile.tmp" "$cfgfile" \
18602 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18603 test 0 -eq $? || _lt_function_replace_fail=:
18606 sed -e '/^func_len ()$/,/^} # func_len /c\
18609 func_len_result=${#1}\
18610 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18611 && mv -f "$cfgfile.tmp" "$cfgfile" \
18612 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18613 test 0 -eq $? || _lt_function_replace_fail=:
18617 if test x"$lt_shell_append" = xyes; then
18618 sed -e '/^func_append ()$/,/^} # func_append /c\
18621 eval "${1}+=\\${2}"\
18622 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18623 && mv -f "$cfgfile.tmp" "$cfgfile" \
18624 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18625 test 0 -eq $? || _lt_function_replace_fail=:
18628 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18629 func_append_quoted ()\
18631 \ func_quote_for_eval "${2}"\
18632 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18633 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18634 && mv -f "$cfgfile.tmp" "$cfgfile" \
18635 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18636 test 0 -eq $? || _lt_function_replace_fail=:
18639 # Save a `func_append' function call where possible by direct use of '+='
18640 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18641 && mv -f "$cfgfile.tmp" "$cfgfile" \
18642 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18643 test 0 -eq $? || _lt_function_replace_fail=:
18645 # Save a `func_append' function call even when '+=' is not available
18646 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18647 && mv -f "$cfgfile.tmp" "$cfgfile" \
18648 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18649 test 0 -eq $? || _lt_function_replace_fail=:
18652 if test x"$_lt_function_replace_fail" = x":"; then
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18654 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18658 mv -f "$cfgfile" "$ofile" ||
18659 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18663 "po-directories":C)
18664 for ac_file in $CONFIG_FILES; do
18665 # Support "outfile[:infile[:infile...]]"
18667 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18669 # PO directories have a Makefile.in generated from Makefile.in.in.
18670 case "$ac_file" in */Makefile.in)
18671 # Adjust a relative srcdir.
18672 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18673 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18674 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18675 # In autoconf-2.13 it is called $ac_given_srcdir.
18676 # In autoconf-2.50 it is called $srcdir.
18677 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18678 case "$ac_given_srcdir" in
18679 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18680 /*) top_srcdir="$ac_given_srcdir" ;;
18681 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18683 # Treat a directory as a PO directory if and only if it has a
18684 # POTFILES.in file. This allows packages to have multiple PO
18685 # directories under different names or in different locations.
18686 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18687 rm -f "$ac_dir/POTFILES"
18688 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18689 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18690 POMAKEFILEDEPS="POTFILES.in"
18691 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18692 # on $ac_dir but don't depend on user-specified configuration
18694 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18695 # The LINGUAS file contains the set of available languages.
18696 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18697 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18699 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18700 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18701 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18702 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18704 # The set of available languages was given in configure.in.
18705 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18706 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18709 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18710 # Compute UPDATEPOFILES
18711 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18712 # Compute DUMMYPOFILES
18713 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18715 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18716 case "$ac_given_srcdir" in
18718 *) srcdirpre='$(srcdir)/' ;;
18724 for lang in $ALL_LINGUAS; do
18725 POFILES="$POFILES $srcdirpre$lang.po"
18726 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18727 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18728 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18730 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18731 # environment variable.
18733 if test -n "$ALL_LINGUAS"; then
18734 for presentlang in $ALL_LINGUAS; do
18736 if test "%UNSET%" != "$LINGUAS"; then
18737 desiredlanguages="$LINGUAS"
18739 desiredlanguages="$ALL_LINGUAS"
18741 for desiredlang in $desiredlanguages; do
18742 # Use the presentlang catalog if desiredlang is
18743 # a. equal to presentlang, or
18744 # b. a variant of presentlang (because in this case,
18745 # presentlang can be used as a fallback for messages
18746 # which are not translated in the desiredlang catalog).
18747 case "$desiredlang" in
18748 "$presentlang"*) useit=yes;;
18751 if test $useit = yes; then
18752 INST_LINGUAS="$INST_LINGUAS $presentlang"
18757 if test -n "$INST_LINGUAS"; then
18758 for lang in $INST_LINGUAS; do
18759 CATALOGS="$CATALOGS $lang.gmo"
18762 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18763 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"
18764 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18765 if test -f "$f"; then
18767 *.orig | *.bak | *~) ;;
18768 *) cat "$f" >> "$ac_dir/Makefile" ;;
18783 ac_clean_files=$ac_clean_files_save
18785 test $ac_write_fail = 0 ||
18786 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18789 # configure is writing to config.log, and then calls config.status.
18790 # config.status does its own redirection, appending to config.log.
18791 # Unfortunately, on DOS this fails, as config.log is still kept open
18792 # by configure, so config.status won't be able to write to it; its
18793 # output is simply discarded. So we exec the FD to /dev/null,
18794 # effectively closing config.log, so it can be properly (re)opened and
18795 # appended to by config.status. When coming back to configure, we
18796 # need to make the FD available again.
18797 if test "$no_create" != yes; then
18799 ac_config_status_args=
18800 test "$silent" = yes &&
18801 ac_config_status_args="$ac_config_status_args --quiet"
18803 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18805 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18806 # would make configure fail if this is the last instruction.
18807 $ac_cs_success || as_fn_exit 1
18809 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18811 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}