2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Moonshot-ui 0.7.1.
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.1'
654 PACKAGE_STRING='Moonshot-ui 0.7.1'
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
808 MAINTAINER_MODE_FALSE
822 INSTALL_STRIP_PROGRAM
864 program_transform_name
877 enable_option_checking
879 enable_maintainer_mode
884 enable_dependency_tracking
893 ac_precious_vars='build_alias
917 # Initialize some variables set by options.
919 ac_init_version=false
920 ac_unrecognized_opts=
922 # The variables have the same names as the options, with
923 # dashes changed to underlines.
931 program_transform_name=s,x,x,
939 # Installation directory options.
940 # These are left unexpanded so users can "make install exec_prefix=/foo"
941 # and all the variables that are supposed to be based on exec_prefix
942 # by default will actually change.
943 # Use braces instead of parens because sh, perl, etc. also accept them.
944 # (The list follows the same order as the GNU Coding Standards.)
945 bindir='${exec_prefix}/bin'
946 sbindir='${exec_prefix}/sbin'
947 libexecdir='${exec_prefix}/libexec'
948 datarootdir='${prefix}/share'
949 datadir='${datarootdir}'
950 sysconfdir='${prefix}/etc'
951 sharedstatedir='${prefix}/com'
952 localstatedir='${prefix}/var'
953 includedir='${prefix}/include'
954 oldincludedir='/usr/include'
955 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
956 infodir='${datarootdir}/info'
961 libdir='${exec_prefix}/lib'
962 localedir='${datarootdir}/locale'
963 mandir='${datarootdir}/man'
969 # If the previous option needs an argument, assign it.
970 if test -n "$ac_prev"; then
971 eval $ac_prev=\$ac_option
977 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
982 # Accept the important Cygnus configure options, so we can diagnose typos.
984 case $ac_dashdash$ac_option in
988 -bindir | --bindir | --bindi | --bind | --bin | --bi)
990 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
993 -build | --build | --buil | --bui | --bu)
994 ac_prev=build_alias ;;
995 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
996 build_alias=$ac_optarg ;;
998 -cache-file | --cache-file | --cache-fil | --cache-fi \
999 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1000 ac_prev=cache_file ;;
1001 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1002 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1003 cache_file=$ac_optarg ;;
1005 --config-cache | -C)
1006 cache_file=config.cache ;;
1008 -datadir | --datadir | --datadi | --datad)
1010 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1011 datadir=$ac_optarg ;;
1013 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1014 | --dataroo | --dataro | --datar)
1015 ac_prev=datarootdir ;;
1016 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1017 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1018 datarootdir=$ac_optarg ;;
1020 -disable-* | --disable-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error $? "invalid feature name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1029 "enable_$ac_useropt"
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1034 eval enable_$ac_useropt=no ;;
1036 -docdir | --docdir | --docdi | --doc | --do)
1038 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1039 docdir=$ac_optarg ;;
1041 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1043 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1044 dvidir=$ac_optarg ;;
1046 -enable-* | --enable-*)
1047 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050 as_fn_error $? "invalid feature name: $ac_useropt"
1051 ac_useropt_orig=$ac_useropt
1052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053 case $ac_user_opts in
1055 "enable_$ac_useropt"
1057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1058 ac_unrecognized_sep=', ';;
1060 eval enable_$ac_useropt=\$ac_optarg ;;
1062 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1063 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1064 | --exec | --exe | --ex)
1065 ac_prev=exec_prefix ;;
1066 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1067 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1068 | --exec=* | --exe=* | --ex=*)
1069 exec_prefix=$ac_optarg ;;
1071 -gas | --gas | --ga | --g)
1072 # Obsolete; use --with-gas.
1075 -help | --help | --hel | --he | -h)
1076 ac_init_help=long ;;
1077 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1078 ac_init_help=recursive ;;
1079 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1080 ac_init_help=short ;;
1082 -host | --host | --hos | --ho)
1083 ac_prev=host_alias ;;
1084 -host=* | --host=* | --hos=* | --ho=*)
1085 host_alias=$ac_optarg ;;
1087 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1089 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1091 htmldir=$ac_optarg ;;
1093 -includedir | --includedir | --includedi | --included | --include \
1094 | --includ | --inclu | --incl | --inc)
1095 ac_prev=includedir ;;
1096 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1097 | --includ=* | --inclu=* | --incl=* | --inc=*)
1098 includedir=$ac_optarg ;;
1100 -infodir | --infodir | --infodi | --infod | --info | --inf)
1102 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1103 infodir=$ac_optarg ;;
1105 -libdir | --libdir | --libdi | --libd)
1107 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1108 libdir=$ac_optarg ;;
1110 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1111 | --libexe | --libex | --libe)
1112 ac_prev=libexecdir ;;
1113 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1114 | --libexe=* | --libex=* | --libe=*)
1115 libexecdir=$ac_optarg ;;
1117 -localedir | --localedir | --localedi | --localed | --locale)
1118 ac_prev=localedir ;;
1119 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1120 localedir=$ac_optarg ;;
1122 -localstatedir | --localstatedir | --localstatedi | --localstated \
1123 | --localstate | --localstat | --localsta | --localst | --locals)
1124 ac_prev=localstatedir ;;
1125 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1126 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1127 localstatedir=$ac_optarg ;;
1129 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1131 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1132 mandir=$ac_optarg ;;
1134 -nfp | --nfp | --nf)
1135 # Obsolete; use --without-fp.
1138 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1139 | --no-cr | --no-c | -n)
1142 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1143 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1146 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1147 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1148 | --oldin | --oldi | --old | --ol | --o)
1149 ac_prev=oldincludedir ;;
1150 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1151 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1152 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1153 oldincludedir=$ac_optarg ;;
1155 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1157 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1158 prefix=$ac_optarg ;;
1160 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1161 | --program-pre | --program-pr | --program-p)
1162 ac_prev=program_prefix ;;
1163 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1164 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1165 program_prefix=$ac_optarg ;;
1167 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1168 | --program-suf | --program-su | --program-s)
1169 ac_prev=program_suffix ;;
1170 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1171 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1172 program_suffix=$ac_optarg ;;
1174 -program-transform-name | --program-transform-name \
1175 | --program-transform-nam | --program-transform-na \
1176 | --program-transform-n | --program-transform- \
1177 | --program-transform | --program-transfor \
1178 | --program-transfo | --program-transf \
1179 | --program-trans | --program-tran \
1180 | --progr-tra | --program-tr | --program-t)
1181 ac_prev=program_transform_name ;;
1182 -program-transform-name=* | --program-transform-name=* \
1183 | --program-transform-nam=* | --program-transform-na=* \
1184 | --program-transform-n=* | --program-transform-=* \
1185 | --program-transform=* | --program-transfor=* \
1186 | --program-transfo=* | --program-transf=* \
1187 | --program-trans=* | --program-tran=* \
1188 | --progr-tra=* | --program-tr=* | --program-t=*)
1189 program_transform_name=$ac_optarg ;;
1191 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1193 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1194 pdfdir=$ac_optarg ;;
1196 -psdir | --psdir | --psdi | --psd | --ps)
1198 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1202 | -silent | --silent | --silen | --sile | --sil)
1205 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1207 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1209 sbindir=$ac_optarg ;;
1211 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1212 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1213 | --sharedst | --shareds | --shared | --share | --shar \
1215 ac_prev=sharedstatedir ;;
1216 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1217 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1218 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1220 sharedstatedir=$ac_optarg ;;
1222 -site | --site | --sit)
1224 -site=* | --site=* | --sit=*)
1227 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1229 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1230 srcdir=$ac_optarg ;;
1232 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1233 | --syscon | --sysco | --sysc | --sys | --sy)
1234 ac_prev=sysconfdir ;;
1235 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1236 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1237 sysconfdir=$ac_optarg ;;
1239 -target | --target | --targe | --targ | --tar | --ta | --t)
1240 ac_prev=target_alias ;;
1241 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1242 target_alias=$ac_optarg ;;
1244 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1247 -version | --version | --versio | --versi | --vers | -V)
1248 ac_init_version=: ;;
1251 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1252 # Reject names that are not valid shell variable names.
1253 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254 as_fn_error $? "invalid package name: $ac_useropt"
1255 ac_useropt_orig=$ac_useropt
1256 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257 case $ac_user_opts in
1261 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1262 ac_unrecognized_sep=', ';;
1264 eval with_$ac_useropt=\$ac_optarg ;;
1266 -without-* | --without-*)
1267 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270 as_fn_error $? "invalid package name: $ac_useropt"
1271 ac_useropt_orig=$ac_useropt
1272 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273 case $ac_user_opts in
1277 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1278 ac_unrecognized_sep=', ';;
1280 eval with_$ac_useropt=no ;;
1283 # Obsolete; use --with-x.
1286 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1287 | --x-incl | --x-inc | --x-in | --x-i)
1288 ac_prev=x_includes ;;
1289 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1290 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1291 x_includes=$ac_optarg ;;
1293 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1294 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1295 ac_prev=x_libraries ;;
1296 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1297 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1298 x_libraries=$ac_optarg ;;
1300 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1301 Try \`$0 --help' for more information"
1305 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1306 # Reject names that are not valid shell variable names.
1307 case $ac_envvar in #(
1308 '' | [0-9]* | *[!_$as_cr_alnum]* )
1309 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1311 eval $ac_envvar=\$ac_optarg
1312 export $ac_envvar ;;
1315 # FIXME: should be removed in autoconf 3.0.
1316 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1317 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1318 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1319 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1325 if test -n "$ac_prev"; then
1326 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1327 as_fn_error $? "missing argument to $ac_option"
1330 if test -n "$ac_unrecognized_opts"; then
1331 case $enable_option_checking in
1333 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1334 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1338 # Check all directory arguments for consistency.
1339 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1340 datadir sysconfdir sharedstatedir localstatedir includedir \
1341 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1342 libdir localedir mandir
1344 eval ac_val=\$$ac_var
1345 # Remove trailing slashes.
1348 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1349 eval $ac_var=\$ac_val;;
1351 # Be sure to have absolute directory names.
1353 [\\/$]* | ?:[\\/]* ) continue;;
1354 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1356 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1359 # There might be people who depend on the old broken behavior: `$host'
1360 # used to hold the argument of --host etc.
1361 # FIXME: To remove some day.
1364 target=$target_alias
1366 # FIXME: To remove some day.
1367 if test "x$host_alias" != x; then
1368 if test "x$build_alias" = x; then
1369 cross_compiling=maybe
1370 elif test "x$build_alias" != "x$host_alias"; then
1376 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1378 test "$silent" = yes && exec 6>/dev/null
1381 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di=`ls -di .` &&
1383 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1384 as_fn_error $? "working directory cannot be determined"
1385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386 as_fn_error $? "pwd does not report name of working directory"
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir=`$as_dirname -- "$as_myself" ||
1394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$as_myself" : 'X\(//\)[^/]' \| \
1396 X"$as_myself" : 'X\(//\)$' \| \
1397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398 $as_echo X"$as_myself" |
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1421 ac_srcdir_defaulted=no
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1427 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441 for ac_var in $ac_precious_vars; do
1442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_${ac_var}_value=\$${ac_var}
1444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1455 \`configure' configures Moonshot-ui 0.7.1 to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking ...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot-ui]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1513 --program-prefix=PREFIX prepend PREFIX to installed program names
1514 --program-suffix=SUFFIX append SUFFIX to installed program names
1515 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1518 --build=BUILD configure for building on BUILD [guessed]
1519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1523 if test -n "$ac_init_help"; then
1524 case $ac_init_help in
1525 short | recursive ) echo "Configuration of Moonshot-ui 0.7.1:";;
1530 --disable-option-checking ignore unrecognized --enable/--with options
1531 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1532 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1533 --enable-silent-rules less verbose build output (undo: "make V=1")
1534 --disable-silent-rules verbose build output (undo: "make V=0")
1535 --disable-maintainer-mode
1536 disable make rules and dependencies not useful (and
1537 sometimes confusing) to the casual installer
1538 --enable-shared[=PKGS] build shared libraries [default=yes]
1539 --enable-static[=PKGS] build static libraries [default=yes]
1540 --enable-fast-install[=PKGS]
1541 optimize for fast installation [default=yes]
1542 --enable-dependency-tracking
1543 do not reject slow dependency extractors
1544 --disable-dependency-tracking
1545 speeds up one-time build
1546 --disable-libtool-lock avoid locking (might break parallel builds)
1547 --disable-nls do not use Native Language Support
1548 --disable-rpath do not hardcode runtime library paths
1551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1553 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1555 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1556 --with-sysroot=DIR Search for dependent libraries within DIR
1557 (or the compiler's sysroot if not specified).
1558 --with-gnu-ld assume the C compiler uses GNU ld default=no
1559 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1560 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1561 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1562 --without-libintl-prefix don't search for libintl in includedir and libdir
1564 Some influential environment variables:
1565 CC C compiler command
1566 CFLAGS C compiler flags
1567 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1568 nonstandard directory <lib dir>
1569 LIBS libraries to pass to the linker, e.g. -l<library>
1570 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1571 you have headers in a nonstandard directory <include dir>
1573 PKG_CONFIG path to pkg-config utility
1575 directories to add to pkg-config's search path
1577 path overriding pkg-config's built-in search path
1578 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1579 GTK_LIBS linker flags for GTK, overriding pkg-config
1580 MAC_CFLAGS C compiler flags for MAC, overriding pkg-config
1581 MAC_LIBS linker flags for MAC, overriding pkg-config
1583 C compiler flags for GDBUS, overriding pkg-config
1584 GDBUS_LIBS linker flags for GDBUS, overriding pkg-config
1586 C compiler flags for moonshot, overriding pkg-config
1588 linker flags for moonshot, overriding pkg-config
1590 C compiler flags for libmoonshot, overriding pkg-config
1592 linker flags for libmoonshot, overriding pkg-config
1594 Use these variables to override the choices made by `configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1597 Report bugs to <moonshot-community@jiscmail.ac.uk>.
1598 Moonshot-ui home page: <http://www.project-moonshot.org/>.
1603 if test "$ac_init_help" = "recursive"; then
1604 # If there are subdirs, report their specific --help.
1605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1606 test -d "$ac_dir" ||
1607 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1615 # A ".." for each directory in $ac_dir_suffix.
1616 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1617 case $ac_top_builddir_sub in
1618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1622 ac_abs_top_builddir=$ac_pwd
1623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1624 # for backward compatibility:
1625 ac_top_builddir=$ac_top_build_prefix
1628 .) # We are building in place.
1630 ac_top_srcdir=$ac_top_builddir_sub
1631 ac_abs_top_srcdir=$ac_pwd ;;
1632 [\\/]* | ?:[\\/]* ) # Absolute name.
1633 ac_srcdir=$srcdir$ac_dir_suffix;
1634 ac_top_srcdir=$srcdir
1635 ac_abs_top_srcdir=$srcdir ;;
1637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1638 ac_top_srcdir=$ac_top_build_prefix$srcdir
1639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1643 cd "$ac_dir" || { ac_status=$?; continue; }
1644 # Check for guested configure.
1645 if test -f "$ac_srcdir/configure.gnu"; then
1647 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1648 elif test -f "$ac_srcdir/configure"; then
1650 $SHELL "$ac_srcdir/configure" --help=recursive
1652 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1654 cd "$ac_pwd" || { ac_status=$?; break; }
1658 test -n "$ac_init_help" && exit $ac_status
1659 if $ac_init_version; then
1661 Moonshot-ui configure 0.7.1
1662 generated by GNU Autoconf 2.69
1664 Copyright (C) 2012 Free Software Foundation, Inc.
1665 This configure script is free software; the Free Software Foundation
1666 gives unlimited permission to copy, distribute and modify it.
1671 ## ------------------------ ##
1672 ## Autoconf initialization. ##
1673 ## ------------------------ ##
1675 # ac_fn_c_try_compile LINENO
1676 # --------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_c_try_compile ()
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 rm -f conftest.$ac_objext
1682 if { { ac_try="$ac_compile"
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_compile") 2>conftest.err
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && {
1698 test -z "$ac_c_werror_flag" ||
1699 test ! -s conftest.err
1700 } && test -s conftest.$ac_objext; then :
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709 as_fn_set_status $ac_retval
1711 } # ac_fn_c_try_compile
1713 # ac_fn_c_try_link LINENO
1714 # -----------------------
1715 # Try to link conftest.$ac_ext, and return whether this succeeded.
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext conftest$ac_exeext
1720 if { { ac_try="$ac_link"
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_link") 2>conftest.err
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_c_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest$ac_exeext && {
1739 test "$cross_compiling" = yes ||
1740 test -x conftest$ac_exeext
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1749 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1750 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1751 # interfere with the next link command; also delete a directory that is
1752 # left behind by Apple's compiler. We do this before executing the actions.
1753 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 as_fn_set_status $ac_retval
1757 } # ac_fn_c_try_link
1759 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1760 # -------------------------------------------------------
1761 # Tests whether HEADER exists and can be compiled using the include files in
1762 # INCLUDES, setting the cache variable VAR accordingly.
1763 ac_fn_c_check_header_compile ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1767 $as_echo_n "checking for $2... " >&6; }
1768 if eval \${$3+:} false; then :
1769 $as_echo_n "(cached) " >&6
1771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1772 /* end confdefs.h. */
1776 if ac_fn_c_try_compile "$LINENO"; then :
1781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 } # ac_fn_c_check_header_compile
1790 # ac_fn_c_try_cpp LINENO
1791 # ----------------------
1792 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { { ac_try="$ac_cpp conftest.$ac_ext"
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } > conftest.i && {
1812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 as_fn_set_status $ac_retval
1827 # ac_fn_c_try_run LINENO
1828 # ----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1830 # that executables *can* be run.
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 if { { ac_try="$ac_link"
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>&5
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1845 { { case "(($ac_try" in
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_try") 2>&5
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; }; }; then :
1857 $as_echo "$as_me: program exited with status $ac_status" >&5
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1861 ac_retval=$ac_status
1863 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 as_fn_set_status $ac_retval
1869 # ac_fn_c_check_func LINENO FUNC VAR
1870 # ----------------------------------
1871 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1872 ac_fn_c_check_func ()
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if eval \${$3+:} false; then :
1878 $as_echo_n "(cached) " >&6
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1882 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1884 #define $2 innocuous_$2
1886 /* System header to define __stub macros and hopefully few prototypes,
1887 which can conflict with char $2 (); below.
1888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1889 <limits.h> exists even on freestanding compilers. */
1892 # include <limits.h>
1894 # include <assert.h>
1899 /* Override any GCC internal prototype to avoid an error.
1900 Use char because int might match the return type of a GCC
1901 builtin and then its argument prototype would still apply. */
1906 /* The GNU C library defines this for functions which it implements
1907 to always fail with ENOSYS. Some functions are actually named
1908 something starting with __ and the normal name is an alias. */
1909 #if defined __stub_$2 || defined __stub___$2
1921 if ac_fn_c_try_link "$LINENO"; then :
1926 rm -f core conftest.err conftest.$ac_objext \
1927 conftest$ac_exeext conftest.$ac_ext
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931 $as_echo "$ac_res" >&6; }
1932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1934 } # ac_fn_c_check_func
1935 cat >config.log <<_ACEOF
1936 This file contains any messages produced by compilers while
1937 running configure, to aid debugging if configure makes a mistake.
1939 It was created by Moonshot-ui $as_me 0.7.1, which was
1940 generated by GNU Autoconf 2.69. Invocation command line was
1952 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1953 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1954 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1955 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1956 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1958 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1959 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1961 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1962 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1963 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1964 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1965 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1966 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1967 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir=.
1976 $as_echo "PATH: $as_dir"
1992 # Keep a trace of the command line.
1993 # Strip out --no-create and --no-recursion so they do not pile up.
1994 # Strip out --silent because we don't want to record it for future runs.
1995 # Also quote any args containing shell meta-characters.
1996 # Make two passes to allow for proper duplicate-argument suppression.
2000 ac_must_keep_next=false
2006 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2008 | -silent | --silent | --silen | --sile | --sil)
2011 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2014 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2016 as_fn_append ac_configure_args1 " '$ac_arg'"
2017 if test $ac_must_keep_next = true; then
2018 ac_must_keep_next=false # Got value, back to normal.
2021 *=* | --config-cache | -C | -disable-* | --disable-* \
2022 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2023 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2024 | -with-* | --with-* | -without-* | --without-* | --x)
2025 case "$ac_configure_args0 " in
2026 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2029 -* ) ac_must_keep_next=true ;;
2032 as_fn_append ac_configure_args " '$ac_arg'"
2037 { ac_configure_args0=; unset ac_configure_args0;}
2038 { ac_configure_args1=; unset ac_configure_args1;}
2040 # When interrupted or exit'd, cleanup temporary files, and complete
2041 # config.log. We remove comments because anyway the quotes in there
2042 # would cause problems or look ugly.
2043 # WARNING: Use '\'' to represent an apostrophe within the trap.
2044 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2045 trap 'exit_status=$?
2046 # Save into config.log some information that might help in debugging.
2050 $as_echo "## ---------------- ##
2051 ## Cache variables. ##
2052 ## ---------------- ##"
2054 # The following way of writing the cache mishandles newlines in values,
2056 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2057 eval ac_val=\$$ac_var
2061 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2062 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2065 _ | IFS | as_nl) ;; #(
2066 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2067 *) { eval $ac_var=; unset $ac_var;} ;;
2072 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2073 *${as_nl}ac_space=\ *)
2075 "s/'\''/'\''\\\\'\'''\''/g;
2076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2079 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2086 $as_echo "## ----------------- ##
2087 ## Output variables. ##
2088 ## ----------------- ##"
2090 for ac_var in $ac_subst_vars
2092 eval ac_val=\$$ac_var
2094 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2096 $as_echo "$ac_var='\''$ac_val'\''"
2100 if test -n "$ac_subst_files"; then
2101 $as_echo "## ------------------- ##
2102 ## File substitutions. ##
2103 ## ------------------- ##"
2105 for ac_var in $ac_subst_files
2107 eval ac_val=\$$ac_var
2109 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2111 $as_echo "$ac_var='\''$ac_val'\''"
2116 if test -s confdefs.h; then
2117 $as_echo "## ----------- ##
2124 test "$ac_signal" != 0 &&
2125 $as_echo "$as_me: caught signal $ac_signal"
2126 $as_echo "$as_me: exit $exit_status"
2128 rm -f core *.core core.conftest.* &&
2129 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2132 for ac_signal in 1 2 13 15; do
2133 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2137 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2138 rm -f -r conftest* confdefs.h
2140 $as_echo "/* confdefs.h */" > confdefs.h
2142 # Predefined preprocessor variables.
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_NAME "$PACKAGE_NAME"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_STRING "$PACKAGE_STRING"
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_URL "$PACKAGE_URL"
2169 # Let the site file select an alternate cache file if it wants to.
2170 # Prefer an explicitly selected file to automatically selected ones.
2173 if test -n "$CONFIG_SITE"; then
2174 # We do not want a PATH search for config.site.
2175 case $CONFIG_SITE in #((
2176 -*) ac_site_file1=./$CONFIG_SITE;;
2177 */*) ac_site_file1=$CONFIG_SITE;;
2178 *) ac_site_file1=./$CONFIG_SITE;;
2180 elif test "x$prefix" != xNONE; then
2181 ac_site_file1=$prefix/share/config.site
2182 ac_site_file2=$prefix/etc/config.site
2184 ac_site_file1=$ac_default_prefix/share/config.site
2185 ac_site_file2=$ac_default_prefix/etc/config.site
2187 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2189 test "x$ac_site_file" = xNONE && continue
2190 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2192 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2193 sed 's/^/| /' "$ac_site_file" >&5
2195 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2197 as_fn_error $? "failed to load site script $ac_site_file
2198 See \`config.log' for more details" "$LINENO" 5; }
2202 if test -r "$cache_file"; then
2203 # Some versions of bash will fail to source /dev/null (special files
2204 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2205 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2207 $as_echo "$as_me: loading cache $cache_file" >&6;}
2209 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2210 *) . "./$cache_file";;
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2215 $as_echo "$as_me: creating cache $cache_file" >&6;}
2219 as_fn_append ac_func_list " geteuid"
2220 as_fn_append ac_func_list " getpwuid"
2221 gt_needs="$gt_needs "
2222 # Check that the precious variables saved in the cache have kept the same
2224 ac_cache_corrupted=false
2225 for ac_var in $ac_precious_vars; do
2226 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2227 eval ac_new_set=\$ac_env_${ac_var}_set
2228 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2229 eval ac_new_val=\$ac_env_${ac_var}_value
2230 case $ac_old_set,$ac_new_set in
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2233 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2234 ac_cache_corrupted=: ;;
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2237 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2238 ac_cache_corrupted=: ;;
2241 if test "x$ac_old_val" != "x$ac_new_val"; then
2242 # differences in whitespace do not lead to failure.
2243 ac_old_val_w=`echo x $ac_old_val`
2244 ac_new_val_w=`echo x $ac_new_val`
2245 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2247 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2248 ac_cache_corrupted=:
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2251 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2252 eval $ac_var=\$ac_old_val
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2255 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2257 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2260 # Pass precious variables to config.status.
2261 if test "$ac_new_set" = set; then
2263 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2264 *) ac_arg=$ac_var=$ac_new_val ;;
2266 case " $ac_configure_args " in
2267 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2268 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2272 if $ac_cache_corrupted; then
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2276 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2277 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2279 ## -------------------- ##
2280 ## Main body of script. ##
2281 ## -------------------- ##
2284 ac_cpp='$CPP $CPPFLAGS'
2285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2291 # Remove this when we can depend on autoconf >= 2.64
2292 PACKAGE_URL=http://www.project-moonshot.org/
2295 $as_echo "#define PACKAGE_URL \"http://www.project-moonshot.org\"" >>confdefs.h
2297 ac_config_headers="$ac_config_headers config.h"
2302 for ac_dir in build-aux "$srcdir"/build-aux; do
2303 if test -f "$ac_dir/install-sh"; then
2305 ac_install_sh="$ac_aux_dir/install-sh -c"
2307 elif test -f "$ac_dir/install.sh"; then
2309 ac_install_sh="$ac_aux_dir/install.sh -c"
2311 elif test -f "$ac_dir/shtool"; then
2313 ac_install_sh="$ac_aux_dir/shtool install -c"
2317 if test -z "$ac_aux_dir"; then
2318 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2321 # These three variables are undocumented and unsupported,
2322 # and are intended to be withdrawn in a future Autoconf release.
2323 # They can cause serious problems if a builder's source tree is in a directory
2324 # whose full name contains unusual characters.
2325 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2326 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2327 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2331 am__api_version='1.14'
2333 # Find a good install program. We prefer a C program (faster),
2334 # so one script is as good as another. But avoid the broken or
2335 # incompatible versions:
2336 # SysV /etc/install, /usr/sbin/install
2337 # SunOS /usr/etc/install
2338 # IRIX /sbin/install
2340 # AmigaOS /C/install, which installs bootblocks on floppy discs
2341 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2342 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2343 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2344 # OS/2's system install, which has a completely different semantic
2345 # ./install, which can be erroneously created by make from ./install.sh.
2346 # Reject install programs that cannot install multiple files.
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2348 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2349 if test -z "$INSTALL"; then
2350 if ${ac_cv_path_install+:} false; then :
2351 $as_echo_n "(cached) " >&6
2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir=.
2358 # Account for people who put trailing slashes in PATH elements.
2359 case $as_dir/ in #((
2360 ./ | .// | /[cC]/* | \
2361 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2362 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2365 # OSF1 and SCO ODT 3.0 have their own names for install.
2366 # Don't use installbsd from OSF since it installs stuff as root
2368 for ac_prog in ginstall scoinst install; do
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2371 if test $ac_prog = install &&
2372 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2373 # AIX install. It has an incompatible calling convention.
2375 elif test $ac_prog = install &&
2376 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2377 # program-specific install script used by HP pwplus--don't use.
2380 rm -rf conftest.one conftest.two conftest.dir
2381 echo one > conftest.one
2382 echo two > conftest.two
2384 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2385 test -s conftest.one && test -s conftest.two &&
2386 test -s conftest.dir/conftest.one &&
2387 test -s conftest.dir/conftest.two
2389 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2402 rm -rf conftest.one conftest.two conftest.dir
2405 if test "${ac_cv_path_install+set}" = set; then
2406 INSTALL=$ac_cv_path_install
2408 # As a last resort, use the slow shell script. Don't cache a
2409 # value for INSTALL within a source directory, because that will
2410 # break other packages using the cache if that directory is
2411 # removed, or if the value is a relative name.
2412 INSTALL=$ac_install_sh
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2416 $as_echo "$INSTALL" >&6; }
2418 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2419 # It thinks the first close brace ends the variable substitution.
2420 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2422 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2424 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2427 $as_echo_n "checking whether build environment is sane... " >&6; }
2428 # Reject unsafe characters in $srcdir or the absolute working directory
2429 # name. Accept space and tab only in the latter.
2433 *[\\\"\#\$\&\'\`$am_lf]*)
2434 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2437 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2438 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2441 # Do 'set' in a subshell so we don't clobber the current shell's
2442 # arguments. Must try -L first in case configure is actually a
2443 # symlink; some systems play weird games with the mod time of symlinks
2444 # (eg FreeBSD returns the mod time of the symlink's containing
2448 for am_try in 1 2; do
2449 echo "timestamp, slept: $am_has_slept" > conftest.file
2450 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2451 if test "$*" = "X"; then
2453 set X `ls -t "$srcdir/configure" conftest.file`
2455 if test "$*" != "X $srcdir/configure conftest.file" \
2456 && test "$*" != "X conftest.file $srcdir/configure"; then
2458 # If neither matched, then we have a broken ls. This can happen
2459 # if, for instance, CONFIG_SHELL is bash and it inherits a
2460 # broken ls alias from the environment. This has actually
2461 # happened. Such a system could not be considered "sane".
2462 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2463 alias in your environment" "$LINENO" 5
2465 if test "$2" = conftest.file || test $am_try -eq 2; then
2472 test "$2" = conftest.file
2478 as_fn_error $? "newly created file is older than distributed files!
2479 Check your system clock" "$LINENO" 5
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2482 $as_echo "yes" >&6; }
2483 # If we didn't sleep, we still need to ensure time stamps of config.status and
2484 # generated files are strictly newer.
2486 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2493 test "$program_prefix" != NONE &&
2494 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2495 # Use a double $ so make ignores it.
2496 test "$program_suffix" != NONE &&
2497 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2498 # Double any \ or $.
2499 # By default was `s,x,x', remove it if useless.
2500 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2501 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2503 # expand $ac_aux_dir to an absolute path
2504 am_aux_dir=`cd $ac_aux_dir && pwd`
2506 if test x"${MISSING+set}" != xset; then
2509 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2511 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2514 # Use eval to expand $SHELL
2515 if eval "$MISSING --is-lightweight"; then
2516 am_missing_run="$MISSING "
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2520 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2523 if test x"${install_sh}" != xset; then
2526 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2528 install_sh="\${SHELL} $am_aux_dir/install-sh"
2532 # Installed binaries are usually stripped using 'strip' when the user
2533 # run "make install-strip". However 'strip' might not be the right
2534 # tool to use in cross-compilation environments, therefore Automake
2535 # will honor the 'STRIP' environment variable to overrule this program.
2536 if test "$cross_compiling" != no; then
2537 if test -n "$ac_tool_prefix"; then
2538 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2539 set dummy ${ac_tool_prefix}strip; ac_word=$2
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541 $as_echo_n "checking for $ac_word... " >&6; }
2542 if ${ac_cv_prog_STRIP+:} false; then :
2543 $as_echo_n "(cached) " >&6
2545 if test -n "$STRIP"; then
2546 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir=.
2553 for ac_exec_ext in '' $ac_executable_extensions; do
2554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2555 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 STRIP=$ac_cv_prog_STRIP
2566 if test -n "$STRIP"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2568 $as_echo "$STRIP" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2571 $as_echo "no" >&6; }
2576 if test -z "$ac_cv_prog_STRIP"; then
2578 # Extract the first word of "strip", so it can be a program name with args.
2579 set dummy strip; ac_word=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$ac_ct_STRIP"; then
2586 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir=.
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595 ac_cv_prog_ac_ct_STRIP="strip"
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2606 if test -n "$ac_ct_STRIP"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2608 $as_echo "$ac_ct_STRIP" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2614 if test "x$ac_ct_STRIP" = x; then
2617 case $cross_compiling:$ac_tool_warned in
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621 ac_tool_warned=yes ;;
2626 STRIP="$ac_cv_prog_STRIP"
2630 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2633 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2634 if test -z "$MKDIR_P"; then
2635 if ${ac_cv_path_mkdir+:} false; then :
2636 $as_echo_n "(cached) " >&6
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2642 test -z "$as_dir" && as_dir=.
2643 for ac_prog in mkdir gmkdir; do
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2646 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2647 'mkdir (GNU coreutils) '* | \
2648 'mkdir (coreutils) '* | \
2649 'mkdir (fileutils) '4.1*)
2650 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2660 test -d ./--version && rmdir ./--version
2661 if test "${ac_cv_path_mkdir+set}" = set; then
2662 MKDIR_P="$ac_cv_path_mkdir -p"
2664 # As a last resort, use the slow shell script. Don't cache a
2665 # value for MKDIR_P within a source directory, because that will
2666 # break other packages using the cache if that directory is
2667 # removed, or if the value is a relative name.
2668 MKDIR_P="$ac_install_sh -d"
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2672 $as_echo "$MKDIR_P" >&6; }
2674 for ac_prog in gawk mawk nawk awk
2676 # Extract the first word of "$ac_prog", so it can be a program name with args.
2677 set dummy $ac_prog; ac_word=$2
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679 $as_echo_n "checking for $ac_word... " >&6; }
2680 if ${ac_cv_prog_AWK+:} false; then :
2681 $as_echo_n "(cached) " >&6
2683 if test -n "$AWK"; then
2684 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir=.
2691 for ac_exec_ext in '' $ac_executable_extensions; do
2692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2693 ac_cv_prog_AWK="$ac_prog"
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 if test -n "$AWK"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2706 $as_echo "$AWK" >&6; }
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2709 $as_echo "no" >&6; }
2713 test -n "$AWK" && break
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2717 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2719 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2720 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2721 $as_echo_n "(cached) " >&6
2723 cat >conftest.make <<\_ACEOF
2726 @echo '@@@%%%=$(MAKE)=@@@%%%'
2728 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2729 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2731 eval ac_cv_prog_make_${ac_make}_set=yes;;
2733 eval ac_cv_prog_make_${ac_make}_set=no;;
2737 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2739 $as_echo "yes" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2744 SET_MAKE="MAKE=${MAKE-make}"
2747 rm -rf .tst 2>/dev/null
2748 mkdir .tst 2>/dev/null
2749 if test -d .tst; then
2754 rmdir .tst 2>/dev/null
2756 # Check whether --enable-silent-rules was given.
2757 if test "${enable_silent_rules+set}" = set; then :
2758 enableval=$enable_silent_rules;
2761 case $enable_silent_rules in # (((
2762 yes) AM_DEFAULT_VERBOSITY=0;;
2763 no) AM_DEFAULT_VERBOSITY=1;;
2764 *) AM_DEFAULT_VERBOSITY=1;;
2766 am_make=${MAKE-make}
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2768 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2769 if ${am_cv_make_support_nested_variables+:} false; then :
2770 $as_echo_n "(cached) " >&6
2772 if $as_echo 'TRUE=$(BAR$(V))
2778 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2779 am_cv_make_support_nested_variables=yes
2781 am_cv_make_support_nested_variables=no
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2785 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2786 if test $am_cv_make_support_nested_variables = yes; then
2788 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2790 AM_V=$AM_DEFAULT_VERBOSITY
2791 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2795 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2796 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2797 # is not polluted with repeated "-I."
2798 am__isrc=' -I$(srcdir)'
2799 # test to see if srcdir already configured
2800 if test -f $srcdir/config.status; then
2801 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2805 # test whether we have cygpath
2806 if test -z "$CYGPATH_W"; then
2807 if (cygpath --version) >/dev/null 2>/dev/null; then
2808 CYGPATH_W='cygpath -w'
2815 # Define the identity of the package.
2816 PACKAGE='moonshot-ui'
2820 cat >>confdefs.h <<_ACEOF
2821 #define PACKAGE "$PACKAGE"
2825 cat >>confdefs.h <<_ACEOF
2826 #define VERSION "$VERSION"
2829 # Some tools Automake needs.
2831 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2834 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2837 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2840 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2843 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2845 # For better backward compatibility. To be removed once Automake 1.9.x
2846 # dies out for good. For more background, see:
2847 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2848 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2849 mkdir_p='$(MKDIR_P)'
2851 # We need awk for the "check" target. The system "awk" is bad on
2853 # Always define AMTAR for backward compatibility. Yes, it's still used
2854 # in the wild :-( We should find a proper way to deprecate it ...
2858 # We'll loop over all known methods to create a tar archive until one works.
2859 _am_tools='gnutar pax cpio none'
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2864 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2866 # Go ahead even if we have the value already cached. We do so because we
2867 # need to set the values for the 'am__tar' and 'am__untar' variables.
2868 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2870 for _am_tool in $_am_tools; do
2873 for _am_tar in tar gnutar gtar; do
2874 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2875 ($_am_tar --version) >&5 2>&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); } && break
2880 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2881 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2882 am__untar="$_am_tar -xf -"
2885 # Must skip GNU tar: if it does not support --format= it doesn't create
2886 # ustar tarball either.
2887 (tar --version) >/dev/null 2>&1 && continue
2888 am__tar='tar chf - "$$tardir"'
2889 am__tar_='tar chf - "$tardir"'
2890 am__untar='tar xf -'
2893 am__tar='pax -L -x pax -w "$$tardir"'
2894 am__tar_='pax -L -x pax -w "$tardir"'
2898 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2899 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2900 am__untar='cpio -i -H pax -d'
2909 # If the value was cached, stop now. We just wanted to have am__tar
2910 # and am__untar set.
2911 test -n "${am_cv_prog_tar_pax}" && break
2913 # tar/untar a dummy directory, and stop if the command works.
2916 echo GrepMe > conftest.dir/file
2917 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2918 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }
2923 if test -s conftest.tar; then
2924 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2925 ($am__untar <conftest.tar) >&5 2>&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }
2929 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2930 (cat conftest.dir/file) >&5 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }
2934 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2939 if ${am_cv_prog_tar_pax+:} false; then :
2940 $as_echo_n "(cached) " >&6
2942 am_cv_prog_tar_pax=$_am_tool
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2946 $as_echo "$am_cv_prog_tar_pax" >&6; }
2953 # POSIX will say in a future version that running "rm -f" with no argument
2954 # is OK; and we want to be able to make that assumption in our Makefile
2955 # recipes. So use an aggressive probe to check that the usage we want is
2956 # actually supported "in the wild" to an acceptable degree.
2957 # See automake bug#10828.
2958 # To make any issue more visible, cause the running configure to be aborted
2959 # by default if the 'rm' program in use doesn't match our expectations; the
2960 # user can still override this though.
2961 if rm -f && rm -fr && rm -rf; then : OK; else
2965 Your 'rm' program seems unable to run without file operands specified
2966 on the command line, even when the '-f' option is present. This is contrary
2967 to the behaviour of most rm programs out there, and not conforming with
2968 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2970 Please tell bug-automake@gnu.org about your system, including the value
2971 of your $PATH and any error possibly output before this message. This
2972 can help us improve future automake versions.
2975 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2976 echo 'Configuration will proceed anyway, since you have set the' >&2
2977 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2981 Aborting the configuration process, to ensure you take notice of the issue.
2983 You can download and install GNU coreutils to get an 'rm' implementation
2984 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2986 If you want to complete the configuration process using your problematic
2987 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2988 to "yes", and re-run configure.
2991 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2995 # Check whether --enable-silent-rules was given.
2996 if test "${enable_silent_rules+set}" = set; then :
2997 enableval=$enable_silent_rules;
3000 case $enable_silent_rules in # (((
3001 yes) AM_DEFAULT_VERBOSITY=0;;
3002 no) AM_DEFAULT_VERBOSITY=1;;
3003 *) AM_DEFAULT_VERBOSITY=0;;
3005 am_make=${MAKE-make}
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3007 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3008 if ${am_cv_make_support_nested_variables+:} false; then :
3009 $as_echo_n "(cached) " >&6
3011 if $as_echo 'TRUE=$(BAR$(V))
3017 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3018 am_cv_make_support_nested_variables=yes
3020 am_cv_make_support_nested_variables=no
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3024 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3025 if test $am_cv_make_support_nested_variables = yes; then
3027 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3029 AM_V=$AM_DEFAULT_VERBOSITY
3030 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3036 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3037 # Check whether --enable-maintainer-mode was given.
3038 if test "${enable_maintainer_mode+set}" = set; then :
3039 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3041 USE_MAINTAINER_MODE=yes
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3045 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3046 if test $USE_MAINTAINER_MODE = yes; then
3047 MAINTAINER_MODE_TRUE=
3048 MAINTAINER_MODE_FALSE='#'
3050 MAINTAINER_MODE_TRUE='#'
3051 MAINTAINER_MODE_FALSE=
3054 MAINT=$MAINTAINER_MODE_TRUE
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3062 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3067 macro_version='2.4.2'
3068 macro_revision='1.3337'
3082 ltmain="$ac_aux_dir/ltmain.sh"
3084 # Make sure we can run config.sub.
3085 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3086 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3089 $as_echo_n "checking build system type... " >&6; }
3090 if ${ac_cv_build+:} false; then :
3091 $as_echo_n "(cached) " >&6
3093 ac_build_alias=$build_alias
3094 test "x$ac_build_alias" = x &&
3095 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3096 test "x$ac_build_alias" = x &&
3097 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3098 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3099 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3103 $as_echo "$ac_cv_build" >&6; }
3104 case $ac_cv_build in
3106 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3109 ac_save_IFS=$IFS; IFS='-'
3115 # Remember, the first character of IFS is used to create $*,
3116 # except with old shells:
3119 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3123 $as_echo_n "checking host system type... " >&6; }
3124 if ${ac_cv_host+:} false; then :
3125 $as_echo_n "(cached) " >&6
3127 if test "x$host_alias" = x; then
3128 ac_cv_host=$ac_cv_build
3130 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3131 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3136 $as_echo "$ac_cv_host" >&6; }
3139 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3142 ac_save_IFS=$IFS; IFS='-'
3148 # Remember, the first character of IFS is used to create $*,
3149 # except with old shells:
3152 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3155 # Backslashify metacharacters that are still active within
3156 # double-quoted strings.
3157 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3159 # Same as above, but do not quote variable references.
3160 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3162 # Sed substitution to delay expansion of an escaped shell variable in a
3163 # double_quote_subst'ed string.
3164 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3166 # Sed substitution to delay expansion of an escaped single quote.
3167 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3169 # Sed substitution to avoid accidental globbing in evaled expressions
3170 no_glob_subst='s/\*/\\\*/g'
3172 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3173 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3174 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3177 $as_echo_n "checking how to print strings... " >&6; }
3178 # Test print first, because it will be a builtin if present.
3179 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3180 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3182 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3185 # Use this function as a fallback that always works.
3186 func_fallback_echo ()
3188 eval 'cat <<_LTECHO_EOF
3192 ECHO='func_fallback_echo'
3195 # func_echo_all arg...
3196 # Invoke $ECHO with all args, space-separated.
3203 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3204 $as_echo "printf" >&6; } ;;
3205 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3206 $as_echo "print -r" >&6; } ;;
3207 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3208 $as_echo "cat" >&6; } ;;
3224 DEPDIR="${am__leading_dot}deps"
3226 ac_config_commands="$ac_config_commands depfiles"
3229 am_make=${MAKE-make}
3230 cat > confinc << 'END'
3232 @echo this is the am__doit target
3235 # If we don't find an include directive, just comment out the code.
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3237 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3241 # First try GNU make style include.
3242 echo "include confinc" > confmf
3243 # Ignore all kinds of additional output from 'make'.
3244 case `$am_make -s -f confmf 2> /dev/null` in #(
3245 *the\ am__doit\ target*)
3251 # Now try BSD make style include.
3252 if test "$am__include" = "#"; then
3253 echo '.include "confinc"' > confmf
3254 case `$am_make -s -f confmf 2> /dev/null` in #(
3255 *the\ am__doit\ target*)
3256 am__include=.include
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3265 $as_echo "$_am_result" >&6; }
3266 rm -f confinc confmf
3268 # Check whether --enable-dependency-tracking was given.
3269 if test "${enable_dependency_tracking+set}" = set; then :
3270 enableval=$enable_dependency_tracking;
3273 if test "x$enable_dependency_tracking" != xno; then
3274 am_depcomp="$ac_aux_dir/depcomp"
3278 if test "x$enable_dependency_tracking" != xno; then
3288 ac_cpp='$CPP $CPPFLAGS'
3289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3292 if test -n "$ac_tool_prefix"; then
3293 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3294 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if ${ac_cv_prog_CC+:} false; then :
3298 $as_echo_n "(cached) " >&6
3300 if test -n "$CC"; then
3301 ac_cv_prog_CC="$CC" # Let the user override the test.
3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307 test -z "$as_dir" && as_dir=.
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3310 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321 if test -n "$CC"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3323 $as_echo "$CC" >&6; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3331 if test -z "$ac_cv_prog_CC"; then
3333 # Extract the first word of "gcc", so it can be a program name with args.
3334 set dummy gcc; ac_word=$2
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336 $as_echo_n "checking for $ac_word... " >&6; }
3337 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3338 $as_echo_n "(cached) " >&6
3340 if test -n "$ac_ct_CC"; then
3341 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347 test -z "$as_dir" && as_dir=.
3348 for ac_exec_ext in '' $ac_executable_extensions; do
3349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3350 ac_cv_prog_ac_ct_CC="gcc"
3351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3361 if test -n "$ac_ct_CC"; then
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3363 $as_echo "$ac_ct_CC" >&6; }
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366 $as_echo "no" >&6; }
3369 if test "x$ac_ct_CC" = x; then
3372 case $cross_compiling:$ac_tool_warned in
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3376 ac_tool_warned=yes ;;
3384 if test -z "$CC"; then
3385 if test -n "$ac_tool_prefix"; then
3386 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3387 set dummy ${ac_tool_prefix}cc; ac_word=$2
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3389 $as_echo_n "checking for $ac_word... " >&6; }
3390 if ${ac_cv_prog_CC+:} false; then :
3391 $as_echo_n "(cached) " >&6
3393 if test -n "$CC"; then
3394 ac_cv_prog_CC="$CC" # Let the user override the test.
3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400 test -z "$as_dir" && as_dir=.
3401 for ac_exec_ext in '' $ac_executable_extensions; do
3402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3403 ac_cv_prog_CC="${ac_tool_prefix}cc"
3404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 if test -n "$CC"; then
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3416 $as_echo "$CC" >&6; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3419 $as_echo "no" >&6; }
3425 if test -z "$CC"; then
3426 # Extract the first word of "cc", so it can be a program name with args.
3427 set dummy cc; ac_word=$2
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3429 $as_echo_n "checking for $ac_word... " >&6; }
3430 if ${ac_cv_prog_CC+:} false; then :
3431 $as_echo_n "(cached) " >&6
3433 if test -n "$CC"; then
3434 ac_cv_prog_CC="$CC" # Let the user override the test.
3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 test -z "$as_dir" && as_dir=.
3442 for ac_exec_ext in '' $ac_executable_extensions; do
3443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3444 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3445 ac_prog_rejected=yes
3449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3456 if test $ac_prog_rejected = yes; then
3457 # We found a bogon in the path, so make sure we never use it.
3458 set dummy $ac_cv_prog_CC
3460 if test $# != 0; then
3461 # We chose a different compiler from the bogus one.
3462 # However, it has the same basename, so the bogon will be chosen
3463 # first if we set CC to just the basename; use the full file name.
3465 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3471 if test -n "$CC"; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3473 $as_echo "$CC" >&6; }
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476 $as_echo "no" >&6; }
3481 if test -z "$CC"; then
3482 if test -n "$ac_tool_prefix"; then
3483 for ac_prog in cl.exe
3485 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3486 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if ${ac_cv_prog_CC+:} false; then :
3490 $as_echo_n "(cached) " >&6
3492 if test -n "$CC"; then
3493 ac_cv_prog_CC="$CC" # Let the user override the test.
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3502 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3513 if test -n "$CC"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3515 $as_echo "$CC" >&6; }
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3522 test -n "$CC" && break
3525 if test -z "$CC"; then
3527 for ac_prog in cl.exe
3529 # Extract the first word of "$ac_prog", so it can be a program name with args.
3530 set dummy $ac_prog; ac_word=$2
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532 $as_echo_n "checking for $ac_word... " >&6; }
3533 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3534 $as_echo_n "(cached) " >&6
3536 if test -n "$ac_ct_CC"; then
3537 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543 test -z "$as_dir" && as_dir=.
3544 for ac_exec_ext in '' $ac_executable_extensions; do
3545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3546 ac_cv_prog_ac_ct_CC="$ac_prog"
3547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3557 if test -n "$ac_ct_CC"; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3559 $as_echo "$ac_ct_CC" >&6; }
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3566 test -n "$ac_ct_CC" && break
3569 if test "x$ac_ct_CC" = x; then
3572 case $cross_compiling:$ac_tool_warned in
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3576 ac_tool_warned=yes ;;
3585 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error $? "no acceptable C compiler found in \$PATH
3588 See \`config.log' for more details" "$LINENO" 5; }
3590 # Provide some information about the compiler.
3591 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3594 for ac_option in --version -v -V -qversion; do
3595 { { ac_try="$ac_compiler $ac_option >&5"
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 $as_echo "$ac_try_echo"; } >&5
3602 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3604 if test -s conftest.err; then
3606 ... rest of stderr output deleted ...
3607 10q' conftest.err >conftest.er1
3608 cat conftest.er1 >&5
3610 rm -f conftest.er1 conftest.err
3611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3612 test $ac_status = 0; }
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3626 ac_clean_files_save=$ac_clean_files
3627 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3628 # Try to create an executable without -o first, disregard a.out.
3629 # It will help us diagnose broken compilers, and finding out an intuition
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3632 $as_echo_n "checking whether the C compiler works... " >&6; }
3633 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3635 # The possible output files:
3636 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3639 for ac_file in $ac_files
3642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3643 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3648 if { { ac_try="$ac_link_default"
3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3651 *) ac_try_echo=$ac_try;;
3653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3654 $as_echo "$ac_try_echo"; } >&5
3655 (eval "$ac_link_default") 2>&5
3657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3658 test $ac_status = 0; }; then :
3659 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3660 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3661 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3662 # so that the user can short-circuit this test for compilers unknown to
3664 for ac_file in $ac_files ''
3666 test -f "$ac_file" || continue
3668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3671 # We found the default executable, but exeext='' is most
3675 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3677 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3679 # We set ac_cv_exeext here because the later test for it is not
3680 # safe: cross compilers may not add the suffix if given an `-o'
3681 # argument, so we may need to know it at that point already.
3682 # Even if this section looks crufty: it has the advantage of
3689 test "$ac_cv_exeext" = no && ac_cv_exeext=
3694 if test -z "$ac_file"; then :
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3697 $as_echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 as_fn_error 77 "C compiler cannot create executables
3703 See \`config.log' for more details" "$LINENO" 5; }
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3706 $as_echo "yes" >&6; }
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3709 $as_echo_n "checking for C compiler default output file name... " >&6; }
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3711 $as_echo "$ac_file" >&6; }
3712 ac_exeext=$ac_cv_exeext
3714 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3715 ac_clean_files=$ac_clean_files_save
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3717 $as_echo_n "checking for suffix of executables... " >&6; }
3718 if { { ac_try="$ac_link"
3720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3721 *) ac_try_echo=$ac_try;;
3723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3724 $as_echo "$ac_try_echo"; } >&5
3725 (eval "$ac_link") 2>&5
3727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3728 test $ac_status = 0; }; then :
3729 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3730 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3731 # work properly (i.e., refer to `conftest.exe'), while it won't with
3733 for ac_file in conftest.exe conftest conftest.*; do
3734 test -f "$ac_file" || continue
3736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3737 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3745 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3746 See \`config.log' for more details" "$LINENO" 5; }
3748 rm -f conftest conftest$ac_cv_exeext
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3750 $as_echo "$ac_cv_exeext" >&6; }
3752 rm -f conftest.$ac_ext
3753 EXEEXT=$ac_cv_exeext
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3761 FILE *f = fopen ("conftest.out", "w");
3762 return ferror (f) || fclose (f) != 0;
3768 ac_clean_files="$ac_clean_files conftest.out"
3769 # Check that the compiler produces executables we can run. If not, either
3770 # the compiler is broken, or we cross compile.
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3772 $as_echo_n "checking whether we are cross compiling... " >&6; }
3773 if test "$cross_compiling" != yes; then
3774 { { ac_try="$ac_link"
3776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777 *) ac_try_echo=$ac_try;;
3779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3780 $as_echo "$ac_try_echo"; } >&5
3781 (eval "$ac_link") 2>&5
3783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3784 test $ac_status = 0; }
3785 if { ac_try='./conftest$ac_cv_exeext'
3786 { { case "(($ac_try" in
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3791 $as_echo "$ac_try_echo"; } >&5
3792 (eval "$ac_try") 2>&5
3794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795 test $ac_status = 0; }; }; then
3798 if test "$cross_compiling" = maybe; then
3801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3803 as_fn_error $? "cannot run C compiled programs.
3804 If you meant to cross compile, use \`--host'.
3805 See \`config.log' for more details" "$LINENO" 5; }
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3810 $as_echo "$cross_compiling" >&6; }
3812 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3813 ac_clean_files=$ac_clean_files_save
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3815 $as_echo_n "checking for suffix of object files... " >&6; }
3816 if ${ac_cv_objext+:} false; then :
3817 $as_echo_n "(cached) " >&6
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3830 rm -f conftest.o conftest.obj
3831 if { { ac_try="$ac_compile"
3833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3834 *) ac_try_echo=$ac_try;;
3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3837 $as_echo "$ac_try_echo"; } >&5
3838 (eval "$ac_compile") 2>&5
3840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841 test $ac_status = 0; }; then :
3842 for ac_file in conftest.o conftest.obj conftest.*; do
3843 test -f "$ac_file" || continue;
3845 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3846 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3851 $as_echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.$ac_ext >&5
3854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3856 as_fn_error $? "cannot compute suffix of object files: cannot compile
3857 See \`config.log' for more details" "$LINENO" 5; }
3859 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3862 $as_echo "$ac_cv_objext" >&6; }
3863 OBJEXT=$ac_cv_objext
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3866 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3867 if ${ac_cv_c_compiler_gnu+:} false; then :
3868 $as_echo_n "(cached) " >&6
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3884 if ac_fn_c_try_compile "$LINENO"; then :
3889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3890 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3894 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3895 if test $ac_compiler_gnu = yes; then
3900 ac_test_CFLAGS=${CFLAGS+set}
3901 ac_save_CFLAGS=$CFLAGS
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3903 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3904 if ${ac_cv_prog_cc_g+:} false; then :
3905 $as_echo_n "(cached) " >&6
3907 ac_save_c_werror_flag=$ac_c_werror_flag
3908 ac_c_werror_flag=yes
3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3922 if ac_fn_c_try_compile "$LINENO"; then :
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3937 if ac_fn_c_try_compile "$LINENO"; then :
3940 ac_c_werror_flag=$ac_save_c_werror_flag
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3953 if ac_fn_c_try_compile "$LINENO"; then :
3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961 ac_c_werror_flag=$ac_save_c_werror_flag
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3964 $as_echo "$ac_cv_prog_cc_g" >&6; }
3965 if test "$ac_test_CFLAGS" = set; then
3966 CFLAGS=$ac_save_CFLAGS
3967 elif test $ac_cv_prog_cc_g = yes; then
3968 if test "$GCC" = yes; then
3974 if test "$GCC" = yes; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3981 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3982 if ${ac_cv_prog_cc_c89+:} false; then :
3983 $as_echo_n "(cached) " >&6
3985 ac_cv_prog_cc_c89=no
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3992 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3993 struct buf { int x; };
3994 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3995 static char *e (p, i)
4001 static char *f (char * (*g) (char **, int), char **p, ...)
4006 s = g (p, va_arg (v,int));
4011 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4012 function prototypes and stuff, but not '\xHH' hex character constants.
4013 These don't provoke an error unfortunately, instead are silently treated
4014 as 'x'. The following induces an error, until -std is added to get
4015 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4016 array size at least. It's necessary to write '\x00'==0 to get something
4017 that's true only with -std. */
4018 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4020 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4021 inside strings and character constants. */
4023 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4025 int test (int i, double x);
4026 struct s1 {int (*f) (int a);};
4027 struct s2 {int (*f) (double a);};
4028 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4034 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4039 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4040 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4042 CC="$ac_save_CC $ac_arg"
4043 if ac_fn_c_try_compile "$LINENO"; then :
4044 ac_cv_prog_cc_c89=$ac_arg
4046 rm -f core conftest.err conftest.$ac_objext
4047 test "x$ac_cv_prog_cc_c89" != "xno" && break
4049 rm -f conftest.$ac_ext
4054 case "x$ac_cv_prog_cc_c89" in
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4057 $as_echo "none needed" >&6; } ;;
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4060 $as_echo "unsupported" >&6; } ;;
4062 CC="$CC $ac_cv_prog_cc_c89"
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4064 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4066 if test "x$ac_cv_prog_cc_c89" != xno; then :
4071 ac_cpp='$CPP $CPPFLAGS'
4072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4077 ac_cpp='$CPP $CPPFLAGS'
4078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4082 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4083 if ${am_cv_prog_cc_c_o+:} false; then :
4084 $as_echo_n "(cached) " >&6
4086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087 /* end confdefs.h. */
4097 # Make sure it works both with $CC and with simple cc.
4098 # Following AC_PROG_CC_C_O, we do the test twice because some
4099 # compilers refuse to overwrite an existing .o file with -o,
4100 # though they will create one.
4101 am_cv_prog_cc_c_o=yes
4103 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4104 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); } \
4108 && test -f conftest2.$ac_objext; then
4111 am_cv_prog_cc_c_o=no
4115 rm -f core conftest*
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4119 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4120 if test "$am_cv_prog_cc_c_o" != yes; then
4121 # Losing compiler, so override with the script.
4122 # FIXME: It is wrong to rewrite CC.
4123 # But if we don't then we get into trouble of one sort or another.
4124 # A longer-term fix would be to have automake use am__CC in this case,
4125 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4126 CC="$am_aux_dir/compile $CC"
4129 ac_cpp='$CPP $CPPFLAGS'
4130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4135 depcc="$CC" am_compiler_list=
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4138 $as_echo_n "checking dependency style of $depcc... " >&6; }
4139 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4140 $as_echo_n "(cached) " >&6
4142 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4143 # We make a subdir and do the tests there. Otherwise we can end up
4144 # making bogus files that we don't know about and never remove. For
4145 # instance it was reported that on HP-UX the gcc test will end up
4146 # making a dummy file named 'D' -- because '-MD' means "put the output
4150 # Copy depcomp to subdir because otherwise we won't find it if we're
4151 # using a relative directory.
4152 cp "$am_depcomp" conftest.dir
4154 # We will build objects and dependencies in a subdirectory because
4155 # it helps to detect inapplicable dependency modes. For instance
4156 # both Tru64's cc and ICC support -MD to output dependencies as a
4157 # side effect of compilation, but ICC will put the dependencies in
4158 # the current directory while Tru64 will put them in the object
4162 am_cv_CC_dependencies_compiler_type=none
4163 if test "$am_compiler_list" = ""; then
4164 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4167 case " $depcc " in #(
4168 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4171 for depmode in $am_compiler_list; do
4172 # Setup a source with many dependencies, because some compilers
4173 # like to wrap large dependency lists on column 80 (with \), and
4174 # we should not choose a depcomp mode which is confused by this.
4176 # We need to recreate these files for each test, as the compiler may
4177 # overwrite some of them when testing with obscure command lines.
4178 # This happens at least with the AIX C compiler.
4180 for i in 1 2 3 4 5 6; do
4181 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4182 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4183 # Solaris 10 /bin/sh.
4184 echo '/* dummy */' > sub/conftst$i.h
4186 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4188 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4189 # mode. It turns out that the SunPro C++ compiler does not properly
4190 # handle '-M -o', and we need to detect this. Also, some Intel
4191 # versions had trouble with output in subdirs.
4192 am__obj=sub/conftest.${OBJEXT-o}
4193 am__minus_obj="-o $am__obj"
4196 # This depmode causes a compiler race in universal mode.
4197 test "$am__universal" = false || continue
4200 # After this tag, mechanisms are not by side-effect, so they'll
4201 # only be used when explicitly requested.
4202 if test "x$enable_dependency_tracking" = xyes; then
4208 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4209 # This compiler won't grok '-c -o', but also, the minuso test has
4210 # not run yet. These depmodes are late enough in the game, and
4211 # so weak that their functioning should not be impacted.
4212 am__obj=conftest.${OBJEXT-o}
4217 if depmode=$depmode \
4218 source=sub/conftest.c object=$am__obj \
4219 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4220 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4221 >/dev/null 2>conftest.err &&
4222 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4223 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4224 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4225 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4226 # icc doesn't choke on unknown options, it will just issue warnings
4227 # or remarks (even with -Werror). So we grep stderr for any message
4228 # that says an option was ignored or not supported.
4229 # When given -MP, icc 7.0 and 7.1 complain thusly:
4230 # icc: Command line warning: ignoring option '-M'; no argument required
4231 # The diagnosis changed in icc 8.0:
4232 # icc: Command line remark: option '-MP' not supported
4233 if (grep 'ignoring option' conftest.err ||
4234 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4235 am_cv_CC_dependencies_compiler_type=$depmode
4244 am_cv_CC_dependencies_compiler_type=none
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4249 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4250 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4253 test "x$enable_dependency_tracking" != xno \
4254 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4256 am__fastdepCC_FALSE='#'
4258 am__fastdepCC_TRUE='#'
4259 am__fastdepCC_FALSE=
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4264 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4265 if ${ac_cv_path_SED+:} false; then :
4266 $as_echo_n "(cached) " >&6
4268 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4269 for ac_i in 1 2 3 4 5 6 7; do
4270 ac_script="$ac_script$as_nl$ac_script"
4272 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4273 { ac_script=; unset ac_script;}
4274 if test -z "$SED"; then
4275 ac_path_SED_found=false
4276 # Loop through the user's path and test for each of PROGNAME-LIST
4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281 test -z "$as_dir" && as_dir=.
4282 for ac_prog in sed gsed; do
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4285 as_fn_executable_p "$ac_path_SED" || continue
4286 # Check for GNU ac_path_SED and select it if it is found.
4287 # Check for GNU $ac_path_SED
4288 case `"$ac_path_SED" --version 2>&1` in
4290 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4293 $as_echo_n 0123456789 >"conftest.in"
4296 cat "conftest.in" "conftest.in" >"conftest.tmp"
4297 mv "conftest.tmp" "conftest.in"
4298 cp "conftest.in" "conftest.nl"
4299 $as_echo '' >> "conftest.nl"
4300 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4301 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4302 as_fn_arith $ac_count + 1 && ac_count=$as_val
4303 if test $ac_count -gt ${ac_path_SED_max-0}; then
4304 # Best one so far, save it but keep looking for a better one
4305 ac_cv_path_SED="$ac_path_SED"
4306 ac_path_SED_max=$ac_count
4308 # 10*(2^10) chars as input seems more than enough
4309 test $ac_count -gt 10 && break
4311 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4314 $ac_path_SED_found && break 3
4319 if test -z "$ac_cv_path_SED"; then
4320 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4328 $as_echo "$ac_cv_path_SED" >&6; }
4329 SED="$ac_cv_path_SED"
4332 test -z "$SED" && SED=sed
4333 Xsed="$SED -e 1s/^X//"
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4346 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4347 if ${ac_cv_path_GREP+:} false; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -z "$GREP"; then
4351 ac_path_GREP_found=false
4352 # Loop through the user's path and test for each of PROGNAME-LIST
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4357 test -z "$as_dir" && as_dir=.
4358 for ac_prog in grep ggrep; do
4359 for ac_exec_ext in '' $ac_executable_extensions; do
4360 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4361 as_fn_executable_p "$ac_path_GREP" || continue
4362 # Check for GNU ac_path_GREP and select it if it is found.
4363 # Check for GNU $ac_path_GREP
4364 case `"$ac_path_GREP" --version 2>&1` in
4366 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4369 $as_echo_n 0123456789 >"conftest.in"
4372 cat "conftest.in" "conftest.in" >"conftest.tmp"
4373 mv "conftest.tmp" "conftest.in"
4374 cp "conftest.in" "conftest.nl"
4375 $as_echo 'GREP' >> "conftest.nl"
4376 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4377 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4378 as_fn_arith $ac_count + 1 && ac_count=$as_val
4379 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4380 # Best one so far, save it but keep looking for a better one
4381 ac_cv_path_GREP="$ac_path_GREP"
4382 ac_path_GREP_max=$ac_count
4384 # 10*(2^10) chars as input seems more than enough
4385 test $ac_count -gt 10 && break
4387 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4390 $ac_path_GREP_found && break 3
4395 if test -z "$ac_cv_path_GREP"; then
4396 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4399 ac_cv_path_GREP=$GREP
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4404 $as_echo "$ac_cv_path_GREP" >&6; }
4405 GREP="$ac_cv_path_GREP"
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4409 $as_echo_n "checking for egrep... " >&6; }
4410 if ${ac_cv_path_EGREP+:} false; then :
4411 $as_echo_n "(cached) " >&6
4413 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4414 then ac_cv_path_EGREP="$GREP -E"
4416 if test -z "$EGREP"; then
4417 ac_path_EGREP_found=false
4418 # Loop through the user's path and test for each of PROGNAME-LIST
4419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4423 test -z "$as_dir" && as_dir=.
4424 for ac_prog in egrep; do
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4427 as_fn_executable_p "$ac_path_EGREP" || continue
4428 # Check for GNU ac_path_EGREP and select it if it is found.
4429 # Check for GNU $ac_path_EGREP
4430 case `"$ac_path_EGREP" --version 2>&1` in
4432 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4435 $as_echo_n 0123456789 >"conftest.in"
4438 cat "conftest.in" "conftest.in" >"conftest.tmp"
4439 mv "conftest.tmp" "conftest.in"
4440 cp "conftest.in" "conftest.nl"
4441 $as_echo 'EGREP' >> "conftest.nl"
4442 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4443 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4444 as_fn_arith $ac_count + 1 && ac_count=$as_val
4445 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4446 # Best one so far, save it but keep looking for a better one
4447 ac_cv_path_EGREP="$ac_path_EGREP"
4448 ac_path_EGREP_max=$ac_count
4450 # 10*(2^10) chars as input seems more than enough
4451 test $ac_count -gt 10 && break
4453 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4456 $ac_path_EGREP_found && break 3
4461 if test -z "$ac_cv_path_EGREP"; then
4462 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4465 ac_cv_path_EGREP=$EGREP
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4471 $as_echo "$ac_cv_path_EGREP" >&6; }
4472 EGREP="$ac_cv_path_EGREP"
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4476 $as_echo_n "checking for fgrep... " >&6; }
4477 if ${ac_cv_path_FGREP+:} false; then :
4478 $as_echo_n "(cached) " >&6
4480 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4481 then ac_cv_path_FGREP="$GREP -F"
4483 if test -z "$FGREP"; then
4484 ac_path_FGREP_found=false
4485 # Loop through the user's path and test for each of PROGNAME-LIST
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4490 test -z "$as_dir" && as_dir=.
4491 for ac_prog in fgrep; do
4492 for ac_exec_ext in '' $ac_executable_extensions; do
4493 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4494 as_fn_executable_p "$ac_path_FGREP" || continue
4495 # Check for GNU ac_path_FGREP and select it if it is found.
4496 # Check for GNU $ac_path_FGREP
4497 case `"$ac_path_FGREP" --version 2>&1` in
4499 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4502 $as_echo_n 0123456789 >"conftest.in"
4505 cat "conftest.in" "conftest.in" >"conftest.tmp"
4506 mv "conftest.tmp" "conftest.in"
4507 cp "conftest.in" "conftest.nl"
4508 $as_echo 'FGREP' >> "conftest.nl"
4509 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4510 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4511 as_fn_arith $ac_count + 1 && ac_count=$as_val
4512 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4513 # Best one so far, save it but keep looking for a better one
4514 ac_cv_path_FGREP="$ac_path_FGREP"
4515 ac_path_FGREP_max=$ac_count
4517 # 10*(2^10) chars as input seems more than enough
4518 test $ac_count -gt 10 && break
4520 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4523 $ac_path_FGREP_found && break 3
4528 if test -z "$ac_cv_path_FGREP"; then
4529 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4532 ac_cv_path_FGREP=$FGREP
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4538 $as_echo "$ac_cv_path_FGREP" >&6; }
4539 FGREP="$ac_cv_path_FGREP"
4542 test -z "$GREP" && GREP=grep
4562 # Check whether --with-gnu-ld was given.
4563 if test "${with_gnu_ld+set}" = set; then :
4564 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4570 if test "$GCC" = yes; then
4571 # Check if gcc -print-prog-name=ld gives a path.
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4573 $as_echo_n "checking for ld used by $CC... " >&6; }
4576 # gcc leaves a trailing carriage return which upsets mingw
4577 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4579 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4582 # Accept absolute paths.
4584 re_direlt='/[^/][^/]*/\.\./'
4585 # Canonicalize the pathname of ld
4586 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4587 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4588 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4590 test -z "$LD" && LD="$ac_prog"
4593 # If it fails, then pretend we aren't using GCC.
4597 # If it is relative, then search for the first ld in PATH.
4601 elif test "$with_gnu_ld" = yes; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4603 $as_echo_n "checking for GNU ld... " >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4606 $as_echo_n "checking for non-GNU ld... " >&6; }
4608 if ${lt_cv_path_LD+:} false; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -z "$LD"; then
4612 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4613 for ac_dir in $PATH; do
4615 test -z "$ac_dir" && ac_dir=.
4616 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4617 lt_cv_path_LD="$ac_dir/$ac_prog"
4618 # Check to see if the program is GNU ld. I'd rather use --version,
4619 # but apparently some variants of GNU ld only accept -v.
4620 # Break only if it was the GNU/non-GNU ld that we prefer.
4621 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4622 *GNU* | *'with BFD'*)
4623 test "$with_gnu_ld" != no && break
4626 test "$with_gnu_ld" != yes && break
4633 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4638 if test -n "$LD"; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4640 $as_echo "$LD" >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4645 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4647 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4648 if ${lt_cv_prog_gnu_ld+:} false; then :
4649 $as_echo_n "(cached) " >&6
4651 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4652 case `$LD -v 2>&1 </dev/null` in
4653 *GNU* | *'with BFD'*)
4654 lt_cv_prog_gnu_ld=yes
4657 lt_cv_prog_gnu_ld=no
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4662 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4663 with_gnu_ld=$lt_cv_prog_gnu_ld
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4674 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4675 if ${lt_cv_path_NM+:} false; then :
4676 $as_echo_n "(cached) " >&6
4678 if test -n "$NM"; then
4679 # Let the user override the test.
4682 lt_nm_to_check="${ac_tool_prefix}nm"
4683 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4684 lt_nm_to_check="$lt_nm_to_check nm"
4686 for lt_tmp_nm in $lt_nm_to_check; do
4687 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4688 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4690 test -z "$ac_dir" && ac_dir=.
4691 tmp_nm="$ac_dir/$lt_tmp_nm"
4692 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4693 # Check to see if the nm accepts a BSD-compat flag.
4694 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4695 # nm: unknown option "B" ignored
4696 # Tru64's nm complains that /dev/null is an invalid object file
4697 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4698 */dev/null* | *'Invalid file or object type'*)
4699 lt_cv_path_NM="$tmp_nm -B"
4703 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4705 lt_cv_path_NM="$tmp_nm -p"
4709 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4710 continue # so that we can try to find one that supports BSD flags
4719 : ${lt_cv_path_NM=no}
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4723 $as_echo "$lt_cv_path_NM" >&6; }
4724 if test "$lt_cv_path_NM" != "no"; then
4727 # Didn't find any BSD compatible name lister, look for dumpbin.
4728 if test -n "$DUMPBIN"; then :
4729 # Let the user override the test.
4731 if test -n "$ac_tool_prefix"; then
4732 for ac_prog in dumpbin "link -dump"
4734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4737 $as_echo_n "checking for $ac_word... " >&6; }
4738 if ${ac_cv_prog_DUMPBIN+:} false; then :
4739 $as_echo_n "(cached) " >&6
4741 if test -n "$DUMPBIN"; then
4742 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 test -z "$as_dir" && as_dir=.
4749 for ac_exec_ext in '' $ac_executable_extensions; do
4750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4751 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4761 DUMPBIN=$ac_cv_prog_DUMPBIN
4762 if test -n "$DUMPBIN"; then
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4764 $as_echo "$DUMPBIN" >&6; }
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767 $as_echo "no" >&6; }
4771 test -n "$DUMPBIN" && break
4774 if test -z "$DUMPBIN"; then
4775 ac_ct_DUMPBIN=$DUMPBIN
4776 for ac_prog in dumpbin "link -dump"
4778 # Extract the first word of "$ac_prog", so it can be a program name with args.
4779 set dummy $ac_prog; ac_word=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4783 $as_echo_n "(cached) " >&6
4785 if test -n "$ac_ct_DUMPBIN"; then
4786 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4806 if test -n "$ac_ct_DUMPBIN"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4808 $as_echo "$ac_ct_DUMPBIN" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4815 test -n "$ac_ct_DUMPBIN" && break
4818 if test "x$ac_ct_DUMPBIN" = x; then
4821 case $cross_compiling:$ac_tool_warned in
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4825 ac_tool_warned=yes ;;
4827 DUMPBIN=$ac_ct_DUMPBIN
4831 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4833 DUMPBIN="$DUMPBIN -symbols"
4841 if test "$DUMPBIN" != ":"; then
4845 test -z "$NM" && NM=nm
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4853 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4854 if ${lt_cv_nm_interface+:} false; then :
4855 $as_echo_n "(cached) " >&6
4857 lt_cv_nm_interface="BSD nm"
4858 echo "int some_variable = 0;" > conftest.$ac_ext
4859 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4860 (eval "$ac_compile" 2>conftest.err)
4861 cat conftest.err >&5
4862 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4863 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4864 cat conftest.err >&5
4865 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4866 cat conftest.out >&5
4867 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4868 lt_cv_nm_interface="MS dumpbin"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4873 $as_echo "$lt_cv_nm_interface" >&6; }
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4876 $as_echo_n "checking whether ln -s works... " >&6; }
4878 if test "$LN_S" = "ln -s"; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4880 $as_echo "yes" >&6; }
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4883 $as_echo "no, using $LN_S" >&6; }
4886 # find the maximum length of command line arguments
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4888 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4889 if ${lt_cv_sys_max_cmd_len+:} false; then :
4890 $as_echo_n "(cached) " >&6
4897 # On DJGPP, this test can blow up pretty badly due to problems in libc
4898 # (any single argument exceeding 2000 bytes causes a buffer overrun
4899 # during glob expansion). Even if it were fixed, the result of this
4900 # check would be larger than it should be.
4901 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4905 # Under GNU Hurd, this test is not required because there is
4906 # no limit to the length of command line arguments.
4907 # Libtool will interpret -1 as no limit whatsoever
4908 lt_cv_sys_max_cmd_len=-1;
4911 cygwin* | mingw* | cegcc*)
4912 # On Win9x/ME, this test blows up -- it succeeds, but takes
4913 # about 5 minutes as the teststring grows exponentially.
4914 # Worse, since 9x/ME are not pre-emptively multitasking,
4915 # you end up with a "frozen" computer, even though with patience
4916 # the test eventually succeeds (with a max line length of 256k).
4917 # Instead, let's just punt: use the minimum linelength reported by
4918 # all of the supported platforms: 8192 (on NT/2K/XP).
4919 lt_cv_sys_max_cmd_len=8192;
4923 # On MiNT this can take a long time and run out of memory.
4924 lt_cv_sys_max_cmd_len=8192;
4928 # On AmigaOS with pdksh, this test takes hours, literally.
4929 # So we just punt and use a minimum line length of 8192.
4930 lt_cv_sys_max_cmd_len=8192;
4933 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4934 # This has been around since 386BSD, at least. Likely further.
4935 if test -x /sbin/sysctl; then
4936 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4937 elif test -x /usr/sbin/sysctl; then
4938 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4940 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4942 # And add a safety zone
4943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4944 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4948 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4949 lt_cv_sys_max_cmd_len=196608
4953 # The test takes a long time on OS/2.
4954 lt_cv_sys_max_cmd_len=8192
4958 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4959 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4960 # nice to cause kernel panics so lets avoid the loop below.
4961 # First set a reasonable default.
4962 lt_cv_sys_max_cmd_len=16384
4964 if test -x /sbin/sysconfig; then
4965 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4966 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4971 lt_cv_sys_max_cmd_len=102400
4973 sysv5* | sco5v6* | sysv4.2uw2*)
4974 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4975 if test -n "$kargmax"; then
4976 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4978 lt_cv_sys_max_cmd_len=32768
4982 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4983 if test -n "$lt_cv_sys_max_cmd_len" && \
4984 test undefined != "$lt_cv_sys_max_cmd_len"; then
4985 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4988 # Make teststring a little bigger before we do anything with it.
4989 # a 1K string should be a reasonable start.
4990 for i in 1 2 3 4 5 6 7 8 ; do
4991 teststring=$teststring$teststring
4993 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4994 # If test is not a shell built-in, we'll probably end up computing a
4995 # maximum length that is only half of the actual maximum length, but
4997 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4998 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4999 test $i != 17 # 1/2 MB should be enough
5002 teststring=$teststring$teststring
5004 # Only check the string length outside the loop.
5005 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5007 # Add a significant safety factor because C++ compilers can tack on
5008 # massive amounts of additional arguments before passing them to the
5009 # linker. It appears as though 1/2 is a usable value.
5010 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5017 if test -n $lt_cv_sys_max_cmd_len ; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5019 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5022 $as_echo "none" >&6; }
5024 max_cmd_len=$lt_cv_sys_max_cmd_len
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5036 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5037 # Try some XSI features
5040 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5042 && eval 'test $(( 1 + 1 )) -eq 2 \
5043 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5046 $as_echo "$xsi_shell" >&6; }
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5050 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5052 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5054 && lt_shell_append=yes
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5056 $as_echo "$lt_shell_append" >&6; }
5059 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5069 # test EBCDIC or ASCII
5070 case `echo X|tr X '\101'` in
5071 A) # ASCII based system
5072 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5073 lt_SP2NL='tr \040 \012'
5074 lt_NL2SP='tr \015\012 \040\040'
5076 *) # EBCDIC based system
5077 lt_SP2NL='tr \100 \n'
5078 lt_NL2SP='tr \r\n \100\100'
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5091 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5092 if ${lt_cv_to_host_file_cmd+:} false; then :
5093 $as_echo_n "(cached) " >&6
5098 *-*-mingw* ) # actually msys
5099 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5102 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5104 * ) # otherwise, assume *nix
5105 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5111 *-*-mingw* ) # actually msys
5112 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5115 lt_cv_to_host_file_cmd=func_convert_file_noop
5117 * ) # otherwise, assume *nix
5118 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5122 * ) # unhandled hosts (and "normal" native builds)
5123 lt_cv_to_host_file_cmd=func_convert_file_noop
5129 to_host_file_cmd=$lt_cv_to_host_file_cmd
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5131 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5138 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5139 if ${lt_cv_to_tool_file_cmd+:} false; then :
5140 $as_echo_n "(cached) " >&6
5142 #assume ordinary cross tools, or native build.
5143 lt_cv_to_tool_file_cmd=func_convert_file_noop
5147 *-*-mingw* ) # actually msys
5148 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5156 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5158 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5165 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5166 if ${lt_cv_ld_reload_flag+:} false; then :
5167 $as_echo_n "(cached) " >&6
5169 lt_cv_ld_reload_flag='-r'
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5172 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5173 reload_flag=$lt_cv_ld_reload_flag
5174 case $reload_flag in
5176 *) reload_flag=" $reload_flag" ;;
5178 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5180 cygwin* | mingw* | pw32* | cegcc*)
5181 if test "$GCC" != yes; then
5186 if test "$GCC" = yes; then
5187 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5189 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5202 if test -n "$ac_tool_prefix"; then
5203 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5204 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5206 $as_echo_n "checking for $ac_word... " >&6; }
5207 if ${ac_cv_prog_OBJDUMP+:} false; then :
5208 $as_echo_n "(cached) " >&6
5210 if test -n "$OBJDUMP"; then
5211 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 test -z "$as_dir" && as_dir=.
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 OBJDUMP=$ac_cv_prog_OBJDUMP
5231 if test -n "$OBJDUMP"; then
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5233 $as_echo "$OBJDUMP" >&6; }
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236 $as_echo "no" >&6; }
5241 if test -z "$ac_cv_prog_OBJDUMP"; then
5242 ac_ct_OBJDUMP=$OBJDUMP
5243 # Extract the first word of "objdump", so it can be a program name with args.
5244 set dummy objdump; ac_word=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5248 $as_echo_n "(cached) " >&6
5250 if test -n "$ac_ct_OBJDUMP"; then
5251 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir=.
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5271 if test -n "$ac_ct_OBJDUMP"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5273 $as_echo "$ac_ct_OBJDUMP" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5279 if test "x$ac_ct_OBJDUMP" = x; then
5282 case $cross_compiling:$ac_tool_warned in
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5286 ac_tool_warned=yes ;;
5288 OBJDUMP=$ac_ct_OBJDUMP
5291 OBJDUMP="$ac_cv_prog_OBJDUMP"
5294 test -z "$OBJDUMP" && OBJDUMP=objdump
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5302 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5303 if ${lt_cv_deplibs_check_method+:} false; then :
5304 $as_echo_n "(cached) " >&6
5306 lt_cv_file_magic_cmd='$MAGIC_CMD'
5307 lt_cv_file_magic_test_file=
5308 lt_cv_deplibs_check_method='unknown'
5309 # Need to set the preceding variable on all platforms that support
5310 # interlibrary dependencies.
5311 # 'none' -- dependencies not supported.
5312 # `unknown' -- same as none, but documents that we really don't know.
5313 # 'pass_all' -- all dependencies passed with no checks.
5314 # 'test_compile' -- check by making test program.
5315 # 'file_magic [[regex]]' -- check by looking for files in library path
5316 # which responds to the $file_magic_cmd with a given extended regex.
5317 # If you have `file' or equivalent on your system and you're not sure
5318 # whether `pass_all' will *always* work, you probably want this one.
5322 lt_cv_deplibs_check_method=pass_all
5326 lt_cv_deplibs_check_method=pass_all
5330 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5331 lt_cv_file_magic_cmd='/usr/bin/file -L'
5332 lt_cv_file_magic_test_file=/shlib/libc.so
5336 # func_win32_libid is a shell function defined in ltmain.sh
5337 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5338 lt_cv_file_magic_cmd='func_win32_libid'
5342 # Base MSYS/MinGW do not provide the 'file' command needed by
5343 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5344 # unless we find 'file', for example because we are cross-compiling.
5345 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5346 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5347 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5348 lt_cv_file_magic_cmd='func_win32_libid'
5350 # Keep this pattern in sync with the one in func_win32_libid.
5351 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5352 lt_cv_file_magic_cmd='$OBJDUMP -f'
5357 # use the weaker test based on 'objdump'. See mingw*.
5358 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5359 lt_cv_file_magic_cmd='$OBJDUMP -f'
5362 darwin* | rhapsody*)
5363 lt_cv_deplibs_check_method=pass_all
5366 freebsd* | dragonfly*)
5367 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5370 # Not sure whether the presence of OpenBSD here was a mistake.
5371 # Let's accept both of them until this is cleared up.
5372 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5373 lt_cv_file_magic_cmd=/usr/bin/file
5374 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5378 lt_cv_deplibs_check_method=pass_all
5383 lt_cv_deplibs_check_method=pass_all
5386 hpux10.20* | hpux11*)
5387 lt_cv_file_magic_cmd=/usr/bin/file
5390 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5391 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5394 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]'
5395 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5398 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5399 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5405 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5406 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5409 irix5* | irix6* | nonstopux*)
5411 *-32|*"-32 ") libmagic=32-bit;;
5412 *-n32|*"-n32 ") libmagic=N32;;
5413 *-64|*"-64 ") libmagic=64-bit;;
5414 *) libmagic=never-match;;
5416 lt_cv_deplibs_check_method=pass_all
5419 # This must be glibc/ELF.
5420 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5421 lt_cv_deplibs_check_method=pass_all
5424 netbsd* | netbsdelf*-gnu)
5425 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5426 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5428 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5433 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5434 lt_cv_file_magic_cmd=/usr/bin/file
5435 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5439 lt_cv_deplibs_check_method=pass_all
5443 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5444 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5450 osf3* | osf4* | osf5*)
5451 lt_cv_deplibs_check_method=pass_all
5455 lt_cv_deplibs_check_method=pass_all
5459 lt_cv_deplibs_check_method=pass_all
5462 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5463 lt_cv_deplibs_check_method=pass_all
5467 case $host_vendor in
5469 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]'
5470 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5473 lt_cv_deplibs_check_method=pass_all
5476 lt_cv_file_magic_cmd='/bin/file'
5477 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5480 lt_cv_file_magic_cmd='/bin/file'
5481 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5482 lt_cv_file_magic_test_file=/lib/libc.so
5485 lt_cv_deplibs_check_method=pass_all
5488 lt_cv_deplibs_check_method=pass_all
5494 lt_cv_deplibs_check_method=pass_all
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5500 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5504 if test "$build" = "$host"; then
5507 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5510 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5516 file_magic_cmd=$lt_cv_file_magic_cmd
5517 deplibs_check_method=$lt_cv_deplibs_check_method
5518 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5541 if test -n "$ac_tool_prefix"; then
5542 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5543 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_DLLTOOL+:} false; then :
5547 $as_echo_n "(cached) " >&6
5549 if test -n "$DLLTOOL"; then
5550 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 DLLTOOL=$ac_cv_prog_DLLTOOL
5570 if test -n "$DLLTOOL"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5572 $as_echo "$DLLTOOL" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5580 if test -z "$ac_cv_prog_DLLTOOL"; then
5581 ac_ct_DLLTOOL=$DLLTOOL
5582 # Extract the first word of "dlltool", so it can be a program name with args.
5583 set dummy dlltool; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5587 $as_echo_n "(cached) " >&6
5589 if test -n "$ac_ct_DLLTOOL"; then
5590 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5610 if test -n "$ac_ct_DLLTOOL"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5612 $as_echo "$ac_ct_DLLTOOL" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5618 if test "x$ac_ct_DLLTOOL" = x; then
5621 case $cross_compiling:$ac_tool_warned in
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5625 ac_tool_warned=yes ;;
5627 DLLTOOL=$ac_ct_DLLTOOL
5630 DLLTOOL="$ac_cv_prog_DLLTOOL"
5633 test -z "$DLLTOOL" && DLLTOOL=dlltool
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5642 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5643 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5644 $as_echo_n "(cached) " >&6
5646 lt_cv_sharedlib_from_linklib_cmd='unknown'
5649 cygwin* | mingw* | pw32* | cegcc*)
5650 # two different shell functions defined in ltmain.sh
5651 # decide which to use based on capabilities of $DLLTOOL
5652 case `$DLLTOOL --help 2>&1` in
5653 *--identify-strict*)
5654 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5657 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5662 # fallback: assume linklib IS sharedlib
5663 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5669 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5670 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5671 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5680 if test -n "$ac_tool_prefix"; then
5683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_AR+:} false; then :
5688 $as_echo_n "(cached) " >&6
5690 if test -n "$AR"; then
5691 ac_cv_prog_AR="$AR" # Let the user override the test.
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 if test -n "$AR"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5713 $as_echo "$AR" >&6; }
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5720 test -n "$AR" && break
5723 if test -z "$AR"; then
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy $ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -n "$ac_ct_AR"; then
5735 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_ac_ct_AR="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5755 if test -n "$ac_ct_AR"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5757 $as_echo "$ac_ct_AR" >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$ac_ct_AR" && break
5767 if test "x$ac_ct_AR" = x; then
5770 case $cross_compiling:$ac_tool_warned in
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5774 ac_tool_warned=yes ;;
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5794 $as_echo_n "checking for archiver @FILE support... " >&6; }
5795 if ${lt_cv_ar_at_file+:} false; then :
5796 $as_echo_n "(cached) " >&6
5799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5800 /* end confdefs.h. */
5810 if ac_fn_c_try_compile "$LINENO"; then :
5811 echo conftest.$ac_objext > conftest.lst
5812 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5813 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5814 (eval $lt_ar_try) 2>&5
5816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5817 test $ac_status = 0; }
5818 if test "$ac_status" -eq 0; then
5819 # Ensure the archiver fails upon bogus file names.
5820 rm -f conftest.$ac_objext libconftest.a
5821 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5822 (eval $lt_ar_try) 2>&5
5824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5825 test $ac_status = 0; }
5826 if test "$ac_status" -ne 0; then
5830 rm -f conftest.* libconftest.a
5833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5837 $as_echo "$lt_cv_ar_at_file" >&6; }
5839 if test "x$lt_cv_ar_at_file" = xno; then
5842 archiver_list_spec=$lt_cv_ar_at_file
5851 if test -n "$ac_tool_prefix"; then
5852 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5853 set dummy ${ac_tool_prefix}strip; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if ${ac_cv_prog_STRIP+:} false; then :
5857 $as_echo_n "(cached) " >&6
5859 if test -n "$STRIP"; then
5860 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 STRIP=$ac_cv_prog_STRIP
5880 if test -n "$STRIP"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5882 $as_echo "$STRIP" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5890 if test -z "$ac_cv_prog_STRIP"; then
5892 # Extract the first word of "strip", so it can be a program name with args.
5893 set dummy strip; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5895 $as_echo_n "checking for $ac_word... " >&6; }
5896 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5897 $as_echo_n "(cached) " >&6
5899 if test -n "$ac_ct_STRIP"; then
5900 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_ac_ct_STRIP="strip"
5910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5920 if test -n "$ac_ct_STRIP"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5922 $as_echo "$ac_ct_STRIP" >&6; }
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5928 if test "x$ac_ct_STRIP" = x; then
5931 case $cross_compiling:$ac_tool_warned in
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5935 ac_tool_warned=yes ;;
5940 STRIP="$ac_cv_prog_STRIP"
5943 test -z "$STRIP" && STRIP=:
5950 if test -n "$ac_tool_prefix"; then
5951 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5952 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5954 $as_echo_n "checking for $ac_word... " >&6; }
5955 if ${ac_cv_prog_RANLIB+:} false; then :
5956 $as_echo_n "(cached) " >&6
5958 if test -n "$RANLIB"; then
5959 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 RANLIB=$ac_cv_prog_RANLIB
5979 if test -n "$RANLIB"; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5981 $as_echo "$RANLIB" >&6; }
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5989 if test -z "$ac_cv_prog_RANLIB"; then
5990 ac_ct_RANLIB=$RANLIB
5991 # Extract the first word of "ranlib", so it can be a program name with args.
5992 set dummy ranlib; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5996 $as_echo_n "(cached) " >&6
5998 if test -n "$ac_ct_RANLIB"; then
5999 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6008 ac_cv_prog_ac_ct_RANLIB="ranlib"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6019 if test -n "$ac_ct_RANLIB"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6021 $as_echo "$ac_ct_RANLIB" >&6; }
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6027 if test "x$ac_ct_RANLIB" = x; then
6030 case $cross_compiling:$ac_tool_warned in
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6034 ac_tool_warned=yes ;;
6036 RANLIB=$ac_ct_RANLIB
6039 RANLIB="$ac_cv_prog_RANLIB"
6042 test -z "$RANLIB" && RANLIB=:
6049 # Determine commands to create old-style static archives.
6050 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6051 old_postinstall_cmds='chmod 644 $oldlib'
6052 old_postuninstall_cmds=
6054 if test -n "$RANLIB"; then
6057 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6060 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6063 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6068 lock_old_archive_extraction=yes ;;
6070 lock_old_archive_extraction=no ;;
6111 # If no C compiler was specified, use CC.
6114 # If no C compiler flags were specified, use CFLAGS.
6115 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6117 # Allow CC to be a program name with arguments.
6121 # Check for command to grab the raw symbol name followed by C symbol from nm.
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6123 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6124 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6125 $as_echo_n "(cached) " >&6
6128 # These are sane defaults that work on at least a few old systems.
6129 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6131 # Character class describing NM global symbol codes.
6132 symcode='[BCDEGRST]'
6134 # Regexp to match symbols that can be accessed directly from C.
6135 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6137 # Define system-specific variables.
6142 cygwin* | mingw* | pw32* | cegcc*)
6143 symcode='[ABCDGISTW]'
6146 if test "$host_cpu" = ia64; then
6147 symcode='[ABCDEGRST]'
6151 symcode='[BCDEGRST]'
6154 symcode='[BCDEGQRST]'
6165 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6173 # If we're using GNU nm, then use its standard symbol codes.
6174 case `$NM -V 2>&1` in
6175 *GNU* | *'with BFD'*)
6176 symcode='[ABCDGIRSTW]' ;;
6179 # Transform an extracted symbol line into a proper C declaration.
6180 # Some systems (esp. on ia64) link data and code symbols differently,
6181 # so use this general approach.
6182 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6184 # Transform an extracted symbol line into symbol name and symbol address
6185 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6186 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'"
6188 # Handle CRLF in mingw tool chain
6192 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6196 # Try without a prefix underscore, then with it.
6197 for ac_symprfx in "" "_"; do
6199 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6200 symxfrm="\\1 $ac_symprfx\\2 \\2"
6202 # Write the raw and C identifiers.
6203 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6204 # Fake it for dumpbin and say T for any non-static function
6205 # and D for any global variable.
6206 # Also find C++ and __fastcall symbols from MSVC++,
6207 # which start with @ or ?.
6208 lt_cv_sys_global_symbol_pipe="$AWK '"\
6209 " {last_section=section; section=\$ 3};"\
6210 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6211 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6212 " \$ 0!~/External *\|/{next};"\
6213 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6214 " {if(hide[section]) next};"\
6215 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6216 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6217 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6218 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6219 " ' prfx=^$ac_symprfx"
6221 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6223 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6225 # Check to see that the pipe works correctly.
6229 cat > conftest.$ac_ext <<_LT_EOF
6234 void nm_test_func(void);
6235 void nm_test_func(void){}
6239 int main(){nm_test_var='a';nm_test_func();return(0);}
6242 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6243 (eval $ac_compile) 2>&5
6245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6246 test $ac_status = 0; }; then
6247 # Now try to grab the symbols.
6249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6250 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6253 test $ac_status = 0; } && test -s "$nlist"; then
6254 # Try sorting and uniquifying the output.
6255 if sort "$nlist" | uniq > "$nlist"T; then
6256 mv -f "$nlist"T "$nlist"
6261 # Make sure that we snagged all the symbols we need.
6262 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6263 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6264 cat <<_LT_EOF > conftest.$ac_ext
6265 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6266 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6267 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6268 relocations are performed -- see ld's documentation on pseudo-relocs. */
6269 # define LT_DLSYM_CONST
6270 #elif defined(__osf__)
6271 /* This system does not cope well with relocations in const data. */
6272 # define LT_DLSYM_CONST
6274 # define LT_DLSYM_CONST const
6282 # Now generate the symbol file.
6283 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6285 cat <<_LT_EOF >> conftest.$ac_ext
6287 /* The mapping between symbol names and symbols. */
6288 LT_DLSYM_CONST struct {
6292 lt__PROGRAM__LTX_preloaded_symbols[] =
6294 { "@PROGRAM@", (void *) 0 },
6296 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6297 cat <<\_LT_EOF >> conftest.$ac_ext
6301 /* This works around a problem in FreeBSD linker */
6302 #ifdef FREEBSD_WORKAROUND
6303 static const void *lt_preloaded_setup() {
6304 return lt__PROGRAM__LTX_preloaded_symbols;
6312 # Now try linking the two files.
6313 mv conftest.$ac_objext conftstm.$ac_objext
6314 lt_globsym_save_LIBS=$LIBS
6315 lt_globsym_save_CFLAGS=$CFLAGS
6316 LIBS="conftstm.$ac_objext"
6317 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6319 (eval $ac_link) 2>&5
6321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6322 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6325 LIBS=$lt_globsym_save_LIBS
6326 CFLAGS=$lt_globsym_save_CFLAGS
6328 echo "cannot find nm_test_func in $nlist" >&5
6331 echo "cannot find nm_test_var in $nlist" >&5
6334 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6337 echo "$progname: failed program was:" >&5
6338 cat conftest.$ac_ext >&5
6340 rm -rf conftest* conftst*
6342 # Do not use the global_symbol_pipe unless it works.
6343 if test "$pipe_works" = yes; then
6346 lt_cv_sys_global_symbol_pipe=
6352 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6353 lt_cv_sys_global_symbol_to_cdecl=
6355 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6357 $as_echo "failed" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6360 $as_echo "ok" >&6; }
6363 # Response file support.
6364 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6365 nm_file_list_spec='@'
6366 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6367 nm_file_list_spec='@'
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6397 $as_echo_n "checking for sysroot... " >&6; }
6399 # Check whether --with-sysroot was given.
6400 if test "${with_sysroot+set}" = set; then :
6401 withval=$with_sysroot;
6408 case ${with_sysroot} in #(
6410 if test "$GCC" = yes; then
6411 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6415 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6421 $as_echo "${with_sysroot}" >&6; }
6422 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6427 $as_echo "${lt_sysroot:-no}" >&6; }
6433 # Check whether --enable-libtool-lock was given.
6434 if test "${enable_libtool_lock+set}" = set; then :
6435 enableval=$enable_libtool_lock;
6438 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6440 # Some flags need to be propagated to the compiler or linker for good
6444 # Find out which ABI we are using.
6445 echo 'int i;' > conftest.$ac_ext
6446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6447 (eval $ac_compile) 2>&5
6449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6450 test $ac_status = 0; }; then
6451 case `/usr/bin/file conftest.$ac_objext` in
6463 # Find out which ABI we are using.
6464 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6466 (eval $ac_compile) 2>&5
6468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6469 test $ac_status = 0; }; then
6470 if test "$lt_cv_prog_gnu_ld" = yes; then
6471 case `/usr/bin/file conftest.$ac_objext` in
6473 LD="${LD-ld} -melf32bsmip"
6476 LD="${LD-ld} -melf32bmipn32"
6479 LD="${LD-ld} -melf64bmip"
6483 case `/usr/bin/file conftest.$ac_objext` in
6499 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6500 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6501 # Find out which ABI we are using.
6502 echo 'int i;' > conftest.$ac_ext
6503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6504 (eval $ac_compile) 2>&5
6506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6507 test $ac_status = 0; }; then
6508 case `/usr/bin/file conftest.o` in
6511 x86_64-*kfreebsd*-gnu)
6512 LD="${LD-ld} -m elf_i386_fbsd"
6515 case `/usr/bin/file conftest.o` in
6517 LD="${LD-ld} -m elf32_x86_64"
6520 LD="${LD-ld} -m elf_i386"
6525 LD="${LD-ld} -m elf32lppclinux"
6528 LD="${LD-ld} -m elf32ppclinux"
6531 LD="${LD-ld} -m elf_s390"
6534 LD="${LD-ld} -m elf32_sparc"
6540 x86_64-*kfreebsd*-gnu)
6541 LD="${LD-ld} -m elf_x86_64_fbsd"
6544 LD="${LD-ld} -m elf_x86_64"
6547 LD="${LD-ld} -m elf64lppc"
6550 LD="${LD-ld} -m elf64ppc"
6552 s390*-*linux*|s390*-*tpf*)
6553 LD="${LD-ld} -m elf64_s390"
6556 LD="${LD-ld} -m elf64_sparc"
6566 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6567 SAVE_CFLAGS="$CFLAGS"
6568 CFLAGS="$CFLAGS -belf"
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6570 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6571 if ${lt_cv_cc_needs_belf+:} false; then :
6572 $as_echo_n "(cached) " >&6
6575 ac_cpp='$CPP $CPPFLAGS'
6576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6581 /* end confdefs.h. */
6591 if ac_fn_c_try_link "$LINENO"; then :
6592 lt_cv_cc_needs_belf=yes
6594 lt_cv_cc_needs_belf=no
6596 rm -f core conftest.err conftest.$ac_objext \
6597 conftest$ac_exeext conftest.$ac_ext
6599 ac_cpp='$CPP $CPPFLAGS'
6600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6606 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6607 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6608 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6609 CFLAGS="$SAVE_CFLAGS"
6613 # Find out which ABI we are using.
6614 echo 'int i;' > conftest.$ac_ext
6615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6616 (eval $ac_compile) 2>&5
6618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6619 test $ac_status = 0; }; then
6620 case `/usr/bin/file conftest.o` in
6622 case $lt_cv_prog_gnu_ld in
6626 LD="${LD-ld} -m elf_x86_64"
6629 LD="${LD-ld} -m elf64_sparc"
6632 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6633 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6638 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6650 need_locks="$enable_libtool_lock"
6652 if test -n "$ac_tool_prefix"; then
6653 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6654 set dummy ${ac_tool_prefix}mt; ac_word=$2
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656 $as_echo_n "checking for $ac_word... " >&6; }
6657 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6658 $as_echo_n "(cached) " >&6
6660 if test -n "$MANIFEST_TOOL"; then
6661 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 test -z "$as_dir" && as_dir=.
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6681 if test -n "$MANIFEST_TOOL"; then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6683 $as_echo "$MANIFEST_TOOL" >&6; }
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 $as_echo "no" >&6; }
6691 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6692 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6693 # Extract the first word of "mt", so it can be a program name with args.
6694 set dummy mt; ac_word=$2
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6696 $as_echo_n "checking for $ac_word... " >&6; }
6697 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6698 $as_echo_n "(cached) " >&6
6700 if test -n "$ac_ct_MANIFEST_TOOL"; then
6701 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 test -z "$as_dir" && as_dir=.
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6710 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6720 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6721 if test -n "$ac_ct_MANIFEST_TOOL"; then
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6723 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 $as_echo "no" >&6; }
6729 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6732 case $cross_compiling:$ac_tool_warned in
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6736 ac_tool_warned=yes ;;
6738 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6741 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6744 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6746 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6747 if ${lt_cv_path_mainfest_tool+:} false; then :
6748 $as_echo_n "(cached) " >&6
6750 lt_cv_path_mainfest_tool=no
6751 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6752 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6753 cat conftest.err >&5
6754 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6755 lt_cv_path_mainfest_tool=yes
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6760 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6761 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6771 rhapsody* | darwin*)
6772 if test -n "$ac_tool_prefix"; then
6773 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6774 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6776 $as_echo_n "checking for $ac_word... " >&6; }
6777 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6778 $as_echo_n "(cached) " >&6
6780 if test -n "$DSYMUTIL"; then
6781 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787 test -z "$as_dir" && as_dir=.
6788 for ac_exec_ext in '' $ac_executable_extensions; do
6789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6790 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6801 if test -n "$DSYMUTIL"; then
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6803 $as_echo "$DSYMUTIL" >&6; }
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6806 $as_echo "no" >&6; }
6811 if test -z "$ac_cv_prog_DSYMUTIL"; then
6812 ac_ct_DSYMUTIL=$DSYMUTIL
6813 # Extract the first word of "dsymutil", so it can be a program name with args.
6814 set dummy dsymutil; ac_word=$2
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6816 $as_echo_n "checking for $ac_word... " >&6; }
6817 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6818 $as_echo_n "(cached) " >&6
6820 if test -n "$ac_ct_DSYMUTIL"; then
6821 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir=.
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6830 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6841 if test -n "$ac_ct_DSYMUTIL"; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6843 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846 $as_echo "no" >&6; }
6849 if test "x$ac_ct_DSYMUTIL" = x; then
6852 case $cross_compiling:$ac_tool_warned in
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6856 ac_tool_warned=yes ;;
6858 DSYMUTIL=$ac_ct_DSYMUTIL
6861 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6864 if test -n "$ac_tool_prefix"; then
6865 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6866 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6868 $as_echo_n "checking for $ac_word... " >&6; }
6869 if ${ac_cv_prog_NMEDIT+:} false; then :
6870 $as_echo_n "(cached) " >&6
6872 if test -n "$NMEDIT"; then
6873 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 test -z "$as_dir" && as_dir=.
6880 for ac_exec_ext in '' $ac_executable_extensions; do
6881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6882 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6892 NMEDIT=$ac_cv_prog_NMEDIT
6893 if test -n "$NMEDIT"; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6895 $as_echo "$NMEDIT" >&6; }
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 $as_echo "no" >&6; }
6903 if test -z "$ac_cv_prog_NMEDIT"; then
6904 ac_ct_NMEDIT=$NMEDIT
6905 # Extract the first word of "nmedit", so it can be a program name with args.
6906 set dummy nmedit; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 $as_echo_n "checking for $ac_word... " >&6; }
6909 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6910 $as_echo_n "(cached) " >&6
6912 if test -n "$ac_ct_NMEDIT"; then
6913 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6922 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6932 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6933 if test -n "$ac_ct_NMEDIT"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6935 $as_echo "$ac_ct_NMEDIT" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 $as_echo "no" >&6; }
6941 if test "x$ac_ct_NMEDIT" = x; then
6944 case $cross_compiling:$ac_tool_warned in
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6948 ac_tool_warned=yes ;;
6950 NMEDIT=$ac_ct_NMEDIT
6953 NMEDIT="$ac_cv_prog_NMEDIT"
6956 if test -n "$ac_tool_prefix"; then
6957 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6958 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960 $as_echo_n "checking for $ac_word... " >&6; }
6961 if ${ac_cv_prog_LIPO+:} false; then :
6962 $as_echo_n "(cached) " >&6
6964 if test -n "$LIPO"; then
6965 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 test -z "$as_dir" && as_dir=.
6972 for ac_exec_ext in '' $ac_executable_extensions; do
6973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6974 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6984 LIPO=$ac_cv_prog_LIPO
6985 if test -n "$LIPO"; then
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6987 $as_echo "$LIPO" >&6; }
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6990 $as_echo "no" >&6; }
6995 if test -z "$ac_cv_prog_LIPO"; then
6997 # Extract the first word of "lipo", so it can be a program name with args.
6998 set dummy lipo; ac_word=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000 $as_echo_n "checking for $ac_word... " >&6; }
7001 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7002 $as_echo_n "(cached) " >&6
7004 if test -n "$ac_ct_LIPO"; then
7005 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011 test -z "$as_dir" && as_dir=.
7012 for ac_exec_ext in '' $ac_executable_extensions; do
7013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7014 ac_cv_prog_ac_ct_LIPO="lipo"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7024 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7025 if test -n "$ac_ct_LIPO"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7027 $as_echo "$ac_ct_LIPO" >&6; }
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030 $as_echo "no" >&6; }
7033 if test "x$ac_ct_LIPO" = x; then
7036 case $cross_compiling:$ac_tool_warned in
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7040 ac_tool_warned=yes ;;
7045 LIPO="$ac_cv_prog_LIPO"
7048 if test -n "$ac_tool_prefix"; then
7049 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7050 set dummy ${ac_tool_prefix}otool; ac_word=$2
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7052 $as_echo_n "checking for $ac_word... " >&6; }
7053 if ${ac_cv_prog_OTOOL+:} false; then :
7054 $as_echo_n "(cached) " >&6
7056 if test -n "$OTOOL"; then
7057 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 test -z "$as_dir" && as_dir=.
7064 for ac_exec_ext in '' $ac_executable_extensions; do
7065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7066 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 OTOOL=$ac_cv_prog_OTOOL
7077 if test -n "$OTOOL"; then
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7079 $as_echo "$OTOOL" >&6; }
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 $as_echo "no" >&6; }
7087 if test -z "$ac_cv_prog_OTOOL"; then
7089 # Extract the first word of "otool", so it can be a program name with args.
7090 set dummy otool; ac_word=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7094 $as_echo_n "(cached) " >&6
7096 if test -n "$ac_ct_OTOOL"; then
7097 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir=.
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7106 ac_cv_prog_ac_ct_OTOOL="otool"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7117 if test -n "$ac_ct_OTOOL"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7119 $as_echo "$ac_ct_OTOOL" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 $as_echo "no" >&6; }
7125 if test "x$ac_ct_OTOOL" = x; then
7128 case $cross_compiling:$ac_tool_warned in
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7132 ac_tool_warned=yes ;;
7137 OTOOL="$ac_cv_prog_OTOOL"
7140 if test -n "$ac_tool_prefix"; then
7141 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7142 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_OTOOL64+:} false; then :
7146 $as_echo_n "(cached) " >&6
7148 if test -n "$OTOOL64"; then
7149 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 test -z "$as_dir" && as_dir=.
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7168 OTOOL64=$ac_cv_prog_OTOOL64
7169 if test -n "$OTOOL64"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7171 $as_echo "$OTOOL64" >&6; }
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7179 if test -z "$ac_cv_prog_OTOOL64"; then
7180 ac_ct_OTOOL64=$OTOOL64
7181 # Extract the first word of "otool64", so it can be a program name with args.
7182 set dummy otool64; ac_word=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 $as_echo_n "checking for $ac_word... " >&6; }
7185 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7186 $as_echo_n "(cached) " >&6
7188 if test -n "$ac_ct_OTOOL64"; then
7189 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 test -z "$as_dir" && as_dir=.
7196 for ac_exec_ext in '' $ac_executable_extensions; do
7197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7198 ac_cv_prog_ac_ct_OTOOL64="otool64"
7199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7208 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7209 if test -n "$ac_ct_OTOOL64"; then
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7211 $as_echo "$ac_ct_OTOOL64" >&6; }
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7214 $as_echo "no" >&6; }
7217 if test "x$ac_ct_OTOOL64" = x; then
7220 case $cross_compiling:$ac_tool_warned in
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7224 ac_tool_warned=yes ;;
7226 OTOOL64=$ac_ct_OTOOL64
7229 OTOOL64="$ac_cv_prog_OTOOL64"
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7259 $as_echo_n "checking for -single_module linker flag... " >&6; }
7260 if ${lt_cv_apple_cc_single_mod+:} false; then :
7261 $as_echo_n "(cached) " >&6
7263 lt_cv_apple_cc_single_mod=no
7264 if test -z "${LT_MULTI_MODULE}"; then
7265 # By default we will add the -single_module flag. You can override
7266 # by either setting the environment variable LT_MULTI_MODULE
7267 # non-empty at configure time, or by adding -multi_module to the
7269 rm -rf libconftest.dylib*
7270 echo "int foo(void){return 1;}" > conftest.c
7271 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7272 -dynamiclib -Wl,-single_module conftest.c" >&5
7273 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7274 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7276 # If there is a non-empty error log, and "single_module"
7277 # appears in it, assume the flag caused a linker warning
7278 if test -s conftest.err && $GREP single_module conftest.err; then
7279 cat conftest.err >&5
7280 # Otherwise, if the output was created with a 0 exit code from
7281 # the compiler, it worked.
7282 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7283 lt_cv_apple_cc_single_mod=yes
7285 cat conftest.err >&5
7287 rm -rf libconftest.dylib*
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7292 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7295 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7296 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7297 $as_echo_n "(cached) " >&6
7299 lt_cv_ld_exported_symbols_list=no
7300 save_LDFLAGS=$LDFLAGS
7301 echo "_main" > conftest.sym
7302 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7304 /* end confdefs.h. */
7314 if ac_fn_c_try_link "$LINENO"; then :
7315 lt_cv_ld_exported_symbols_list=yes
7317 lt_cv_ld_exported_symbols_list=no
7319 rm -f core conftest.err conftest.$ac_objext \
7320 conftest$ac_exeext conftest.$ac_ext
7321 LDFLAGS="$save_LDFLAGS"
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7325 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7328 $as_echo_n "checking for -force_load linker flag... " >&6; }
7329 if ${lt_cv_ld_force_load+:} false; then :
7330 $as_echo_n "(cached) " >&6
7332 lt_cv_ld_force_load=no
7333 cat > conftest.c << _LT_EOF
7334 int forced_loaded() { return 2;}
7336 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7337 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7338 echo "$AR cru libconftest.a conftest.o" >&5
7339 $AR cru libconftest.a conftest.o 2>&5
7340 echo "$RANLIB libconftest.a" >&5
7341 $RANLIB libconftest.a 2>&5
7342 cat > conftest.c << _LT_EOF
7343 int main() { return 0;}
7345 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7346 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7348 if test -s conftest.err && $GREP force_load conftest.err; then
7349 cat conftest.err >&5
7350 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7351 lt_cv_ld_force_load=yes
7353 cat conftest.err >&5
7355 rm -f conftest.err libconftest.a conftest conftest.c
7356 rm -rf conftest.dSYM
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7360 $as_echo "$lt_cv_ld_force_load" >&6; }
7362 rhapsody* | darwin1.[012])
7363 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7365 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7366 darwin*) # darwin 5.x on
7367 # if running on 10.5 or later, the deployment target defaults
7368 # to the OS version, if on x86, and 10.4, the deployment
7369 # target defaults to 10.4. Don't you love it?
7370 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7371 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7372 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7374 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7376 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7380 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7381 _lt_dar_single_mod='$single_module'
7383 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7384 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7386 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7388 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7389 _lt_dsymutil='~$DSYMUTIL $lib || :'
7397 ac_cpp='$CPP $CPPFLAGS'
7398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7402 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7403 # On Suns, sometimes $CPP names a directory.
7404 if test -n "$CPP" && test -d "$CPP"; then
7407 if test -z "$CPP"; then
7408 if ${ac_cv_prog_CPP+:} false; then :
7409 $as_echo_n "(cached) " >&6
7411 # Double quotes because CPP needs to be expanded
7412 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7415 for ac_c_preproc_warn_flag in '' yes
7417 # Use a header file that comes with gcc, so configuring glibc
7418 # with a fresh cross-compiler works.
7419 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7420 # <limits.h> exists even on freestanding compilers.
7421 # On the NeXT, cc -E runs the code through the compiler's parser,
7422 # not just through cpp. "Syntax error" is here to catch this case.
7423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7424 /* end confdefs.h. */
7426 # include <limits.h>
7428 # include <assert.h>
7432 if ac_fn_c_try_cpp "$LINENO"; then :
7435 # Broken: fails on valid input.
7438 rm -f conftest.err conftest.i conftest.$ac_ext
7440 # OK, works on sane cases. Now check whether nonexistent headers
7441 # can be detected and how.
7442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7443 /* end confdefs.h. */
7444 #include <ac_nonexistent.h>
7446 if ac_fn_c_try_cpp "$LINENO"; then :
7447 # Broken: success on invalid input.
7450 # Passes both tests.
7454 rm -f conftest.err conftest.i conftest.$ac_ext
7457 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7458 rm -f conftest.i conftest.err conftest.$ac_ext
7459 if $ac_preproc_ok; then :
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7472 $as_echo "$CPP" >&6; }
7474 for ac_c_preproc_warn_flag in '' yes
7476 # Use a header file that comes with gcc, so configuring glibc
7477 # with a fresh cross-compiler works.
7478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7479 # <limits.h> exists even on freestanding compilers.
7480 # On the NeXT, cc -E runs the code through the compiler's parser,
7481 # not just through cpp. "Syntax error" is here to catch this case.
7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h. */
7485 # include <limits.h>
7487 # include <assert.h>
7491 if ac_fn_c_try_cpp "$LINENO"; then :
7494 # Broken: fails on valid input.
7497 rm -f conftest.err conftest.i conftest.$ac_ext
7499 # OK, works on sane cases. Now check whether nonexistent headers
7500 # can be detected and how.
7501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h. */
7503 #include <ac_nonexistent.h>
7505 if ac_fn_c_try_cpp "$LINENO"; then :
7506 # Broken: success on invalid input.
7509 # Passes both tests.
7513 rm -f conftest.err conftest.i conftest.$ac_ext
7516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7517 rm -f conftest.i conftest.err conftest.$ac_ext
7518 if $ac_preproc_ok; then :
7521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7523 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7524 See \`config.log' for more details" "$LINENO" 5; }
7528 ac_cpp='$CPP $CPPFLAGS'
7529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7535 $as_echo_n "checking for ANSI C header files... " >&6; }
7536 if ${ac_cv_header_stdc+:} false; then :
7537 $as_echo_n "(cached) " >&6
7539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7540 /* end confdefs.h. */
7554 if ac_fn_c_try_compile "$LINENO"; then :
7555 ac_cv_header_stdc=yes
7557 ac_cv_header_stdc=no
7559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7561 if test $ac_cv_header_stdc = yes; then
7562 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7564 /* end confdefs.h. */
7568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7569 $EGREP "memchr" >/dev/null 2>&1; then :
7572 ac_cv_header_stdc=no
7578 if test $ac_cv_header_stdc = yes; then
7579 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7586 $EGREP "free" >/dev/null 2>&1; then :
7589 ac_cv_header_stdc=no
7595 if test $ac_cv_header_stdc = yes; then
7596 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7597 if test "$cross_compiling" = yes; then :
7600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h. */
7604 #if ((' ' & 0x0FF) == 0x020)
7605 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7606 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7608 # define ISLOWER(c) \
7609 (('a' <= (c) && (c) <= 'i') \
7610 || ('j' <= (c) && (c) <= 'r') \
7611 || ('s' <= (c) && (c) <= 'z'))
7612 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7615 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7620 for (i = 0; i < 256; i++)
7621 if (XOR (islower (i), ISLOWER (i))
7622 || toupper (i) != TOUPPER (i))
7627 if ac_fn_c_try_run "$LINENO"; then :
7630 ac_cv_header_stdc=no
7632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7633 conftest.$ac_objext conftest.beam conftest.$ac_ext
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7639 $as_echo "$ac_cv_header_stdc" >&6; }
7640 if test $ac_cv_header_stdc = yes; then
7642 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7646 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7647 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7648 inttypes.h stdint.h unistd.h
7650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7651 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7653 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7654 cat >>confdefs.h <<_ACEOF
7655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7663 for ac_header in dlfcn.h
7665 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7667 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7668 cat >>confdefs.h <<_ACEOF
7669 #define HAVE_DLFCN_H 1
7681 enable_win32_dll=yes
7684 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7685 if test -n "$ac_tool_prefix"; then
7686 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7687 set dummy ${ac_tool_prefix}as; ac_word=$2
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689 $as_echo_n "checking for $ac_word... " >&6; }
7690 if ${ac_cv_prog_AS+:} false; then :
7691 $as_echo_n "(cached) " >&6
7693 if test -n "$AS"; then
7694 ac_cv_prog_AS="$AS" # Let the user override the test.
7696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700 test -z "$as_dir" && as_dir=.
7701 for ac_exec_ext in '' $ac_executable_extensions; do
7702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7703 ac_cv_prog_AS="${ac_tool_prefix}as"
7704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7714 if test -n "$AS"; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7716 $as_echo "$AS" >&6; }
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719 $as_echo "no" >&6; }
7724 if test -z "$ac_cv_prog_AS"; then
7726 # Extract the first word of "as", so it can be a program name with args.
7727 set dummy as; ac_word=$2
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7729 $as_echo_n "checking for $ac_word... " >&6; }
7730 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7731 $as_echo_n "(cached) " >&6
7733 if test -n "$ac_ct_AS"; then
7734 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7740 test -z "$as_dir" && as_dir=.
7741 for ac_exec_ext in '' $ac_executable_extensions; do
7742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7743 ac_cv_prog_ac_ct_AS="as"
7744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7753 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7754 if test -n "$ac_ct_AS"; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7756 $as_echo "$ac_ct_AS" >&6; }
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7759 $as_echo "no" >&6; }
7762 if test "x$ac_ct_AS" = x; then
7765 case $cross_compiling:$ac_tool_warned in
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7769 ac_tool_warned=yes ;;
7777 if test -n "$ac_tool_prefix"; then
7778 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7779 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7781 $as_echo_n "checking for $ac_word... " >&6; }
7782 if ${ac_cv_prog_DLLTOOL+:} false; then :
7783 $as_echo_n "(cached) " >&6
7785 if test -n "$DLLTOOL"; then
7786 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7792 test -z "$as_dir" && as_dir=.
7793 for ac_exec_ext in '' $ac_executable_extensions; do
7794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7795 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7805 DLLTOOL=$ac_cv_prog_DLLTOOL
7806 if test -n "$DLLTOOL"; then
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7808 $as_echo "$DLLTOOL" >&6; }
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811 $as_echo "no" >&6; }
7816 if test -z "$ac_cv_prog_DLLTOOL"; then
7817 ac_ct_DLLTOOL=$DLLTOOL
7818 # Extract the first word of "dlltool", so it can be a program name with args.
7819 set dummy dlltool; ac_word=$2
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821 $as_echo_n "checking for $ac_word... " >&6; }
7822 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7823 $as_echo_n "(cached) " >&6
7825 if test -n "$ac_ct_DLLTOOL"; then
7826 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7832 test -z "$as_dir" && as_dir=.
7833 for ac_exec_ext in '' $ac_executable_extensions; do
7834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7845 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7846 if test -n "$ac_ct_DLLTOOL"; then
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7848 $as_echo "$ac_ct_DLLTOOL" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7854 if test "x$ac_ct_DLLTOOL" = x; then
7857 case $cross_compiling:$ac_tool_warned in
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7861 ac_tool_warned=yes ;;
7863 DLLTOOL=$ac_ct_DLLTOOL
7866 DLLTOOL="$ac_cv_prog_DLLTOOL"
7869 if test -n "$ac_tool_prefix"; then
7870 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7871 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7873 $as_echo_n "checking for $ac_word... " >&6; }
7874 if ${ac_cv_prog_OBJDUMP+:} false; then :
7875 $as_echo_n "(cached) " >&6
7877 if test -n "$OBJDUMP"; then
7878 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7884 test -z "$as_dir" && as_dir=.
7885 for ac_exec_ext in '' $ac_executable_extensions; do
7886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7887 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897 OBJDUMP=$ac_cv_prog_OBJDUMP
7898 if test -n "$OBJDUMP"; then
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7900 $as_echo "$OBJDUMP" >&6; }
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903 $as_echo "no" >&6; }
7908 if test -z "$ac_cv_prog_OBJDUMP"; then
7909 ac_ct_OBJDUMP=$OBJDUMP
7910 # Extract the first word of "objdump", so it can be a program name with args.
7911 set dummy objdump; ac_word=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913 $as_echo_n "checking for $ac_word... " >&6; }
7914 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7915 $as_echo_n "(cached) " >&6
7917 if test -n "$ac_ct_OBJDUMP"; then
7918 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 test -z "$as_dir" && as_dir=.
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7938 if test -n "$ac_ct_OBJDUMP"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7940 $as_echo "$ac_ct_OBJDUMP" >&6; }
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 $as_echo "no" >&6; }
7946 if test "x$ac_ct_OBJDUMP" = x; then
7949 case $cross_compiling:$ac_tool_warned in
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7953 ac_tool_warned=yes ;;
7955 OBJDUMP=$ac_ct_OBJDUMP
7958 OBJDUMP="$ac_cv_prog_OBJDUMP"
7964 test -z "$AS" && AS=as
7970 test -z "$DLLTOOL" && DLLTOOL=dlltool
7976 test -z "$OBJDUMP" && OBJDUMP=objdump
7988 # Check whether --enable-shared was given.
7989 if test "${enable_shared+set}" = set; then :
7990 enableval=$enable_shared; p=${PACKAGE-default}
7992 yes) enable_shared=yes ;;
7993 no) enable_shared=no ;;
7996 # Look at the argument we got. We use all the common list separators.
7997 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7998 for pkg in $enableval; do
8000 if test "X$pkg" = "X$p"; then
8019 # Check whether --enable-static was given.
8020 if test "${enable_static+set}" = set; then :
8021 enableval=$enable_static; p=${PACKAGE-default}
8023 yes) enable_static=yes ;;
8024 no) enable_static=no ;;
8027 # Look at the argument we got. We use all the common list separators.
8028 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8029 for pkg in $enableval; do
8031 if test "X$pkg" = "X$p"; then
8051 # Check whether --with-pic was given.
8052 if test "${with_pic+set}" = set; then :
8053 withval=$with_pic; lt_p=${PACKAGE-default}
8055 yes|no) pic_mode=$withval ;;
8058 # Look at the argument we got. We use all the common list separators.
8059 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8060 for lt_pkg in $withval; do
8062 if test "X$lt_pkg" = "X$lt_p"; then
8074 test -z "$pic_mode" && pic_mode=default
8082 # Check whether --enable-fast-install was given.
8083 if test "${enable_fast_install+set}" = set; then :
8084 enableval=$enable_fast_install; p=${PACKAGE-default}
8086 yes) enable_fast_install=yes ;;
8087 no) enable_fast_install=no ;;
8089 enable_fast_install=no
8090 # Look at the argument we got. We use all the common list separators.
8091 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8092 for pkg in $enableval; do
8094 if test "X$pkg" = "X$p"; then
8095 enable_fast_install=yes
8102 enable_fast_install=yes
8115 # This can be used to rebuild libtool when needed
8116 LIBTOOL_DEPS="$ltmain"
8118 # Always use our own libtool.
8119 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8150 test -z "$LN_S" && LN_S="ln -s"
8165 if test -n "${ZSH_VERSION+set}" ; then
8166 setopt NO_GLOB_SUBST
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8170 $as_echo_n "checking for objdir... " >&6; }
8171 if ${lt_cv_objdir+:} false; then :
8172 $as_echo_n "(cached) " >&6
8174 rm -f .libs 2>/dev/null
8175 mkdir .libs 2>/dev/null
8176 if test -d .libs; then
8179 # MS-DOS does not allow filenames that begin with a dot.
8182 rmdir .libs 2>/dev/null
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8185 $as_echo "$lt_cv_objdir" >&6; }
8186 objdir=$lt_cv_objdir
8192 cat >>confdefs.h <<_ACEOF
8193 #define LT_OBJDIR "$lt_cv_objdir/"
8201 # AIX sometimes has problems with the GCC collect2 program. For some
8202 # reason, if we set the COLLECT_NAMES environment variable, the problems
8203 # vanish in a puff of smoke.
8204 if test "X${COLLECT_NAMES+set}" != Xset; then
8206 export COLLECT_NAMES
8213 can_build_shared=yes
8215 # All known linkers require a `.a' archive for static linking (except MSVC,
8216 # which needs '.lib').
8219 with_gnu_ld="$lt_cv_prog_gnu_ld"
8222 old_CFLAGS="$CFLAGS"
8224 # Set sane defaults for various variables
8225 test -z "$CC" && CC=cc
8226 test -z "$LTCC" && LTCC=$CC
8227 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8228 test -z "$LD" && LD=ld
8229 test -z "$ac_objext" && ac_objext=o
8231 for cc_temp in $compiler""; do
8233 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8234 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8239 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8242 # Only perform the check for file, if the check method requires it
8243 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8244 case $deplibs_check_method in
8246 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8248 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8249 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8250 $as_echo_n "(cached) " >&6
8254 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8257 lt_save_MAGIC_CMD="$MAGIC_CMD"
8258 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8259 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8260 for ac_dir in $ac_dummy; do
8262 test -z "$ac_dir" && ac_dir=.
8263 if test -f $ac_dir/${ac_tool_prefix}file; then
8264 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8265 if test -n "$file_magic_test_file"; then
8266 case $deplibs_check_method in
8268 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8269 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8270 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8271 $EGREP "$file_magic_regex" > /dev/null; then
8276 *** Warning: the command libtool uses to detect shared libraries,
8277 *** $file_magic_cmd, produces output that libtool cannot recognize.
8278 *** The result is that libtool may fail to recognize shared libraries
8279 *** as such. This will affect the creation of libtool libraries that
8280 *** depend on shared libraries, but programs linked with such libtool
8281 *** libraries will work regardless of this problem. Nevertheless, you
8282 *** may want to report the problem to your system manager and/or to
8283 *** bug-libtool@gnu.org
8293 MAGIC_CMD="$lt_save_MAGIC_CMD"
8298 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8299 if test -n "$MAGIC_CMD"; then
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8301 $as_echo "$MAGIC_CMD" >&6; }
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8304 $as_echo "no" >&6; }
8311 if test -z "$lt_cv_path_MAGIC_CMD"; then
8312 if test -n "$ac_tool_prefix"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8314 $as_echo_n "checking for file... " >&6; }
8315 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8316 $as_echo_n "(cached) " >&6
8320 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8323 lt_save_MAGIC_CMD="$MAGIC_CMD"
8324 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8325 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8326 for ac_dir in $ac_dummy; do
8328 test -z "$ac_dir" && ac_dir=.
8329 if test -f $ac_dir/file; then
8330 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8331 if test -n "$file_magic_test_file"; then
8332 case $deplibs_check_method in
8334 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8335 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8336 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8337 $EGREP "$file_magic_regex" > /dev/null; then
8342 *** Warning: the command libtool uses to detect shared libraries,
8343 *** $file_magic_cmd, produces output that libtool cannot recognize.
8344 *** The result is that libtool may fail to recognize shared libraries
8345 *** as such. This will affect the creation of libtool libraries that
8346 *** depend on shared libraries, but programs linked with such libtool
8347 *** libraries will work regardless of this problem. Nevertheless, you
8348 *** may want to report the problem to your system manager and/or to
8349 *** bug-libtool@gnu.org
8359 MAGIC_CMD="$lt_save_MAGIC_CMD"
8364 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8365 if test -n "$MAGIC_CMD"; then
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8367 $as_echo "$MAGIC_CMD" >&6; }
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8370 $as_echo "no" >&6; }
8383 # Use C for the default configuration in the libtool script
8387 ac_cpp='$CPP $CPPFLAGS'
8388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8393 # Source file extension for C test sources.
8396 # Object file extension for compiled C test sources.
8400 # Code to be used in simple compile tests
8401 lt_simple_compile_test_code="int some_variable = 0;"
8403 # Code to be used in simple link tests
8404 lt_simple_link_test_code='int main(){return(0);}'
8412 # If no C compiler was specified, use CC.
8415 # If no C compiler flags were specified, use CFLAGS.
8416 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8418 # Allow CC to be a program name with arguments.
8421 # Save the default compiler, since it gets overwritten when the other
8422 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8423 compiler_DEFAULT=$CC
8425 # save warnings/boilerplate of simple test code
8426 ac_outfile=conftest.$ac_objext
8427 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8428 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8429 _lt_compiler_boilerplate=`cat conftest.err`
8432 ac_outfile=conftest.$ac_objext
8433 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8434 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8435 _lt_linker_boilerplate=`cat conftest.err`
8440 ## There is no encapsulation within the following macros, do not change
8441 ## the running order or otherwise move them around unless you know exactly
8442 ## what you are doing...
8443 if test -n "$compiler"; then
8445 lt_prog_compiler_no_builtin_flag=
8447 if test "$GCC" = yes; then
8448 case $cc_basename in
8450 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8452 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8456 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8457 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8458 $as_echo_n "(cached) " >&6
8460 lt_cv_prog_compiler_rtti_exceptions=no
8461 ac_outfile=conftest.$ac_objext
8462 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8463 lt_compiler_flag="-fno-rtti -fno-exceptions"
8464 # Insert the option either (1) after the last *FLAGS variable, or
8465 # (2) before a word containing "conftest.", or (3) at the end.
8466 # Note that $ac_compile itself does not contain backslashes and begins
8467 # with a dollar sign (not a hyphen), so the echo should work correctly.
8468 # The option is referenced via a variable to avoid confusing sed.
8469 lt_compile=`echo "$ac_compile" | $SED \
8470 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8471 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8472 -e 's:$: $lt_compiler_flag:'`
8473 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8474 (eval "$lt_compile" 2>conftest.err)
8476 cat conftest.err >&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 if (exit $ac_status) && test -s "$ac_outfile"; then
8479 # The compiler can only warn and ignore the option if not recognized
8480 # So say no if there are warnings other than the usual output.
8481 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8482 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8483 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8484 lt_cv_prog_compiler_rtti_exceptions=yes
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8491 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8493 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8494 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8506 lt_prog_compiler_wl=
8507 lt_prog_compiler_pic=
8508 lt_prog_compiler_static=
8511 if test "$GCC" = yes; then
8512 lt_prog_compiler_wl='-Wl,'
8513 lt_prog_compiler_static='-static'
8517 # All AIX code is PIC.
8518 if test "$host_cpu" = ia64; then
8519 # AIX 5 now supports IA64 processor
8520 lt_prog_compiler_static='-Bstatic'
8527 # see comment about AmigaOS4 .so support
8528 lt_prog_compiler_pic='-fPIC'
8531 # FIXME: we need at least 68020 code to build shared libraries, but
8532 # adding the `-m68020' flag to GCC prevents building anything better,
8534 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8539 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8540 # PIC is the default for these OSes.
8543 mingw* | cygwin* | pw32* | os2* | cegcc*)
8544 # This hack is so that the source file can tell whether it is being
8545 # built for inclusion in a dll (and should export symbols for example).
8546 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8547 # (--disable-auto-import) libraries
8548 lt_prog_compiler_pic='-DDLL_EXPORT'
8551 darwin* | rhapsody*)
8552 # PIC is the default on this platform
8553 # Common symbols not allowed in MH_DYLIB files
8554 lt_prog_compiler_pic='-fno-common'
8558 # PIC is the default for Haiku.
8559 # The "-static" flag exists, but is broken.
8560 lt_prog_compiler_static=
8564 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8565 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8566 # sets the default TLS model and affects inlining.
8572 lt_prog_compiler_pic='-fPIC'
8578 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8579 # Instead, we relocate shared libraries at runtime.
8583 # Just because we use GCC doesn't mean we suddenly get shared libraries
8584 # on systems that don't support them.
8585 lt_prog_compiler_can_build_shared=no
8590 # QNX uses GNU C++, but need to define -shared option too, otherwise
8592 lt_prog_compiler_pic='-fPIC -shared'
8596 if test -d /usr/nec; then
8597 lt_prog_compiler_pic=-Kconform_pic
8602 lt_prog_compiler_pic='-fPIC'
8606 case $cc_basename in
8607 nvcc*) # Cuda Compiler Driver 2.2
8608 lt_prog_compiler_wl='-Xlinker '
8609 if test -n "$lt_prog_compiler_pic"; then
8610 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8615 # PORTME Check for flag to pass linker flags through the system compiler.
8618 lt_prog_compiler_wl='-Wl,'
8619 if test "$host_cpu" = ia64; then
8620 # AIX 5 now supports IA64 processor
8621 lt_prog_compiler_static='-Bstatic'
8623 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8627 mingw* | cygwin* | pw32* | os2* | cegcc*)
8628 # This hack is so that the source file can tell whether it is being
8629 # built for inclusion in a dll (and should export symbols for example).
8630 lt_prog_compiler_pic='-DDLL_EXPORT'
8633 hpux9* | hpux10* | hpux11*)
8634 lt_prog_compiler_wl='-Wl,'
8635 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8642 lt_prog_compiler_pic='+Z'
8645 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8646 lt_prog_compiler_static='${wl}-a ${wl}archive'
8649 irix5* | irix6* | nonstopux*)
8650 lt_prog_compiler_wl='-Wl,'
8651 # PIC (with -KPIC) is the default.
8652 lt_prog_compiler_static='-non_shared'
8655 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8656 case $cc_basename in
8657 # old Intel for x86_64 which still supported -KPIC.
8659 lt_prog_compiler_wl='-Wl,'
8660 lt_prog_compiler_pic='-KPIC'
8661 lt_prog_compiler_static='-static'
8663 # icc used to be incompatible with GCC.
8664 # ICC 10 doesn't accept -KPIC any more.
8666 lt_prog_compiler_wl='-Wl,'
8667 lt_prog_compiler_pic='-fPIC'
8668 lt_prog_compiler_static='-static'
8670 # Lahey Fortran 8.1.
8672 lt_prog_compiler_wl='-Wl,'
8673 lt_prog_compiler_pic='--shared'
8674 lt_prog_compiler_static='--static'
8677 # NAG Fortran compiler
8678 lt_prog_compiler_wl='-Wl,-Wl,,'
8679 lt_prog_compiler_pic='-PIC'
8680 lt_prog_compiler_static='-Bstatic'
8682 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8683 # Portland Group compilers (*not* the Pentium gcc compiler,
8684 # which looks to be a dead project)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-fpic'
8687 lt_prog_compiler_static='-Bstatic'
8690 lt_prog_compiler_wl='-Wl,'
8691 # All Alpha code is PIC.
8692 lt_prog_compiler_static='-non_shared'
8694 xl* | bgxl* | bgf* | mpixl*)
8695 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8696 lt_prog_compiler_wl='-Wl,'
8697 lt_prog_compiler_pic='-qpic'
8698 lt_prog_compiler_static='-qstaticlink'
8701 case `$CC -V 2>&1 | sed 5q` in
8702 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8703 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8704 lt_prog_compiler_pic='-KPIC'
8705 lt_prog_compiler_static='-Bstatic'
8706 lt_prog_compiler_wl=''
8708 *Sun\ F* | *Sun*Fortran*)
8709 lt_prog_compiler_pic='-KPIC'
8710 lt_prog_compiler_static='-Bstatic'
8711 lt_prog_compiler_wl='-Qoption ld '
8715 lt_prog_compiler_pic='-KPIC'
8716 lt_prog_compiler_static='-Bstatic'
8717 lt_prog_compiler_wl='-Wl,'
8719 *Intel*\ [CF]*Compiler*)
8720 lt_prog_compiler_wl='-Wl,'
8721 lt_prog_compiler_pic='-fPIC'
8722 lt_prog_compiler_static='-static'
8725 lt_prog_compiler_wl='-Wl,'
8726 lt_prog_compiler_pic='-fpic'
8727 lt_prog_compiler_static='-Bstatic'
8735 lt_prog_compiler_pic='-KPIC'
8736 lt_prog_compiler_static='-Bstatic'
8740 # QNX uses GNU C++, but need to define -shared option too, otherwise
8742 lt_prog_compiler_pic='-fPIC -shared'
8745 osf3* | osf4* | osf5*)
8746 lt_prog_compiler_wl='-Wl,'
8747 # All OSF/1 code is PIC.
8748 lt_prog_compiler_static='-non_shared'
8752 lt_prog_compiler_static='-non_shared'
8756 lt_prog_compiler_pic='-KPIC'
8757 lt_prog_compiler_static='-Bstatic'
8758 case $cc_basename in
8759 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8760 lt_prog_compiler_wl='-Qoption ld ';;
8762 lt_prog_compiler_wl='-Wl,';;
8767 lt_prog_compiler_wl='-Qoption ld '
8768 lt_prog_compiler_pic='-PIC'
8769 lt_prog_compiler_static='-Bstatic'
8772 sysv4 | sysv4.2uw2* | sysv4.3*)
8773 lt_prog_compiler_wl='-Wl,'
8774 lt_prog_compiler_pic='-KPIC'
8775 lt_prog_compiler_static='-Bstatic'
8779 if test -d /usr/nec ;then
8780 lt_prog_compiler_pic='-Kconform_pic'
8781 lt_prog_compiler_static='-Bstatic'
8785 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8786 lt_prog_compiler_wl='-Wl,'
8787 lt_prog_compiler_pic='-KPIC'
8788 lt_prog_compiler_static='-Bstatic'
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_can_build_shared=no
8797 lt_prog_compiler_pic='-pic'
8798 lt_prog_compiler_static='-Bstatic'
8802 lt_prog_compiler_can_build_shared=no
8808 # For platforms which do not support PIC, -DPIC is meaningless:
8810 lt_prog_compiler_pic=
8813 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8818 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8819 if ${lt_cv_prog_compiler_pic+:} false; then :
8820 $as_echo_n "(cached) " >&6
8822 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8825 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8826 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8829 # Check to make sure the PIC flag actually works.
8831 if test -n "$lt_prog_compiler_pic"; then
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8833 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8834 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8835 $as_echo_n "(cached) " >&6
8837 lt_cv_prog_compiler_pic_works=no
8838 ac_outfile=conftest.$ac_objext
8839 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8840 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8841 # Insert the option either (1) after the last *FLAGS variable, or
8842 # (2) before a word containing "conftest.", or (3) at the end.
8843 # Note that $ac_compile itself does not contain backslashes and begins
8844 # with a dollar sign (not a hyphen), so the echo should work correctly.
8845 # The option is referenced via a variable to avoid confusing sed.
8846 lt_compile=`echo "$ac_compile" | $SED \
8847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8849 -e 's:$: $lt_compiler_flag:'`
8850 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8851 (eval "$lt_compile" 2>conftest.err)
8853 cat conftest.err >&5
8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 if (exit $ac_status) && test -s "$ac_outfile"; then
8856 # The compiler can only warn and ignore the option if not recognized
8857 # So say no if there are warnings other than the usual output.
8858 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8859 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8860 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8861 lt_cv_prog_compiler_pic_works=yes
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8868 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8870 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8871 case $lt_prog_compiler_pic in
8873 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8876 lt_prog_compiler_pic=
8877 lt_prog_compiler_can_build_shared=no
8893 # Check to make sure the static flag actually works.
8895 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8897 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8898 if ${lt_cv_prog_compiler_static_works+:} false; then :
8899 $as_echo_n "(cached) " >&6
8901 lt_cv_prog_compiler_static_works=no
8902 save_LDFLAGS="$LDFLAGS"
8903 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8904 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8905 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8906 # The linker can only warn and ignore the option if not recognized
8907 # So say no if there are warnings
8908 if test -s conftest.err; then
8909 # Append any errors to the config.log.
8910 cat conftest.err 1>&5
8911 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8912 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8913 if diff conftest.exp conftest.er2 >/dev/null; then
8914 lt_cv_prog_compiler_static_works=yes
8917 lt_cv_prog_compiler_static_works=yes
8921 LDFLAGS="$save_LDFLAGS"
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8925 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8927 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8930 lt_prog_compiler_static=
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8940 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8941 if ${lt_cv_prog_compiler_c_o+:} false; then :
8942 $as_echo_n "(cached) " >&6
8944 lt_cv_prog_compiler_c_o=no
8945 $RM -r conftest 2>/dev/null
8949 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8951 lt_compiler_flag="-o out/conftest2.$ac_objext"
8952 # Insert the option either (1) after the last *FLAGS variable, or
8953 # (2) before a word containing "conftest.", or (3) at the end.
8954 # Note that $ac_compile itself does not contain backslashes and begins
8955 # with a dollar sign (not a hyphen), so the echo should work correctly.
8956 lt_compile=`echo "$ac_compile" | $SED \
8957 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8958 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8959 -e 's:$: $lt_compiler_flag:'`
8960 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8961 (eval "$lt_compile" 2>out/conftest.err)
8963 cat out/conftest.err >&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8967 # The compiler can only warn and ignore the option if not recognized
8968 # So say no if there are warnings
8969 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8970 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8971 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8972 lt_cv_prog_compiler_c_o=yes
8977 # SGI C++ compiler will create directory out/ii_files/ for
8978 # template instantiation
8979 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8980 $RM out/* && rmdir out
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8987 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8995 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8996 if ${lt_cv_prog_compiler_c_o+:} false; then :
8997 $as_echo_n "(cached) " >&6
8999 lt_cv_prog_compiler_c_o=no
9000 $RM -r conftest 2>/dev/null
9004 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9006 lt_compiler_flag="-o out/conftest2.$ac_objext"
9007 # Insert the option either (1) after the last *FLAGS variable, or
9008 # (2) before a word containing "conftest.", or (3) at the end.
9009 # Note that $ac_compile itself does not contain backslashes and begins
9010 # with a dollar sign (not a hyphen), so the echo should work correctly.
9011 lt_compile=`echo "$ac_compile" | $SED \
9012 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9013 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9014 -e 's:$: $lt_compiler_flag:'`
9015 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9016 (eval "$lt_compile" 2>out/conftest.err)
9018 cat out/conftest.err >&5
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9022 # The compiler can only warn and ignore the option if not recognized
9023 # So say no if there are warnings
9024 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9025 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9026 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9027 lt_cv_prog_compiler_c_o=yes
9032 # SGI C++ compiler will create directory out/ii_files/ for
9033 # template instantiation
9034 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9035 $RM out/* && rmdir out
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9042 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9047 hard_links="nottested"
9048 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9049 # do not overwrite the value of need_locks provided by the user
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9051 $as_echo_n "checking if we can lock with hard links... " >&6; }
9054 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9056 ln conftest.a conftest.b 2>&5 || hard_links=no
9057 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9059 $as_echo "$hard_links" >&6; }
9060 if test "$hard_links" = no; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9062 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9075 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9078 allow_undefined_flag=
9079 always_export_symbols=no
9081 archive_expsym_cmds=
9082 compiler_needs_object=no
9083 enable_shared_with_static_runtimes=no
9084 export_dynamic_flag_spec=
9085 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9086 hardcode_automatic=no
9088 hardcode_direct_absolute=no
9089 hardcode_libdir_flag_spec=
9090 hardcode_libdir_separator=
9092 hardcode_shlibpath_var=unsupported
9094 link_all_deplibs=unknown
9097 old_archive_from_new_cmds=
9098 old_archive_from_expsyms_cmds=
9099 thread_safe_flag_spec=
9100 whole_archive_flag_spec=
9101 # include_expsyms should be a list of space-separated symbols to be *always*
9102 # included in the symbol list
9104 # exclude_expsyms can be an extended regexp of symbols to exclude
9105 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9106 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9107 # as well as any symbol that contains `d'.
9108 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9109 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9110 # platforms (ab)use it in PIC code, but their linkers get confused if
9111 # the symbol is explicitly referenced. Since portable code cannot
9112 # rely on this symbol name, it's probably fine to never include it in
9113 # preloaded symbol tables.
9114 # Exclude shared library initialization/finalization symbols.
9115 extract_expsyms_cmds=
9118 cygwin* | mingw* | pw32* | cegcc*)
9119 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9120 # When not using gcc, we currently assume that we are using
9121 # Microsoft Visual C++.
9122 if test "$GCC" != yes; then
9127 # we just hope/assume this is gcc and not c89 (= MSVC++)
9133 linux* | k*bsd*-gnu | gnu*)
9140 # On some targets, GNU ld is compatible enough with the native linker
9141 # that we're better off using the native interface for both.
9142 lt_use_gnu_ld_interface=no
9143 if test "$with_gnu_ld" = yes; then
9146 # The AIX port of GNU ld has always aspired to compatibility
9147 # with the native linker. However, as the warning in the GNU ld
9148 # block says, versions before 2.19.5* couldn't really create working
9149 # shared libraries, regardless of the interface used.
9150 case `$LD -v 2>&1` in
9151 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9152 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9153 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9155 lt_use_gnu_ld_interface=yes
9160 lt_use_gnu_ld_interface=yes
9165 if test "$lt_use_gnu_ld_interface" = yes; then
9166 # If archive_cmds runs LD, not CC, wlarc should be empty
9169 # Set some defaults for GNU ld with shared library support. These
9170 # are reset later if shared libraries are not supported. Putting them
9171 # here allows them to be overridden if necessary.
9172 runpath_var=LD_RUN_PATH
9173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9174 export_dynamic_flag_spec='${wl}--export-dynamic'
9175 # ancient GNU ld didn't support --whole-archive et. al.
9176 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9177 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9179 whole_archive_flag_spec=
9181 supports_anon_versioning=no
9182 case `$LD -v 2>&1` in
9183 *GNU\ gold*) supports_anon_versioning=yes ;;
9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9185 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9186 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9187 *\ 2.11.*) ;; # other 2.11 versions
9188 *) supports_anon_versioning=yes ;;
9191 # See if GNU ld supports shared libraries.
9194 # On AIX/PPC, the GNU linker is very broken
9195 if test "$host_cpu" != ia64; then
9199 *** Warning: the GNU linker, at least up to release 2.19, is reported
9200 *** to be unable to reliably create shared libraries on AIX.
9201 *** Therefore, libtool is disabling shared libraries support. If you
9202 *** really care for shared libraries, you may want to install binutils
9203 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9204 *** You will then need to restart the configuration process.
9213 # see comment about AmigaOS4 .so support
9214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215 archive_expsym_cmds=''
9218 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)'
9219 hardcode_libdir_flag_spec='-L$libdir'
9220 hardcode_minus_L=yes
9226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227 allow_undefined_flag=unsupported
9228 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9229 # support --undefined. This deserves some investigation. FIXME
9230 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236 cygwin* | mingw* | pw32* | cegcc*)
9237 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9238 # as there is no search path for DLLs.
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 export_dynamic_flag_spec='${wl}--export-all-symbols'
9241 allow_undefined_flag=unsupported
9242 always_export_symbols=no
9243 enable_shared_with_static_runtimes=yes
9244 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'
9245 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9247 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9248 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9249 # If the export-symbols file already is a .def file (1st line
9250 # is EXPORTS), use it as is; otherwise, prepend...
9251 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9252 cp $export_symbols $output_objdir/$soname.def;
9254 echo EXPORTS > $output_objdir/$soname.def;
9255 cat $export_symbols >> $output_objdir/$soname.def;
9257 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9264 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9265 link_all_deplibs=yes
9270 hardcode_shlibpath_var=no
9271 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9272 export_dynamic_flag_spec='${wl}-E'
9273 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9274 # Instead, shared libraries are loaded at an image base (0x10000000 by
9275 # default) and relocated if they conflict, which is a slow very memory
9276 # consuming and fragmenting process. To avoid this, we pick a random,
9277 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9278 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9279 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9280 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'
9283 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9285 if test "$host_os" = linux-dietlibc; then
9286 case $cc_basename in
9287 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9290 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9291 && test "$tmp_diet" = no
9293 tmp_addflag=' $pic_flag'
9294 tmp_sharedflag='-shared'
9295 case $cc_basename,$host_cpu in
9296 pgcc*) # Portland Group C compiler
9297 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'
9298 tmp_addflag=' $pic_flag'
9300 pgf77* | pgf90* | pgf95* | pgfortran*)
9301 # Portland Group f77 and f90 compilers
9302 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'
9303 tmp_addflag=' $pic_flag -Mnomain' ;;
9304 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9305 tmp_addflag=' -i_dynamic' ;;
9306 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9307 tmp_addflag=' -i_dynamic -nofor_main' ;;
9308 ifc* | ifort*) # Intel Fortran compiler
9309 tmp_addflag=' -nofor_main' ;;
9310 lf95*) # Lahey Fortran 8.1
9311 whole_archive_flag_spec=
9312 tmp_sharedflag='--shared' ;;
9313 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9314 tmp_sharedflag='-qmkshrobj'
9316 nvcc*) # Cuda Compiler Driver 2.2
9317 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'
9318 compiler_needs_object=yes
9321 case `$CC -V 2>&1 | sed 5q` in
9322 *Sun\ C*) # Sun C 5.9
9323 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'
9324 compiler_needs_object=yes
9325 tmp_sharedflag='-G' ;;
9326 *Sun\ F*) # Sun Fortran 8.3
9327 tmp_sharedflag='-G' ;;
9329 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes; then
9332 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9338 case $cc_basename in
9339 xlf* | bgf* | bgxlf* | mpixlf*)
9340 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9341 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9342 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9343 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9344 if test "x$supports_anon_versioning" = xyes; then
9345 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9347 echo "local: *; };" >> $output_objdir/$libname.ver~
9348 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9357 netbsd* | netbsdelf*-gnu)
9358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9359 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9362 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9368 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9373 *** create shared libraries on Solaris systems. Therefore, libtool
9374 *** is disabling shared libraries support. We urge you to upgrade GNU
9375 *** binutils to release 2.9.1 or newer. Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9380 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9381 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9389 case `$LD -v 2>&1` in
9390 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9395 *** reliably create shared libraries on SCO systems. Therefore, libtool
9396 *** is disabling shared libraries support. We urge you to upgrade GNU
9397 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9404 # For security reasons, it is highly recommended that you always
9405 # use absolute paths for naming shared libraries, and exclude the
9406 # DT_RUNPATH tag from executables and libraries. But doing so
9407 # requires that you compile everything twice, which is a pain.
9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9420 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9423 hardcode_shlibpath_var=no
9427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9436 if test "$ld_shlibs" = no; then
9438 hardcode_libdir_flag_spec=
9439 export_dynamic_flag_spec=
9440 whole_archive_flag_spec=
9443 # PORTME fill in a description of your system's linker (not GNU ld)
9446 allow_undefined_flag=unsupported
9447 always_export_symbols=yes
9448 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'
9449 # Note: this linker hardcodes the directories in LIBPATH if there
9450 # are no directories specified by -L.
9451 hardcode_minus_L=yes
9452 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9453 # Neither direct hardcoding nor static linking is supported with a
9455 hardcode_direct=unsupported
9460 if test "$host_cpu" = ia64; then
9461 # On IA64, the linker does run time linking by default, so we don't
9462 # have to do anything special.
9463 aix_use_runtimelinking=no
9464 exp_sym_flag='-Bexport'
9467 # If we're using GNU nm, then we don't want the "-C" option.
9468 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9469 # Also, AIX nm treats weak defined symbols like other global
9470 # defined symbols, whereas GNU nm marks them as "W".
9471 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9472 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'
9474 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'
9476 aix_use_runtimelinking=no
9478 # Test if we are trying to use run time linking or normal
9479 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9480 # need to do runtime linking.
9481 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9482 for ld_flag in $LDFLAGS; do
9483 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9484 aix_use_runtimelinking=yes
9491 exp_sym_flag='-bexport'
9492 no_entry_flag='-bnoentry'
9495 # When large executables or shared objects are built, AIX ld can
9496 # have problems creating the table of contents. If linking a library
9497 # or program results in "error TOC overflow" add -mminimal-toc to
9498 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9499 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9503 hardcode_direct_absolute=yes
9504 hardcode_libdir_separator=':'
9505 link_all_deplibs=yes
9506 file_list_spec='${wl}-f,'
9508 if test "$GCC" = yes; then
9509 case $host_os in aix4.[012]|aix4.[012].*)
9510 # We only want to do this on AIX 4.2 and lower, the check
9511 # below for broken collect2 doesn't work under 4.3+
9512 collect2name=`${CC} -print-prog-name=collect2`
9513 if test -f "$collect2name" &&
9514 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9516 # We have reworked collect2
9519 # We have old collect2
9520 hardcode_direct=unsupported
9521 # It fails to find uninstalled libraries when the uninstalled
9522 # path is not listed in the libpath. Setting hardcode_minus_L
9523 # to unsupported forces relinking
9524 hardcode_minus_L=yes
9525 hardcode_libdir_flag_spec='-L$libdir'
9526 hardcode_libdir_separator=
9530 shared_flag='-shared'
9531 if test "$aix_use_runtimelinking" = yes; then
9532 shared_flag="$shared_flag "'${wl}-G'
9537 if test "$host_cpu" = ia64; then
9538 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9539 # chokes on -Wl,-G. The following line is correct:
9542 if test "$aix_use_runtimelinking" = yes; then
9543 shared_flag='${wl}-G'
9545 shared_flag='${wl}-bM:SRE'
9550 export_dynamic_flag_spec='${wl}-bexpall'
9551 # It seems that -bexpall does not export symbols beginning with
9552 # underscore (_), so it is better to generate a list of symbols to export.
9553 always_export_symbols=yes
9554 if test "$aix_use_runtimelinking" = yes; then
9555 # Warning - without using the other runtime loading flags (-brtl),
9556 # -berok will link without error, but may produce a broken library.
9557 allow_undefined_flag='-berok'
9558 # Determine the default libpath from the value encoded in an
9560 if test "${lt_cv_aix_libpath+set}" = set; then
9561 aix_libpath=$lt_cv_aix_libpath
9563 if ${lt_cv_aix_libpath_+:} false; then :
9564 $as_echo_n "(cached) " >&6
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9577 if ac_fn_c_try_link "$LINENO"; then :
9579 lt_aix_libpath_sed='
9580 /Import File Strings/,/^$/ {
9582 s/^0 *\([^ ]*\) *$/\1/
9586 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9587 # Check for a 64-bit object if we didn't find anything.
9588 if test -z "$lt_cv_aix_libpath_"; then
9589 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9592 rm -f core conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9594 if test -z "$lt_cv_aix_libpath_"; then
9595 lt_cv_aix_libpath_="/usr/lib:/lib"
9600 aix_libpath=$lt_cv_aix_libpath_
9603 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9604 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"
9606 if test "$host_cpu" = ia64; then
9607 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9608 allow_undefined_flag="-z nodefs"
9609 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"
9611 # Determine the default libpath from the value encoded in an
9613 if test "${lt_cv_aix_libpath+set}" = set; then
9614 aix_libpath=$lt_cv_aix_libpath
9616 if ${lt_cv_aix_libpath_+:} false; then :
9617 $as_echo_n "(cached) " >&6
9619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9620 /* end confdefs.h. */
9630 if ac_fn_c_try_link "$LINENO"; then :
9632 lt_aix_libpath_sed='
9633 /Import File Strings/,/^$/ {
9635 s/^0 *\([^ ]*\) *$/\1/
9639 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9640 # Check for a 64-bit object if we didn't find anything.
9641 if test -z "$lt_cv_aix_libpath_"; then
9642 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9645 rm -f core conftest.err conftest.$ac_objext \
9646 conftest$ac_exeext conftest.$ac_ext
9647 if test -z "$lt_cv_aix_libpath_"; then
9648 lt_cv_aix_libpath_="/usr/lib:/lib"
9653 aix_libpath=$lt_cv_aix_libpath_
9656 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9657 # Warning - without using the other run time loading flags,
9658 # -berok will link without error, but may produce a broken library.
9659 no_undefined_flag=' ${wl}-bernotok'
9660 allow_undefined_flag=' ${wl}-berok'
9661 if test "$with_gnu_ld" = yes; then
9662 # We only use this code for GNU lds that support --whole-archive.
9663 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9665 # Exported symbols can be pulled into shared objects from archives
9666 whole_archive_flag_spec='$convenience'
9668 archive_cmds_need_lc=yes
9669 # This is similar to how AIX traditionally builds its shared libraries.
9670 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'
9678 # see comment about AmigaOS4 .so support
9679 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9680 archive_expsym_cmds=''
9683 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)'
9684 hardcode_libdir_flag_spec='-L$libdir'
9685 hardcode_minus_L=yes
9691 export_dynamic_flag_spec=-rdynamic
9694 cygwin* | mingw* | pw32* | cegcc*)
9695 # When not using gcc, we currently assume that we are using
9696 # Microsoft Visual C++.
9697 # hardcode_libdir_flag_spec is actually meaningless, as there is
9698 # no search path for DLLs.
9699 case $cc_basename in
9702 hardcode_libdir_flag_spec=' '
9703 allow_undefined_flag=unsupported
9704 always_export_symbols=yes
9706 # Tell ltmain to make .lib files, not .a files.
9708 # Tell ltmain to make .dll files, not .so files.
9710 # FIXME: Setting linknames here is a bad hack.
9711 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9712 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9713 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9715 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9717 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9719 # The linker will not automatically build a static lib if we build a DLL.
9720 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9721 enable_shared_with_static_runtimes=yes
9722 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9723 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9725 old_postinstall_cmds='chmod 644 $oldlib'
9726 postlink_cmds='lt_outputfile="@OUTPUT@"~
9727 lt_tool_outputfile="@TOOL_OUTPUT@"~
9728 case $lt_outputfile in
9731 lt_outputfile="$lt_outputfile.exe"
9732 lt_tool_outputfile="$lt_tool_outputfile.exe"
9735 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9736 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9737 $RM "$lt_outputfile.manifest";
9741 # Assume MSVC wrapper
9742 hardcode_libdir_flag_spec=' '
9743 allow_undefined_flag=unsupported
9744 # Tell ltmain to make .lib files, not .a files.
9746 # Tell ltmain to make .dll files, not .so files.
9748 # FIXME: Setting linknames here is a bad hack.
9749 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9750 # The linker will automatically build a .lib file if we build a DLL.
9751 old_archive_from_new_cmds='true'
9752 # FIXME: Should let the user specify the lib program.
9753 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9754 enable_shared_with_static_runtimes=yes
9759 darwin* | rhapsody*)
9762 archive_cmds_need_lc=no
9764 hardcode_automatic=yes
9765 hardcode_shlibpath_var=unsupported
9766 if test "$lt_cv_ld_force_load" = "yes"; then
9767 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\"`'
9770 whole_archive_flag_spec=''
9772 link_all_deplibs=yes
9773 allow_undefined_flag="$_lt_dar_allow_undefined"
9774 case $cc_basename in
9775 ifort*) _lt_dar_can_shared=yes ;;
9776 *) _lt_dar_can_shared=$GCC ;;
9778 if test "$_lt_dar_can_shared" = "yes"; then
9779 output_verbose_link_cmd=func_echo_all
9780 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9781 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9782 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}"
9783 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}"
9792 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9793 hardcode_libdir_flag_spec='-L$libdir'
9794 hardcode_shlibpath_var=no
9797 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9798 # support. Future versions do this automatically, but an explicit c++rt0.o
9799 # does not break anything, and helps significantly (at the cost of a little
9802 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9803 hardcode_libdir_flag_spec='-R$libdir'
9805 hardcode_shlibpath_var=no
9808 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9810 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9812 hardcode_minus_L=yes
9813 hardcode_shlibpath_var=no
9816 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9817 freebsd* | dragonfly*)
9818 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9819 hardcode_libdir_flag_spec='-R$libdir'
9821 hardcode_shlibpath_var=no
9825 if test "$GCC" = yes; then
9826 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'
9828 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'
9830 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9831 hardcode_libdir_separator=:
9834 # hardcode_minus_L: Not really in the search PATH,
9835 # but as the default location of the library.
9836 hardcode_minus_L=yes
9837 export_dynamic_flag_spec='${wl}-E'
9841 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9842 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9844 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9846 if test "$with_gnu_ld" = no; then
9847 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9848 hardcode_libdir_separator=:
9850 hardcode_direct_absolute=yes
9851 export_dynamic_flag_spec='${wl}-E'
9852 # hardcode_minus_L: Not really in the search PATH,
9853 # but as the default location of the library.
9854 hardcode_minus_L=yes
9859 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9862 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9865 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9868 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9874 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9877 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9881 # Older versions of the 11.00 compiler do not understand -b yet
9882 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9884 $as_echo_n "checking if $CC understands -b... " >&6; }
9885 if ${lt_cv_prog_compiler__b+:} false; then :
9886 $as_echo_n "(cached) " >&6
9888 lt_cv_prog_compiler__b=no
9889 save_LDFLAGS="$LDFLAGS"
9890 LDFLAGS="$LDFLAGS -b"
9891 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9892 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9893 # The linker can only warn and ignore the option if not recognized
9894 # So say no if there are warnings
9895 if test -s conftest.err; then
9896 # Append any errors to the config.log.
9897 cat conftest.err 1>&5
9898 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9899 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9900 if diff conftest.exp conftest.er2 >/dev/null; then
9901 lt_cv_prog_compiler__b=yes
9904 lt_cv_prog_compiler__b=yes
9908 LDFLAGS="$save_LDFLAGS"
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9912 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9914 if test x"$lt_cv_prog_compiler__b" = xyes; then
9915 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9917 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9923 if test "$with_gnu_ld" = no; then
9924 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9925 hardcode_libdir_separator=:
9930 hardcode_shlibpath_var=no
9934 hardcode_direct_absolute=yes
9935 export_dynamic_flag_spec='${wl}-E'
9937 # hardcode_minus_L: Not really in the search PATH,
9938 # but as the default location of the library.
9939 hardcode_minus_L=yes
9945 irix5* | irix6* | nonstopux*)
9946 if test "$GCC" = yes; then
9947 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'
9948 # Try to use the -exported_symbol ld option, if it does not
9949 # work, assume that -exports_file does not work either and
9950 # implicitly export all symbols.
9951 # This should be the same for all languages, so no per-tag cache variable.
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9953 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9954 if ${lt_cv_irix_exported_symbol+:} false; then :
9955 $as_echo_n "(cached) " >&6
9957 save_LDFLAGS="$LDFLAGS"
9958 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int foo (void) { return 0; }
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 lt_cv_irix_exported_symbol=yes
9966 lt_cv_irix_exported_symbol=no
9968 rm -f core conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 LDFLAGS="$save_LDFLAGS"
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9973 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9974 if test "$lt_cv_irix_exported_symbol" = yes; then
9975 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'
9978 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'
9979 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'
9981 archive_cmds_need_lc='no'
9982 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9983 hardcode_libdir_separator=:
9985 link_all_deplibs=yes
9988 netbsd* | netbsdelf*-gnu)
9989 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9990 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9992 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9994 hardcode_libdir_flag_spec='-R$libdir'
9996 hardcode_shlibpath_var=no
10000 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10001 hardcode_direct=yes
10002 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10003 hardcode_libdir_separator=:
10004 hardcode_shlibpath_var=no
10011 if test -f /usr/libexec/ld.so; then
10012 hardcode_direct=yes
10013 hardcode_shlibpath_var=no
10014 hardcode_direct_absolute=yes
10015 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10016 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10017 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10018 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10019 export_dynamic_flag_spec='${wl}-E'
10022 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10023 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10024 hardcode_libdir_flag_spec='-R$libdir'
10027 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10028 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_minus_L=yes
10040 allow_undefined_flag=unsupported
10041 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'
10042 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10046 if test "$GCC" = yes; then
10047 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10048 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'
10050 allow_undefined_flag=' -expect_unresolved \*'
10051 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'
10053 archive_cmds_need_lc='no'
10054 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10055 hardcode_libdir_separator=:
10058 osf4* | osf5*) # as osf3* with the addition of -msym flag
10059 if test "$GCC" = yes; then
10060 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10061 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'
10062 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10064 allow_undefined_flag=' -expect_unresolved \*'
10065 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'
10066 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~
10067 $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'
10069 # Both c and cxx compiler support -rpath directly
10070 hardcode_libdir_flag_spec='-rpath $libdir'
10072 archive_cmds_need_lc='no'
10073 hardcode_libdir_separator=:
10077 no_undefined_flag=' -z defs'
10078 if test "$GCC" = yes; then
10080 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10082 $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'
10084 case `$CC -V 2>&1` in
10087 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10089 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10093 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10095 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10099 hardcode_libdir_flag_spec='-R$libdir'
10100 hardcode_shlibpath_var=no
10102 solaris2.[0-5] | solaris2.[0-5].*) ;;
10104 # The compiler driver will combine and reorder linker options,
10105 # but understands `-z linker_flag'. GCC discards it without `$wl',
10106 # but is careful enough not to reorder.
10107 # Supported since Solaris 2.6 (maybe 2.5.1?)
10108 if test "$GCC" = yes; then
10109 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10111 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10115 link_all_deplibs=yes
10119 if test "x$host_vendor" = xsequent; then
10120 # Use $CC to link under sequent, because it throws in some extra .o
10121 # files that make .init and .fini sections work.
10122 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10124 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10126 hardcode_libdir_flag_spec='-L$libdir'
10127 hardcode_direct=yes
10128 hardcode_minus_L=yes
10129 hardcode_shlibpath_var=no
10133 case $host_vendor in
10135 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10136 hardcode_direct=yes # is this really true???
10139 ## LD is ld it makes a PLAMLIB
10140 ## CC just makes a GrossModule.
10141 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10142 reload_cmds='$CC -r -o $output$reload_objs'
10146 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10147 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10150 runpath_var='LD_RUN_PATH'
10151 hardcode_shlibpath_var=no
10155 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_shlibpath_var=no
10157 export_dynamic_flag_spec='-Bexport'
10161 if test -d /usr/nec; then
10162 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_shlibpath_var=no
10164 runpath_var=LD_RUN_PATH
10165 hardcode_runpath_var=yes
10170 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10171 no_undefined_flag='${wl}-z,text'
10172 archive_cmds_need_lc=no
10173 hardcode_shlibpath_var=no
10174 runpath_var='LD_RUN_PATH'
10176 if test "$GCC" = yes; then
10177 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 sysv5* | sco3.2v5* | sco5v6*)
10186 # Note: We can NOT use -z defs as we might desire, because we do not
10187 # link with -lc, and that would cause any symbols used from libc to
10188 # always be unresolved, which means just about no library would
10189 # ever link correctly. If we're not using GNU ld we use -z text
10190 # though, which does catch some bad symbols but isn't as heavy-handed
10192 no_undefined_flag='${wl}-z,text'
10193 allow_undefined_flag='${wl}-z,nodefs'
10194 archive_cmds_need_lc=no
10195 hardcode_shlibpath_var=no
10196 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10197 hardcode_libdir_separator=':'
10198 link_all_deplibs=yes
10199 export_dynamic_flag_spec='${wl}-Bexport'
10200 runpath_var='LD_RUN_PATH'
10202 if test "$GCC" = yes; then
10203 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10204 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10213 hardcode_libdir_flag_spec='-L$libdir'
10214 hardcode_shlibpath_var=no
10222 if test x$host_vendor = xsni; then
10224 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10225 export_dynamic_flag_spec='${wl}-Blargedynsym'
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10232 $as_echo "$ld_shlibs" >&6; }
10233 test "$ld_shlibs" = no && can_build_shared=no
10235 with_gnu_ld=$with_gnu_ld
10252 # Do we need to explicitly link libc?
10254 case "x$archive_cmds_need_lc" in
10256 # Assume -lc should be added
10257 archive_cmds_need_lc=yes
10259 if test "$enable_shared" = yes && test "$GCC" = yes; then
10260 case $archive_cmds in
10262 # FIXME: we may have to deal with multi-command sequences.
10265 # Test whether the compiler implicitly links with -lc since on some
10266 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10267 # to ld, don't add -lc before -lgcc.
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10269 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10270 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10271 $as_echo_n "(cached) " >&6
10274 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10277 (eval $ac_compile) 2>&5
10279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10280 test $ac_status = 0; } 2>conftest.err; then
10283 libobjs=conftest.$ac_objext
10285 wl=$lt_prog_compiler_wl
10286 pic_flag=$lt_prog_compiler_pic
10292 lt_save_allow_undefined_flag=$allow_undefined_flag
10293 allow_undefined_flag=
10294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10295 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10298 test $ac_status = 0; }
10300 lt_cv_archive_cmds_need_lc=no
10302 lt_cv_archive_cmds_need_lc=yes
10304 allow_undefined_flag=$lt_save_allow_undefined_flag
10306 cat conftest.err 1>&5
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10312 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10313 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10472 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10474 if test "$GCC" = yes; then
10476 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10477 *) lt_awk_arg="/^libraries:/" ;;
10480 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10481 *) lt_sed_strip_eq="s,=/,/,g" ;;
10483 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10484 case $lt_search_path_spec in
10486 # if the path contains ";" then we assume it to be the separator
10487 # otherwise default to the standard path separator (i.e. ":") - it is
10488 # assumed that no part of a normal pathname contains ";" but that should
10489 # okay in the real world where ";" in dirpaths is itself problematic.
10490 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10493 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10496 # Ok, now we have the path, separated by spaces, we can step through it
10497 # and add multilib dir if necessary.
10498 lt_tmp_lt_search_path_spec=
10499 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10500 for lt_sys_path in $lt_search_path_spec; do
10501 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10502 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10504 test -d "$lt_sys_path" && \
10505 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10508 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10509 BEGIN {RS=" "; FS="/|\n";} {
10512 for (lt_i = NF; lt_i > 0; lt_i--) {
10513 if ($lt_i != "" && $lt_i != ".") {
10514 if ($lt_i == "..") {
10517 if (lt_count == 0) {
10518 lt_foo="/" $lt_i lt_foo;
10525 if (lt_foo != "") { lt_freq[lt_foo]++; }
10526 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10528 # AWK program above erroneously prepends '/' to C:/dos/paths
10531 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10532 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10534 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10536 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10538 library_names_spec=
10539 libname_spec='lib$name'
10543 postuninstall_cmds=
10547 shlibpath_overrides_runpath=unknown
10549 dynamic_linker="$host_os ld.so"
10550 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10551 need_lib_prefix=unknown
10552 hardcode_into_libs=no
10554 # when you set need_version to no, make sure it does not cause -set_version
10555 # flags to be left without arguments
10556 need_version=unknown
10560 version_type=linux # correct to gnu/linux during the next big refactor
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10562 shlibpath_var=LIBPATH
10564 # AIX 3 has no versioning support, so we append a major version to the name.
10565 soname_spec='${libname}${release}${shared_ext}$major'
10569 version_type=linux # correct to gnu/linux during the next big refactor
10572 hardcode_into_libs=yes
10573 if test "$host_cpu" = ia64; then
10574 # AIX 5 supports IA64
10575 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10576 shlibpath_var=LD_LIBRARY_PATH
10578 # With GCC up to 2.95.x, collect2 would create an import file
10579 # for dependence libraries. The import file would start with
10580 # the line `#! .'. This would cause the generated library to
10581 # depend on `.', always an invalid library. This was fixed in
10582 # development snapshots of GCC prior to 3.0.
10584 aix4 | aix4.[01] | aix4.[01].*)
10585 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10587 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10590 can_build_shared=no
10594 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10595 # soname into executable. Probably we can add versioning support to
10596 # collect2, so additional links can be useful in future.
10597 if test "$aix_use_runtimelinking" = yes; then
10598 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10599 # instead of lib<name>.a to let people know that these are not
10600 # typical AIX shared libraries.
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603 # We preserve .a as extension for shared libraries through AIX4.2
10604 # and later when we are not doing run time linking.
10605 library_names_spec='${libname}${release}.a $libname.a'
10606 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LIBPATH
10615 # Since July 2007 AmigaOS4 officially supports .so libraries.
10616 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10620 library_names_spec='$libname.ixlibrary $libname.a'
10621 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10622 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'
10628 library_names_spec='${libname}${shared_ext}'
10629 dynamic_linker="$host_os ld.so"
10630 shlibpath_var=LIBRARY_PATH
10634 version_type=linux # correct to gnu/linux during the next big refactor
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10639 shlibpath_var=LD_LIBRARY_PATH
10640 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10641 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10642 # the default ld.so.conf also contains /usr/contrib/lib and
10643 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10644 # libtool to hard-code these into programs
10647 cygwin* | mingw* | pw32* | cegcc*)
10648 version_type=windows
10653 case $GCC,$cc_basename in
10656 library_names_spec='$libname.dll.a'
10657 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10658 postinstall_cmds='base_file=`basename \${file}`~
10659 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10660 dldir=$destdir/`dirname \$dlpath`~
10661 test -d \$dldir || mkdir -p \$dldir~
10662 $install_prog $dir/$dlname \$dldir/$dlname~
10663 chmod a+x \$dldir/$dlname~
10664 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10665 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10667 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10668 dlpath=$dir/\$dldll~
10670 shlibpath_overrides_runpath=yes
10674 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10675 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10677 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10680 # MinGW DLLs use traditional 'lib' prefix
10681 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10684 # pw32 DLLs use 'pw' prefix rather than 'lib'
10685 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10688 dynamic_linker='Win32 ld.exe'
10693 libname_spec='$name'
10694 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10695 library_names_spec='${libname}.dll.lib'
10699 sys_lib_search_path_spec=
10702 for lt_path in $LIB
10705 # Let DOS variable expansion print the short 8.3 style file name.
10706 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10707 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10710 # Convert to MSYS style.
10711 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10714 # Convert to unix form, then to dos form, then back to unix form
10715 # but this time dos style (no spaces!) so that the unix form looks
10716 # like /cygdrive/c/PROGRA~1:/cygdr...
10717 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10718 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10719 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10722 sys_lib_search_path_spec="$LIB"
10723 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10724 # It is most probably a Windows format PATH.
10725 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10727 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10729 # FIXME: find the short name or the path components, as spaces are
10730 # common. (e.g. "Program Files" -> "PROGRA~1")
10734 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10735 postinstall_cmds='base_file=`basename \${file}`~
10736 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10737 dldir=$destdir/`dirname \$dlpath`~
10738 test -d \$dldir || mkdir -p \$dldir~
10739 $install_prog $dir/$dlname \$dldir/$dlname'
10740 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10741 dlpath=$dir/\$dldll~
10743 shlibpath_overrides_runpath=yes
10744 dynamic_linker='Win32 link.exe'
10748 # Assume MSVC wrapper
10749 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10750 dynamic_linker='Win32 ld.exe'
10753 # FIXME: first we should search . and the directory the executable is in
10757 darwin* | rhapsody*)
10758 dynamic_linker="$host_os dyld"
10759 version_type=darwin
10762 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10763 soname_spec='${libname}${release}${major}$shared_ext'
10764 shlibpath_overrides_runpath=yes
10765 shlibpath_var=DYLD_LIBRARY_PATH
10766 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10768 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10769 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10773 version_type=linux # correct to gnu/linux during the next big refactor
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 shlibpath_var=LD_LIBRARY_PATH
10781 freebsd* | dragonfly*)
10782 # DragonFly does not have aout. When/if they implement a new
10783 # versioning mechanism, adjust this.
10784 if test -x /usr/bin/objformat; then
10785 objformat=`/usr/bin/objformat`
10788 freebsd[23].*) objformat=aout ;;
10789 *) objformat=elf ;;
10792 version_type=freebsd-$objformat
10793 case $version_type in
10795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10804 shlibpath_var=LD_LIBRARY_PATH
10807 shlibpath_overrides_runpath=yes
10809 freebsd3.[01]* | freebsdelf3.[01]*)
10810 shlibpath_overrides_runpath=yes
10811 hardcode_into_libs=yes
10813 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10814 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10815 shlibpath_overrides_runpath=no
10816 hardcode_into_libs=yes
10818 *) # from 4.6 on, and DragonFly
10819 shlibpath_overrides_runpath=yes
10820 hardcode_into_libs=yes
10826 version_type=linux # correct to gnu/linux during the next big refactor
10829 dynamic_linker="$host_os runtime_loader"
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10831 soname_spec='${libname}${release}${shared_ext}$major'
10832 shlibpath_var=LIBRARY_PATH
10833 shlibpath_overrides_runpath=yes
10834 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10835 hardcode_into_libs=yes
10838 hpux9* | hpux10* | hpux11*)
10839 # Give a soname corresponding to the major version so that dld.sl refuses to
10840 # link against other versions.
10847 hardcode_into_libs=yes
10848 dynamic_linker="$host_os dld.so"
10849 shlibpath_var=LD_LIBRARY_PATH
10850 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 soname_spec='${libname}${release}${shared_ext}$major'
10853 if test "X$HPUX_IA64_MODE" = X32; then
10854 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10856 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10858 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10862 hardcode_into_libs=yes
10863 dynamic_linker="$host_os dld.sl"
10864 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10865 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 soname_spec='${libname}${release}${shared_ext}$major'
10868 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10869 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10873 dynamic_linker="$host_os dld.sl"
10874 shlibpath_var=SHLIB_PATH
10875 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10880 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10881 postinstall_cmds='chmod 555 $lib'
10882 # or fails outright, so override atomically:
10883 install_override_mode=555
10887 version_type=linux # correct to gnu/linux during the next big refactor
10890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10891 soname_spec='${libname}${release}${shared_ext}$major'
10892 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10893 shlibpath_var=LD_LIBRARY_PATH
10894 shlibpath_overrides_runpath=no
10895 hardcode_into_libs=yes
10898 irix5* | irix6* | nonstopux*)
10900 nonstopux*) version_type=nonstopux ;;
10902 if test "$lt_cv_prog_gnu_ld" = yes; then
10903 version_type=linux # correct to gnu/linux during the next big refactor
10910 soname_spec='${libname}${release}${shared_ext}$major'
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10913 irix5* | nonstopux*)
10914 libsuff= shlibsuff=
10917 case $LD in # libtool.m4 will add one of these switches to LD
10918 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10919 libsuff= shlibsuff= libmagic=32-bit;;
10920 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10921 libsuff=32 shlibsuff=N32 libmagic=N32;;
10922 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10923 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10924 *) libsuff= shlibsuff= libmagic=never-match;;
10928 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10929 shlibpath_overrides_runpath=no
10930 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10931 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10932 hardcode_into_libs=yes
10935 # No shared lib support for Linux oldld, aout, or coff.
10936 linux*oldld* | linux*aout* | linux*coff*)
10940 # This must be glibc/ELF.
10941 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10942 version_type=linux # correct to gnu/linux during the next big refactor
10945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946 soname_spec='${libname}${release}${shared_ext}$major'
10947 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 shlibpath_overrides_runpath=no
10951 # Some binutils ld are patched to set DT_RUNPATH
10952 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10953 $as_echo_n "(cached) " >&6
10955 lt_cv_shlibpath_overrides_runpath=no
10956 save_LDFLAGS=$LDFLAGS
10957 save_libdir=$libdir
10958 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10959 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10973 lt_cv_shlibpath_overrides_runpath=yes
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LDFLAGS=$save_LDFLAGS
10979 libdir=$save_libdir
10983 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10985 # This implies no fast_install, which is unacceptable.
10986 # Some rework will be needed to allow for fast_install
10987 # before this can be enabled.
10988 hardcode_into_libs=yes
10990 # Append ld.so.conf contents to the search path
10991 if test -f /etc/ld.so.conf; then
10992 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' ' '`
10993 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10996 # We used to test for /lib/ld.so.1 and disable shared libraries on
10997 # powerpc, because MkLinux only supported shared libraries with the
10998 # GNU dynamic linker. Since this was broken with cross compilers,
10999 # most powerpc-linux boxes support dynamic linking these days and
11000 # people can always --disable-shared, the test was removed, and we
11001 # assume the GNU/Linux dynamic linker is in use.
11002 dynamic_linker='GNU/Linux ld.so'
11009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11010 soname_spec='${libname}${release}${shared_ext}$major'
11011 shlibpath_var=LD_LIBRARY_PATH
11012 shlibpath_overrides_runpath=no
11013 hardcode_into_libs=yes
11014 dynamic_linker='NetBSD ld.elf_so'
11021 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11023 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11024 dynamic_linker='NetBSD (a.out) ld.so'
11026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11027 soname_spec='${libname}${release}${shared_ext}$major'
11028 dynamic_linker='NetBSD ld.elf_so'
11030 shlibpath_var=LD_LIBRARY_PATH
11031 shlibpath_overrides_runpath=yes
11032 hardcode_into_libs=yes
11036 version_type=linux # correct to gnu/linux during the next big refactor
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038 shlibpath_var=LD_LIBRARY_PATH
11039 shlibpath_overrides_runpath=yes
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047 soname_spec='${libname}${release}${shared_ext}$major'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11051 dynamic_linker='ldqnx.so'
11056 sys_lib_dlsearch_path_spec="/usr/lib"
11058 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11060 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11061 *) need_version=no ;;
11063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11064 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11065 shlibpath_var=LD_LIBRARY_PATH
11066 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11068 openbsd2.[89] | openbsd2.[89].*)
11069 shlibpath_overrides_runpath=no
11072 shlibpath_overrides_runpath=yes
11076 shlibpath_overrides_runpath=yes
11081 libname_spec='$name'
11084 library_names_spec='$libname${shared_ext} $libname.a'
11085 dynamic_linker='OS/2 ld.exe'
11086 shlibpath_var=LIBPATH
11089 osf3* | osf4* | osf5*)
11093 soname_spec='${libname}${release}${shared_ext}$major'
11094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11095 shlibpath_var=LD_LIBRARY_PATH
11096 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11097 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11105 version_type=linux # correct to gnu/linux during the next big refactor
11108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11109 soname_spec='${libname}${release}${shared_ext}$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11111 shlibpath_overrides_runpath=yes
11112 hardcode_into_libs=yes
11113 # ldd complains unless libraries are executable
11114 postinstall_cmds='chmod +x $lib'
11119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11120 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11121 shlibpath_var=LD_LIBRARY_PATH
11122 shlibpath_overrides_runpath=yes
11123 if test "$with_gnu_ld" = yes; then
11130 version_type=linux # correct to gnu/linux during the next big refactor
11131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132 soname_spec='${libname}${release}${shared_ext}$major'
11133 shlibpath_var=LD_LIBRARY_PATH
11134 case $host_vendor in
11136 shlibpath_overrides_runpath=no
11138 runpath_var=LD_RUN_PATH
11146 shlibpath_overrides_runpath=no
11147 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11153 if test -d /usr/nec ;then
11154 version_type=linux # correct to gnu/linux during the next big refactor
11155 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11156 soname_spec='$libname${shared_ext}.$major'
11157 shlibpath_var=LD_LIBRARY_PATH
11161 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11162 version_type=freebsd-elf
11165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11166 soname_spec='${libname}${release}${shared_ext}$major'
11167 shlibpath_var=LD_LIBRARY_PATH
11168 shlibpath_overrides_runpath=yes
11169 hardcode_into_libs=yes
11170 if test "$with_gnu_ld" = yes; then
11171 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11173 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11176 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11180 sys_lib_dlsearch_path_spec='/usr/lib'
11184 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11185 version_type=linux # correct to gnu/linux during the next big refactor
11188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11189 shlibpath_var=LD_LIBRARY_PATH
11190 shlibpath_overrides_runpath=no
11191 hardcode_into_libs=yes
11195 version_type=linux # correct to gnu/linux during the next big refactor
11196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11197 soname_spec='${libname}${release}${shared_ext}$major'
11198 shlibpath_var=LD_LIBRARY_PATH
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11206 $as_echo "$dynamic_linker" >&6; }
11207 test "$dynamic_linker" = no && can_build_shared=no
11209 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11210 if test "$GCC" = yes; then
11211 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11214 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11215 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11217 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11218 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11313 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11315 if test -n "$hardcode_libdir_flag_spec" ||
11316 test -n "$runpath_var" ||
11317 test "X$hardcode_automatic" = "Xyes" ; then
11319 # We can hardcode non-existent directories.
11320 if test "$hardcode_direct" != no &&
11321 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11322 # have to relink, otherwise we might link with an installed library
11323 # when we should be linking with a yet-to-be-installed one
11324 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11325 test "$hardcode_minus_L" != no; then
11326 # Linking always hardcodes the temporary library directory.
11327 hardcode_action=relink
11329 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11330 hardcode_action=immediate
11333 # We cannot hardcode anything, or else we can only hardcode existing
11335 hardcode_action=unsupported
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11338 $as_echo "$hardcode_action" >&6; }
11340 if test "$hardcode_action" = relink ||
11341 test "$inherit_rpath" = yes; then
11342 # Fast installation is not supported
11343 enable_fast_install=no
11344 elif test "$shlibpath_overrides_runpath" = yes ||
11345 test "$enable_shared" = no; then
11346 # Fast installation is not necessary
11347 enable_fast_install=needless
11355 if test "x$enable_dlopen" != xyes; then
11356 enable_dlopen=unknown
11357 enable_dlopen_self=unknown
11358 enable_dlopen_self_static=unknown
11365 lt_cv_dlopen="load_add_on"
11367 lt_cv_dlopen_self=yes
11370 mingw* | pw32* | cegcc*)
11371 lt_cv_dlopen="LoadLibrary"
11376 lt_cv_dlopen="dlopen"
11381 # if libdl is installed we need to link against it
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11383 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11384 if ${ac_cv_lib_dl_dlopen+:} false; then :
11385 $as_echo_n "(cached) " >&6
11387 ac_check_lib_save_LIBS=$LIBS
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 ac_cv_lib_dl_dlopen=yes
11410 ac_cv_lib_dl_dlopen=no
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11417 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11418 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11419 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11422 lt_cv_dlopen="dyld"
11424 lt_cv_dlopen_self=yes
11431 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11432 if test "x$ac_cv_func_shl_load" = xyes; then :
11433 lt_cv_dlopen="shl_load"
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11436 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11437 if ${ac_cv_lib_dld_shl_load+:} false; then :
11438 $as_echo_n "(cached) " >&6
11440 ac_check_lib_save_LIBS=$LIBS
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11455 return shl_load ();
11460 if ac_fn_c_try_link "$LINENO"; then :
11461 ac_cv_lib_dld_shl_load=yes
11463 ac_cv_lib_dld_shl_load=no
11465 rm -f core conftest.err conftest.$ac_objext \
11466 conftest$ac_exeext conftest.$ac_ext
11467 LIBS=$ac_check_lib_save_LIBS
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11470 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11471 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11472 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11474 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11475 if test "x$ac_cv_func_dlopen" = xyes; then :
11476 lt_cv_dlopen="dlopen"
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11479 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11480 if ${ac_cv_lib_dl_dlopen+:} false; then :
11481 $as_echo_n "(cached) " >&6
11483 ac_check_lib_save_LIBS=$LIBS
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 ac_cv_lib_dl_dlopen=yes
11506 ac_cv_lib_dl_dlopen=no
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_lib_save_LIBS
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11513 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11514 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11515 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11518 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11519 if ${ac_cv_lib_svld_dlopen+:} false; then :
11520 $as_echo_n "(cached) " >&6
11522 ac_check_lib_save_LIBS=$LIBS
11523 LIBS="-lsvld $LIBS"
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11527 /* Override any GCC internal prototype to avoid an error.
11528 Use char because int might match the return type of a GCC
11529 builtin and then its argument prototype would still apply. */
11542 if ac_fn_c_try_link "$LINENO"; then :
11543 ac_cv_lib_svld_dlopen=yes
11545 ac_cv_lib_svld_dlopen=no
11547 rm -f core conftest.err conftest.$ac_objext \
11548 conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_lib_save_LIBS
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11552 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11553 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11554 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11557 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11558 if ${ac_cv_lib_dld_dld_link+:} false; then :
11559 $as_echo_n "(cached) " >&6
11561 ac_check_lib_save_LIBS=$LIBS
11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11566 /* Override any GCC internal prototype to avoid an error.
11567 Use char because int might match the return type of a GCC
11568 builtin and then its argument prototype would still apply. */
11576 return dld_link ();
11581 if ac_fn_c_try_link "$LINENO"; then :
11582 ac_cv_lib_dld_dld_link=yes
11584 ac_cv_lib_dld_dld_link=no
11586 rm -f core conftest.err conftest.$ac_objext \
11587 conftest$ac_exeext conftest.$ac_ext
11588 LIBS=$ac_check_lib_save_LIBS
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11591 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11592 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11593 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11614 if test "x$lt_cv_dlopen" != xno; then
11620 case $lt_cv_dlopen in
11622 save_CPPFLAGS="$CPPFLAGS"
11623 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11625 save_LDFLAGS="$LDFLAGS"
11626 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11629 LIBS="$lt_cv_dlopen_libs $LIBS"
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11632 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11633 if ${lt_cv_dlopen_self+:} false; then :
11634 $as_echo_n "(cached) " >&6
11636 if test "$cross_compiling" = yes; then :
11637 lt_cv_dlopen_self=cross
11639 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11640 lt_status=$lt_dlunknown
11641 cat > conftest.$ac_ext <<_LT_EOF
11642 #line $LINENO "configure"
11643 #include "confdefs.h"
11652 # define LT_DLGLOBAL RTLD_GLOBAL
11655 # define LT_DLGLOBAL DL_GLOBAL
11657 # define LT_DLGLOBAL 0
11661 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11662 find out it does not work in some platform. */
11663 #ifndef LT_DLLAZY_OR_NOW
11665 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11668 # define LT_DLLAZY_OR_NOW DL_LAZY
11671 # define LT_DLLAZY_OR_NOW RTLD_NOW
11674 # define LT_DLLAZY_OR_NOW DL_NOW
11676 # define LT_DLLAZY_OR_NOW 0
11683 /* When -fvisbility=hidden is used, assume the code has been annotated
11684 correspondingly for the symbols needed. */
11685 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11686 int fnord () __attribute__((visibility("default")));
11689 int fnord () { return 42; }
11692 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11693 int status = $lt_dlunknown;
11697 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11700 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11701 else puts (dlerror ());
11703 /* dlclose (self); */
11711 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11712 (eval $ac_link) 2>&5
11714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11715 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11716 (./conftest; exit; ) >&5 2>/dev/null
11718 case x$lt_status in
11719 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11720 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11721 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11724 # compilation failed
11725 lt_cv_dlopen_self=no
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11733 $as_echo "$lt_cv_dlopen_self" >&6; }
11735 if test "x$lt_cv_dlopen_self" = xyes; then
11736 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11738 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11739 if ${lt_cv_dlopen_self_static+:} false; then :
11740 $as_echo_n "(cached) " >&6
11742 if test "$cross_compiling" = yes; then :
11743 lt_cv_dlopen_self_static=cross
11745 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11746 lt_status=$lt_dlunknown
11747 cat > conftest.$ac_ext <<_LT_EOF
11748 #line $LINENO "configure"
11749 #include "confdefs.h"
11758 # define LT_DLGLOBAL RTLD_GLOBAL
11761 # define LT_DLGLOBAL DL_GLOBAL
11763 # define LT_DLGLOBAL 0
11767 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11768 find out it does not work in some platform. */
11769 #ifndef LT_DLLAZY_OR_NOW
11771 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11774 # define LT_DLLAZY_OR_NOW DL_LAZY
11777 # define LT_DLLAZY_OR_NOW RTLD_NOW
11780 # define LT_DLLAZY_OR_NOW DL_NOW
11782 # define LT_DLLAZY_OR_NOW 0
11789 /* When -fvisbility=hidden is used, assume the code has been annotated
11790 correspondingly for the symbols needed. */
11791 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11792 int fnord () __attribute__((visibility("default")));
11795 int fnord () { return 42; }
11798 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11799 int status = $lt_dlunknown;
11803 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11806 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11807 else puts (dlerror ());
11809 /* dlclose (self); */
11817 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11818 (eval $ac_link) 2>&5
11820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11821 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11822 (./conftest; exit; ) >&5 2>/dev/null
11824 case x$lt_status in
11825 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11826 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11827 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11830 # compilation failed
11831 lt_cv_dlopen_self_static=no
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11839 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11842 CPPFLAGS="$save_CPPFLAGS"
11843 LDFLAGS="$save_LDFLAGS"
11848 case $lt_cv_dlopen_self in
11849 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11850 *) enable_dlopen_self=unknown ;;
11853 case $lt_cv_dlopen_self_static in
11854 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11855 *) enable_dlopen_self_static=unknown ;;
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11878 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11879 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11880 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11881 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11883 $as_echo "yes" >&6; }
11885 # FIXME - insert some real tests, host_os isn't really good enough
11888 if test -n "$STRIP" ; then
11889 striplib="$STRIP -x"
11890 old_striplib="$STRIP -S"
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11892 $as_echo "yes" >&6; }
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11895 $as_echo "no" >&6; }
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 $as_echo "no" >&6; }
11916 # Report which library types will actually be built
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11918 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11920 $as_echo "$can_build_shared" >&6; }
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11923 $as_echo_n "checking whether to build shared libraries... " >&6; }
11924 test "$can_build_shared" = "no" && enable_shared=no
11926 # On AIX, shared libraries and static libraries use the same namespace, and
11927 # are all built from PIC.
11930 test "$enable_shared" = yes && enable_static=no
11931 if test -n "$RANLIB"; then
11932 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11933 postinstall_cmds='$RANLIB $lib'
11938 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11939 test "$enable_shared" = yes && enable_static=no
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11944 $as_echo "$enable_shared" >&6; }
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11947 $as_echo_n "checking whether to build static libraries... " >&6; }
11948 # Make sure either enable_shared or enable_static is yes.
11949 test "$enable_shared" = yes || enable_static=yes
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11951 $as_echo "$enable_static" >&6; }
11958 ac_cpp='$CPP $CPPFLAGS'
11959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11979 ac_config_commands="$ac_config_commands libtool"
11984 # Only expand once:
11990 for ac_func in $ac_func_list
11992 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11993 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11994 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11995 cat >>confdefs.h <<_ACEOF
11996 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12008 # Checks for programs.
12016 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12017 if test -n "$ac_tool_prefix"; then
12018 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12019 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12021 $as_echo_n "checking for $ac_word... " >&6; }
12022 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12023 $as_echo_n "(cached) " >&6
12025 case $PKG_CONFIG in
12027 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12031 for as_dir in $PATH
12034 test -z "$as_dir" && as_dir=.
12035 for ac_exec_ext in '' $ac_executable_extensions; do
12036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12037 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12048 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12049 if test -n "$PKG_CONFIG"; then
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12051 $as_echo "$PKG_CONFIG" >&6; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12054 $as_echo "no" >&6; }
12059 if test -z "$ac_cv_path_PKG_CONFIG"; then
12060 ac_pt_PKG_CONFIG=$PKG_CONFIG
12061 # Extract the first word of "pkg-config", so it can be a program name with args.
12062 set dummy pkg-config; ac_word=$2
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12064 $as_echo_n "checking for $ac_word... " >&6; }
12065 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12066 $as_echo_n "(cached) " >&6
12068 case $ac_pt_PKG_CONFIG in
12070 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12074 for as_dir in $PATH
12077 test -z "$as_dir" && as_dir=.
12078 for ac_exec_ext in '' $ac_executable_extensions; do
12079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12080 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12091 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12092 if test -n "$ac_pt_PKG_CONFIG"; then
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12094 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12097 $as_echo "no" >&6; }
12100 if test "x$ac_pt_PKG_CONFIG" = x; then
12103 case $cross_compiling:$ac_tool_warned in
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12107 ac_tool_warned=yes ;;
12109 PKG_CONFIG=$ac_pt_PKG_CONFIG
12112 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12116 if test -n "$PKG_CONFIG"; then
12117 _pkg_min_version=0.23
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12119 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12120 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12122 $as_echo "yes" >&6; }
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12125 $as_echo "no" >&6; }
12130 ac_cpp='$CPP $CPPFLAGS'
12131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12134 if test -n "$ac_tool_prefix"; then
12135 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12136 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12138 $as_echo_n "checking for $ac_word... " >&6; }
12139 if ${ac_cv_prog_CC+:} false; then :
12140 $as_echo_n "(cached) " >&6
12142 if test -n "$CC"; then
12143 ac_cv_prog_CC="$CC" # Let the user override the test.
12145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12146 for as_dir in $PATH
12149 test -z "$as_dir" && as_dir=.
12150 for ac_exec_ext in '' $ac_executable_extensions; do
12151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12152 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12163 if test -n "$CC"; then
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12165 $as_echo "$CC" >&6; }
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12168 $as_echo "no" >&6; }
12173 if test -z "$ac_cv_prog_CC"; then
12175 # Extract the first word of "gcc", so it can be a program name with args.
12176 set dummy gcc; ac_word=$2
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12178 $as_echo_n "checking for $ac_word... " >&6; }
12179 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12180 $as_echo_n "(cached) " >&6
12182 if test -n "$ac_ct_CC"; then
12183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12186 for as_dir in $PATH
12189 test -z "$as_dir" && as_dir=.
12190 for ac_exec_ext in '' $ac_executable_extensions; do
12191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12192 ac_cv_prog_ac_ct_CC="gcc"
12193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12203 if test -n "$ac_ct_CC"; then
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12205 $as_echo "$ac_ct_CC" >&6; }
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12208 $as_echo "no" >&6; }
12211 if test "x$ac_ct_CC" = x; then
12214 case $cross_compiling:$ac_tool_warned in
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12218 ac_tool_warned=yes ;;
12223 CC="$ac_cv_prog_CC"
12226 if test -z "$CC"; then
12227 if test -n "$ac_tool_prefix"; then
12228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12229 set dummy ${ac_tool_prefix}cc; ac_word=$2
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12231 $as_echo_n "checking for $ac_word... " >&6; }
12232 if ${ac_cv_prog_CC+:} false; then :
12233 $as_echo_n "(cached) " >&6
12235 if test -n "$CC"; then
12236 ac_cv_prog_CC="$CC" # Let the user override the test.
12238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12239 for as_dir in $PATH
12242 test -z "$as_dir" && as_dir=.
12243 for ac_exec_ext in '' $ac_executable_extensions; do
12244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12245 ac_cv_prog_CC="${ac_tool_prefix}cc"
12246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12256 if test -n "$CC"; then
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12258 $as_echo "$CC" >&6; }
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12261 $as_echo "no" >&6; }
12267 if test -z "$CC"; then
12268 # Extract the first word of "cc", so it can be a program name with args.
12269 set dummy cc; ac_word=$2
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12271 $as_echo_n "checking for $ac_word... " >&6; }
12272 if ${ac_cv_prog_CC+:} false; then :
12273 $as_echo_n "(cached) " >&6
12275 if test -n "$CC"; then
12276 ac_cv_prog_CC="$CC" # Let the user override the test.
12278 ac_prog_rejected=no
12279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12280 for as_dir in $PATH
12283 test -z "$as_dir" && as_dir=.
12284 for ac_exec_ext in '' $ac_executable_extensions; do
12285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12286 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12287 ac_prog_rejected=yes
12291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12298 if test $ac_prog_rejected = yes; then
12299 # We found a bogon in the path, so make sure we never use it.
12300 set dummy $ac_cv_prog_CC
12302 if test $# != 0; then
12303 # We chose a different compiler from the bogus one.
12304 # However, it has the same basename, so the bogon will be chosen
12305 # first if we set CC to just the basename; use the full file name.
12307 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12313 if test -n "$CC"; then
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12315 $as_echo "$CC" >&6; }
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12318 $as_echo "no" >&6; }
12323 if test -z "$CC"; then
12324 if test -n "$ac_tool_prefix"; then
12325 for ac_prog in cl.exe
12327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12328 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12330 $as_echo_n "checking for $ac_word... " >&6; }
12331 if ${ac_cv_prog_CC+:} false; then :
12332 $as_echo_n "(cached) " >&6
12334 if test -n "$CC"; then
12335 ac_cv_prog_CC="$CC" # Let the user override the test.
12337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12338 for as_dir in $PATH
12341 test -z "$as_dir" && as_dir=.
12342 for ac_exec_ext in '' $ac_executable_extensions; do
12343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12344 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12355 if test -n "$CC"; then
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12357 $as_echo "$CC" >&6; }
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12360 $as_echo "no" >&6; }
12364 test -n "$CC" && break
12367 if test -z "$CC"; then
12369 for ac_prog in cl.exe
12371 # Extract the first word of "$ac_prog", so it can be a program name with args.
12372 set dummy $ac_prog; ac_word=$2
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12374 $as_echo_n "checking for $ac_word... " >&6; }
12375 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12376 $as_echo_n "(cached) " >&6
12378 if test -n "$ac_ct_CC"; then
12379 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12382 for as_dir in $PATH
12385 test -z "$as_dir" && as_dir=.
12386 for ac_exec_ext in '' $ac_executable_extensions; do
12387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12388 ac_cv_prog_ac_ct_CC="$ac_prog"
12389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12398 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12399 if test -n "$ac_ct_CC"; then
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12401 $as_echo "$ac_ct_CC" >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12404 $as_echo "no" >&6; }
12408 test -n "$ac_ct_CC" && break
12411 if test "x$ac_ct_CC" = x; then
12414 case $cross_compiling:$ac_tool_warned in
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12418 ac_tool_warned=yes ;;
12427 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12429 as_fn_error $? "no acceptable C compiler found in \$PATH
12430 See \`config.log' for more details" "$LINENO" 5; }
12432 # Provide some information about the compiler.
12433 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12436 for ac_option in --version -v -V -qversion; do
12437 { { ac_try="$ac_compiler $ac_option >&5"
12438 case "(($ac_try" in
12439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12440 *) ac_try_echo=$ac_try;;
12442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12443 $as_echo "$ac_try_echo"; } >&5
12444 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12446 if test -s conftest.err; then
12448 ... rest of stderr output deleted ...
12449 10q' conftest.err >conftest.er1
12450 cat conftest.er1 >&5
12452 rm -f conftest.er1 conftest.err
12453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12454 test $ac_status = 0; }
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12458 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12459 if ${ac_cv_c_compiler_gnu+:} false; then :
12460 $as_echo_n "(cached) " >&6
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12476 if ac_fn_c_try_compile "$LINENO"; then :
12477 ac_compiler_gnu=yes
12481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12482 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12486 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12487 if test $ac_compiler_gnu = yes; then
12492 ac_test_CFLAGS=${CFLAGS+set}
12493 ac_save_CFLAGS=$CFLAGS
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12495 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12496 if ${ac_cv_prog_cc_g+:} false; then :
12497 $as_echo_n "(cached) " >&6
12499 ac_save_c_werror_flag=$ac_c_werror_flag
12500 ac_c_werror_flag=yes
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12514 if ac_fn_c_try_compile "$LINENO"; then :
12515 ac_cv_prog_cc_g=yes
12518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12529 if ac_fn_c_try_compile "$LINENO"; then :
12532 ac_c_werror_flag=$ac_save_c_werror_flag
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12545 if ac_fn_c_try_compile "$LINENO"; then :
12546 ac_cv_prog_cc_g=yes
12548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12553 ac_c_werror_flag=$ac_save_c_werror_flag
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12556 $as_echo "$ac_cv_prog_cc_g" >&6; }
12557 if test "$ac_test_CFLAGS" = set; then
12558 CFLAGS=$ac_save_CFLAGS
12559 elif test $ac_cv_prog_cc_g = yes; then
12560 if test "$GCC" = yes; then
12566 if test "$GCC" = yes; then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12573 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12574 if ${ac_cv_prog_cc_c89+:} false; then :
12575 $as_echo_n "(cached) " >&6
12577 ac_cv_prog_cc_c89=no
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12581 #include <stdarg.h>
12584 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12585 struct buf { int x; };
12586 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12587 static char *e (p, i)
12593 static char *f (char * (*g) (char **, int), char **p, ...)
12598 s = g (p, va_arg (v,int));
12603 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12604 function prototypes and stuff, but not '\xHH' hex character constants.
12605 These don't provoke an error unfortunately, instead are silently treated
12606 as 'x'. The following induces an error, until -std is added to get
12607 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12608 array size at least. It's necessary to write '\x00'==0 to get something
12609 that's true only with -std. */
12610 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12612 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12613 inside strings and character constants. */
12615 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12617 int test (int i, double x);
12618 struct s1 {int (*f) (int a);};
12619 struct s2 {int (*f) (double a);};
12620 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12626 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12631 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12632 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12634 CC="$ac_save_CC $ac_arg"
12635 if ac_fn_c_try_compile "$LINENO"; then :
12636 ac_cv_prog_cc_c89=$ac_arg
12638 rm -f core conftest.err conftest.$ac_objext
12639 test "x$ac_cv_prog_cc_c89" != "xno" && break
12641 rm -f conftest.$ac_ext
12646 case "x$ac_cv_prog_cc_c89" in
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12649 $as_echo "none needed" >&6; } ;;
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12652 $as_echo "unsupported" >&6; } ;;
12654 CC="$CC $ac_cv_prog_cc_c89"
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12656 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12658 if test "x$ac_cv_prog_cc_c89" != xno; then :
12663 ac_cpp='$CPP $CPPFLAGS'
12664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12669 ac_cpp='$CPP $CPPFLAGS'
12670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12674 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12675 if ${am_cv_prog_cc_c_o+:} false; then :
12676 $as_echo_n "(cached) " >&6
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12689 # Make sure it works both with $CC and with simple cc.
12690 # Following AC_PROG_CC_C_O, we do the test twice because some
12691 # compilers refuse to overwrite an existing .o file with -o,
12692 # though they will create one.
12693 am_cv_prog_cc_c_o=yes
12694 for am_i in 1 2; do
12695 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12696 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); } \
12700 && test -f conftest2.$ac_objext; then
12703 am_cv_prog_cc_c_o=no
12707 rm -f core conftest*
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12711 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12712 if test "$am_cv_prog_cc_c_o" != yes; then
12713 # Losing compiler, so override with the script.
12714 # FIXME: It is wrong to rewrite CC.
12715 # But if we don't then we get into trouble of one sort or another.
12716 # A longer-term fix would be to have automake use am__CC in this case,
12717 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12718 CC="$am_aux_dir/compile $CC"
12721 ac_cpp='$CPP $CPPFLAGS'
12722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12727 depcc="$CC" am_compiler_list=
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12730 $as_echo_n "checking dependency style of $depcc... " >&6; }
12731 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12732 $as_echo_n "(cached) " >&6
12734 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12735 # We make a subdir and do the tests there. Otherwise we can end up
12736 # making bogus files that we don't know about and never remove. For
12737 # instance it was reported that on HP-UX the gcc test will end up
12738 # making a dummy file named 'D' -- because '-MD' means "put the output
12740 rm -rf conftest.dir
12742 # Copy depcomp to subdir because otherwise we won't find it if we're
12743 # using a relative directory.
12744 cp "$am_depcomp" conftest.dir
12746 # We will build objects and dependencies in a subdirectory because
12747 # it helps to detect inapplicable dependency modes. For instance
12748 # both Tru64's cc and ICC support -MD to output dependencies as a
12749 # side effect of compilation, but ICC will put the dependencies in
12750 # the current directory while Tru64 will put them in the object
12754 am_cv_CC_dependencies_compiler_type=none
12755 if test "$am_compiler_list" = ""; then
12756 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12758 am__universal=false
12759 case " $depcc " in #(
12760 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12763 for depmode in $am_compiler_list; do
12764 # Setup a source with many dependencies, because some compilers
12765 # like to wrap large dependency lists on column 80 (with \), and
12766 # we should not choose a depcomp mode which is confused by this.
12768 # We need to recreate these files for each test, as the compiler may
12769 # overwrite some of them when testing with obscure command lines.
12770 # This happens at least with the AIX C compiler.
12772 for i in 1 2 3 4 5 6; do
12773 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12774 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12775 # Solaris 10 /bin/sh.
12776 echo '/* dummy */' > sub/conftst$i.h
12778 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12780 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12781 # mode. It turns out that the SunPro C++ compiler does not properly
12782 # handle '-M -o', and we need to detect this. Also, some Intel
12783 # versions had trouble with output in subdirs.
12784 am__obj=sub/conftest.${OBJEXT-o}
12785 am__minus_obj="-o $am__obj"
12788 # This depmode causes a compiler race in universal mode.
12789 test "$am__universal" = false || continue
12792 # After this tag, mechanisms are not by side-effect, so they'll
12793 # only be used when explicitly requested.
12794 if test "x$enable_dependency_tracking" = xyes; then
12800 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12801 # This compiler won't grok '-c -o', but also, the minuso test has
12802 # not run yet. These depmodes are late enough in the game, and
12803 # so weak that their functioning should not be impacted.
12804 am__obj=conftest.${OBJEXT-o}
12809 if depmode=$depmode \
12810 source=sub/conftest.c object=$am__obj \
12811 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12812 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12813 >/dev/null 2>conftest.err &&
12814 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12815 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12816 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12817 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12818 # icc doesn't choke on unknown options, it will just issue warnings
12819 # or remarks (even with -Werror). So we grep stderr for any message
12820 # that says an option was ignored or not supported.
12821 # When given -MP, icc 7.0 and 7.1 complain thusly:
12822 # icc: Command line warning: ignoring option '-M'; no argument required
12823 # The diagnosis changed in icc 8.0:
12824 # icc: Command line remark: option '-MP' not supported
12825 if (grep 'ignoring option' conftest.err ||
12826 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12827 am_cv_CC_dependencies_compiler_type=$depmode
12834 rm -rf conftest.dir
12836 am_cv_CC_dependencies_compiler_type=none
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12841 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12842 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12845 test "x$enable_dependency_tracking" != xno \
12846 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12847 am__fastdepCC_TRUE=
12848 am__fastdepCC_FALSE='#'
12850 am__fastdepCC_TRUE='#'
12851 am__fastdepCC_FALSE=
12856 # Extract the first word of "valac", so it can be a program name with args.
12857 set dummy valac; ac_word=$2
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12859 $as_echo_n "checking for $ac_word... " >&6; }
12860 if ${ac_cv_path_VALAC+:} false; then :
12861 $as_echo_n "(cached) " >&6
12865 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
12868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12869 for as_dir in $PATH
12872 test -z "$as_dir" && as_dir=.
12873 for ac_exec_ext in '' $ac_executable_extensions; do
12874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12875 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
12876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12883 test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
12887 VALAC=$ac_cv_path_VALAC
12888 if test -n "$VALAC"; then
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
12890 $as_echo "$VALAC" >&6; }
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12893 $as_echo "no" >&6; }
12897 if test "$VALAC" != valac && test -n "0.9"; then :
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.9" >&5
12899 $as_echo_n "checking whether $VALAC is at least version 0.9... " >&6; }
12900 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
12902 as_arg_v2="$am__vala_version"
12903 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12907 $as_echo "yes" >&6; } ;; #(
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12910 $as_echo "yes" >&6; } ;; #(
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12913 $as_echo "no" >&6; }
12919 if test "$VALAC" = valac; then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
12921 $as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
12923 $as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
12936 SERVER_IPC_MODULE="msrpc-glib2-1.0"
12937 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12941 $as_echo_n "checking for GTK... " >&6; }
12943 if test -n "$GTK_CFLAGS"; then
12944 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12945 elif test -n "$PKG_CONFIG"; then
12946 if test -n "$PKG_CONFIG" && \
12947 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12948 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12951 test $ac_status = 0; }; then
12952 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12953 test "x$?" != "x0" && pkg_failed=yes
12960 if test -n "$GTK_LIBS"; then
12961 pkg_cv_GTK_LIBS="$GTK_LIBS"
12962 elif test -n "$PKG_CONFIG"; then
12963 if test -n "$PKG_CONFIG" && \
12964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12965 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12968 test $ac_status = 0; }; then
12969 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12970 test "x$?" != "x0" && pkg_failed=yes
12980 if test $pkg_failed = yes; then
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12982 $as_echo "no" >&6; }
12984 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12985 _pkg_short_errors_supported=yes
12987 _pkg_short_errors_supported=no
12989 if test $_pkg_short_errors_supported = yes; then
12990 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12992 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12994 # Put the nasty error message in config.log where it belongs
12995 echo "$GTK_PKG_ERRORS" >&5
12997 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13001 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13002 installed software in a non-standard prefix.
13004 Alternatively, you may set the environment variables GTK_CFLAGS
13005 and GTK_LIBS to avoid the need to call pkg-config.
13006 See the pkg-config man page for more details." "$LINENO" 5
13007 elif test $pkg_failed = untried; then
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13009 $as_echo "no" >&6; }
13010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13012 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13013 is in your PATH or set the PKG_CONFIG environment variable to the full
13014 path to pkg-config.
13016 Alternatively, you may set the environment variables GTK_CFLAGS
13017 and GTK_LIBS to avoid the need to call pkg-config.
13018 See the pkg-config man page for more details.
13020 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13021 See \`config.log' for more details" "$LINENO" 5; }
13023 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13024 GTK_LIBS=$pkg_cv_GTK_LIBS
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13026 $as_echo "yes" >&6; }
13027 GTK_VERSION="gtk+-2.0"
13037 # We require dbus-glib for the client library even if we are using GDBus
13038 # in the server. The reason we can't always use dbus-glib in the server is
13039 # because Vala drops support for it, but as it ships with DBus there is very
13040 # little danger of it being dropped by distros any time soon.
13041 CLIENT_IPC_MODULE="dbus-glib-1"
13042 SERVER_IPC_MODULE="dbus-glib-1"
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
13047 $as_echo_n "checking for MAC... " >&6; }
13049 if test -n "$MAC_CFLAGS"; then
13050 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
13051 elif test -n "$PKG_CONFIG"; then
13052 if test -n "$PKG_CONFIG" && \
13053 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13055 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13059 test $ac_status = 0; }; then
13060 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
13062 test "x$?" != "x0" && pkg_failed=yes
13069 if test -n "$MAC_LIBS"; then
13070 pkg_cv_MAC_LIBS="$MAC_LIBS"
13071 elif test -n "$PKG_CONFIG"; then
13072 if test -n "$PKG_CONFIG" && \
13073 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13075 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13079 test $ac_status = 0; }; then
13080 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
13082 test "x$?" != "x0" && pkg_failed=yes
13092 if test $pkg_failed = yes; then
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13094 $as_echo "no" >&6; }
13096 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13097 _pkg_short_errors_supported=yes
13099 _pkg_short_errors_supported=no
13101 if test $_pkg_short_errors_supported = yes; then
13102 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13105 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13108 # Put the nasty error message in config.log where it belongs
13109 echo "$MAC_PKG_ERRORS" >&5
13111 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
13116 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13117 installed software in a non-standard prefix.
13119 Alternatively, you may set the environment variables MAC_CFLAGS
13120 and MAC_LIBS to avoid the need to call pkg-config.
13121 See the pkg-config man page for more details." "$LINENO" 5
13122 elif test $pkg_failed = untried; then
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13124 $as_echo "no" >&6; }
13125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13127 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13128 is in your PATH or set the PKG_CONFIG environment variable to the full
13129 path to pkg-config.
13131 Alternatively, you may set the environment variables MAC_CFLAGS
13132 and MAC_LIBS to avoid the need to call pkg-config.
13133 See the pkg-config man page for more details.
13135 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13136 See \`config.log' for more details" "$LINENO" 5; }
13138 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
13139 MAC_LIBS=$pkg_cv_MAC_LIBS
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13141 $as_echo "yes" >&6; }
13145 # TODO: Move to GTK+-3
13146 # [gtk+-3.0 >= 2.0],
13147 # [GTK_VERSION="gtk+-3.0"]
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13151 $as_echo_n "checking for GTK... " >&6; }
13153 if test -n "$GTK_CFLAGS"; then
13154 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13155 elif test -n "$PKG_CONFIG"; then
13156 if test -n "$PKG_CONFIG" && \
13157 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13158 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13161 test $ac_status = 0; }; then
13162 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13163 test "x$?" != "x0" && pkg_failed=yes
13170 if test -n "$GTK_LIBS"; then
13171 pkg_cv_GTK_LIBS="$GTK_LIBS"
13172 elif test -n "$PKG_CONFIG"; then
13173 if test -n "$PKG_CONFIG" && \
13174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13175 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13178 test $ac_status = 0; }; then
13179 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13180 test "x$?" != "x0" && pkg_failed=yes
13190 if test $pkg_failed = yes; then
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13192 $as_echo "no" >&6; }
13194 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13195 _pkg_short_errors_supported=yes
13197 _pkg_short_errors_supported=no
13199 if test $_pkg_short_errors_supported = yes; then
13200 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13202 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13204 # Put the nasty error message in config.log where it belongs
13205 echo "$GTK_PKG_ERRORS" >&5
13207 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13211 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13212 installed software in a non-standard prefix.
13214 Alternatively, you may set the environment variables GTK_CFLAGS
13215 and GTK_LIBS to avoid the need to call pkg-config.
13216 See the pkg-config man page for more details." "$LINENO" 5
13217 elif test $pkg_failed = untried; then
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13219 $as_echo "no" >&6; }
13220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13222 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13223 is in your PATH or set the PKG_CONFIG environment variable to the full
13224 path to pkg-config.
13226 Alternatively, you may set the environment variables GTK_CFLAGS
13227 and GTK_LIBS to avoid the need to call pkg-config.
13228 See the pkg-config man page for more details.
13230 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13231 See \`config.log' for more details" "$LINENO" 5; }
13233 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13234 GTK_LIBS=$pkg_cv_GTK_LIBS
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13236 $as_echo "yes" >&6; }
13237 GTK_VERSION="gtk+-2.0"
13247 # We require dbus-glib for the client library even if we are using GDBus
13248 # in the server. The reason we can't always use dbus-glib in the server is
13249 # because Vala drops support for it, but as it ships with DBus there is very
13250 # little danger of it being dropped by distros any time soon.
13251 CLIENT_IPC_MODULE="dbus-glib-1"
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
13255 $as_echo_n "checking for GDBUS... " >&6; }
13257 if test -n "$GDBUS_CFLAGS"; then
13258 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
13259 elif test -n "$PKG_CONFIG"; then
13260 if test -n "$PKG_CONFIG" && \
13261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13262 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13265 test $ac_status = 0; }; then
13266 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
13267 test "x$?" != "x0" && pkg_failed=yes
13274 if test -n "$GDBUS_LIBS"; then
13275 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
13276 elif test -n "$PKG_CONFIG"; then
13277 if test -n "$PKG_CONFIG" && \
13278 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13279 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13282 test $ac_status = 0; }; then
13283 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
13284 test "x$?" != "x0" && pkg_failed=yes
13294 if test $pkg_failed = yes; then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13296 $as_echo "no" >&6; }
13298 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13299 _pkg_short_errors_supported=yes
13301 _pkg_short_errors_supported=no
13303 if test $_pkg_short_errors_supported = yes; then
13304 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13306 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13308 # Put the nasty error message in config.log where it belongs
13309 echo "$GDBUS_PKG_ERRORS" >&5
13311 SERVER_IPC_MODULE="dbus-glib-1"
13313 elif test $pkg_failed = untried; then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13315 $as_echo "no" >&6; }
13316 SERVER_IPC_MODULE="dbus-glib-1"
13319 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
13320 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13322 $as_echo "yes" >&6; }
13323 SERVER_IPC_MODULE="gio-2.0"
13325 # TODO: Move to GTK+-3
13326 # [gtk+-3.0 >= 2.0],
13327 # [GTK_VERSION="gtk+-3.0"]
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13331 $as_echo_n "checking for GTK... " >&6; }
13333 if test -n "$GTK_CFLAGS"; then
13334 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13335 elif test -n "$PKG_CONFIG"; then
13336 if test -n "$PKG_CONFIG" && \
13337 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13338 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13341 test $ac_status = 0; }; then
13342 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13343 test "x$?" != "x0" && pkg_failed=yes
13350 if test -n "$GTK_LIBS"; then
13351 pkg_cv_GTK_LIBS="$GTK_LIBS"
13352 elif test -n "$PKG_CONFIG"; then
13353 if test -n "$PKG_CONFIG" && \
13354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13355 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13358 test $ac_status = 0; }; then
13359 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13360 test "x$?" != "x0" && pkg_failed=yes
13370 if test $pkg_failed = yes; then
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13372 $as_echo "no" >&6; }
13374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13375 _pkg_short_errors_supported=yes
13377 _pkg_short_errors_supported=no
13379 if test $_pkg_short_errors_supported = yes; then
13380 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13382 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13384 # Put the nasty error message in config.log where it belongs
13385 echo "$GTK_PKG_ERRORS" >&5
13387 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13391 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13392 installed software in a non-standard prefix.
13394 Alternatively, you may set the environment variables GTK_CFLAGS
13395 and GTK_LIBS to avoid the need to call pkg-config.
13396 See the pkg-config man page for more details." "$LINENO" 5
13397 elif test $pkg_failed = untried; then
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13399 $as_echo "no" >&6; }
13400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13402 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13403 is in your PATH or set the PKG_CONFIG environment variable to the full
13404 path to pkg-config.
13406 Alternatively, you may set the environment variables GTK_CFLAGS
13407 and GTK_LIBS to avoid the need to call pkg-config.
13408 See the pkg-config man page for more details.
13410 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13411 See \`config.log' for more details" "$LINENO" 5; }
13413 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13414 GTK_LIBS=$pkg_cv_GTK_LIBS
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13416 $as_echo "yes" >&6; }
13417 GTK_VERSION="gtk+-2.0"
13424 if test "$linux" = "yes"; then
13432 if test "$win32" = "yes"; then
13440 if test "$macos" = "yes"; then
13449 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13451 IPC_MSRPC_FALSE='#'
13457 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
13465 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13466 IPC_DBUS_GLIB_TRUE=
13467 IPC_DBUS_GLIB_FALSE='#'
13469 IPC_DBUS_GLIB_TRUE='#'
13470 IPC_DBUS_GLIB_FALSE=
13473 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
13475 IPC_GDBUS_FALSE='#'
13482 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
13484 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
13485 vala_version=`$VALAC --version | sed 's/Vala *//'`
13487 as_arg_v2="$vala_version"
13488 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13491 vala_supports_dbus_glib="no" ;; #(
13493 vala_supports_dbus_glib="no" ;; #(
13495 vala_supports_dbus_glib="yes" ;; #(
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
13501 $as_echo "$vala_supports_dbus_glib" >&6; }
13502 if test "$vala_supports_dbus_glib" = "no"; then
13504 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
13505 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
13509 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13512 pkg_config_args="msrpc-mingw-1.0"
13521 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13522 if test -n "$ac_tool_prefix"; then
13523 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13524 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13526 $as_echo_n "checking for $ac_word... " >&6; }
13527 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13528 $as_echo_n "(cached) " >&6
13530 case $PKG_CONFIG in
13532 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13536 for as_dir in $PATH
13539 test -z "$as_dir" && as_dir=.
13540 for ac_exec_ext in '' $ac_executable_extensions; do
13541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13542 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13553 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13554 if test -n "$PKG_CONFIG"; then
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13556 $as_echo "$PKG_CONFIG" >&6; }
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13559 $as_echo "no" >&6; }
13564 if test -z "$ac_cv_path_PKG_CONFIG"; then
13565 ac_pt_PKG_CONFIG=$PKG_CONFIG
13566 # Extract the first word of "pkg-config", so it can be a program name with args.
13567 set dummy pkg-config; ac_word=$2
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13569 $as_echo_n "checking for $ac_word... " >&6; }
13570 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13571 $as_echo_n "(cached) " >&6
13573 case $ac_pt_PKG_CONFIG in
13575 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13579 for as_dir in $PATH
13582 test -z "$as_dir" && as_dir=.
13583 for ac_exec_ext in '' $ac_executable_extensions; do
13584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13585 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13596 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13597 if test -n "$ac_pt_PKG_CONFIG"; then
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13599 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13602 $as_echo "no" >&6; }
13605 if test "x$ac_pt_PKG_CONFIG" = x; then
13608 case $cross_compiling:$ac_tool_warned in
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13612 ac_tool_warned=yes ;;
13614 PKG_CONFIG=$ac_pt_PKG_CONFIG
13617 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13621 if test -n "$PKG_CONFIG"; then
13622 _pkg_min_version=0.16
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13624 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13625 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13627 $as_echo "yes" >&6; }
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13630 $as_echo "no" >&6; }
13637 if test "x$PKG_CONFIG" = x ; then
13642 min_msrpc_mingw_version=0.1.0
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
13644 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
13646 if test x$PKG_CONFIG != xno ; then
13647 if $PKG_CONFIG --uninstalled $pkg_config_args; then
13648 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
13651 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
13658 if test x"$no_msrpc" = x ; then
13659 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
13660 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13661 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13664 if test "x$no_msrpc" = x ; then
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13666 $as_echo "yes" >&6; }
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13670 $as_echo "no" >&6; }
13671 if test "$PKG_CONFIG" = "no" ; then
13672 echo "*** A new enough version of pkg-config was not found."
13673 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13681 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
13688 # Extract the first word of "midl", so it can be a program name with args.
13689 set dummy midl; ac_word=$2
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13691 $as_echo_n "checking for $ac_word... " >&6; }
13692 if ${ac_cv_path_MIDL+:} false; then :
13693 $as_echo_n "(cached) " >&6
13697 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
13700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13701 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
13704 test -z "$as_dir" && as_dir=.
13705 for ac_exec_ext in '' $ac_executable_extensions; do
13706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13707 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
13708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13715 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
13719 MIDL=$ac_cv_path_MIDL
13720 if test -n "$MIDL"; then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
13722 $as_echo "$MIDL" >&6; }
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13725 $as_echo "no" >&6; }
13729 if test "$MIDL" = "no"; then
13731 *** Could not find the Microsoft interface compiler MIDL.EXE.
13732 *** This program is available as part of the MS Windows SDK, in
13733 *** the Win32 Development Tools package. If it is not in the PATH
13734 *** or its default location you may set the 'MIDL' environment
13735 *** variable to point to its location and rerun configure." "$LINENO" 5
13739 if test "$win32" = "yes"; then
13740 # Other Windows-specific tools
13742 # LIB.EXE from MSVC to build an MSVC-compatible import library.
13743 # Extract the first word of "lib", so it can be a program name with args.
13744 set dummy lib; ac_word=$2
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13746 $as_echo_n "checking for $ac_word... " >&6; }
13747 if ${ac_cv_path_MSVC_LIB+:} false; then :
13748 $as_echo_n "(cached) " >&6
13752 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
13755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13756 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
13759 test -z "$as_dir" && as_dir=.
13760 for ac_exec_ext in '' $ac_executable_extensions; do
13761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13762 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
13763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13770 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
13774 MSVC_LIB=$ac_cv_path_MSVC_LIB
13775 if test -n "$MSVC_LIB"; then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
13777 $as_echo "$MSVC_LIB" >&6; }
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13780 $as_echo "no" >&6; }
13785 if test "$MSVC_LIB" = "no"; then
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13787 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13788 *** to build the Visual C import library for libmoonshot. Use the
13789 *** MSVC_LIB environment variable to pass its location if this is
13790 *** outside the PATH." >&5
13791 $as_echo "$as_me: WARNING:
13792 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13793 *** to build the Visual C import library for libmoonshot. Use the
13794 *** MSVC_LIB environment variable to pass its location if this is
13795 *** outside the PATH." >&2;}
13799 # ImageMagick for the 'make icons' target. Note that
13800 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
13801 # Extract the first word of "convert", so it can be a program name with args.
13802 set dummy convert; ac_word=$2
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13804 $as_echo_n "checking for $ac_word... " >&6; }
13805 if ${ac_cv_path_IMAGEMAGICK_CONVERT+:} false; then :
13806 $as_echo_n "(cached) " >&6
13808 case $IMAGEMAGICK_CONVERT in
13810 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
13813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13814 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
13817 test -z "$as_dir" && as_dir=.
13818 for ac_exec_ext in '' $ac_executable_extensions; do
13819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13820 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
13821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13828 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
13832 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
13833 if test -n "$IMAGEMAGICK_CONVERT"; then
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
13835 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13838 $as_echo "no" >&6; }
13843 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13845 *** Could not find ImageMagick convert.exe. This is required for the
13846 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13847 *** variable to pass its location if this is outside the PATH." >&5
13848 $as_echo "$as_me: WARNING:
13849 *** Could not find ImageMagick convert.exe. This is required for the
13850 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13851 *** variable to pass its location if this is outside the PATH." >&2;}
13855 # Windows Installer XML tools
13856 # Extract the first word of "candle", so it can be a program name with args.
13857 set dummy candle; ac_word=$2
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13859 $as_echo_n "checking for $ac_word... " >&6; }
13860 if ${ac_cv_path_WIX_CANDLE+:} false; then :
13861 $as_echo_n "(cached) " >&6
13863 case $WIX_CANDLE in
13865 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
13868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13869 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
13872 test -z "$as_dir" && as_dir=.
13873 for ac_exec_ext in '' $ac_executable_extensions; do
13874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13875 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
13876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13883 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
13887 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
13888 if test -n "$WIX_CANDLE"; then
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
13890 $as_echo "$WIX_CANDLE" >&6; }
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13893 $as_echo "no" >&6; }
13897 # Extract the first word of "light", so it can be a program name with args.
13898 set dummy light; ac_word=$2
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13900 $as_echo_n "checking for $ac_word... " >&6; }
13901 if ${ac_cv_path_WIX_LIGHT+:} false; then :
13902 $as_echo_n "(cached) " >&6
13906 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
13909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13910 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
13913 test -z "$as_dir" && as_dir=.
13914 for ac_exec_ext in '' $ac_executable_extensions; do
13915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13916 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
13917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13924 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
13928 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
13929 if test -n "$WIX_LIGHT"; then
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
13931 $as_echo "$WIX_LIGHT" >&6; }
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13934 $as_echo "no" >&6; }
13939 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13941 *** Could not find the Windows Installer XML tools. These are required
13942 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13943 *** environment variables to pass their locations if they are outside
13945 $as_echo "$as_me: WARNING:
13946 *** Could not find the Windows Installer XML tools. These are required
13947 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13948 *** environment variables to pass their locations if they are outside
13949 *** the PATH." >&2;}
13953 if test "$linux" = "yes"; then
13954 # Extract the first word of "update-mime-database", so it can be a program name with args.
13955 set dummy update-mime-database; ac_word=$2
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13957 $as_echo_n "checking for $ac_word... " >&6; }
13958 if ${ac_cv_path_UPDATE_MIME_DATABASE+:} false; then :
13959 $as_echo_n "(cached) " >&6
13961 case $UPDATE_MIME_DATABASE in
13963 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
13966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13967 for as_dir in $PATH
13970 test -z "$as_dir" && as_dir=.
13971 for ac_exec_ext in '' $ac_executable_extensions; do
13972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13973 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13981 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
13985 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
13986 if test -n "$UPDATE_MIME_DATABASE"; then
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
13988 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13991 $as_echo "no" >&6; }
13995 if test "$UPDATE_MIME_DATABASE" = "no"; then
13997 *** Could not find the Freedesktop.org mime database update tool.
13998 *** Web provisioning files could not be automatically installed." "$LINENO" 5
14000 # Extract the first word of "update-desktop-database", so it can be a program name with args.
14001 set dummy update-desktop-database; ac_word=$2
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14003 $as_echo_n "checking for $ac_word... " >&6; }
14004 if ${ac_cv_path_UPDATE_DESKTOP_DATABASE+:} false; then :
14005 $as_echo_n "(cached) " >&6
14007 case $UPDATE_DESKTOP_DATABASE in
14009 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
14012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14013 for as_dir in $PATH
14016 test -z "$as_dir" && as_dir=.
14017 for ac_exec_ext in '' $ac_executable_extensions; do
14018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14019 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14027 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
14031 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
14032 if test -n "$UPDATE_DESKTOP_DATABASE"; then
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
14034 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14037 $as_echo "no" >&6; }
14041 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
14043 *** Could not find the Freedesktop.org desktop entry database update
14044 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
14048 MOONSHOT_APP="$bindir/moonshot"
14049 MOONSHOT_WEBP="$bindir/moonshot-webp"
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
14065 $as_echo_n "checking for moonshot... " >&6; }
14067 if test -n "$moonshot_CFLAGS"; then
14068 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
14069 elif test -n "$PKG_CONFIG"; then
14070 if test -n "$PKG_CONFIG" && \
14071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14074 gobject-2.0 >= 2.22
14077 \$SERVER_IPC_MODULE
14080 ($PKG_CONFIG --exists --print-errors "
14083 gobject-2.0 >= 2.22
14090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14091 test $ac_status = 0; }; then
14092 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
14095 gobject-2.0 >= 2.22
14101 test "x$?" != "x0" && pkg_failed=yes
14108 if test -n "$moonshot_LIBS"; then
14109 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
14110 elif test -n "$PKG_CONFIG"; then
14111 if test -n "$PKG_CONFIG" && \
14112 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14115 gobject-2.0 >= 2.22
14118 \$SERVER_IPC_MODULE
14121 ($PKG_CONFIG --exists --print-errors "
14124 gobject-2.0 >= 2.22
14131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14132 test $ac_status = 0; }; then
14133 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
14136 gobject-2.0 >= 2.22
14142 test "x$?" != "x0" && pkg_failed=yes
14152 if test $pkg_failed = yes; then
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14154 $as_echo "no" >&6; }
14156 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14157 _pkg_short_errors_supported=yes
14159 _pkg_short_errors_supported=no
14161 if test $_pkg_short_errors_supported = yes; then
14162 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14165 gobject-2.0 >= 2.22
14172 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14175 gobject-2.0 >= 2.22
14182 # Put the nasty error message in config.log where it belongs
14183 echo "$moonshot_PKG_ERRORS" >&5
14185 as_fn_error $? "Package requirements (
14188 gobject-2.0 >= 2.22
14195 $moonshot_PKG_ERRORS
14197 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14198 installed software in a non-standard prefix.
14200 Alternatively, you may set the environment variables moonshot_CFLAGS
14201 and moonshot_LIBS to avoid the need to call pkg-config.
14202 See the pkg-config man page for more details." "$LINENO" 5
14203 elif test $pkg_failed = untried; then
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14205 $as_echo "no" >&6; }
14206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14208 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14209 is in your PATH or set the PKG_CONFIG environment variable to the full
14210 path to pkg-config.
14212 Alternatively, you may set the environment variables moonshot_CFLAGS
14213 and moonshot_LIBS to avoid the need to call pkg-config.
14214 See the pkg-config man page for more details.
14216 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14217 See \`config.log' for more details" "$LINENO" 5; }
14219 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
14220 moonshot_LIBS=$pkg_cv_moonshot_LIBS
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14222 $as_echo "yes" >&6; }
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
14229 $as_echo_n "checking for libmoonshot... " >&6; }
14231 if test -n "$libmoonshot_CFLAGS"; then
14232 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
14233 elif test -n "$PKG_CONFIG"; then
14234 if test -n "$PKG_CONFIG" && \
14235 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14236 \$CLIENT_IPC_MODULE
14238 ($PKG_CONFIG --exists --print-errors "
14242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14243 test $ac_status = 0; }; then
14244 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
14247 test "x$?" != "x0" && pkg_failed=yes
14254 if test -n "$libmoonshot_LIBS"; then
14255 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
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_LIBS=`$PKG_CONFIG --libs "
14270 test "x$?" != "x0" && pkg_failed=yes
14280 if test $pkg_failed = yes; then
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14282 $as_echo "no" >&6; }
14284 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14285 _pkg_short_errors_supported=yes
14287 _pkg_short_errors_supported=no
14289 if test $_pkg_short_errors_supported = yes; then
14290 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14294 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14298 # Put the nasty error message in config.log where it belongs
14299 echo "$libmoonshot_PKG_ERRORS" >&5
14301 as_fn_error $? "Package requirements (
14305 $libmoonshot_PKG_ERRORS
14307 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14308 installed software in a non-standard prefix.
14310 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14311 and libmoonshot_LIBS to avoid the need to call pkg-config.
14312 See the pkg-config man page for more details." "$LINENO" 5
14313 elif test $pkg_failed = untried; then
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14315 $as_echo "no" >&6; }
14316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14318 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14319 is in your PATH or set the PKG_CONFIG environment variable to the full
14320 path to pkg-config.
14322 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14323 and libmoonshot_LIBS to avoid the need to call pkg-config.
14324 See the pkg-config man page for more details.
14326 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14327 See \`config.log' for more details" "$LINENO" 5; }
14329 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
14330 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14332 $as_echo "yes" >&6; }
14340 [\\/$]* | ?:[\\/]*) ;;
14341 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14346 $as_echo_n "checking whether NLS is requested... " >&6; }
14347 # Check whether --enable-nls was given.
14348 if test "${enable_nls+set}" = set; then :
14349 enableval=$enable_nls; USE_NLS=$enableval
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14355 $as_echo "$USE_NLS" >&6; }
14360 GETTEXT_MACRO_VERSION=0.17
14365 # Prepare PATH_SEPARATOR.
14366 # The user is always right.
14367 if test "${PATH_SEPARATOR+set}" != set; then
14368 echo "#! /bin/sh" >conf$$.sh
14369 echo "exit 0" >>conf$$.sh
14371 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14379 # Find out how to test for executable files. Don't use a zero-byte file,
14380 # as systems may use methods other than mode bits to determine executability.
14381 cat >conf$$.file <<_ASEOF
14385 chmod +x conf$$.file
14386 if test -x conf$$.file >/dev/null 2>&1; then
14387 ac_executable_p="test -x"
14389 ac_executable_p="test -f"
14393 # Extract the first word of "msgfmt", so it can be a program name with args.
14394 set dummy msgfmt; ac_word=$2
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14396 $as_echo_n "checking for $ac_word... " >&6; }
14397 if ${ac_cv_path_MSGFMT+:} false; then :
14398 $as_echo_n "(cached) " >&6
14402 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14405 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14406 for ac_dir in $PATH; do
14408 test -z "$ac_dir" && ac_dir=.
14409 for ac_exec_ext in '' $ac_executable_extensions; do
14410 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14411 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14412 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14413 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14414 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14421 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14425 MSGFMT="$ac_cv_path_MSGFMT"
14426 if test "$MSGFMT" != ":"; then
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14428 $as_echo "$MSGFMT" >&6; }
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14431 $as_echo "no" >&6; }
14434 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14435 set dummy gmsgfmt; ac_word=$2
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14437 $as_echo_n "checking for $ac_word... " >&6; }
14438 if ${ac_cv_path_GMSGFMT+:} false; then :
14439 $as_echo_n "(cached) " >&6
14443 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14447 for as_dir in $PATH
14450 test -z "$as_dir" && as_dir=.
14451 for ac_exec_ext in '' $ac_executable_extensions; do
14452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14453 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14461 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14465 GMSGFMT=$ac_cv_path_GMSGFMT
14466 if test -n "$GMSGFMT"; then
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14468 $as_echo "$GMSGFMT" >&6; }
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14471 $as_echo "no" >&6; }
14476 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14477 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14478 *) MSGFMT_015=$MSGFMT ;;
14481 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14482 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14483 *) GMSGFMT_015=$GMSGFMT ;;
14488 # Prepare PATH_SEPARATOR.
14489 # The user is always right.
14490 if test "${PATH_SEPARATOR+set}" != set; then
14491 echo "#! /bin/sh" >conf$$.sh
14492 echo "exit 0" >>conf$$.sh
14494 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14502 # Find out how to test for executable files. Don't use a zero-byte file,
14503 # as systems may use methods other than mode bits to determine executability.
14504 cat >conf$$.file <<_ASEOF
14508 chmod +x conf$$.file
14509 if test -x conf$$.file >/dev/null 2>&1; then
14510 ac_executable_p="test -x"
14512 ac_executable_p="test -f"
14516 # Extract the first word of "xgettext", so it can be a program name with args.
14517 set dummy xgettext; ac_word=$2
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14519 $as_echo_n "checking for $ac_word... " >&6; }
14520 if ${ac_cv_path_XGETTEXT+:} false; then :
14521 $as_echo_n "(cached) " >&6
14523 case "$XGETTEXT" in
14525 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14528 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14529 for ac_dir in $PATH; do
14531 test -z "$ac_dir" && ac_dir=.
14532 for ac_exec_ext in '' $ac_executable_extensions; do
14533 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14534 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14535 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14536 (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
14537 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14544 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14548 XGETTEXT="$ac_cv_path_XGETTEXT"
14549 if test "$XGETTEXT" != ":"; then
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14551 $as_echo "$XGETTEXT" >&6; }
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14554 $as_echo "no" >&6; }
14559 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14560 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14561 *) XGETTEXT_015=$XGETTEXT ;;
14566 # Prepare PATH_SEPARATOR.
14567 # The user is always right.
14568 if test "${PATH_SEPARATOR+set}" != set; then
14569 echo "#! /bin/sh" >conf$$.sh
14570 echo "exit 0" >>conf$$.sh
14572 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14580 # Find out how to test for executable files. Don't use a zero-byte file,
14581 # as systems may use methods other than mode bits to determine executability.
14582 cat >conf$$.file <<_ASEOF
14586 chmod +x conf$$.file
14587 if test -x conf$$.file >/dev/null 2>&1; then
14588 ac_executable_p="test -x"
14590 ac_executable_p="test -f"
14594 # Extract the first word of "msgmerge", so it can be a program name with args.
14595 set dummy msgmerge; ac_word=$2
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14597 $as_echo_n "checking for $ac_word... " >&6; }
14598 if ${ac_cv_path_MSGMERGE+:} false; then :
14599 $as_echo_n "(cached) " >&6
14601 case "$MSGMERGE" in
14603 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14606 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14607 for ac_dir in $PATH; do
14609 test -z "$ac_dir" && ac_dir=.
14610 for ac_exec_ext in '' $ac_executable_extensions; do
14611 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14612 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14613 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14614 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14621 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14625 MSGMERGE="$ac_cv_path_MSGMERGE"
14626 if test "$MSGMERGE" != ":"; then
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14628 $as_echo "$MSGMERGE" >&6; }
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14631 $as_echo "no" >&6; }
14635 test -n "$localedir" || localedir='${datadir}/locale'
14638 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14641 ac_config_commands="$ac_config_commands po-directories"
14645 if test "X$prefix" = "XNONE"; then
14646 acl_final_prefix="$ac_default_prefix"
14648 acl_final_prefix="$prefix"
14650 if test "X$exec_prefix" = "XNONE"; then
14651 acl_final_exec_prefix='${prefix}'
14653 acl_final_exec_prefix="$exec_prefix"
14655 acl_save_prefix="$prefix"
14656 prefix="$acl_final_prefix"
14657 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14658 prefix="$acl_save_prefix"
14661 # Check whether --with-gnu-ld was given.
14662 if test "${with_gnu_ld+set}" = set; then :
14663 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14668 # Prepare PATH_SEPARATOR.
14669 # The user is always right.
14670 if test "${PATH_SEPARATOR+set}" != set; then
14671 echo "#! /bin/sh" >conf$$.sh
14672 echo "exit 0" >>conf$$.sh
14674 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14682 if test "$GCC" = yes; then
14683 # Check if gcc -print-prog-name=ld gives a path.
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14685 $as_echo_n "checking for ld used by GCC... " >&6; }
14688 # gcc leaves a trailing carriage return which upsets mingw
14689 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14691 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14694 # Accept absolute paths.
14695 [\\/]* | [A-Za-z]:[\\/]*)
14696 re_direlt='/[^/][^/]*/\.\./'
14697 # Canonicalize the path of ld
14698 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14699 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14700 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14702 test -z "$LD" && LD="$ac_prog"
14705 # If it fails, then pretend we aren't using GCC.
14709 # If it is relative, then search for the first ld in PATH.
14710 with_gnu_ld=unknown
14713 elif test "$with_gnu_ld" = yes; then
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14715 $as_echo_n "checking for GNU ld... " >&6; }
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14718 $as_echo_n "checking for non-GNU ld... " >&6; }
14720 if ${acl_cv_path_LD+:} false; then :
14721 $as_echo_n "(cached) " >&6
14723 if test -z "$LD"; then
14724 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14725 for ac_dir in $PATH; do
14726 test -z "$ac_dir" && ac_dir=.
14727 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14728 acl_cv_path_LD="$ac_dir/$ac_prog"
14729 # Check to see if the program is GNU ld. I'd rather use --version,
14730 # but apparently some GNU ld's only accept -v.
14731 # Break only if it was the GNU/non-GNU ld that we prefer.
14732 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14733 *GNU* | *'with BFD'*)
14734 test "$with_gnu_ld" != no && break ;;
14736 test "$with_gnu_ld" != yes && break ;;
14742 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14746 LD="$acl_cv_path_LD"
14747 if test -n "$LD"; then
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14749 $as_echo "$LD" >&6; }
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14752 $as_echo "no" >&6; }
14754 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14756 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14757 if ${acl_cv_prog_gnu_ld+:} false; then :
14758 $as_echo_n "(cached) " >&6
14760 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14761 case `$LD -v 2>&1 </dev/null` in
14762 *GNU* | *'with BFD'*)
14763 acl_cv_prog_gnu_ld=yes ;;
14765 acl_cv_prog_gnu_ld=no ;;
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14769 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14770 with_gnu_ld=$acl_cv_prog_gnu_ld
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14776 $as_echo_n "checking for shared library run path origin... " >&6; }
14777 if ${acl_cv_rpath+:} false; then :
14778 $as_echo_n "(cached) " >&6
14781 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14782 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14784 rm -f ./conftest.sh
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14789 $as_echo "$acl_cv_rpath" >&6; }
14791 acl_libext="$acl_cv_libext"
14792 acl_shlibext="$acl_cv_shlibext"
14793 acl_libname_spec="$acl_cv_libname_spec"
14794 acl_library_names_spec="$acl_cv_library_names_spec"
14795 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14796 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14797 acl_hardcode_direct="$acl_cv_hardcode_direct"
14798 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14799 # Check whether --enable-rpath was given.
14800 if test "${enable_rpath+set}" = set; then :
14801 enableval=$enable_rpath; :
14809 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14810 if test -n "$searchpath"; then
14811 acl_save_IFS="${IFS= }"; IFS=":"
14812 for searchdir in $searchpath; do
14813 if test -d "$searchdir"; then
14814 case "$searchdir" in
14815 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14816 *) searchdir=`cd "$searchdir" && pwd`
14817 case "$searchdir" in
14818 */lib64 ) acl_libdirstem=lib64 ;;
14823 IFS="$acl_save_IFS"
14836 acl_save_prefix="$prefix"
14837 prefix="$acl_final_prefix"
14838 acl_save_exec_prefix="$exec_prefix"
14839 exec_prefix="$acl_final_exec_prefix"
14841 eval additional_includedir=\"$includedir\"
14842 eval additional_libdir=\"$libdir\"
14844 exec_prefix="$acl_save_exec_prefix"
14845 prefix="$acl_save_prefix"
14848 # Check whether --with-libiconv-prefix was given.
14849 if test "${with_libiconv_prefix+set}" = set; then :
14850 withval=$with_libiconv_prefix;
14851 if test "X$withval" = "Xno"; then
14854 if test "X$withval" = "X"; then
14856 acl_save_prefix="$prefix"
14857 prefix="$acl_final_prefix"
14858 acl_save_exec_prefix="$exec_prefix"
14859 exec_prefix="$acl_final_exec_prefix"
14861 eval additional_includedir=\"$includedir\"
14862 eval additional_libdir=\"$libdir\"
14864 exec_prefix="$acl_save_exec_prefix"
14865 prefix="$acl_save_prefix"
14868 additional_includedir="$withval/include"
14869 additional_libdir="$withval/$acl_libdirstem"
14881 names_already_handled=
14882 names_next_round='iconv '
14883 while test -n "$names_next_round"; do
14884 names_this_round="$names_next_round"
14886 for name in $names_this_round; do
14888 for n in $names_already_handled; do
14889 if test "$n" = "$name"; then
14890 already_handled=yes
14894 if test -z "$already_handled"; then
14895 names_already_handled="$names_already_handled $name"
14896 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14897 eval value=\"\$HAVE_LIB$uppername\"
14898 if test -n "$value"; then
14899 if test "$value" = yes; then
14900 eval value=\"\$LIB$uppername\"
14901 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14902 eval value=\"\$LTLIB$uppername\"
14903 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14912 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14913 if test -n "$acl_shlibext"; then
14914 shrext=".$acl_shlibext" # typically: shrext=.so
14918 if test $use_additional = yes; then
14919 dir="$additional_libdir"
14920 if test -n "$acl_shlibext"; then
14921 if test -f "$dir/$libname$shrext"; then
14923 found_so="$dir/$libname$shrext"
14925 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14926 ver=`(cd "$dir" && \
14927 for f in "$libname$shrext".*; do echo "$f"; done \
14928 | sed -e "s,^$libname$shrext\\\\.,," \
14929 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14930 | sed 1q ) 2>/dev/null`
14931 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14933 found_so="$dir/$libname$shrext.$ver"
14936 eval library_names=\"$acl_library_names_spec\"
14937 for f in $library_names; do
14938 if test -f "$dir/$f"; then
14947 if test "X$found_dir" = "X"; then
14948 if test -f "$dir/$libname.$acl_libext"; then
14950 found_a="$dir/$libname.$acl_libext"
14953 if test "X$found_dir" != "X"; then
14954 if test -f "$dir/$libname.la"; then
14955 found_la="$dir/$libname.la"
14959 if test "X$found_dir" = "X"; then
14960 for x in $LDFLAGS $LTLIBICONV; do
14962 acl_save_prefix="$prefix"
14963 prefix="$acl_final_prefix"
14964 acl_save_exec_prefix="$exec_prefix"
14965 exec_prefix="$acl_final_exec_prefix"
14967 exec_prefix="$acl_save_exec_prefix"
14968 prefix="$acl_save_prefix"
14972 dir=`echo "X$x" | sed -e 's/^X-L//'`
14973 if test -n "$acl_shlibext"; then
14974 if test -f "$dir/$libname$shrext"; then
14976 found_so="$dir/$libname$shrext"
14978 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14979 ver=`(cd "$dir" && \
14980 for f in "$libname$shrext".*; do echo "$f"; done \
14981 | sed -e "s,^$libname$shrext\\\\.,," \
14982 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14983 | sed 1q ) 2>/dev/null`
14984 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14986 found_so="$dir/$libname$shrext.$ver"
14989 eval library_names=\"$acl_library_names_spec\"
14990 for f in $library_names; do
14991 if test -f "$dir/$f"; then
15000 if test "X$found_dir" = "X"; then
15001 if test -f "$dir/$libname.$acl_libext"; then
15003 found_a="$dir/$libname.$acl_libext"
15006 if test "X$found_dir" != "X"; then
15007 if test -f "$dir/$libname.la"; then
15008 found_la="$dir/$libname.la"
15013 if test "X$found_dir" != "X"; then
15018 if test "X$found_dir" != "X"; then
15019 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15020 if test "X$found_so" != "X"; then
15021 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15022 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15025 for x in $ltrpathdirs; do
15026 if test "X$x" = "X$found_dir"; then
15031 if test -z "$haveit"; then
15032 ltrpathdirs="$ltrpathdirs $found_dir"
15034 if test "$acl_hardcode_direct" = yes; then
15035 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15037 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15038 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15040 for x in $rpathdirs; do
15041 if test "X$x" = "X$found_dir"; then
15046 if test -z "$haveit"; then
15047 rpathdirs="$rpathdirs $found_dir"
15051 for x in $LDFLAGS $LIBICONV; do
15053 acl_save_prefix="$prefix"
15054 prefix="$acl_final_prefix"
15055 acl_save_exec_prefix="$exec_prefix"
15056 exec_prefix="$acl_final_exec_prefix"
15058 exec_prefix="$acl_save_exec_prefix"
15059 prefix="$acl_save_prefix"
15061 if test "X$x" = "X-L$found_dir"; then
15066 if test -z "$haveit"; then
15067 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15069 if test "$acl_hardcode_minus_L" != no; then
15070 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15072 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15078 if test "X$found_a" != "X"; then
15079 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15081 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15084 additional_includedir=
15085 case "$found_dir" in
15086 */$acl_libdirstem | */$acl_libdirstem/)
15087 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15088 LIBICONV_PREFIX="$basedir"
15089 additional_includedir="$basedir/include"
15092 if test "X$additional_includedir" != "X"; then
15093 if test "X$additional_includedir" != "X/usr/include"; then
15095 if test "X$additional_includedir" = "X/usr/local/include"; then
15096 if test -n "$GCC"; then
15098 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15102 if test -z "$haveit"; then
15103 for x in $CPPFLAGS $INCICONV; do
15105 acl_save_prefix="$prefix"
15106 prefix="$acl_final_prefix"
15107 acl_save_exec_prefix="$exec_prefix"
15108 exec_prefix="$acl_final_exec_prefix"
15110 exec_prefix="$acl_save_exec_prefix"
15111 prefix="$acl_save_prefix"
15113 if test "X$x" = "X-I$additional_includedir"; then
15118 if test -z "$haveit"; then
15119 if test -d "$additional_includedir"; then
15120 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15126 if test -n "$found_la"; then
15127 save_libdir="$libdir"
15128 case "$found_la" in
15129 */* | *\\*) . "$found_la" ;;
15130 *) . "./$found_la" ;;
15132 libdir="$save_libdir"
15133 for dep in $dependency_libs; do
15136 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15137 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15139 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15140 if test -n "$GCC"; then
15142 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15146 if test -z "$haveit"; then
15148 for x in $LDFLAGS $LIBICONV; do
15150 acl_save_prefix="$prefix"
15151 prefix="$acl_final_prefix"
15152 acl_save_exec_prefix="$exec_prefix"
15153 exec_prefix="$acl_final_exec_prefix"
15155 exec_prefix="$acl_save_exec_prefix"
15156 prefix="$acl_save_prefix"
15158 if test "X$x" = "X-L$additional_libdir"; then
15163 if test -z "$haveit"; then
15164 if test -d "$additional_libdir"; then
15165 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15169 for x in $LDFLAGS $LTLIBICONV; do
15171 acl_save_prefix="$prefix"
15172 prefix="$acl_final_prefix"
15173 acl_save_exec_prefix="$exec_prefix"
15174 exec_prefix="$acl_final_exec_prefix"
15176 exec_prefix="$acl_save_exec_prefix"
15177 prefix="$acl_save_prefix"
15179 if test "X$x" = "X-L$additional_libdir"; then
15184 if test -z "$haveit"; then
15185 if test -d "$additional_libdir"; then
15186 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15193 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15194 if test "$enable_rpath" != no; then
15196 for x in $rpathdirs; do
15197 if test "X$x" = "X$dir"; then
15202 if test -z "$haveit"; then
15203 rpathdirs="$rpathdirs $dir"
15206 for x in $ltrpathdirs; do
15207 if test "X$x" = "X$dir"; then
15212 if test -z "$haveit"; then
15213 ltrpathdirs="$ltrpathdirs $dir"
15218 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15221 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15224 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15225 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15231 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15232 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15238 if test "X$rpathdirs" != "X"; then
15239 if test -n "$acl_hardcode_libdir_separator"; then
15241 for found_dir in $rpathdirs; do
15242 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15244 acl_save_libdir="$libdir"
15246 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15247 libdir="$acl_save_libdir"
15248 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15250 for found_dir in $rpathdirs; do
15251 acl_save_libdir="$libdir"
15252 libdir="$found_dir"
15253 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15254 libdir="$acl_save_libdir"
15255 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15259 if test "X$ltrpathdirs" != "X"; then
15260 for found_dir in $ltrpathdirs; do
15261 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15290 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15291 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15292 $as_echo_n "(cached) " >&6
15294 gt_save_LIBS="$LIBS"
15295 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15298 #include <CoreFoundation/CFPreferences.h>
15302 CFPreferencesCopyAppValue(NULL, NULL)
15307 if ac_fn_c_try_link "$LINENO"; then :
15308 gt_cv_func_CFPreferencesCopyAppValue=yes
15310 gt_cv_func_CFPreferencesCopyAppValue=no
15312 rm -f core conftest.err conftest.$ac_objext \
15313 conftest$ac_exeext conftest.$ac_ext
15314 LIBS="$gt_save_LIBS"
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15317 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15318 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15320 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15324 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15325 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15326 $as_echo_n "(cached) " >&6
15328 gt_save_LIBS="$LIBS"
15329 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15332 #include <CoreFoundation/CFLocale.h>
15336 CFLocaleCopyCurrent();
15341 if ac_fn_c_try_link "$LINENO"; then :
15342 gt_cv_func_CFLocaleCopyCurrent=yes
15344 gt_cv_func_CFLocaleCopyCurrent=no
15346 rm -f core conftest.err conftest.$ac_objext \
15347 conftest$ac_exeext conftest.$ac_ext
15348 LIBS="$gt_save_LIBS"
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15351 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15352 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15354 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15358 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15359 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15371 case " $gt_needs " in
15372 *" need-formatstring-macros "*) gt_api_version=3 ;;
15373 *" need-ngettext "*) gt_api_version=2 ;;
15374 *) gt_api_version=1 ;;
15376 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15377 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15379 if test "$USE_NLS" = "yes"; then
15380 gt_use_preinstalled_gnugettext=no
15383 if test $gt_api_version -ge 3; then
15384 gt_revision_test_code='
15385 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15386 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15388 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15391 gt_revision_test_code=
15393 if test $gt_api_version -ge 2; then
15394 gt_expression_test_code=' + * ngettext ("", "", 0)'
15396 gt_expression_test_code=
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15400 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15401 if eval \${$gt_func_gnugettext_libc+:} false; then :
15402 $as_echo_n "(cached) " >&6
15404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15406 #include <libintl.h>
15407 $gt_revision_test_code
15408 extern int _nl_msg_cat_cntr;
15409 extern int *_nl_domain_bindings;
15413 bindtextdomain ("", "");
15414 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15419 if ac_fn_c_try_link "$LINENO"; then :
15420 eval "$gt_func_gnugettext_libc=yes"
15422 eval "$gt_func_gnugettext_libc=no"
15424 rm -f core conftest.err conftest.$ac_objext \
15425 conftest$ac_exeext conftest.$ac_ext
15427 eval ac_res=\$$gt_func_gnugettext_libc
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15429 $as_echo "$ac_res" >&6; }
15431 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15437 am_save_CPPFLAGS="$CPPFLAGS"
15439 for element in $INCICONV; do
15441 for x in $CPPFLAGS; do
15443 acl_save_prefix="$prefix"
15444 prefix="$acl_final_prefix"
15445 acl_save_exec_prefix="$exec_prefix"
15446 exec_prefix="$acl_final_exec_prefix"
15448 exec_prefix="$acl_save_exec_prefix"
15449 prefix="$acl_save_prefix"
15451 if test "X$x" = "X$element"; then
15456 if test -z "$haveit"; then
15457 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15463 $as_echo_n "checking for iconv... " >&6; }
15464 if ${am_cv_func_iconv+:} false; then :
15465 $as_echo_n "(cached) " >&6
15468 am_cv_func_iconv="no, consider installing GNU libiconv"
15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15471 /* end confdefs.h. */
15472 #include <stdlib.h>
15477 iconv_t cd = iconv_open("","");
15478 iconv(cd,NULL,NULL,NULL,NULL);
15484 if ac_fn_c_try_link "$LINENO"; then :
15485 am_cv_func_iconv=yes
15487 rm -f core conftest.err conftest.$ac_objext \
15488 conftest$ac_exeext conftest.$ac_ext
15489 if test "$am_cv_func_iconv" != yes; then
15490 am_save_LIBS="$LIBS"
15491 LIBS="$LIBS $LIBICONV"
15492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15494 #include <stdlib.h>
15499 iconv_t cd = iconv_open("","");
15500 iconv(cd,NULL,NULL,NULL,NULL);
15506 if ac_fn_c_try_link "$LINENO"; then :
15507 am_cv_lib_iconv=yes
15508 am_cv_func_iconv=yes
15510 rm -f core conftest.err conftest.$ac_objext \
15511 conftest$ac_exeext conftest.$ac_ext
15512 LIBS="$am_save_LIBS"
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15517 $as_echo "$am_cv_func_iconv" >&6; }
15518 if test "$am_cv_func_iconv" = yes; then
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15520 $as_echo_n "checking for working iconv... " >&6; }
15521 if ${am_cv_func_iconv_works+:} false; then :
15522 $as_echo_n "(cached) " >&6
15525 am_save_LIBS="$LIBS"
15526 if test $am_cv_lib_iconv = yes; then
15527 LIBS="$LIBS $LIBICONV"
15529 if test "$cross_compiling" = yes; then :
15531 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15532 *) am_cv_func_iconv_works="guessing yes" ;;
15535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h. */
15539 #include <string.h>
15542 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15545 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15546 if (cd_utf8_to_88591 != (iconv_t)(-1))
15548 static const char input[] = "\342\202\254"; /* EURO SIGN */
15550 const char *inptr = input;
15551 size_t inbytesleft = strlen (input);
15552 char *outptr = buf;
15553 size_t outbytesleft = sizeof (buf);
15554 size_t res = iconv (cd_utf8_to_88591,
15555 (char **) &inptr, &inbytesleft,
15556 &outptr, &outbytesleft);
15561 #if 0 /* This bug could be worked around by the caller. */
15562 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15564 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15565 if (cd_88591_to_utf8 != (iconv_t)(-1))
15567 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15569 const char *inptr = input;
15570 size_t inbytesleft = strlen (input);
15571 char *outptr = buf;
15572 size_t outbytesleft = sizeof (buf);
15573 size_t res = iconv (cd_88591_to_utf8,
15574 (char **) &inptr, &inbytesleft,
15575 &outptr, &outbytesleft);
15581 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15583 if (/* Try standardized names. */
15584 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15585 /* Try IRIX, OSF/1 names. */
15586 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15587 /* Try AIX names. */
15588 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15589 /* Try HP-UX names. */
15590 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15595 if ac_fn_c_try_run "$LINENO"; then :
15596 am_cv_func_iconv_works=yes
15598 am_cv_func_iconv_works=no
15600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15601 conftest.$ac_objext conftest.beam conftest.$ac_ext
15604 LIBS="$am_save_LIBS"
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15608 $as_echo "$am_cv_func_iconv_works" >&6; }
15609 case "$am_cv_func_iconv_works" in
15610 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15611 *) am_func_iconv=yes ;;
15614 am_func_iconv=no am_cv_lib_iconv=no
15616 if test "$am_func_iconv" = yes; then
15618 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15621 if test "$am_cv_lib_iconv" = yes; then
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15623 $as_echo_n "checking how to link with libiconv... " >&6; }
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15625 $as_echo "$LIBICONV" >&6; }
15627 CPPFLAGS="$am_save_CPPFLAGS"
15641 acl_save_prefix="$prefix"
15642 prefix="$acl_final_prefix"
15643 acl_save_exec_prefix="$exec_prefix"
15644 exec_prefix="$acl_final_exec_prefix"
15646 eval additional_includedir=\"$includedir\"
15647 eval additional_libdir=\"$libdir\"
15649 exec_prefix="$acl_save_exec_prefix"
15650 prefix="$acl_save_prefix"
15653 # Check whether --with-libintl-prefix was given.
15654 if test "${with_libintl_prefix+set}" = set; then :
15655 withval=$with_libintl_prefix;
15656 if test "X$withval" = "Xno"; then
15659 if test "X$withval" = "X"; then
15661 acl_save_prefix="$prefix"
15662 prefix="$acl_final_prefix"
15663 acl_save_exec_prefix="$exec_prefix"
15664 exec_prefix="$acl_final_exec_prefix"
15666 eval additional_includedir=\"$includedir\"
15667 eval additional_libdir=\"$libdir\"
15669 exec_prefix="$acl_save_exec_prefix"
15670 prefix="$acl_save_prefix"
15673 additional_includedir="$withval/include"
15674 additional_libdir="$withval/$acl_libdirstem"
15686 names_already_handled=
15687 names_next_round='intl '
15688 while test -n "$names_next_round"; do
15689 names_this_round="$names_next_round"
15691 for name in $names_this_round; do
15693 for n in $names_already_handled; do
15694 if test "$n" = "$name"; then
15695 already_handled=yes
15699 if test -z "$already_handled"; then
15700 names_already_handled="$names_already_handled $name"
15701 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15702 eval value=\"\$HAVE_LIB$uppername\"
15703 if test -n "$value"; then
15704 if test "$value" = yes; then
15705 eval value=\"\$LIB$uppername\"
15706 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15707 eval value=\"\$LTLIB$uppername\"
15708 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15717 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15718 if test -n "$acl_shlibext"; then
15719 shrext=".$acl_shlibext" # typically: shrext=.so
15723 if test $use_additional = yes; then
15724 dir="$additional_libdir"
15725 if test -n "$acl_shlibext"; then
15726 if test -f "$dir/$libname$shrext"; then
15728 found_so="$dir/$libname$shrext"
15730 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15731 ver=`(cd "$dir" && \
15732 for f in "$libname$shrext".*; do echo "$f"; done \
15733 | sed -e "s,^$libname$shrext\\\\.,," \
15734 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15735 | sed 1q ) 2>/dev/null`
15736 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15738 found_so="$dir/$libname$shrext.$ver"
15741 eval library_names=\"$acl_library_names_spec\"
15742 for f in $library_names; do
15743 if test -f "$dir/$f"; then
15752 if test "X$found_dir" = "X"; then
15753 if test -f "$dir/$libname.$acl_libext"; then
15755 found_a="$dir/$libname.$acl_libext"
15758 if test "X$found_dir" != "X"; then
15759 if test -f "$dir/$libname.la"; then
15760 found_la="$dir/$libname.la"
15764 if test "X$found_dir" = "X"; then
15765 for x in $LDFLAGS $LTLIBINTL; do
15767 acl_save_prefix="$prefix"
15768 prefix="$acl_final_prefix"
15769 acl_save_exec_prefix="$exec_prefix"
15770 exec_prefix="$acl_final_exec_prefix"
15772 exec_prefix="$acl_save_exec_prefix"
15773 prefix="$acl_save_prefix"
15777 dir=`echo "X$x" | sed -e 's/^X-L//'`
15778 if test -n "$acl_shlibext"; then
15779 if test -f "$dir/$libname$shrext"; then
15781 found_so="$dir/$libname$shrext"
15783 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15784 ver=`(cd "$dir" && \
15785 for f in "$libname$shrext".*; do echo "$f"; done \
15786 | sed -e "s,^$libname$shrext\\\\.,," \
15787 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15788 | sed 1q ) 2>/dev/null`
15789 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15791 found_so="$dir/$libname$shrext.$ver"
15794 eval library_names=\"$acl_library_names_spec\"
15795 for f in $library_names; do
15796 if test -f "$dir/$f"; then
15805 if test "X$found_dir" = "X"; then
15806 if test -f "$dir/$libname.$acl_libext"; then
15808 found_a="$dir/$libname.$acl_libext"
15811 if test "X$found_dir" != "X"; then
15812 if test -f "$dir/$libname.la"; then
15813 found_la="$dir/$libname.la"
15818 if test "X$found_dir" != "X"; then
15823 if test "X$found_dir" != "X"; then
15824 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15825 if test "X$found_so" != "X"; then
15826 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15827 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15830 for x in $ltrpathdirs; do
15831 if test "X$x" = "X$found_dir"; then
15836 if test -z "$haveit"; then
15837 ltrpathdirs="$ltrpathdirs $found_dir"
15839 if test "$acl_hardcode_direct" = yes; then
15840 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15842 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15843 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15845 for x in $rpathdirs; do
15846 if test "X$x" = "X$found_dir"; then
15851 if test -z "$haveit"; then
15852 rpathdirs="$rpathdirs $found_dir"
15856 for x in $LDFLAGS $LIBINTL; do
15858 acl_save_prefix="$prefix"
15859 prefix="$acl_final_prefix"
15860 acl_save_exec_prefix="$exec_prefix"
15861 exec_prefix="$acl_final_exec_prefix"
15863 exec_prefix="$acl_save_exec_prefix"
15864 prefix="$acl_save_prefix"
15866 if test "X$x" = "X-L$found_dir"; then
15871 if test -z "$haveit"; then
15872 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15874 if test "$acl_hardcode_minus_L" != no; then
15875 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15877 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15883 if test "X$found_a" != "X"; then
15884 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15886 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15889 additional_includedir=
15890 case "$found_dir" in
15891 */$acl_libdirstem | */$acl_libdirstem/)
15892 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15893 LIBINTL_PREFIX="$basedir"
15894 additional_includedir="$basedir/include"
15897 if test "X$additional_includedir" != "X"; then
15898 if test "X$additional_includedir" != "X/usr/include"; then
15900 if test "X$additional_includedir" = "X/usr/local/include"; then
15901 if test -n "$GCC"; then
15903 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15907 if test -z "$haveit"; then
15908 for x in $CPPFLAGS $INCINTL; do
15910 acl_save_prefix="$prefix"
15911 prefix="$acl_final_prefix"
15912 acl_save_exec_prefix="$exec_prefix"
15913 exec_prefix="$acl_final_exec_prefix"
15915 exec_prefix="$acl_save_exec_prefix"
15916 prefix="$acl_save_prefix"
15918 if test "X$x" = "X-I$additional_includedir"; then
15923 if test -z "$haveit"; then
15924 if test -d "$additional_includedir"; then
15925 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15931 if test -n "$found_la"; then
15932 save_libdir="$libdir"
15933 case "$found_la" in
15934 */* | *\\*) . "$found_la" ;;
15935 *) . "./$found_la" ;;
15937 libdir="$save_libdir"
15938 for dep in $dependency_libs; do
15941 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15942 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15944 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15945 if test -n "$GCC"; then
15947 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15951 if test -z "$haveit"; then
15953 for x in $LDFLAGS $LIBINTL; do
15955 acl_save_prefix="$prefix"
15956 prefix="$acl_final_prefix"
15957 acl_save_exec_prefix="$exec_prefix"
15958 exec_prefix="$acl_final_exec_prefix"
15960 exec_prefix="$acl_save_exec_prefix"
15961 prefix="$acl_save_prefix"
15963 if test "X$x" = "X-L$additional_libdir"; then
15968 if test -z "$haveit"; then
15969 if test -d "$additional_libdir"; then
15970 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15974 for x in $LDFLAGS $LTLIBINTL; do
15976 acl_save_prefix="$prefix"
15977 prefix="$acl_final_prefix"
15978 acl_save_exec_prefix="$exec_prefix"
15979 exec_prefix="$acl_final_exec_prefix"
15981 exec_prefix="$acl_save_exec_prefix"
15982 prefix="$acl_save_prefix"
15984 if test "X$x" = "X-L$additional_libdir"; then
15989 if test -z "$haveit"; then
15990 if test -d "$additional_libdir"; then
15991 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15998 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15999 if test "$enable_rpath" != no; then
16001 for x in $rpathdirs; do
16002 if test "X$x" = "X$dir"; then
16007 if test -z "$haveit"; then
16008 rpathdirs="$rpathdirs $dir"
16011 for x in $ltrpathdirs; do
16012 if test "X$x" = "X$dir"; then
16017 if test -z "$haveit"; then
16018 ltrpathdirs="$ltrpathdirs $dir"
16023 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16026 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16029 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
16030 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
16036 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16037 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
16043 if test "X$rpathdirs" != "X"; then
16044 if test -n "$acl_hardcode_libdir_separator"; then
16046 for found_dir in $rpathdirs; do
16047 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16049 acl_save_libdir="$libdir"
16051 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16052 libdir="$acl_save_libdir"
16053 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16055 for found_dir in $rpathdirs; do
16056 acl_save_libdir="$libdir"
16057 libdir="$found_dir"
16058 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16059 libdir="$acl_save_libdir"
16060 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16064 if test "X$ltrpathdirs" != "X"; then
16065 for found_dir in $ltrpathdirs; do
16066 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16071 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16072 if eval \${$gt_func_gnugettext_libintl+:} false; then :
16073 $as_echo_n "(cached) " >&6
16075 gt_save_CPPFLAGS="$CPPFLAGS"
16076 CPPFLAGS="$CPPFLAGS $INCINTL"
16077 gt_save_LIBS="$LIBS"
16078 LIBS="$LIBS $LIBINTL"
16079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16080 /* end confdefs.h. */
16081 #include <libintl.h>
16082 $gt_revision_test_code
16083 extern int _nl_msg_cat_cntr;
16088 const char *_nl_expand_alias (const char *);
16092 bindtextdomain ("", "");
16093 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16098 if ac_fn_c_try_link "$LINENO"; then :
16099 eval "$gt_func_gnugettext_libintl=yes"
16101 eval "$gt_func_gnugettext_libintl=no"
16103 rm -f core conftest.err conftest.$ac_objext \
16104 conftest$ac_exeext conftest.$ac_ext
16105 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16106 LIBS="$LIBS $LIBICONV"
16107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16108 /* end confdefs.h. */
16109 #include <libintl.h>
16110 $gt_revision_test_code
16111 extern int _nl_msg_cat_cntr;
16116 const char *_nl_expand_alias (const char *);
16120 bindtextdomain ("", "");
16121 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16126 if ac_fn_c_try_link "$LINENO"; then :
16127 LIBINTL="$LIBINTL $LIBICONV"
16128 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16129 eval "$gt_func_gnugettext_libintl=yes"
16132 rm -f core conftest.err conftest.$ac_objext \
16133 conftest$ac_exeext conftest.$ac_ext
16135 CPPFLAGS="$gt_save_CPPFLAGS"
16136 LIBS="$gt_save_LIBS"
16138 eval ac_res=\$$gt_func_gnugettext_libintl
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16140 $as_echo "$ac_res" >&6; }
16143 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16144 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16145 && test "$PACKAGE" != gettext-runtime \
16146 && test "$PACKAGE" != gettext-tools; }; then
16147 gt_use_preinstalled_gnugettext=yes
16156 if test -n "$INTL_MACOSX_LIBS"; then
16157 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16158 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16159 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16160 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16164 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16165 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16167 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16175 $as_echo_n "checking whether to use NLS... " >&6; }
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16177 $as_echo "$USE_NLS" >&6; }
16178 if test "$USE_NLS" = "yes"; then
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16180 $as_echo_n "checking where the gettext function comes from... " >&6; }
16181 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16182 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16183 gt_source="external libintl"
16188 gt_source="included intl directory"
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16191 $as_echo "$gt_source" >&6; }
16194 if test "$USE_NLS" = "yes"; then
16196 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16197 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16199 $as_echo_n "checking how to link with libintl... " >&6; }
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16201 $as_echo "$LIBINTL" >&6; }
16203 for element in $INCINTL; do
16205 for x in $CPPFLAGS; do
16207 acl_save_prefix="$prefix"
16208 prefix="$acl_final_prefix"
16209 acl_save_exec_prefix="$exec_prefix"
16210 exec_prefix="$acl_final_exec_prefix"
16212 exec_prefix="$acl_save_exec_prefix"
16213 prefix="$acl_save_prefix"
16215 if test "X$x" = "X$element"; then
16220 if test -z "$haveit"; then
16221 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16228 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16231 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16240 INTLLIBS="$LIBINTL"
16249 GETTEXT_PACKAGE=PACKAGE_TARNAME
16252 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
16255 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
16258 cat >confcache <<\_ACEOF
16259 # This file is a shell script that caches the results of configure
16260 # tests run on this system so they can be shared between configure
16261 # scripts and configure runs, see configure's option --config-cache.
16262 # It is not useful on other systems. If it contains results you don't
16263 # want to keep, you may remove or edit it.
16265 # config.status only pays attention to the cache file if you give it
16266 # the --recheck option to rerun configure.
16268 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16269 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16270 # following values.
16274 # The following way of writing the cache mishandles newlines in values,
16275 # but we know of no workaround that is simple, portable, and efficient.
16276 # So, we kill variables containing newlines.
16277 # Ultrix sh set writes to stderr and can't be redirected directly,
16278 # and sets the high bit in the cache file unless we assign to the vars.
16280 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16281 eval ac_val=\$$ac_var
16285 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16286 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16289 _ | IFS | as_nl) ;; #(
16290 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16291 *) { eval $ac_var=; unset $ac_var;} ;;
16297 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16298 *${as_nl}ac_space=\ *)
16299 # `set' does not quote correctly, so add quotes: double-quote
16300 # substitution turns \\\\ into \\, and sed turns \\ into \.
16303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16306 # `set' quotes correctly as required by POSIX, so do not add quotes.
16307 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16316 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16318 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16320 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16321 if test -w "$cache_file"; then
16322 if test "x$cache_file" != "x/dev/null"; then
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16324 $as_echo "$as_me: updating cache $cache_file" >&6;}
16325 if test ! -f "$cache_file" || test -h "$cache_file"; then
16326 cat confcache >"$cache_file"
16328 case $cache_file in #(
16330 mv -f confcache "$cache_file"$$ &&
16331 mv -f "$cache_file"$$ "$cache_file" ;; #(
16333 mv -f confcache "$cache_file" ;;
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16339 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16344 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16345 # Let make expand exec_prefix.
16346 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16348 DEFS=-DHAVE_CONFIG_H
16353 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16354 # 1. Remove the extension, and $U if already installed.
16355 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16356 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16357 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16358 # will be set to the directory where LIBOBJS objects are built.
16359 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16360 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16362 LIBOBJS=$ac_libobjs
16364 LTLIBOBJS=$ac_ltlibobjs
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16368 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16369 if test -n "$am_sleep_pid"; then
16370 # Hide warnings about reused PIDs.
16371 wait $am_sleep_pid 2>/dev/null
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16374 $as_echo "done" >&6; }
16375 if test -n "$EXEEXT"; then
16377 am__EXEEXT_FALSE='#'
16379 am__EXEEXT_TRUE='#'
16383 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16384 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16387 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16388 as_fn_error $? "conditional \"AMDEP\" was never defined.
16389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16391 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16392 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16395 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16396 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16399 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
16400 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
16401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16403 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16404 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16407 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
16408 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
16409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16411 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
16412 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
16413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16415 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
16416 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
16417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16419 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
16420 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
16421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16423 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
16424 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
16425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16428 : "${CONFIG_STATUS=./config.status}"
16430 ac_clean_files_save=$ac_clean_files
16431 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16433 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16435 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16437 # Generated by $as_me.
16438 # Run this file to recreate the current configuration.
16439 # Compiler output produced by configure, useful for debugging
16440 # configure, is in config.log if it exists.
16443 ac_cs_recheck=false
16446 SHELL=\${CONFIG_SHELL-$SHELL}
16449 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16450 ## -------------------- ##
16451 ## M4sh Initialization. ##
16452 ## -------------------- ##
16454 # Be more Bourne compatible
16455 DUALCASE=1; export DUALCASE # for MKS sh
16456 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16459 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16460 # is contrary to our usage. Disable this feature.
16461 alias -g '${1+"$@"}'='"$@"'
16462 setopt NO_GLOB_SUBST
16464 case `(set -o) 2>/dev/null` in #(
16476 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16477 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16478 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16479 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16480 # Prefer a ksh shell builtin over an external printf program on Solaris,
16481 # but without wasting forks for bash or zsh.
16482 if test -z "$BASH_VERSION$ZSH_VERSION" \
16483 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16484 as_echo='print -r --'
16485 as_echo_n='print -rn --'
16486 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16487 as_echo='printf %s\n'
16488 as_echo_n='printf %s'
16490 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16491 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16492 as_echo_n='/usr/ucb/echo -n'
16494 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16495 as_echo_n_body='eval
16499 expr "X$arg" : "X\\(.*\\)$as_nl";
16500 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16502 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16504 export as_echo_n_body
16505 as_echo_n='sh -c $as_echo_n_body as_echo'
16507 export as_echo_body
16508 as_echo='sh -c $as_echo_body as_echo'
16511 # The user is always right.
16512 if test "${PATH_SEPARATOR+set}" != set; then
16514 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16515 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16522 # We need space, tab and new line, in precisely that order. Quoting is
16523 # there to prevent editors from complaining about space-tab.
16524 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16525 # splitting by setting IFS to empty value.)
16528 # Find who we are. Look in the path if we contain no directory separator.
16531 *[\\/]* ) as_myself=$0 ;;
16532 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16533 for as_dir in $PATH
16536 test -z "$as_dir" && as_dir=.
16537 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16543 # We did not find ourselves, most probably we were run as `sh COMMAND'
16544 # in which case we are not to be found in the path.
16545 if test "x$as_myself" = x; then
16548 if test ! -f "$as_myself"; then
16549 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16553 # Unset variables that we do not need and which cause bugs (e.g. in
16554 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16555 # suppresses any "Segmentation fault" message there. '((' could
16556 # trigger a bug in pdksh 5.2.14.
16557 for as_var in BASH_ENV ENV MAIL MAILPATH
16558 do eval test x\${$as_var+set} = xset \
16559 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16572 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16575 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16576 # ----------------------------------------
16577 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16578 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16579 # script with STATUS, using 1 if that was 0.
16582 as_status=$1; test $as_status -eq 0 && as_status=1
16584 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16585 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16587 $as_echo "$as_me: error: $2" >&2
16588 as_fn_exit $as_status
16592 # as_fn_set_status STATUS
16593 # -----------------------
16594 # Set $? to STATUS, without forking.
16595 as_fn_set_status ()
16598 } # as_fn_set_status
16600 # as_fn_exit STATUS
16601 # -----------------
16602 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16606 as_fn_set_status $1
16612 # Portably unset VAR.
16615 { eval $1=; unset $1;}
16617 as_unset=as_fn_unset
16618 # as_fn_append VAR VALUE
16619 # ----------------------
16620 # Append the text in VALUE to the end of the definition contained in VAR. Take
16621 # advantage of any shell optimizations that allow amortized linear growth over
16622 # repeated appends, instead of the typical quadratic growth present in naive
16624 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16625 eval 'as_fn_append ()
16636 # as_fn_arith ARG...
16637 # ------------------
16638 # Perform arithmetic evaluation on the ARGs, and store the result in the
16639 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16640 # must be portable across $(()) and expr.
16641 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16642 eval 'as_fn_arith ()
16649 as_val=`expr "$@" || test $? -eq 1`
16654 if expr a : '\(a\)' >/dev/null 2>&1 &&
16655 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16661 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16662 as_basename=basename
16667 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16673 as_me=`$as_basename -- "$0" ||
16674 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16675 X"$0" : 'X\(//\)$' \| \
16676 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16678 sed '/^.*\/\([^/][^/]*\)\/*$/{
16692 # Avoid depending upon Character Ranges.
16693 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16694 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16695 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16696 as_cr_digits='0123456789'
16697 as_cr_alnum=$as_cr_Letters$as_cr_digits
16699 ECHO_C= ECHO_N= ECHO_T=
16700 case `echo -n x` in #(((((
16702 case `echo 'xy\c'` in
16703 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16705 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16712 rm -f conf$$ conf$$.exe conf$$.file
16713 if test -d conf$$.dir; then
16714 rm -f conf$$.dir/conf$$.file
16717 mkdir conf$$.dir 2>/dev/null
16719 if (echo >conf$$.file) 2>/dev/null; then
16720 if ln -s conf$$.file conf$$ 2>/dev/null; then
16722 # ... but there are two gotchas:
16723 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16724 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16725 # In both cases, we have to default to `cp -pR'.
16726 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16728 elif ln conf$$.file conf$$ 2>/dev/null; then
16736 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16737 rmdir conf$$.dir 2>/dev/null
16742 # Create "$as_dir" as a directory, including parents if necessary.
16747 -*) as_dir=./$as_dir;;
16749 test -d "$as_dir" || eval $as_mkdir_p || {
16753 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16754 *) as_qdir=$as_dir;;
16756 as_dirs="'$as_qdir' $as_dirs"
16757 as_dir=`$as_dirname -- "$as_dir" ||
16758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16759 X"$as_dir" : 'X\(//\)[^/]' \| \
16760 X"$as_dir" : 'X\(//\)$' \| \
16761 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16762 $as_echo X"$as_dir" |
16763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16767 /^X\(\/\/\)[^/].*/{
16780 test -d "$as_dir" && break
16782 test -z "$as_dirs" || eval "mkdir $as_dirs"
16783 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16787 if mkdir -p . 2>/dev/null; then
16788 as_mkdir_p='mkdir -p "$as_dir"'
16790 test -d ./-p && rmdir ./-p
16795 # as_fn_executable_p FILE
16796 # -----------------------
16797 # Test if FILE is an executable regular file.
16798 as_fn_executable_p ()
16800 test -f "$1" && test -x "$1"
16801 } # as_fn_executable_p
16802 as_test_x='test -x'
16803 as_executable_p=as_fn_executable_p
16805 # Sed expression to map a string onto a valid CPP name.
16806 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16808 # Sed expression to map a string onto a valid variable name.
16809 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16813 ## ----------------------------------- ##
16814 ## Main body of $CONFIG_STATUS script. ##
16815 ## ----------------------------------- ##
16817 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16820 # Save the log message, to keep $0 and so on meaningful, and to
16821 # report actual input values of CONFIG_FILES etc. instead of their
16822 # values after options handling.
16824 This file was extended by Moonshot-ui $as_me 0.7.1, which was
16825 generated by GNU Autoconf 2.69. Invocation command line was
16827 CONFIG_FILES = $CONFIG_FILES
16828 CONFIG_HEADERS = $CONFIG_HEADERS
16829 CONFIG_LINKS = $CONFIG_LINKS
16830 CONFIG_COMMANDS = $CONFIG_COMMANDS
16833 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16838 case $ac_config_files in *"
16839 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16842 case $ac_config_headers in *"
16843 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16848 # Files that config.status was made for.
16849 config_files="$ac_config_files"
16850 config_headers="$ac_config_headers"
16851 config_commands="$ac_config_commands"
16855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16857 \`$as_me' instantiates files and other configuration actions
16858 from templates according to the current configuration. Unless the files
16859 and actions are specified as TAGs, all are instantiated by default.
16861 Usage: $0 [OPTION]... [TAG]...
16863 -h, --help print this help, then exit
16864 -V, --version print version number and configuration settings, then exit
16865 --config print configuration, then exit
16866 -q, --quiet, --silent
16867 do not print progress messages
16868 -d, --debug don't remove temporary files
16869 --recheck update $as_me by reconfiguring in the same conditions
16870 --file=FILE[:TEMPLATE]
16871 instantiate the configuration file FILE
16872 --header=FILE[:TEMPLATE]
16873 instantiate the configuration header FILE
16875 Configuration files:
16878 Configuration headers:
16881 Configuration commands:
16884 Report bugs to <moonshot-community@jiscmail.ac.uk>.
16885 Moonshot-ui home page: <http://www.project-moonshot.org/>."
16888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16889 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16891 Moonshot-ui config.status 0.7.1
16892 configured by $0, generated by GNU Autoconf 2.69,
16893 with options \\"\$ac_cs_config\\"
16895 Copyright (C) 2012 Free Software Foundation, Inc.
16896 This config.status script is free software; the Free Software Foundation
16897 gives unlimited permission to copy, distribute and modify it."
16904 test -n "\$AWK" || AWK=awk
16907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16908 # The default lists apply if the user does not specify any file.
16914 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16915 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16919 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16931 # Handling of the options.
16932 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16934 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16935 $as_echo "$ac_cs_version"; exit ;;
16936 --config | --confi | --conf | --con | --co | --c )
16937 $as_echo "$ac_cs_config"; exit ;;
16938 --debug | --debu | --deb | --de | --d | -d )
16940 --file | --fil | --fi | --f )
16943 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16944 '') as_fn_error $? "missing file argument" ;;
16946 as_fn_append CONFIG_FILES " '$ac_optarg'"
16947 ac_need_defaults=false;;
16948 --header | --heade | --head | --hea )
16951 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16953 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16954 ac_need_defaults=false;;
16956 # Conflict between --help and --header
16957 as_fn_error $? "ambiguous option: \`$1'
16958 Try \`$0 --help' for more information.";;
16959 --help | --hel | -h )
16960 $as_echo "$ac_cs_usage"; exit ;;
16961 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16962 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16965 # This is an error.
16966 -*) as_fn_error $? "unrecognized option: \`$1'
16967 Try \`$0 --help' for more information." ;;
16969 *) as_fn_append ac_config_targets " $1"
16970 ac_need_defaults=false ;;
16976 ac_configure_extra_args=
16978 if $ac_cs_silent; then
16980 ac_configure_extra_args="$ac_configure_extra_args --silent"
16984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16985 if \$ac_cs_recheck; then
16986 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16988 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16989 CONFIG_SHELL='$SHELL'
16990 export CONFIG_SHELL
16995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16999 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17000 ## Running $as_me. ##
17006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17010 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17013 # The HP-UX ksh and POSIX shell print the target directory to stdout
17014 # if CDPATH is set.
17015 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17017 sed_quote_subst='$sed_quote_subst'
17018 double_quote_subst='$double_quote_subst'
17019 delay_variable_subst='$delay_variable_subst'
17020 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17021 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17022 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17023 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17024 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17025 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17026 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17027 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17028 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17029 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17030 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17031 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17032 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17033 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17034 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17035 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17036 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17037 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17038 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17039 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17040 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17041 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17042 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17043 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17044 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17045 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17046 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17047 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17048 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17049 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17050 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17051 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17052 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17053 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17054 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17055 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17056 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17057 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17058 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17059 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17060 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17061 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17062 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17063 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17064 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17065 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17066 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17067 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17068 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17069 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17070 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17071 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17072 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17073 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17074 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17075 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17076 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17077 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"`'
17078 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17079 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17080 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17081 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17082 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17083 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17084 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17085 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17086 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17087 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17088 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17089 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17090 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17091 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17092 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17093 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17094 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17095 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17096 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17097 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17098 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17099 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17100 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17101 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17102 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17103 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17104 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17105 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17106 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17107 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17108 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17109 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17110 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17111 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17112 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17113 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17114 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17115 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17116 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17117 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17118 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17119 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17120 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17121 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17122 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17123 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17124 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17125 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17126 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17127 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17128 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17129 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17130 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17131 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17132 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17133 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17134 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17135 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17136 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17137 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17138 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17139 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17140 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17141 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17142 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17143 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17144 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17145 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17146 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17147 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17148 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17149 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17150 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17153 LTCFLAGS='$LTCFLAGS'
17154 compiler='$compiler_DEFAULT'
17156 # A function that is used when there is no print builtin or printf.
17157 func_fallback_echo ()
17159 eval 'cat <<_LTECHO_EOF
17164 # Quote evaled strings.
17181 deplibs_check_method \
17185 sharedlib_from_linklib_cmd \
17188 archiver_list_spec \
17194 lt_cv_sys_global_symbol_pipe \
17195 lt_cv_sys_global_symbol_to_cdecl \
17196 lt_cv_sys_global_symbol_to_c_name_address \
17197 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17198 nm_file_list_spec \
17199 lt_prog_compiler_no_builtin_flag \
17200 lt_prog_compiler_pic \
17201 lt_prog_compiler_wl \
17202 lt_prog_compiler_static \
17203 lt_cv_prog_compiler_c_o \
17212 export_dynamic_flag_spec \
17213 whole_archive_flag_spec \
17214 compiler_needs_object \
17216 allow_undefined_flag \
17217 no_undefined_flag \
17218 hardcode_libdir_flag_spec \
17219 hardcode_libdir_separator \
17223 variables_saved_for_relink \
17225 library_names_spec \
17227 install_override_mode \
17231 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17232 *[\\\\\\\`\\"\\\$]*)
17233 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17236 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17241 # Double-quote double-evaled strings.
17242 for var in reload_cmds \
17243 old_postinstall_cmds \
17244 old_postuninstall_cmds \
17246 extract_expsyms_cmds \
17247 old_archive_from_new_cmds \
17248 old_archive_from_expsyms_cmds \
17250 archive_expsym_cmds \
17252 module_expsym_cmds \
17253 export_symbols_cmds \
17257 postuninstall_cmds \
17259 sys_lib_search_path_spec \
17260 sys_lib_dlsearch_path_spec; do
17261 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17262 *[\\\\\\\`\\"\\\$]*)
17263 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17266 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17271 ac_aux_dir='$ac_aux_dir'
17272 xsi_shell='$xsi_shell'
17273 lt_shell_append='$lt_shell_append'
17275 # See if we are running on zsh, and set the options which allow our
17276 # commands through without removal of \ escapes INIT.
17277 if test -n "\${ZSH_VERSION+set}" ; then
17278 setopt NO_GLOB_SUBST
17284 TIMESTAMP='$TIMESTAMP'
17290 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17291 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17292 # from automake < 1.5.
17293 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17294 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17295 LINGUAS="${LINGUAS-%UNSET%}"
17300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17302 # Handling of arguments.
17303 for ac_config_target in $ac_config_targets
17305 case $ac_config_target in
17306 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17307 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17308 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17309 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17310 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17311 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17312 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
17313 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
17314 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
17316 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17321 # If the user did not use the arguments to specify the items to instantiate,
17322 # then the envvar interface is used. Set only those that are not.
17323 # We use the long form for the default assignment because of an extremely
17324 # bizarre bug on SunOS 4.1.3.
17325 if $ac_need_defaults; then
17326 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17327 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17328 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17331 # Have a temporary directory for convenience. Make it in the build tree
17332 # simply because there is no reason against having it here, and in addition,
17333 # creating and moving files from /tmp can sometimes cause problems.
17334 # Hook for its removal unless debugging.
17335 # Note that there is a small window in which the directory will not be cleaned:
17336 # after its creation but before its name has been assigned to `$tmp'.
17340 trap 'exit_status=$?
17341 : "${ac_tmp:=$tmp}"
17342 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17344 trap 'as_fn_exit 1' 1 2 13 15
17346 # Create a (secure) tmp directory for tmp files.
17349 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17353 tmp=./conf$$-$RANDOM
17354 (umask 077 && mkdir "$tmp")
17355 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17358 # Set up the scripts for CONFIG_FILES section.
17359 # No need to generate them if there are no CONFIG_FILES.
17360 # This happens for instance with `./config.status config.h'.
17361 if test -n "$CONFIG_FILES"; then
17364 ac_cr=`echo X | tr X '\015'`
17365 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17366 # But we know of no other shell where ac_cr would be empty at this
17367 # point, so we can use a bashism as a fallback.
17368 if test "x$ac_cr" = x; then
17369 eval ac_cr=\$\'\\r\'
17371 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17372 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17375 ac_cs_awk_cr=$ac_cr
17378 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17383 echo "cat >conf$$subs.awk <<_ACEOF" &&
17384 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17386 } >conf$$subs.sh ||
17387 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17388 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17390 for ac_last_try in false false false false false :; do
17391 . ./conf$$subs.sh ||
17392 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17394 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17395 if test $ac_delim_n = $ac_delim_num; then
17397 elif $ac_last_try; then
17398 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17400 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17403 rm -f conf$$subs.sh
17405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17406 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17410 s/^/S["/; s/!.*/"]=/
17420 s/\(.\{148\}\)..*/\1/
17422 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17434 s/\(.\{148\}\)..*/\1/
17436 s/["\\]/\\&/g; s/^/"/; s/$/"/
17440 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17445 ' <conf$$subs.awk | sed '
17450 ' >>$CONFIG_STATUS || ac_write_fail=1
17451 rm -f conf$$subs.awk
17452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17454 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17455 for (key in S) S_is_set[key] = 1
17461 nfields = split(line, field, "@")
17463 len = length(field[1])
17464 for (i = 2; i < nfields; i++) {
17466 keylen = length(key)
17467 if (S_is_set[key]) {
17469 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17470 len += length(value) + length(field[++i])
17481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17482 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17483 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17486 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17487 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17490 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17491 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17492 # trailing colons and then remove the whole line if VPATH becomes empty
17493 # (actually we leave an empty line to preserve line numbers).
17494 if test "x$srcdir" = x.; then
17495 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17514 fi # test -n "$CONFIG_FILES"
17516 # Set up the scripts for CONFIG_HEADERS section.
17517 # No need to generate them if there are no CONFIG_HEADERS.
17518 # This happens for instance with `./config.status Makefile'.
17519 if test -n "$CONFIG_HEADERS"; then
17520 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17524 # Transform confdefs.h into an awk script `defines.awk', embedded as
17525 # here-document in config.status, that substitutes the proper values into
17526 # config.h.in to produce config.h.
17528 # Create a delimiter string that does not exist in confdefs.h, to ease
17529 # handling of long lines.
17531 for ac_last_try in false false :; do
17532 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17533 if test -z "$ac_tt"; then
17535 elif $ac_last_try; then
17536 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17538 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17542 # For the awk script, D is an array of macro values keyed by name,
17543 # likewise P contains macro parameters if any. Preserve backslash
17544 # newline sequences.
17546 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17548 s/.\{148\}/&'"$ac_delim"'/g
17551 s/^[ ]*#[ ]*define[ ][ ]*/ /
17558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17560 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17565 D["\1"]=" \3\\\\\\n"\\/p
17567 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17572 s/.\{148\}/&'"$ac_delim"'/g
17577 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17580 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17582 ' <confdefs.h | sed '
17583 s/'"$ac_delim"'/"\\\
17584 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17587 for (key in D) D_is_set[key] = 1
17590 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17592 split(line, arg, " ")
17593 if (arg[1] == "#") {
17597 defundef = substr(arg[1], 2)
17600 split(mac1, mac2, "(") #)
17602 prefix = substr(line, 1, index(line, defundef) - 1)
17603 if (D_is_set[macro]) {
17604 # Preserve the white space surrounding the "#".
17605 print prefix "define", macro P[macro] D[macro]
17608 # Replace #undef with comments. This is necessary, for example,
17609 # in the case of _POSIX_SOURCE, which is predefined and required
17610 # on some systems where configure will not decide to define it.
17611 if (defundef == "undef") {
17612 print "/*", prefix defundef, macro, "*/"
17620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17621 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17622 fi # test -n "$CONFIG_HEADERS"
17625 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17630 :[FHLC]) ac_mode=$ac_tag; continue;;
17632 case $ac_mode$ac_tag in
17634 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17635 :[FH]-) ac_tag=-:-;;
17636 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17653 -) ac_f="$ac_tmp/stdin";;
17654 *) # Look for the file first in the build tree, then in the source tree
17655 # (if the path is not absolute). The absolute path cannot be DOS-style,
17656 # because $ac_f cannot contain `:'.
17660 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17662 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17664 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17665 as_fn_append ac_file_inputs " '$ac_f'"
17668 # Let's still pretend it is `configure' which instantiates (i.e., don't
17669 # use $as_me), people would be surprised to read:
17670 # /* config.h. Generated by config.status. */
17671 configure_input='Generated from '`
17672 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17674 if test x"$ac_file" != x-; then
17675 configure_input="$ac_file. $configure_input"
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17677 $as_echo "$as_me: creating $ac_file" >&6;}
17679 # Neutralize special characters interpreted by sed in replacement strings.
17680 case $configure_input in #(
17681 *\&* | *\|* | *\\* )
17682 ac_sed_conf_input=`$as_echo "$configure_input" |
17683 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17684 *) ac_sed_conf_input=$configure_input;;
17688 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17694 ac_dir=`$as_dirname -- "$ac_file" ||
17695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17696 X"$ac_file" : 'X\(//\)[^/]' \| \
17697 X"$ac_file" : 'X\(//\)$' \| \
17698 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17699 $as_echo X"$ac_file" |
17700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17704 /^X\(\/\/\)[^/].*/{
17717 as_dir="$ac_dir"; as_fn_mkdir_p
17721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17723 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17724 # A ".." for each directory in $ac_dir_suffix.
17725 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17726 case $ac_top_builddir_sub in
17727 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17728 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17731 ac_abs_top_builddir=$ac_pwd
17732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17733 # for backward compatibility:
17734 ac_top_builddir=$ac_top_build_prefix
17737 .) # We are building in place.
17739 ac_top_srcdir=$ac_top_builddir_sub
17740 ac_abs_top_srcdir=$ac_pwd ;;
17741 [\\/]* | ?:[\\/]* ) # Absolute name.
17742 ac_srcdir=$srcdir$ac_dir_suffix;
17743 ac_top_srcdir=$srcdir
17744 ac_abs_top_srcdir=$srcdir ;;
17745 *) # Relative name.
17746 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17747 ac_top_srcdir=$ac_top_build_prefix$srcdir
17748 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17760 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17761 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17763 ac_MKDIR_P=$MKDIR_P
17765 [\\/$]* | ?:[\\/]* ) ;;
17766 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17771 # If the template does not know about datarootdir, expand it.
17772 # FIXME: This hack should be removed a few years after 2.60.
17773 ac_datarootdir_hack=; ac_datarootdir_seen=
17784 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17785 *datarootdir*) ac_datarootdir_seen=yes;;
17786 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17788 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17791 ac_datarootdir_hack='
17792 s&@datadir@&$datadir&g
17793 s&@docdir@&$docdir&g
17794 s&@infodir@&$infodir&g
17795 s&@localedir@&$localedir&g
17796 s&@mandir@&$mandir&g
17797 s&\\\${datarootdir}&$datarootdir&g' ;;
17801 # Neutralize VPATH when `$srcdir' = `.'.
17802 # Shell code in configure.ac might set extrasub.
17803 # FIXME: do we really want to maintain this feature?
17804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17805 ac_sed_extra="$ac_vpsub
17808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17811 s|@configure_input@|$ac_sed_conf_input|;t t
17812 s&@top_builddir@&$ac_top_builddir_sub&;t t
17813 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17814 s&@srcdir@&$ac_srcdir&;t t
17815 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17816 s&@top_srcdir@&$ac_top_srcdir&;t t
17817 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17818 s&@builddir@&$ac_builddir&;t t
17819 s&@abs_builddir@&$ac_abs_builddir&;t t
17820 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17821 s&@INSTALL@&$ac_INSTALL&;t t
17822 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17823 $ac_datarootdir_hack
17825 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17826 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17828 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17829 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17830 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17831 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17833 which seems to be undefined. Please make sure it is defined" >&5
17834 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17835 which seems to be undefined. Please make sure it is defined" >&2;}
17837 rm -f "$ac_tmp/stdin"
17839 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17840 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17842 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17848 if test x"$ac_file" != x-; then
17850 $as_echo "/* $configure_input */" \
17851 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17852 } >"$ac_tmp/config.h" \
17853 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17854 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17856 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17859 mv "$ac_tmp/config.h" "$ac_file" \
17860 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17863 $as_echo "/* $configure_input */" \
17864 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17865 || as_fn_error $? "could not create -" "$LINENO" 5
17867 # Compute "$ac_file"'s index in $config_headers.
17870 for _am_header in $config_headers :; do
17871 case $_am_header in
17872 $_am_arg | $_am_arg:* )
17875 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17878 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17879 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17880 X"$_am_arg" : 'X\(//\)[^/]' \| \
17881 X"$_am_arg" : 'X\(//\)$' \| \
17882 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17883 $as_echo X"$_am_arg" |
17884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17888 /^X\(\/\/\)[^/].*/{
17900 s/.*/./; q'`/stamp-h$_am_stamp_count
17903 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17904 $as_echo "$as_me: executing $ac_file commands" >&6;}
17909 case $ac_file$ac_mode in
17910 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17911 # Older Autoconf quotes --file arguments for eval, but not when files
17912 # are listed without --file. Let's play safe and only enable the eval
17913 # if we detect the quoting.
17914 case $CONFIG_FILES in
17915 *\'*) eval set x "$CONFIG_FILES" ;;
17916 *) set x $CONFIG_FILES ;;
17921 # Strip MF so we end up with the name of the file.
17922 mf=`echo "$mf" | sed -e 's/:.*$//'`
17923 # Check whether this is an Automake generated Makefile or not.
17924 # We used to match only the files named 'Makefile.in', but
17925 # some people rename them; so instead we look at the file content.
17926 # Grep'ing the first line is not enough: some people post-process
17927 # each Makefile.in and add a new line on top of each file to say so.
17928 # Grep'ing the whole file is not good either: AIX grep has a line
17929 # limit of 2048, but all sed's we know have understand at least 4000.
17930 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17931 dirpart=`$as_dirname -- "$mf" ||
17932 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17933 X"$mf" : 'X\(//\)[^/]' \| \
17934 X"$mf" : 'X\(//\)$' \| \
17935 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17941 /^X\(\/\/\)[^/].*/{
17957 # Extract the definition of DEPDIR, am__include, and am__quote
17958 # from the Makefile without running 'make'.
17959 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17960 test -z "$DEPDIR" && continue
17961 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17962 test -z "$am__include" && continue
17963 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17964 # Find all dependency output files, they are included files with
17965 # $(DEPDIR) in their names. We invoke sed twice because it is the
17966 # simplest approach to changing $(DEPDIR) to its actual value in the
17968 for file in `sed -n "
17969 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17970 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17971 # Make sure the directory exists.
17972 test -f "$dirpart/$file" && continue
17973 fdir=`$as_dirname -- "$file" ||
17974 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17975 X"$file" : 'X\(//\)[^/]' \| \
17976 X"$file" : 'X\(//\)$' \| \
17977 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17978 $as_echo X"$file" |
17979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17983 /^X\(\/\/\)[^/].*/{
17996 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17997 # echo "creating $dirpart/$file"
17998 echo '# dummy' > "$dirpart/$file"
18005 # See if we are running on zsh, and set the options which allow our
18006 # commands through without removal of \ escapes.
18007 if test -n "${ZSH_VERSION+set}" ; then
18008 setopt NO_GLOB_SUBST
18011 cfgfile="${ofile}T"
18012 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18015 cat <<_LT_EOF >> "$cfgfile"
18018 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18019 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18020 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18021 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18023 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18024 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18026 # Written by Gordon Matzigkeit, 1996
18028 # This file is part of GNU Libtool.
18030 # GNU Libtool is free software; you can redistribute it and/or
18031 # modify it under the terms of the GNU General Public License as
18032 # published by the Free Software Foundation; either version 2 of
18033 # the License, or (at your option) any later version.
18035 # As a special exception to the GNU General Public License,
18036 # if you distribute this file as part of a program or library that
18037 # is built using GNU Libtool, you may include this file under the
18038 # same distribution terms that you use for the rest of that program.
18040 # GNU Libtool is distributed in the hope that it will be useful,
18041 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18042 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18043 # GNU General Public License for more details.
18045 # You should have received a copy of the GNU General Public License
18046 # along with GNU Libtool; see the file COPYING. If not, a copy
18047 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18048 # obtained by writing to the Free Software Foundation, Inc.,
18049 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18052 # The names of the tagged configurations supported by this script.
18055 # ### BEGIN LIBTOOL CONFIG
18057 # Which release of libtool.m4 was used?
18058 macro_version=$macro_version
18059 macro_revision=$macro_revision
18061 # Assembler program.
18064 # DLL creation program.
18065 DLLTOOL=$lt_DLLTOOL
18067 # Object dumper program.
18068 OBJDUMP=$lt_OBJDUMP
18070 # Whether or not to build shared libraries.
18071 build_libtool_libs=$enable_shared
18073 # Whether or not to build static libraries.
18074 build_old_libs=$enable_static
18076 # What type of objects to build.
18079 # Whether or not to optimize for fast installation.
18080 fast_install=$enable_fast_install
18082 # Shell to use when invoking shell scripts.
18085 # An echo program that protects backslashes.
18088 # The PATH separator for the build system.
18089 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18092 host_alias=$host_alias
18096 # The build system.
18097 build_alias=$build_alias
18101 # A sed program that does not truncate output.
18104 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18105 Xsed="\$SED -e 1s/^X//"
18107 # A grep program that handles long lines.
18113 # A literal string matcher.
18116 # A BSD- or MS-compatible name lister.
18119 # Whether we need soft or hard links.
18122 # What is the maximum length of a command?
18123 max_cmd_len=$max_cmd_len
18125 # Object file suffix (normally "o").
18128 # Executable file suffix (normally "").
18131 # whether the shell understands "unset".
18134 # turn spaces into newlines.
18137 # turn newlines into spaces.
18140 # convert \$build file names to \$host format.
18141 to_host_file_cmd=$lt_cv_to_host_file_cmd
18143 # convert \$build files to toolchain format.
18144 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18146 # Method to check whether dependent libraries are shared objects.
18147 deplibs_check_method=$lt_deplibs_check_method
18149 # Command to use when deplibs_check_method = "file_magic".
18150 file_magic_cmd=$lt_file_magic_cmd
18152 # How to find potential files when deplibs_check_method = "file_magic".
18153 file_magic_glob=$lt_file_magic_glob
18155 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18156 want_nocaseglob=$lt_want_nocaseglob
18158 # Command to associate shared and link libraries.
18159 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18164 # Flags to create an archive.
18165 AR_FLAGS=$lt_AR_FLAGS
18167 # How to feed a file listing to the archiver.
18168 archiver_list_spec=$lt_archiver_list_spec
18170 # A symbol stripping program.
18173 # Commands used to install an old-style archive.
18175 old_postinstall_cmds=$lt_old_postinstall_cmds
18176 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18178 # Whether to use a lock for old archive extraction.
18179 lock_old_archive_extraction=$lock_old_archive_extraction
18184 # LTCC compiler flags.
18185 LTCFLAGS=$lt_CFLAGS
18187 # Take the output of nm and produce a listing of raw symbols and C names.
18188 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18190 # Transform the output of nm in a proper C declaration.
18191 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18193 # Transform the output of nm in a C name address pair.
18194 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18196 # Transform the output of nm in a C name address pair when lib prefix is needed.
18197 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18199 # Specify filename containing input files for \$NM.
18200 nm_file_list_spec=$lt_nm_file_list_spec
18202 # The root where to search for dependent libraries,and in which our libraries should be installed.
18203 lt_sysroot=$lt_sysroot
18205 # The name of the directory that contains temporary libtool files.
18208 # Used to examine libraries when file_magic_cmd begins with "file".
18209 MAGIC_CMD=$MAGIC_CMD
18211 # Must we lock files when doing compilation?
18212 need_locks=$lt_need_locks
18215 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18217 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18218 DSYMUTIL=$lt_DSYMUTIL
18220 # Tool to change global to local symbols on Mac OS X.
18223 # Tool to manipulate fat objects and archives on Mac OS X.
18226 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18229 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18230 OTOOL64=$lt_OTOOL64
18232 # Old archive suffix (normally "a").
18235 # Shared library suffix (normally ".so").
18236 shrext_cmds=$lt_shrext_cmds
18238 # The commands to extract the exported symbol list from a shared archive.
18239 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18241 # Variables whose values should be saved in libtool wrapper scripts and
18242 # restored at link time.
18243 variables_saved_for_relink=$lt_variables_saved_for_relink
18245 # Do we need the "lib" prefix for modules?
18246 need_lib_prefix=$need_lib_prefix
18248 # Do we need a version for libraries?
18249 need_version=$need_version
18251 # Library versioning type.
18252 version_type=$version_type
18254 # Shared library runtime path variable.
18255 runpath_var=$runpath_var
18257 # Shared library path variable.
18258 shlibpath_var=$shlibpath_var
18260 # Is shlibpath searched before the hard-coded library search path?
18261 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18263 # Format of library name prefix.
18264 libname_spec=$lt_libname_spec
18266 # List of archive names. First name is the real one, the rest are links.
18267 # The last name is the one that the linker finds with -lNAME
18268 library_names_spec=$lt_library_names_spec
18270 # The coded name of the library, if different from the real name.
18271 soname_spec=$lt_soname_spec
18273 # Permission mode override for installation of shared libraries.
18274 install_override_mode=$lt_install_override_mode
18276 # Command to use after installation of a shared archive.
18277 postinstall_cmds=$lt_postinstall_cmds
18279 # Command to use after uninstallation of a shared archive.
18280 postuninstall_cmds=$lt_postuninstall_cmds
18282 # Commands used to finish a libtool library installation in a directory.
18283 finish_cmds=$lt_finish_cmds
18285 # As "finish_cmds", except a single script fragment to be evaled but
18287 finish_eval=$lt_finish_eval
18289 # Whether we should hardcode library paths into libraries.
18290 hardcode_into_libs=$hardcode_into_libs
18292 # Compile-time system search path for libraries.
18293 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18295 # Run-time system search path for libraries.
18296 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18298 # Whether dlopen is supported.
18299 dlopen_support=$enable_dlopen
18301 # Whether dlopen of programs is supported.
18302 dlopen_self=$enable_dlopen_self
18304 # Whether dlopen of statically linked programs is supported.
18305 dlopen_self_static=$enable_dlopen_self_static
18307 # Commands to strip libraries.
18308 old_striplib=$lt_old_striplib
18309 striplib=$lt_striplib
18312 # The linker used to build libraries.
18315 # How to create reloadable object files.
18316 reload_flag=$lt_reload_flag
18317 reload_cmds=$lt_reload_cmds
18319 # Commands used to build an old-style archive.
18320 old_archive_cmds=$lt_old_archive_cmds
18322 # A language specific compiler.
18325 # Is the compiler the GNU compiler?
18328 # Compiler flag to turn off builtin functions.
18329 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18331 # Additional compiler flags for building library objects.
18332 pic_flag=$lt_lt_prog_compiler_pic
18334 # How to pass a linker flag through the compiler.
18335 wl=$lt_lt_prog_compiler_wl
18337 # Compiler flag to prevent dynamic linking.
18338 link_static_flag=$lt_lt_prog_compiler_static
18340 # Does compiler simultaneously support -c and -o options?
18341 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18343 # Whether or not to add -lc for building shared libraries.
18344 build_libtool_need_lc=$archive_cmds_need_lc
18346 # Whether or not to disallow shared libs when runtime libs are static.
18347 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18349 # Compiler flag to allow reflexive dlopens.
18350 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18352 # Compiler flag to generate shared objects directly from archives.
18353 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18355 # Whether the compiler copes with passing no objects directly.
18356 compiler_needs_object=$lt_compiler_needs_object
18358 # Create an old-style archive from a shared archive.
18359 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18361 # Create a temporary old-style archive to link instead of a shared archive.
18362 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18364 # Commands used to build a shared archive.
18365 archive_cmds=$lt_archive_cmds
18366 archive_expsym_cmds=$lt_archive_expsym_cmds
18368 # Commands used to build a loadable module if different from building
18369 # a shared archive.
18370 module_cmds=$lt_module_cmds
18371 module_expsym_cmds=$lt_module_expsym_cmds
18373 # Whether we are building with GNU ld or not.
18374 with_gnu_ld=$lt_with_gnu_ld
18376 # Flag that allows shared libraries with undefined symbols to be built.
18377 allow_undefined_flag=$lt_allow_undefined_flag
18379 # Flag that enforces no undefined symbols.
18380 no_undefined_flag=$lt_no_undefined_flag
18382 # Flag to hardcode \$libdir into a binary during linking.
18383 # This must work even if \$libdir does not exist
18384 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18386 # Whether we need a single "-rpath" flag with a separated argument.
18387 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18389 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18390 # DIR into the resulting binary.
18391 hardcode_direct=$hardcode_direct
18393 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18394 # DIR into the resulting binary and the resulting library dependency is
18395 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18396 # library is relocated.
18397 hardcode_direct_absolute=$hardcode_direct_absolute
18399 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18400 # into the resulting binary.
18401 hardcode_minus_L=$hardcode_minus_L
18403 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18404 # into the resulting binary.
18405 hardcode_shlibpath_var=$hardcode_shlibpath_var
18407 # Set to "yes" if building a shared library automatically hardcodes DIR
18408 # into the library and all subsequent libraries and executables linked
18410 hardcode_automatic=$hardcode_automatic
18412 # Set to yes if linker adds runtime paths of dependent libraries
18413 # to runtime path list.
18414 inherit_rpath=$inherit_rpath
18416 # Whether libtool must link a program against all its dependency libraries.
18417 link_all_deplibs=$link_all_deplibs
18419 # Set to "yes" if exported symbols are required.
18420 always_export_symbols=$always_export_symbols
18422 # The commands to list exported symbols.
18423 export_symbols_cmds=$lt_export_symbols_cmds
18425 # Symbols that should not be listed in the preloaded symbols.
18426 exclude_expsyms=$lt_exclude_expsyms
18428 # Symbols that must always be exported.
18429 include_expsyms=$lt_include_expsyms
18431 # Commands necessary for linking programs (against libraries) with templates.
18432 prelink_cmds=$lt_prelink_cmds
18434 # Commands necessary for finishing linking programs.
18435 postlink_cmds=$lt_postlink_cmds
18437 # Specify filename containing input files.
18438 file_list_spec=$lt_file_list_spec
18440 # How to hardcode a shared library path into an executable.
18441 hardcode_action=$hardcode_action
18443 # ### END LIBTOOL CONFIG
18449 cat <<\_LT_EOF >> "$cfgfile"
18450 # AIX sometimes has problems with the GCC collect2 program. For some
18451 # reason, if we set the COLLECT_NAMES environment variable, the problems
18452 # vanish in a puff of smoke.
18453 if test "X${COLLECT_NAMES+set}" != Xset; then
18455 export COLLECT_NAMES
18462 ltmain="$ac_aux_dir/ltmain.sh"
18465 # We use sed instead of cat because bash on DJGPP gets confused if
18466 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18467 # text mode, it properly converts lines to CR/LF. This bash problem
18468 # is reportedly fixed, but why not run on old versions too?
18469 sed '$q' "$ltmain" >> "$cfgfile" \
18470 || (rm -f "$cfgfile"; exit 1)
18472 if test x"$xsi_shell" = xyes; then
18473 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18477 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18478 \ * ) func_dirname_result="${3}" ;;\
18480 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18481 && mv -f "$cfgfile.tmp" "$cfgfile" \
18482 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18483 test 0 -eq $? || _lt_function_replace_fail=:
18486 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18489 \ func_basename_result="${1##*/}"\
18490 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18491 && mv -f "$cfgfile.tmp" "$cfgfile" \
18492 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18493 test 0 -eq $? || _lt_function_replace_fail=:
18496 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18497 func_dirname_and_basename ()\
18500 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18501 \ * ) func_dirname_result="${3}" ;;\
18503 \ func_basename_result="${1##*/}"\
18504 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18505 && mv -f "$cfgfile.tmp" "$cfgfile" \
18506 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18507 test 0 -eq $? || _lt_function_replace_fail=:
18510 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18513 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18514 \ # positional parameters, so assign one to ordinary parameter first.\
18515 \ func_stripname_result=${3}\
18516 \ func_stripname_result=${func_stripname_result#"${1}"}\
18517 \ func_stripname_result=${func_stripname_result%"${2}"}\
18518 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18519 && mv -f "$cfgfile.tmp" "$cfgfile" \
18520 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18521 test 0 -eq $? || _lt_function_replace_fail=:
18524 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18525 func_split_long_opt ()\
18527 \ func_split_long_opt_name=${1%%=*}\
18528 \ func_split_long_opt_arg=${1#*=}\
18529 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18530 && mv -f "$cfgfile.tmp" "$cfgfile" \
18531 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18532 test 0 -eq $? || _lt_function_replace_fail=:
18535 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18536 func_split_short_opt ()\
18538 \ func_split_short_opt_arg=${1#??}\
18539 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18540 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18541 && mv -f "$cfgfile.tmp" "$cfgfile" \
18542 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18543 test 0 -eq $? || _lt_function_replace_fail=:
18546 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18550 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18551 \ *) func_lo2o_result=${1} ;;\
18553 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18554 && mv -f "$cfgfile.tmp" "$cfgfile" \
18555 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18556 test 0 -eq $? || _lt_function_replace_fail=:
18559 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18562 func_xform_result=${1%.*}.lo\
18563 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18564 && mv -f "$cfgfile.tmp" "$cfgfile" \
18565 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18566 test 0 -eq $? || _lt_function_replace_fail=:
18569 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18572 func_arith_result=$(( $* ))\
18573 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18574 && mv -f "$cfgfile.tmp" "$cfgfile" \
18575 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18576 test 0 -eq $? || _lt_function_replace_fail=:
18579 sed -e '/^func_len ()$/,/^} # func_len /c\
18582 func_len_result=${#1}\
18583 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18584 && mv -f "$cfgfile.tmp" "$cfgfile" \
18585 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18586 test 0 -eq $? || _lt_function_replace_fail=:
18590 if test x"$lt_shell_append" = xyes; then
18591 sed -e '/^func_append ()$/,/^} # func_append /c\
18594 eval "${1}+=\\${2}"\
18595 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18596 && mv -f "$cfgfile.tmp" "$cfgfile" \
18597 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18598 test 0 -eq $? || _lt_function_replace_fail=:
18601 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18602 func_append_quoted ()\
18604 \ func_quote_for_eval "${2}"\
18605 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18606 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18607 && mv -f "$cfgfile.tmp" "$cfgfile" \
18608 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18609 test 0 -eq $? || _lt_function_replace_fail=:
18612 # Save a `func_append' function call where possible by direct use of '+='
18613 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18614 && mv -f "$cfgfile.tmp" "$cfgfile" \
18615 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18616 test 0 -eq $? || _lt_function_replace_fail=:
18618 # Save a `func_append' function call even when '+=' is not available
18619 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18620 && mv -f "$cfgfile.tmp" "$cfgfile" \
18621 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18622 test 0 -eq $? || _lt_function_replace_fail=:
18625 if test x"$_lt_function_replace_fail" = x":"; then
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18627 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18631 mv -f "$cfgfile" "$ofile" ||
18632 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18636 "po-directories":C)
18637 for ac_file in $CONFIG_FILES; do
18638 # Support "outfile[:infile[:infile...]]"
18640 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18642 # PO directories have a Makefile.in generated from Makefile.in.in.
18643 case "$ac_file" in */Makefile.in)
18644 # Adjust a relative srcdir.
18645 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18646 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18647 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18648 # In autoconf-2.13 it is called $ac_given_srcdir.
18649 # In autoconf-2.50 it is called $srcdir.
18650 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18651 case "$ac_given_srcdir" in
18652 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18653 /*) top_srcdir="$ac_given_srcdir" ;;
18654 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18656 # Treat a directory as a PO directory if and only if it has a
18657 # POTFILES.in file. This allows packages to have multiple PO
18658 # directories under different names or in different locations.
18659 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18660 rm -f "$ac_dir/POTFILES"
18661 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18662 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18663 POMAKEFILEDEPS="POTFILES.in"
18664 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18665 # on $ac_dir but don't depend on user-specified configuration
18667 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18668 # The LINGUAS file contains the set of available languages.
18669 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18670 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18672 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18673 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18674 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18675 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18677 # The set of available languages was given in configure.in.
18678 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18679 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18682 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18683 # Compute UPDATEPOFILES
18684 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18685 # Compute DUMMYPOFILES
18686 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18688 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18689 case "$ac_given_srcdir" in
18691 *) srcdirpre='$(srcdir)/' ;;
18697 for lang in $ALL_LINGUAS; do
18698 POFILES="$POFILES $srcdirpre$lang.po"
18699 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18700 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18701 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18703 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18704 # environment variable.
18706 if test -n "$ALL_LINGUAS"; then
18707 for presentlang in $ALL_LINGUAS; do
18709 if test "%UNSET%" != "$LINGUAS"; then
18710 desiredlanguages="$LINGUAS"
18712 desiredlanguages="$ALL_LINGUAS"
18714 for desiredlang in $desiredlanguages; do
18715 # Use the presentlang catalog if desiredlang is
18716 # a. equal to presentlang, or
18717 # b. a variant of presentlang (because in this case,
18718 # presentlang can be used as a fallback for messages
18719 # which are not translated in the desiredlang catalog).
18720 case "$desiredlang" in
18721 "$presentlang"*) useit=yes;;
18724 if test $useit = yes; then
18725 INST_LINGUAS="$INST_LINGUAS $presentlang"
18730 if test -n "$INST_LINGUAS"; then
18731 for lang in $INST_LINGUAS; do
18732 CATALOGS="$CATALOGS $lang.gmo"
18735 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18736 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"
18737 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18738 if test -f "$f"; then
18740 *.orig | *.bak | *~) ;;
18741 *) cat "$f" >> "$ac_dir/Makefile" ;;
18756 ac_clean_files=$ac_clean_files_save
18758 test $ac_write_fail = 0 ||
18759 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18762 # configure is writing to config.log, and then calls config.status.
18763 # config.status does its own redirection, appending to config.log.
18764 # Unfortunately, on DOS this fails, as config.log is still kept open
18765 # by configure, so config.status won't be able to write to it; its
18766 # output is simply discarded. So we exec the FD to /dev/null,
18767 # effectively closing config.log, so it can be properly (re)opened and
18768 # appended to by config.status. When coming back to configure, we
18769 # need to make the FD available again.
18770 if test "$no_create" != yes; then
18772 ac_config_status_args=
18773 test "$silent" = yes &&
18774 ac_config_status_args="$ac_config_status_args --quiet"
18776 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18778 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18779 # would make configure fail if this is the last instruction.
18780 $ac_cs_success || as_fn_exit 1
18782 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18784 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}