2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Moonshot-ui 0.5.
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.5'
654 PACKAGE_STRING='Moonshot-ui 0.5'
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>
696 ac_subst_vars='am__EXEEXT_FALSE
708 XGETTEXT_EXTRA_OPTIONS
716 GETTEXT_MACRO_VERSION
724 UPDATE_DESKTOP_DATABASE
807 MAINTAINER_MODE_FALSE
821 INSTALL_STRIP_PROGRAM
863 program_transform_name
876 enable_option_checking
878 enable_maintainer_mode
883 enable_dependency_tracking
892 ac_precious_vars='build_alias
916 # Initialize some variables set by options.
918 ac_init_version=false
919 ac_unrecognized_opts=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
930 program_transform_name=s,x,x,
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir='${exec_prefix}/bin'
945 sbindir='${exec_prefix}/sbin'
946 libexecdir='${exec_prefix}/libexec'
947 datarootdir='${prefix}/share'
948 datadir='${datarootdir}'
949 sysconfdir='${prefix}/etc'
950 sharedstatedir='${prefix}/com'
951 localstatedir='${prefix}/var'
952 includedir='${prefix}/include'
953 oldincludedir='/usr/include'
954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir='${datarootdir}/info'
960 libdir='${exec_prefix}/lib'
961 localedir='${datarootdir}/locale'
962 mandir='${datarootdir}/man'
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\$ac_option
976 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
981 # Accept the important Cygnus configure options, so we can diagnose typos.
983 case $ac_dashdash$ac_option in
987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
992 -build | --build | --buil | --bui | --bu)
993 ac_prev=build_alias ;;
994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
995 build_alias=$ac_optarg ;;
997 -cache-file | --cache-file | --cache-fil | --cache-fi \
998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
999 ac_prev=cache_file ;;
1000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1002 cache_file=$ac_optarg ;;
1004 --config-cache | -C)
1005 cache_file=config.cache ;;
1007 -datadir | --datadir | --datadi | --datad)
1009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1010 datadir=$ac_optarg ;;
1012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013 | --dataroo | --dataro | --datar)
1014 ac_prev=datarootdir ;;
1015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017 datarootdir=$ac_optarg ;;
1019 -disable-* | --disable-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error $? "invalid feature name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_$ac_useropt"
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1033 eval enable_$ac_useropt=no ;;
1035 -docdir | --docdir | --docdi | --doc | --do)
1037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1038 docdir=$ac_optarg ;;
1040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1043 dvidir=$ac_optarg ;;
1045 -enable-* | --enable-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error $? "invalid feature name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "enable_$ac_useropt"
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1059 eval enable_$ac_useropt=\$ac_optarg ;;
1061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1063 | --exec | --exe | --ex)
1064 ac_prev=exec_prefix ;;
1065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1067 | --exec=* | --exe=* | --ex=*)
1068 exec_prefix=$ac_optarg ;;
1070 -gas | --gas | --ga | --g)
1071 # Obsolete; use --with-gas.
1074 -help | --help | --hel | --he | -h)
1075 ac_init_help=long ;;
1076 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1077 ac_init_help=recursive ;;
1078 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1079 ac_init_help=short ;;
1081 -host | --host | --hos | --ho)
1082 ac_prev=host_alias ;;
1083 -host=* | --host=* | --hos=* | --ho=*)
1084 host_alias=$ac_optarg ;;
1086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1090 htmldir=$ac_optarg ;;
1092 -includedir | --includedir | --includedi | --included | --include \
1093 | --includ | --inclu | --incl | --inc)
1094 ac_prev=includedir ;;
1095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1096 | --includ=* | --inclu=* | --incl=* | --inc=*)
1097 includedir=$ac_optarg ;;
1099 -infodir | --infodir | --infodi | --infod | --info | --inf)
1101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1102 infodir=$ac_optarg ;;
1104 -libdir | --libdir | --libdi | --libd)
1106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1107 libdir=$ac_optarg ;;
1109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1110 | --libexe | --libex | --libe)
1111 ac_prev=libexecdir ;;
1112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1113 | --libexe=* | --libex=* | --libe=*)
1114 libexecdir=$ac_optarg ;;
1116 -localedir | --localedir | --localedi | --localed | --locale)
1117 ac_prev=localedir ;;
1118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1119 localedir=$ac_optarg ;;
1121 -localstatedir | --localstatedir | --localstatedi | --localstated \
1122 | --localstate | --localstat | --localsta | --localst | --locals)
1123 ac_prev=localstatedir ;;
1124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1126 localstatedir=$ac_optarg ;;
1128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1131 mandir=$ac_optarg ;;
1133 -nfp | --nfp | --nf)
1134 # Obsolete; use --without-fp.
1137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1138 | --no-cr | --no-c | -n)
1141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1147 | --oldin | --oldi | --old | --ol | --o)
1148 ac_prev=oldincludedir ;;
1149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1152 oldincludedir=$ac_optarg ;;
1154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1157 prefix=$ac_optarg ;;
1159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1160 | --program-pre | --program-pr | --program-p)
1161 ac_prev=program_prefix ;;
1162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1164 program_prefix=$ac_optarg ;;
1166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1167 | --program-suf | --program-su | --program-s)
1168 ac_prev=program_suffix ;;
1169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1171 program_suffix=$ac_optarg ;;
1173 -program-transform-name | --program-transform-name \
1174 | --program-transform-nam | --program-transform-na \
1175 | --program-transform-n | --program-transform- \
1176 | --program-transform | --program-transfor \
1177 | --program-transfo | --program-transf \
1178 | --program-trans | --program-tran \
1179 | --progr-tra | --program-tr | --program-t)
1180 ac_prev=program_transform_name ;;
1181 -program-transform-name=* | --program-transform-name=* \
1182 | --program-transform-nam=* | --program-transform-na=* \
1183 | --program-transform-n=* | --program-transform-=* \
1184 | --program-transform=* | --program-transfor=* \
1185 | --program-transfo=* | --program-transf=* \
1186 | --program-trans=* | --program-tran=* \
1187 | --progr-tra=* | --program-tr=* | --program-t=*)
1188 program_transform_name=$ac_optarg ;;
1190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1193 pdfdir=$ac_optarg ;;
1195 -psdir | --psdir | --psdi | --psd | --ps)
1197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201 | -silent | --silent | --silen | --sile | --sil)
1204 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1206 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1208 sbindir=$ac_optarg ;;
1210 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1211 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1212 | --sharedst | --shareds | --shared | --share | --shar \
1214 ac_prev=sharedstatedir ;;
1215 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1216 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1217 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1219 sharedstatedir=$ac_optarg ;;
1221 -site | --site | --sit)
1223 -site=* | --site=* | --sit=*)
1226 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1228 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1229 srcdir=$ac_optarg ;;
1231 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1232 | --syscon | --sysco | --sysc | --sys | --sy)
1233 ac_prev=sysconfdir ;;
1234 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1235 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1236 sysconfdir=$ac_optarg ;;
1238 -target | --target | --targe | --targ | --tar | --ta | --t)
1239 ac_prev=target_alias ;;
1240 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1241 target_alias=$ac_optarg ;;
1243 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1246 -version | --version | --versio | --versi | --vers | -V)
1247 ac_init_version=: ;;
1250 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1253 as_fn_error $? "invalid package name: $ac_useropt"
1254 ac_useropt_orig=$ac_useropt
1255 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1260 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261 ac_unrecognized_sep=', ';;
1263 eval with_$ac_useropt=\$ac_optarg ;;
1265 -without-* | --without-*)
1266 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1269 as_fn_error $? "invalid package name: $ac_useropt"
1270 ac_useropt_orig=$ac_useropt
1271 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1277 ac_unrecognized_sep=', ';;
1279 eval with_$ac_useropt=no ;;
1282 # Obsolete; use --with-x.
1285 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1286 | --x-incl | --x-inc | --x-in | --x-i)
1287 ac_prev=x_includes ;;
1288 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1289 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1290 x_includes=$ac_optarg ;;
1292 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1293 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1294 ac_prev=x_libraries ;;
1295 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1296 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1297 x_libraries=$ac_optarg ;;
1299 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1300 Try \`$0 --help' for more information"
1304 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 case $ac_envvar in #(
1307 '' | [0-9]* | *[!_$as_cr_alnum]* )
1308 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1310 eval $ac_envvar=\$ac_optarg
1311 export $ac_envvar ;;
1314 # FIXME: should be removed in autoconf 3.0.
1315 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1316 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1317 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1318 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1324 if test -n "$ac_prev"; then
1325 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1326 as_fn_error $? "missing argument to $ac_option"
1329 if test -n "$ac_unrecognized_opts"; then
1330 case $enable_option_checking in
1332 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1337 # Check all directory arguments for consistency.
1338 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1343 eval ac_val=\$$ac_var
1344 # Remove trailing slashes.
1347 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\$ac_val;;
1350 # Be sure to have absolute directory names.
1352 [\\/$]* | ?:[\\/]* ) continue;;
1353 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1355 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1363 target=$target_alias
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x; then
1367 if test "x$build_alias" = x; then
1368 cross_compiling=maybe
1369 elif test "x$build_alias" != "x$host_alias"; then
1375 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1377 test "$silent" = yes && exec 6>/dev/null
1380 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1381 ac_ls_di=`ls -di .` &&
1382 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1383 as_fn_error $? "working directory cannot be determined"
1384 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1385 as_fn_error $? "pwd does not report name of working directory"
1388 # Find the source files, if location was not specified.
1389 if test -z "$srcdir"; then
1390 ac_srcdir_defaulted=yes
1391 # Try the directory containing this script, then the parent directory.
1392 ac_confdir=`$as_dirname -- "$as_myself" ||
1393 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1394 X"$as_myself" : 'X\(//\)[^/]' \| \
1395 X"$as_myself" : 'X\(//\)$' \| \
1396 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1397 $as_echo X"$as_myself" |
1398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1420 ac_srcdir_defaulted=no
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1423 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1424 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1426 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1430 # When building in place, set srcdir=.
1431 if test "$ac_abs_confdir" = "$ac_pwd"; then
1434 # Remove unnecessary trailing slashes from srcdir.
1435 # Double slashes in file names in object file debugging info
1436 # mess up M-x gdb in Emacs.
1438 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440 for ac_var in $ac_precious_vars; do
1441 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1442 eval ac_env_${ac_var}_value=\$${ac_var}
1443 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1444 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1448 # Report the --help message.
1450 if test "$ac_init_help" = "long"; then
1451 # Omit some internal or obsolete options to make the list less imposing.
1452 # This message is too long to be a string in the A/UX 3.1 sh.
1454 \`configure' configures Moonshot-ui 0.5 to adapt to many kinds of systems.
1456 Usage: $0 [OPTION]... [VAR=VALUE]...
1458 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1459 VAR=VALUE. See below for descriptions of some of the useful variables.
1461 Defaults for the options are specified in brackets.
1464 -h, --help display this help and exit
1465 --help=short display options specific to this package
1466 --help=recursive display the short help of all the included packages
1467 -V, --version display version information and exit
1468 -q, --quiet, --silent do not print \`checking ...' messages
1469 --cache-file=FILE cache test results in FILE [disabled]
1470 -C, --config-cache alias for \`--cache-file=config.cache'
1471 -n, --no-create do not create output files
1472 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1474 Installation directories:
1475 --prefix=PREFIX install architecture-independent files in PREFIX
1476 [$ac_default_prefix]
1477 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1480 By default, \`make install' will install all the files in
1481 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1482 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1483 for instance \`--prefix=\$HOME'.
1485 For better control, use the options below.
1487 Fine tuning of the installation directories:
1488 --bindir=DIR user executables [EPREFIX/bin]
1489 --sbindir=DIR system admin executables [EPREFIX/sbin]
1490 --libexecdir=DIR program executables [EPREFIX/libexec]
1491 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1492 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1493 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1494 --libdir=DIR object code libraries [EPREFIX/lib]
1495 --includedir=DIR C header files [PREFIX/include]
1496 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1497 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1498 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1499 --infodir=DIR info documentation [DATAROOTDIR/info]
1500 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1501 --mandir=DIR man documentation [DATAROOTDIR/man]
1502 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot-ui]
1503 --htmldir=DIR html documentation [DOCDIR]
1504 --dvidir=DIR dvi documentation [DOCDIR]
1505 --pdfdir=DIR pdf documentation [DOCDIR]
1506 --psdir=DIR ps documentation [DOCDIR]
1512 --program-prefix=PREFIX prepend PREFIX to installed program names
1513 --program-suffix=SUFFIX append SUFFIX to installed program names
1514 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1517 --build=BUILD configure for building on BUILD [guessed]
1518 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1522 if test -n "$ac_init_help"; then
1523 case $ac_init_help in
1524 short | recursive ) echo "Configuration of Moonshot-ui 0.5:";;
1529 --disable-option-checking ignore unrecognized --enable/--with options
1530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1532 --enable-silent-rules less verbose build output (undo: `make V=1')
1533 --disable-silent-rules verbose build output (undo: `make V=0')
1534 --disable-maintainer-mode disable make rules and dependencies not useful
1535 (and sometimes confusing) to the casual installer
1536 --enable-shared[=PKGS] build shared libraries [default=yes]
1537 --enable-static[=PKGS] build static libraries [default=yes]
1538 --enable-fast-install[=PKGS]
1539 optimize for fast installation [default=yes]
1540 --disable-dependency-tracking speeds up one-time build
1541 --enable-dependency-tracking do not reject slow dependency extractors
1542 --disable-libtool-lock avoid locking (might break parallel builds)
1543 --disable-nls do not use Native Language Support
1544 --disable-rpath do not hardcode runtime library paths
1547 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1548 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1549 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1551 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1552 --with-sysroot=DIR Search for dependent libraries within DIR
1553 (or the compiler's sysroot if not specified).
1554 --with-gnu-ld assume the C compiler uses GNU ld default=no
1555 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1556 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1557 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1558 --without-libintl-prefix don't search for libintl in includedir and libdir
1560 Some influential environment variables:
1561 CC C compiler command
1562 CFLAGS C compiler flags
1563 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1564 nonstandard directory <lib dir>
1565 LIBS libraries to pass to the linker, e.g. -l<library>
1566 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1567 you have headers in a nonstandard directory <include dir>
1569 PKG_CONFIG path to pkg-config utility
1571 directories to add to pkg-config's search path
1573 path overriding pkg-config's built-in search path
1574 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1575 GTK_LIBS linker flags for GTK, overriding pkg-config
1576 MAC_CFLAGS C compiler flags for MAC, overriding pkg-config
1577 MAC_LIBS linker flags for MAC, overriding pkg-config
1579 C compiler flags for GDBUS, overriding pkg-config
1580 GDBUS_LIBS linker flags for GDBUS, overriding pkg-config
1582 C compiler flags for moonshot, overriding pkg-config
1584 linker flags for moonshot, overriding pkg-config
1586 C compiler flags for libmoonshot, overriding pkg-config
1588 linker flags for libmoonshot, overriding pkg-config
1590 Use these variables to override the choices made by `configure' or to help
1591 it to find libraries and programs with nonstandard names/locations.
1593 Report bugs to <moonshot-community@jiscmail.ac.uk>.
1594 Moonshot-ui home page: <http://www.project-moonshot.org/>.
1599 if test "$ac_init_help" = "recursive"; then
1600 # If there are subdirs, report their specific --help.
1601 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1602 test -d "$ac_dir" ||
1603 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1608 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1610 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1611 # A ".." for each directory in $ac_dir_suffix.
1612 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1613 case $ac_top_builddir_sub in
1614 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1615 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1618 ac_abs_top_builddir=$ac_pwd
1619 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1620 # for backward compatibility:
1621 ac_top_builddir=$ac_top_build_prefix
1624 .) # We are building in place.
1626 ac_top_srcdir=$ac_top_builddir_sub
1627 ac_abs_top_srcdir=$ac_pwd ;;
1628 [\\/]* | ?:[\\/]* ) # Absolute name.
1629 ac_srcdir=$srcdir$ac_dir_suffix;
1630 ac_top_srcdir=$srcdir
1631 ac_abs_top_srcdir=$srcdir ;;
1633 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1634 ac_top_srcdir=$ac_top_build_prefix$srcdir
1635 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1637 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1639 cd "$ac_dir" || { ac_status=$?; continue; }
1640 # Check for guested configure.
1641 if test -f "$ac_srcdir/configure.gnu"; then
1643 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1644 elif test -f "$ac_srcdir/configure"; then
1646 $SHELL "$ac_srcdir/configure" --help=recursive
1648 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1650 cd "$ac_pwd" || { ac_status=$?; break; }
1654 test -n "$ac_init_help" && exit $ac_status
1655 if $ac_init_version; then
1657 Moonshot-ui configure 0.5
1658 generated by GNU Autoconf 2.69
1660 Copyright (C) 2012 Free Software Foundation, Inc.
1661 This configure script is free software; the Free Software Foundation
1662 gives unlimited permission to copy, distribute and modify it.
1667 ## ------------------------ ##
1668 ## Autoconf initialization. ##
1669 ## ------------------------ ##
1671 # ac_fn_c_try_compile LINENO
1672 # --------------------------
1673 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1674 ac_fn_c_try_compile ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 rm -f conftest.$ac_objext
1678 if { { ac_try="$ac_compile"
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_compile") 2>conftest.err
1687 if test -s conftest.err; then
1688 grep -v '^ *+' conftest.err >conftest.er1
1689 cat conftest.er1 >&5
1690 mv -f conftest.er1 conftest.err
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && {
1694 test -z "$ac_c_werror_flag" ||
1695 test ! -s conftest.err
1696 } && test -s conftest.$ac_objext; then :
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status $ac_retval
1707 } # ac_fn_c_try_compile
1709 # ac_fn_c_try_link LINENO
1710 # -----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded.
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 rm -f conftest.$ac_objext conftest$ac_exeext
1716 if { { ac_try="$ac_link"
1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>conftest.err
1725 if test -s conftest.err; then
1726 grep -v '^ *+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest$ac_exeext && {
1735 test "$cross_compiling" = yes ||
1736 test -x conftest$ac_exeext
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1745 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1746 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1747 # interfere with the next link command; also delete a directory that is
1748 # left behind by Apple's compiler. We do this before executing the actions.
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1753 } # ac_fn_c_try_link
1755 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1756 # -------------------------------------------------------
1757 # Tests whether HEADER exists and can be compiled using the include files in
1758 # INCLUDES, setting the cache variable VAR accordingly.
1759 ac_fn_c_check_header_compile ()
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1763 $as_echo_n "checking for $2... " >&6; }
1764 if eval \${$3+:} false; then :
1765 $as_echo_n "(cached) " >&6
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1772 if ac_fn_c_try_compile "$LINENO"; then :
1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1781 $as_echo "$ac_res" >&6; }
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 } # ac_fn_c_check_header_compile
1786 # ac_fn_c_try_cpp LINENO
1787 # ----------------------
1788 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 if { { ac_try="$ac_cpp conftest.$ac_ext"
1794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1801 if test -s conftest.err; then
1802 grep -v '^ *+' conftest.err >conftest.er1
1803 cat conftest.er1 >&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } > conftest.i && {
1808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819 as_fn_set_status $ac_retval
1823 # ac_fn_c_try_run LINENO
1824 # ----------------------
1825 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1826 # that executables *can* be run.
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 if { { ac_try="$ac_link"
1832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_link") 2>&5
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1841 { { case "(($ac_try" in
1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_try") 2>&5
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; }; }; then :
1853 $as_echo "$as_me: program exited with status $ac_status" >&5
1854 $as_echo "$as_me: failed program was:" >&5
1855 sed 's/^/| /' conftest.$ac_ext >&5
1857 ac_retval=$ac_status
1859 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861 as_fn_set_status $ac_retval
1865 # ac_fn_c_check_func LINENO FUNC VAR
1866 # ----------------------------------
1867 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1868 ac_fn_c_check_func ()
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1872 $as_echo_n "checking for $2... " >&6; }
1873 if eval \${$3+:} false; then :
1874 $as_echo_n "(cached) " >&6
1876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1878 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1880 #define $2 innocuous_$2
1882 /* System header to define __stub macros and hopefully few prototypes,
1883 which can conflict with char $2 (); below.
1884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1885 <limits.h> exists even on freestanding compilers. */
1888 # include <limits.h>
1890 # include <assert.h>
1895 /* Override any GCC internal prototype to avoid an error.
1896 Use char because int might match the return type of a GCC
1897 builtin and then its argument prototype would still apply. */
1902 /* The GNU C library defines this for functions which it implements
1903 to always fail with ENOSYS. Some functions are actually named
1904 something starting with __ and the normal name is an alias. */
1905 #if defined __stub_$2 || defined __stub___$2
1917 if ac_fn_c_try_link "$LINENO"; then :
1922 rm -f core conftest.err conftest.$ac_objext \
1923 conftest$ac_exeext conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 } # ac_fn_c_check_func
1931 cat >config.log <<_ACEOF
1932 This file contains any messages produced by compilers while
1933 running configure, to aid debugging if configure makes a mistake.
1935 It was created by Moonshot-ui $as_me 0.5, which was
1936 generated by GNU Autoconf 2.69. Invocation command line was
1948 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1949 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1950 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1951 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1952 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1954 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1955 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1957 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1958 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1959 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1960 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1961 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1962 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1963 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir=.
1972 $as_echo "PATH: $as_dir"
1988 # Keep a trace of the command line.
1989 # Strip out --no-create and --no-recursion so they do not pile up.
1990 # Strip out --silent because we don't want to record it for future runs.
1991 # Also quote any args containing shell meta-characters.
1992 # Make two passes to allow for proper duplicate-argument suppression.
1996 ac_must_keep_next=false
2002 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2004 | -silent | --silent | --silen | --sile | --sil)
2007 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2010 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2012 as_fn_append ac_configure_args1 " '$ac_arg'"
2013 if test $ac_must_keep_next = true; then
2014 ac_must_keep_next=false # Got value, back to normal.
2017 *=* | --config-cache | -C | -disable-* | --disable-* \
2018 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2019 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2020 | -with-* | --with-* | -without-* | --without-* | --x)
2021 case "$ac_configure_args0 " in
2022 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2025 -* ) ac_must_keep_next=true ;;
2028 as_fn_append ac_configure_args " '$ac_arg'"
2033 { ac_configure_args0=; unset ac_configure_args0;}
2034 { ac_configure_args1=; unset ac_configure_args1;}
2036 # When interrupted or exit'd, cleanup temporary files, and complete
2037 # config.log. We remove comments because anyway the quotes in there
2038 # would cause problems or look ugly.
2039 # WARNING: Use '\'' to represent an apostrophe within the trap.
2040 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2041 trap 'exit_status=$?
2042 # Save into config.log some information that might help in debugging.
2046 $as_echo "## ---------------- ##
2047 ## Cache variables. ##
2048 ## ---------------- ##"
2050 # The following way of writing the cache mishandles newlines in values,
2052 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2053 eval ac_val=\$$ac_var
2057 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2058 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2061 _ | IFS | as_nl) ;; #(
2062 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2063 *) { eval $ac_var=; unset $ac_var;} ;;
2068 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2069 *${as_nl}ac_space=\ *)
2071 "s/'\''/'\''\\\\'\'''\''/g;
2072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2082 $as_echo "## ----------------- ##
2083 ## Output variables. ##
2084 ## ----------------- ##"
2086 for ac_var in $ac_subst_vars
2088 eval ac_val=\$$ac_var
2090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2092 $as_echo "$ac_var='\''$ac_val'\''"
2096 if test -n "$ac_subst_files"; then
2097 $as_echo "## ------------------- ##
2098 ## File substitutions. ##
2099 ## ------------------- ##"
2101 for ac_var in $ac_subst_files
2103 eval ac_val=\$$ac_var
2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107 $as_echo "$ac_var='\''$ac_val'\''"
2112 if test -s confdefs.h; then
2113 $as_echo "## ----------- ##
2120 test "$ac_signal" != 0 &&
2121 $as_echo "$as_me: caught signal $ac_signal"
2122 $as_echo "$as_me: exit $exit_status"
2124 rm -f core *.core core.conftest.* &&
2125 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2128 for ac_signal in 1 2 13 15; do
2129 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2134 rm -f -r conftest* confdefs.h
2136 $as_echo "/* confdefs.h */" > confdefs.h
2138 # Predefined preprocessor variables.
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_NAME "$PACKAGE_NAME"
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_STRING "$PACKAGE_STRING"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_URL "$PACKAGE_URL"
2165 # Let the site file select an alternate cache file if it wants to.
2166 # Prefer an explicitly selected file to automatically selected ones.
2169 if test -n "$CONFIG_SITE"; then
2170 # We do not want a PATH search for config.site.
2171 case $CONFIG_SITE in #((
2172 -*) ac_site_file1=./$CONFIG_SITE;;
2173 */*) ac_site_file1=$CONFIG_SITE;;
2174 *) ac_site_file1=./$CONFIG_SITE;;
2176 elif test "x$prefix" != xNONE; then
2177 ac_site_file1=$prefix/share/config.site
2178 ac_site_file2=$prefix/etc/config.site
2180 ac_site_file1=$ac_default_prefix/share/config.site
2181 ac_site_file2=$ac_default_prefix/etc/config.site
2183 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2185 test "x$ac_site_file" = xNONE && continue
2186 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2188 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2189 sed 's/^/| /' "$ac_site_file" >&5
2191 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193 as_fn_error $? "failed to load site script $ac_site_file
2194 See \`config.log' for more details" "$LINENO" 5; }
2198 if test -r "$cache_file"; then
2199 # Some versions of bash will fail to source /dev/null (special files
2200 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2201 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2203 $as_echo "$as_me: loading cache $cache_file" >&6;}
2205 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2206 *) . "./$cache_file";;
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2211 $as_echo "$as_me: creating cache $cache_file" >&6;}
2215 gt_needs="$gt_needs "
2216 # Check that the precious variables saved in the cache have kept the same
2218 ac_cache_corrupted=false
2219 for ac_var in $ac_precious_vars; do
2220 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2221 eval ac_new_set=\$ac_env_${ac_var}_set
2222 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2223 eval ac_new_val=\$ac_env_${ac_var}_value
2224 case $ac_old_set,$ac_new_set in
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2227 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2228 ac_cache_corrupted=: ;;
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2231 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2232 ac_cache_corrupted=: ;;
2235 if test "x$ac_old_val" != "x$ac_new_val"; then
2236 # differences in whitespace do not lead to failure.
2237 ac_old_val_w=`echo x $ac_old_val`
2238 ac_new_val_w=`echo x $ac_new_val`
2239 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2242 ac_cache_corrupted=:
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2246 eval $ac_var=\$ac_old_val
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2249 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2251 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2254 # Pass precious variables to config.status.
2255 if test "$ac_new_set" = set; then
2257 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2258 *) ac_arg=$ac_var=$ac_new_val ;;
2260 case " $ac_configure_args " in
2261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2262 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2266 if $ac_cache_corrupted; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2271 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2273 ## -------------------- ##
2274 ## Main body of script. ##
2275 ## -------------------- ##
2278 ac_cpp='$CPP $CPPFLAGS'
2279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2285 # Remove this when we can depend on autoconf >= 2.64
2286 PACKAGE_URL=http://www.project-moonshot.org/
2289 $as_echo "#define PACKAGE_URL \"http://www.project-moonshot.org\"" >>confdefs.h
2291 ac_config_headers="$ac_config_headers config.h"
2296 for ac_dir in build-aux "$srcdir"/build-aux; do
2297 if test -f "$ac_dir/install-sh"; then
2299 ac_install_sh="$ac_aux_dir/install-sh -c"
2301 elif test -f "$ac_dir/install.sh"; then
2303 ac_install_sh="$ac_aux_dir/install.sh -c"
2305 elif test -f "$ac_dir/shtool"; then
2307 ac_install_sh="$ac_aux_dir/shtool install -c"
2311 if test -z "$ac_aux_dir"; then
2312 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2315 # These three variables are undocumented and unsupported,
2316 # and are intended to be withdrawn in a future Autoconf release.
2317 # They can cause serious problems if a builder's source tree is in a directory
2318 # whose full name contains unusual characters.
2319 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2320 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2321 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2325 am__api_version='1.11'
2327 # Find a good install program. We prefer a C program (faster),
2328 # so one script is as good as another. But avoid the broken or
2329 # incompatible versions:
2330 # SysV /etc/install, /usr/sbin/install
2331 # SunOS /usr/etc/install
2332 # IRIX /sbin/install
2334 # AmigaOS /C/install, which installs bootblocks on floppy discs
2335 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2336 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2337 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2338 # OS/2's system install, which has a completely different semantic
2339 # ./install, which can be erroneously created by make from ./install.sh.
2340 # Reject install programs that cannot install multiple files.
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2342 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2343 if test -z "$INSTALL"; then
2344 if ${ac_cv_path_install+:} false; then :
2345 $as_echo_n "(cached) " >&6
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir=.
2352 # Account for people who put trailing slashes in PATH elements.
2353 case $as_dir/ in #((
2354 ./ | .// | /[cC]/* | \
2355 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2356 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2359 # OSF1 and SCO ODT 3.0 have their own names for install.
2360 # Don't use installbsd from OSF since it installs stuff as root
2362 for ac_prog in ginstall scoinst install; do
2363 for ac_exec_ext in '' $ac_executable_extensions; do
2364 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2365 if test $ac_prog = install &&
2366 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2367 # AIX install. It has an incompatible calling convention.
2369 elif test $ac_prog = install &&
2370 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2371 # program-specific install script used by HP pwplus--don't use.
2374 rm -rf conftest.one conftest.two conftest.dir
2375 echo one > conftest.one
2376 echo two > conftest.two
2378 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2379 test -s conftest.one && test -s conftest.two &&
2380 test -s conftest.dir/conftest.one &&
2381 test -s conftest.dir/conftest.two
2383 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2396 rm -rf conftest.one conftest.two conftest.dir
2399 if test "${ac_cv_path_install+set}" = set; then
2400 INSTALL=$ac_cv_path_install
2402 # As a last resort, use the slow shell script. Don't cache a
2403 # value for INSTALL within a source directory, because that will
2404 # break other packages using the cache if that directory is
2405 # removed, or if the value is a relative name.
2406 INSTALL=$ac_install_sh
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2410 $as_echo "$INSTALL" >&6; }
2412 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2413 # It thinks the first close brace ends the variable substitution.
2414 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2416 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2418 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2421 $as_echo_n "checking whether build environment is sane... " >&6; }
2424 echo timestamp > conftest.file
2425 # Reject unsafe characters in $srcdir or the absolute working directory
2426 # name. Accept space and tab only in the latter.
2430 *[\\\"\#\$\&\'\`$am_lf]*)
2431 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2434 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2435 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2438 # Do `set' in a subshell so we don't clobber the current shell's
2439 # arguments. Must try -L first in case configure is actually a
2440 # symlink; some systems play weird games with the mod time of symlinks
2441 # (eg FreeBSD returns the mod time of the symlink's containing
2444 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2445 if test "$*" = "X"; then
2447 set X `ls -t "$srcdir/configure" conftest.file`
2450 if test "$*" != "X $srcdir/configure conftest.file" \
2451 && test "$*" != "X conftest.file $srcdir/configure"; then
2453 # If neither matched, then we have a broken ls. This can happen
2454 # if, for instance, CONFIG_SHELL is bash and it inherits a
2455 # broken ls alias from the environment. This has actually
2456 # happened. Such a system could not be considered "sane".
2457 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2458 alias in your environment" "$LINENO" 5
2461 test "$2" = conftest.file
2467 as_fn_error $? "newly created file is older than distributed files!
2468 Check your system clock" "$LINENO" 5
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2471 $as_echo "yes" >&6; }
2472 test "$program_prefix" != NONE &&
2473 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2474 # Use a double $ so make ignores it.
2475 test "$program_suffix" != NONE &&
2476 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2477 # Double any \ or $.
2478 # By default was `s,x,x', remove it if useless.
2479 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2480 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2482 # expand $ac_aux_dir to an absolute path
2483 am_aux_dir=`cd $ac_aux_dir && pwd`
2485 if test x"${MISSING+set}" != xset; then
2488 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2490 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2493 # Use eval to expand $SHELL
2494 if eval "$MISSING --run true"; then
2495 am_missing_run="$MISSING --run "
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2499 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2502 if test x"${install_sh}" != xset; then
2505 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2507 install_sh="\${SHELL} $am_aux_dir/install-sh"
2511 # Installed binaries are usually stripped using `strip' when the user
2512 # run `make install-strip'. However `strip' might not be the right
2513 # tool to use in cross-compilation environments, therefore Automake
2514 # will honor the `STRIP' environment variable to overrule this program.
2515 if test "$cross_compiling" != no; then
2516 if test -n "$ac_tool_prefix"; then
2517 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2518 set dummy ${ac_tool_prefix}strip; ac_word=$2
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2520 $as_echo_n "checking for $ac_word... " >&6; }
2521 if ${ac_cv_prog_STRIP+:} false; then :
2522 $as_echo_n "(cached) " >&6
2524 if test -n "$STRIP"; then
2525 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir=.
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2534 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 STRIP=$ac_cv_prog_STRIP
2545 if test -n "$STRIP"; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2547 $as_echo "$STRIP" >&6; }
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550 $as_echo "no" >&6; }
2555 if test -z "$ac_cv_prog_STRIP"; then
2557 # Extract the first word of "strip", so it can be a program name with args.
2558 set dummy strip; ac_word=$2
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560 $as_echo_n "checking for $ac_word... " >&6; }
2561 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2562 $as_echo_n "(cached) " >&6
2564 if test -n "$ac_ct_STRIP"; then
2565 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_ac_ct_STRIP="strip"
2575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2585 if test -n "$ac_ct_STRIP"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2587 $as_echo "$ac_ct_STRIP" >&6; }
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590 $as_echo "no" >&6; }
2593 if test "x$ac_ct_STRIP" = x; then
2596 case $cross_compiling:$ac_tool_warned in
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2600 ac_tool_warned=yes ;;
2605 STRIP="$ac_cv_prog_STRIP"
2609 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2612 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2613 if test -z "$MKDIR_P"; then
2614 if ${ac_cv_path_mkdir+:} false; then :
2615 $as_echo_n "(cached) " >&6
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2618 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2621 test -z "$as_dir" && as_dir=.
2622 for ac_prog in mkdir gmkdir; do
2623 for ac_exec_ext in '' $ac_executable_extensions; do
2624 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2625 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2626 'mkdir (GNU coreutils) '* | \
2627 'mkdir (coreutils) '* | \
2628 'mkdir (fileutils) '4.1*)
2629 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2639 test -d ./--version && rmdir ./--version
2640 if test "${ac_cv_path_mkdir+set}" = set; then
2641 MKDIR_P="$ac_cv_path_mkdir -p"
2643 # As a last resort, use the slow shell script. Don't cache a
2644 # value for MKDIR_P within a source directory, because that will
2645 # break other packages using the cache if that directory is
2646 # removed, or if the value is a relative name.
2647 MKDIR_P="$ac_install_sh -d"
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2651 $as_echo "$MKDIR_P" >&6; }
2655 [\\/$]* | ?:[\\/]*) ;;
2656 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2659 for ac_prog in gawk mawk nawk awk
2661 # Extract the first word of "$ac_prog", so it can be a program name with args.
2662 set dummy $ac_prog; ac_word=$2
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if ${ac_cv_prog_AWK+:} false; then :
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$AWK"; then
2669 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir=.
2676 for ac_exec_ext in '' $ac_executable_extensions; do
2677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2678 ac_cv_prog_AWK="$ac_prog"
2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 if test -n "$AWK"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2691 $as_echo "$AWK" >&6; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694 $as_echo "no" >&6; }
2698 test -n "$AWK" && break
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2702 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2704 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2705 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2706 $as_echo_n "(cached) " >&6
2708 cat >conftest.make <<\_ACEOF
2711 @echo '@@@%%%=$(MAKE)=@@@%%%'
2713 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2714 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2716 eval ac_cv_prog_make_${ac_make}_set=yes;;
2718 eval ac_cv_prog_make_${ac_make}_set=no;;
2722 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2724 $as_echo "yes" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2729 SET_MAKE="MAKE=${MAKE-make}"
2732 rm -rf .tst 2>/dev/null
2733 mkdir .tst 2>/dev/null
2734 if test -d .tst; then
2739 rmdir .tst 2>/dev/null
2741 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2742 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2743 # is not polluted with repeated "-I."
2744 am__isrc=' -I$(srcdir)'
2745 # test to see if srcdir already configured
2746 if test -f $srcdir/config.status; then
2747 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2751 # test whether we have cygpath
2752 if test -z "$CYGPATH_W"; then
2753 if (cygpath --version) >/dev/null 2>/dev/null; then
2754 CYGPATH_W='cygpath -w'
2761 # Define the identity of the package.
2762 PACKAGE='moonshot-ui'
2766 cat >>confdefs.h <<_ACEOF
2767 #define PACKAGE "$PACKAGE"
2771 cat >>confdefs.h <<_ACEOF
2772 #define VERSION "$VERSION"
2775 # Some tools Automake needs.
2777 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2780 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2783 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2786 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2789 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2791 # We need awk for the "check" target. The system "awk" is bad on
2793 # Always define AMTAR for backward compatibility. Yes, it's still used
2794 # in the wild :-( We should find a proper way to deprecate it ...
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2799 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2800 # Loop over all known methods to create a tar archive until one works.
2801 _am_tools='gnutar pax cpio none'
2802 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2803 # Do not fold the above two line into one, because Tru64 sh and
2804 # Solaris sh will not grok spaces in the rhs of `-'.
2805 for _am_tool in $_am_tools
2809 for _am_tar in tar gnutar gtar;
2811 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2812 ($_am_tar --version) >&5 2>&5
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); } && break
2817 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2818 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2819 am__untar="$_am_tar -xf -"
2822 # Must skip GNU tar: if it does not support --format= it doesn't create
2823 # ustar tarball either.
2824 (tar --version) >/dev/null 2>&1 && continue
2825 am__tar='tar chf - "$$tardir"'
2826 am__tar_='tar chf - "$tardir"'
2827 am__untar='tar xf -'
2830 am__tar='pax -L -x pax -w "$$tardir"'
2831 am__tar_='pax -L -x pax -w "$tardir"'
2835 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2836 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2837 am__untar='cpio -i -H pax -d'
2846 # If the value was cached, stop now. We just wanted to have am__tar
2847 # and am__untar set.
2848 test -n "${am_cv_prog_tar_pax}" && break
2850 # tar/untar a dummy directory, and stop if the command works
2853 echo GrepMe > conftest.dir/file
2854 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2855 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }
2860 if test -s conftest.tar; then
2861 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2862 ($am__untar <conftest.tar) >&5 2>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }
2866 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2871 if ${am_cv_prog_tar_pax+:} false; then :
2872 $as_echo_n "(cached) " >&6
2874 am_cv_prog_tar_pax=$_am_tool
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2878 $as_echo "$am_cv_prog_tar_pax" >&6; }
2884 # Check whether --enable-silent-rules was given.
2885 if test "${enable_silent_rules+set}" = set; then :
2886 enableval=$enable_silent_rules;
2889 case $enable_silent_rules in
2890 yes) AM_DEFAULT_VERBOSITY=0;;
2891 no) AM_DEFAULT_VERBOSITY=1;;
2892 *) AM_DEFAULT_VERBOSITY=0;;
2894 am_make=${MAKE-make}
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2896 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2897 if ${am_cv_make_support_nested_variables+:} false; then :
2898 $as_echo_n "(cached) " >&6
2900 if $as_echo 'TRUE=$(BAR$(V))
2906 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2907 am_cv_make_support_nested_variables=yes
2909 am_cv_make_support_nested_variables=no
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2913 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2914 if test $am_cv_make_support_nested_variables = yes; then
2916 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2918 AM_V=$AM_DEFAULT_VERBOSITY
2919 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2925 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2926 # Check whether --enable-maintainer-mode was given.
2927 if test "${enable_maintainer_mode+set}" = set; then :
2928 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2930 USE_MAINTAINER_MODE=yes
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2934 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2935 if test $USE_MAINTAINER_MODE = yes; then
2936 MAINTAINER_MODE_TRUE=
2937 MAINTAINER_MODE_FALSE='#'
2939 MAINTAINER_MODE_TRUE='#'
2940 MAINTAINER_MODE_FALSE=
2943 MAINT=$MAINTAINER_MODE_TRUE
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2951 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2956 macro_version='2.4.2'
2957 macro_revision='1.3337'
2971 ltmain="$ac_aux_dir/ltmain.sh"
2973 # Make sure we can run config.sub.
2974 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2975 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2978 $as_echo_n "checking build system type... " >&6; }
2979 if ${ac_cv_build+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 ac_build_alias=$build_alias
2983 test "x$ac_build_alias" = x &&
2984 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2985 test "x$ac_build_alias" = x &&
2986 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2987 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2988 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2992 $as_echo "$ac_cv_build" >&6; }
2993 case $ac_cv_build in
2995 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2998 ac_save_IFS=$IFS; IFS='-'
3004 # Remember, the first character of IFS is used to create $*,
3005 # except with old shells:
3008 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3012 $as_echo_n "checking host system type... " >&6; }
3013 if ${ac_cv_host+:} false; then :
3014 $as_echo_n "(cached) " >&6
3016 if test "x$host_alias" = x; then
3017 ac_cv_host=$ac_cv_build
3019 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3020 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3025 $as_echo "$ac_cv_host" >&6; }
3028 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3031 ac_save_IFS=$IFS; IFS='-'
3037 # Remember, the first character of IFS is used to create $*,
3038 # except with old shells:
3041 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3044 # Backslashify metacharacters that are still active within
3045 # double-quoted strings.
3046 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3048 # Same as above, but do not quote variable references.
3049 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3051 # Sed substitution to delay expansion of an escaped shell variable in a
3052 # double_quote_subst'ed string.
3053 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3055 # Sed substitution to delay expansion of an escaped single quote.
3056 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3058 # Sed substitution to avoid accidental globbing in evaled expressions
3059 no_glob_subst='s/\*/\\\*/g'
3061 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3062 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3063 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3066 $as_echo_n "checking how to print strings... " >&6; }
3067 # Test print first, because it will be a builtin if present.
3068 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3069 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3071 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3074 # Use this function as a fallback that always works.
3075 func_fallback_echo ()
3077 eval 'cat <<_LTECHO_EOF
3081 ECHO='func_fallback_echo'
3084 # func_echo_all arg...
3085 # Invoke $ECHO with all args, space-separated.
3092 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3093 $as_echo "printf" >&6; } ;;
3094 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3095 $as_echo "print -r" >&6; } ;;
3096 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3097 $as_echo "cat" >&6; } ;;
3113 DEPDIR="${am__leading_dot}deps"
3115 ac_config_commands="$ac_config_commands depfiles"
3118 am_make=${MAKE-make}
3119 cat > confinc << 'END'
3121 @echo this is the am__doit target
3124 # If we don't find an include directive, just comment out the code.
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3126 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3130 # First try GNU make style include.
3131 echo "include confinc" > confmf
3132 # Ignore all kinds of additional output from `make'.
3133 case `$am_make -s -f confmf 2> /dev/null` in #(
3134 *the\ am__doit\ target*)
3140 # Now try BSD make style include.
3141 if test "$am__include" = "#"; then
3142 echo '.include "confinc"' > confmf
3143 case `$am_make -s -f confmf 2> /dev/null` in #(
3144 *the\ am__doit\ target*)
3145 am__include=.include
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3154 $as_echo "$_am_result" >&6; }
3155 rm -f confinc confmf
3157 # Check whether --enable-dependency-tracking was given.
3158 if test "${enable_dependency_tracking+set}" = set; then :
3159 enableval=$enable_dependency_tracking;
3162 if test "x$enable_dependency_tracking" != xno; then
3163 am_depcomp="$ac_aux_dir/depcomp"
3167 if test "x$enable_dependency_tracking" != xno; then
3177 ac_cpp='$CPP $CPPFLAGS'
3178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3181 if test -n "$ac_tool_prefix"; then
3182 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3183 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 $as_echo_n "checking for $ac_word... " >&6; }
3186 if ${ac_cv_prog_CC+:} false; then :
3187 $as_echo_n "(cached) " >&6
3189 if test -n "$CC"; then
3190 ac_cv_prog_CC="$CC" # Let the user override the test.
3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir=.
3197 for ac_exec_ext in '' $ac_executable_extensions; do
3198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3199 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210 if test -n "$CC"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3212 $as_echo "$CC" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3220 if test -z "$ac_cv_prog_CC"; then
3222 # Extract the first word of "gcc", so it can be a program name with args.
3223 set dummy gcc; ac_word=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3227 $as_echo_n "(cached) " >&6
3229 if test -n "$ac_ct_CC"; then
3230 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir=.
3237 for ac_exec_ext in '' $ac_executable_extensions; do
3238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3239 ac_cv_prog_ac_ct_CC="gcc"
3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3250 if test -n "$ac_ct_CC"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3252 $as_echo "$ac_ct_CC" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3258 if test "x$ac_ct_CC" = x; then
3261 case $cross_compiling:$ac_tool_warned in
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3265 ac_tool_warned=yes ;;
3273 if test -z "$CC"; then
3274 if test -n "$ac_tool_prefix"; then
3275 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3276 set dummy ${ac_tool_prefix}cc; ac_word=$2
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278 $as_echo_n "checking for $ac_word... " >&6; }
3279 if ${ac_cv_prog_CC+:} false; then :
3280 $as_echo_n "(cached) " >&6
3282 if test -n "$CC"; then
3283 ac_cv_prog_CC="$CC" # Let the user override the test.
3285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir=.
3290 for ac_exec_ext in '' $ac_executable_extensions; do
3291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3292 ac_cv_prog_CC="${ac_tool_prefix}cc"
3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 if test -n "$CC"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3305 $as_echo "$CC" >&6; }
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3314 if test -z "$CC"; then
3315 # Extract the first word of "cc", so it can be a program name with args.
3316 set dummy cc; ac_word=$2
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3318 $as_echo_n "checking for $ac_word... " >&6; }
3319 if ${ac_cv_prog_CC+:} false; then :
3320 $as_echo_n "(cached) " >&6
3322 if test -n "$CC"; then
3323 ac_cv_prog_CC="$CC" # Let the user override the test.
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3330 test -z "$as_dir" && as_dir=.
3331 for ac_exec_ext in '' $ac_executable_extensions; do
3332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3333 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3334 ac_prog_rejected=yes
3338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 if test $ac_prog_rejected = yes; then
3346 # We found a bogon in the path, so make sure we never use it.
3347 set dummy $ac_cv_prog_CC
3349 if test $# != 0; then
3350 # We chose a different compiler from the bogus one.
3351 # However, it has the same basename, so the bogon will be chosen
3352 # first if we set CC to just the basename; use the full file name.
3354 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3360 if test -n "$CC"; then
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3362 $as_echo "$CC" >&6; }
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3370 if test -z "$CC"; then
3371 if test -n "$ac_tool_prefix"; then
3372 for ac_prog in cl.exe
3374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3375 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3377 $as_echo_n "checking for $ac_word... " >&6; }
3378 if ${ac_cv_prog_CC+:} false; then :
3379 $as_echo_n "(cached) " >&6
3381 if test -n "$CC"; then
3382 ac_cv_prog_CC="$CC" # Let the user override the test.
3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388 test -z "$as_dir" && as_dir=.
3389 for ac_exec_ext in '' $ac_executable_extensions; do
3390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3391 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 if test -n "$CC"; then
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3404 $as_echo "$CC" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3407 $as_echo "no" >&6; }
3411 test -n "$CC" && break
3414 if test -z "$CC"; then
3416 for ac_prog in cl.exe
3418 # Extract the first word of "$ac_prog", so it can be a program name with args.
3419 set dummy $ac_prog; ac_word=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -n "$ac_ct_CC"; then
3426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir=.
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3435 ac_cv_prog_ac_ct_CC="$ac_prog"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3446 if test -n "$ac_ct_CC"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3448 $as_echo "$ac_ct_CC" >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3455 test -n "$ac_ct_CC" && break
3458 if test "x$ac_ct_CC" = x; then
3461 case $cross_compiling:$ac_tool_warned in
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3465 ac_tool_warned=yes ;;
3474 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $? "no acceptable C compiler found in \$PATH
3477 See \`config.log' for more details" "$LINENO" 5; }
3479 # Provide some information about the compiler.
3480 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3483 for ac_option in --version -v -V -qversion; do
3484 { { ac_try="$ac_compiler $ac_option >&5"
3486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487 *) ac_try_echo=$ac_try;;
3489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490 $as_echo "$ac_try_echo"; } >&5
3491 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3493 if test -s conftest.err; then
3495 ... rest of stderr output deleted ...
3496 10q' conftest.err >conftest.er1
3497 cat conftest.er1 >&5
3499 rm -f conftest.er1 conftest.err
3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501 test $ac_status = 0; }
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3515 ac_clean_files_save=$ac_clean_files
3516 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3517 # Try to create an executable without -o first, disregard a.out.
3518 # It will help us diagnose broken compilers, and finding out an intuition
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3521 $as_echo_n "checking whether the C compiler works... " >&6; }
3522 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3524 # The possible output files:
3525 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3528 for ac_file in $ac_files
3531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3532 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3537 if { { ac_try="$ac_link_default"
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3543 $as_echo "$ac_try_echo"; } >&5
3544 (eval "$ac_link_default") 2>&5
3546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547 test $ac_status = 0; }; then :
3548 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3549 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3550 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3551 # so that the user can short-circuit this test for compilers unknown to
3553 for ac_file in $ac_files ''
3555 test -f "$ac_file" || continue
3557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3560 # We found the default executable, but exeext='' is most
3564 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3566 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3568 # We set ac_cv_exeext here because the later test for it is not
3569 # safe: cross compilers may not add the suffix if given an `-o'
3570 # argument, so we may need to know it at that point already.
3571 # Even if this section looks crufty: it has the advantage of
3578 test "$ac_cv_exeext" = no && ac_cv_exeext=
3583 if test -z "$ac_file"; then :
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3586 $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error 77 "C compiler cannot create executables
3592 See \`config.log' for more details" "$LINENO" 5; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3595 $as_echo "yes" >&6; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3598 $as_echo_n "checking for C compiler default output file name... " >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3600 $as_echo "$ac_file" >&6; }
3601 ac_exeext=$ac_cv_exeext
3603 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3604 ac_clean_files=$ac_clean_files_save
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3606 $as_echo_n "checking for suffix of executables... " >&6; }
3607 if { { ac_try="$ac_link"
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3613 $as_echo "$ac_try_echo"; } >&5
3614 (eval "$ac_link") 2>&5
3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 test $ac_status = 0; }; then :
3618 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3619 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3620 # work properly (i.e., refer to `conftest.exe'), while it won't with
3622 for ac_file in conftest.exe conftest conftest.*; do
3623 test -f "$ac_file" || continue
3625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3626 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3634 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3635 See \`config.log' for more details" "$LINENO" 5; }
3637 rm -f conftest conftest$ac_cv_exeext
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3639 $as_echo "$ac_cv_exeext" >&6; }
3641 rm -f conftest.$ac_ext
3642 EXEEXT=$ac_cv_exeext
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3650 FILE *f = fopen ("conftest.out", "w");
3651 return ferror (f) || fclose (f) != 0;
3657 ac_clean_files="$ac_clean_files conftest.out"
3658 # Check that the compiler produces executables we can run. If not, either
3659 # the compiler is broken, or we cross compile.
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3661 $as_echo_n "checking whether we are cross compiling... " >&6; }
3662 if test "$cross_compiling" != yes; then
3663 { { ac_try="$ac_link"
3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669 $as_echo "$ac_try_echo"; } >&5
3670 (eval "$ac_link") 2>&5
3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673 test $ac_status = 0; }
3674 if { ac_try='./conftest$ac_cv_exeext'
3675 { { case "(($ac_try" in
3676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677 *) ac_try_echo=$ac_try;;
3679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3680 $as_echo "$ac_try_echo"; } >&5
3681 (eval "$ac_try") 2>&5
3683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3684 test $ac_status = 0; }; }; then
3687 if test "$cross_compiling" = maybe; then
3690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3692 as_fn_error $? "cannot run C compiled programs.
3693 If you meant to cross compile, use \`--host'.
3694 See \`config.log' for more details" "$LINENO" 5; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3699 $as_echo "$cross_compiling" >&6; }
3701 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3702 ac_clean_files=$ac_clean_files_save
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3704 $as_echo_n "checking for suffix of object files... " >&6; }
3705 if ${ac_cv_objext+:} false; then :
3706 $as_echo_n "(cached) " >&6
3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h. */
3719 rm -f conftest.o conftest.obj
3720 if { { ac_try="$ac_compile"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726 $as_echo "$ac_try_echo"; } >&5
3727 (eval "$ac_compile") 2>&5
3729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730 test $ac_status = 0; }; then :
3731 for ac_file in conftest.o conftest.obj conftest.*; do
3732 test -f "$ac_file" || continue;
3734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3735 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3740 $as_echo "$as_me: failed program was:" >&5
3741 sed 's/^/| /' conftest.$ac_ext >&5
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 object files: cannot compile
3746 See \`config.log' for more details" "$LINENO" 5; }
3748 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3751 $as_echo "$ac_cv_objext" >&6; }
3752 OBJEXT=$ac_cv_objext
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3755 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3756 if ${ac_cv_c_compiler_gnu+:} false; then :
3757 $as_echo_n "(cached) " >&6
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3773 if ac_fn_c_try_compile "$LINENO"; then :
3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3783 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3784 if test $ac_compiler_gnu = yes; then
3789 ac_test_CFLAGS=${CFLAGS+set}
3790 ac_save_CFLAGS=$CFLAGS
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3792 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3793 if ${ac_cv_prog_cc_g+:} false; then :
3794 $as_echo_n "(cached) " >&6
3796 ac_save_c_werror_flag=$ac_c_werror_flag
3797 ac_c_werror_flag=yes
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3811 if ac_fn_c_try_compile "$LINENO"; then :
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3826 if ac_fn_c_try_compile "$LINENO"; then :
3829 ac_c_werror_flag=$ac_save_c_werror_flag
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3842 if ac_fn_c_try_compile "$LINENO"; then :
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3850 ac_c_werror_flag=$ac_save_c_werror_flag
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3853 $as_echo "$ac_cv_prog_cc_g" >&6; }
3854 if test "$ac_test_CFLAGS" = set; then
3855 CFLAGS=$ac_save_CFLAGS
3856 elif test $ac_cv_prog_cc_g = yes; then
3857 if test "$GCC" = yes; then
3863 if test "$GCC" = yes; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3870 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3871 if ${ac_cv_prog_cc_c89+:} false; then :
3872 $as_echo_n "(cached) " >&6
3874 ac_cv_prog_cc_c89=no
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3881 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3882 struct buf { int x; };
3883 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3884 static char *e (p, i)
3890 static char *f (char * (*g) (char **, int), char **p, ...)
3895 s = g (p, va_arg (v,int));
3900 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3901 function prototypes and stuff, but not '\xHH' hex character constants.
3902 These don't provoke an error unfortunately, instead are silently treated
3903 as 'x'. The following induces an error, until -std is added to get
3904 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3905 array size at least. It's necessary to write '\x00'==0 to get something
3906 that's true only with -std. */
3907 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3909 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3910 inside strings and character constants. */
3912 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3914 int test (int i, double x);
3915 struct s1 {int (*f) (int a);};
3916 struct s2 {int (*f) (double a);};
3917 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3923 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3928 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3929 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3931 CC="$ac_save_CC $ac_arg"
3932 if ac_fn_c_try_compile "$LINENO"; then :
3933 ac_cv_prog_cc_c89=$ac_arg
3935 rm -f core conftest.err conftest.$ac_objext
3936 test "x$ac_cv_prog_cc_c89" != "xno" && break
3938 rm -f conftest.$ac_ext
3943 case "x$ac_cv_prog_cc_c89" in
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3946 $as_echo "none needed" >&6; } ;;
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3949 $as_echo "unsupported" >&6; } ;;
3951 CC="$CC $ac_cv_prog_cc_c89"
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3953 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3955 if test "x$ac_cv_prog_cc_c89" != xno; then :
3960 ac_cpp='$CPP $CPPFLAGS'
3961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3965 depcc="$CC" am_compiler_list=
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3968 $as_echo_n "checking dependency style of $depcc... " >&6; }
3969 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3970 $as_echo_n "(cached) " >&6
3972 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3973 # We make a subdir and do the tests there. Otherwise we can end up
3974 # making bogus files that we don't know about and never remove. For
3975 # instance it was reported that on HP-UX the gcc test will end up
3976 # making a dummy file named `D' -- because `-MD' means `put the output
3980 # Copy depcomp to subdir because otherwise we won't find it if we're
3981 # using a relative directory.
3982 cp "$am_depcomp" conftest.dir
3984 # We will build objects and dependencies in a subdirectory because
3985 # it helps to detect inapplicable dependency modes. For instance
3986 # both Tru64's cc and ICC support -MD to output dependencies as a
3987 # side effect of compilation, but ICC will put the dependencies in
3988 # the current directory while Tru64 will put them in the object
3992 am_cv_CC_dependencies_compiler_type=none
3993 if test "$am_compiler_list" = ""; then
3994 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3997 case " $depcc " in #(
3998 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4001 for depmode in $am_compiler_list; do
4002 # Setup a source with many dependencies, because some compilers
4003 # like to wrap large dependency lists on column 80 (with \), and
4004 # we should not choose a depcomp mode which is confused by this.
4006 # We need to recreate these files for each test, as the compiler may
4007 # overwrite some of them when testing with obscure command lines.
4008 # This happens at least with the AIX C compiler.
4010 for i in 1 2 3 4 5 6; do
4011 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4012 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4013 # Solaris 8's {/usr,}/bin/sh.
4014 touch sub/conftst$i.h
4016 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4018 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4019 # mode. It turns out that the SunPro C++ compiler does not properly
4020 # handle `-M -o', and we need to detect this. Also, some Intel
4021 # versions had trouble with output in subdirs
4022 am__obj=sub/conftest.${OBJEXT-o}
4023 am__minus_obj="-o $am__obj"
4026 # This depmode causes a compiler race in universal mode.
4027 test "$am__universal" = false || continue
4030 # after this tag, mechanisms are not by side-effect, so they'll
4031 # only be used when explicitly requested
4032 if test "x$enable_dependency_tracking" = xyes; then
4038 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4039 # This compiler won't grok `-c -o', but also, the minuso test has
4040 # not run yet. These depmodes are late enough in the game, and
4041 # so weak that their functioning should not be impacted.
4042 am__obj=conftest.${OBJEXT-o}
4047 if depmode=$depmode \
4048 source=sub/conftest.c object=$am__obj \
4049 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4050 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4051 >/dev/null 2>conftest.err &&
4052 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4053 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4054 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4055 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4056 # icc doesn't choke on unknown options, it will just issue warnings
4057 # or remarks (even with -Werror). So we grep stderr for any message
4058 # that says an option was ignored or not supported.
4059 # When given -MP, icc 7.0 and 7.1 complain thusly:
4060 # icc: Command line warning: ignoring option '-M'; no argument required
4061 # The diagnosis changed in icc 8.0:
4062 # icc: Command line remark: option '-MP' not supported
4063 if (grep 'ignoring option' conftest.err ||
4064 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4065 am_cv_CC_dependencies_compiler_type=$depmode
4074 am_cv_CC_dependencies_compiler_type=none
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4079 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4080 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4083 test "x$enable_dependency_tracking" != xno \
4084 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4086 am__fastdepCC_FALSE='#'
4088 am__fastdepCC_TRUE='#'
4089 am__fastdepCC_FALSE=
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4094 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4095 if ${ac_cv_path_SED+:} false; then :
4096 $as_echo_n "(cached) " >&6
4098 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4099 for ac_i in 1 2 3 4 5 6 7; do
4100 ac_script="$ac_script$as_nl$ac_script"
4102 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4103 { ac_script=; unset ac_script;}
4104 if test -z "$SED"; then
4105 ac_path_SED_found=false
4106 # Loop through the user's path and test for each of PROGNAME-LIST
4107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4111 test -z "$as_dir" && as_dir=.
4112 for ac_prog in sed gsed; do
4113 for ac_exec_ext in '' $ac_executable_extensions; do
4114 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4115 as_fn_executable_p "$ac_path_SED" || continue
4116 # Check for GNU ac_path_SED and select it if it is found.
4117 # Check for GNU $ac_path_SED
4118 case `"$ac_path_SED" --version 2>&1` in
4120 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4123 $as_echo_n 0123456789 >"conftest.in"
4126 cat "conftest.in" "conftest.in" >"conftest.tmp"
4127 mv "conftest.tmp" "conftest.in"
4128 cp "conftest.in" "conftest.nl"
4129 $as_echo '' >> "conftest.nl"
4130 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4131 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4132 as_fn_arith $ac_count + 1 && ac_count=$as_val
4133 if test $ac_count -gt ${ac_path_SED_max-0}; then
4134 # Best one so far, save it but keep looking for a better one
4135 ac_cv_path_SED="$ac_path_SED"
4136 ac_path_SED_max=$ac_count
4138 # 10*(2^10) chars as input seems more than enough
4139 test $ac_count -gt 10 && break
4141 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4144 $ac_path_SED_found && break 3
4149 if test -z "$ac_cv_path_SED"; then
4150 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4158 $as_echo "$ac_cv_path_SED" >&6; }
4159 SED="$ac_cv_path_SED"
4162 test -z "$SED" && SED=sed
4163 Xsed="$SED -e 1s/^X//"
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4176 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4177 if ${ac_cv_path_GREP+:} false; then :
4178 $as_echo_n "(cached) " >&6
4180 if test -z "$GREP"; then
4181 ac_path_GREP_found=false
4182 # Loop through the user's path and test for each of PROGNAME-LIST
4183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4187 test -z "$as_dir" && as_dir=.
4188 for ac_prog in grep ggrep; do
4189 for ac_exec_ext in '' $ac_executable_extensions; do
4190 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4191 as_fn_executable_p "$ac_path_GREP" || continue
4192 # Check for GNU ac_path_GREP and select it if it is found.
4193 # Check for GNU $ac_path_GREP
4194 case `"$ac_path_GREP" --version 2>&1` in
4196 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4199 $as_echo_n 0123456789 >"conftest.in"
4202 cat "conftest.in" "conftest.in" >"conftest.tmp"
4203 mv "conftest.tmp" "conftest.in"
4204 cp "conftest.in" "conftest.nl"
4205 $as_echo 'GREP' >> "conftest.nl"
4206 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4207 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4208 as_fn_arith $ac_count + 1 && ac_count=$as_val
4209 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4210 # Best one so far, save it but keep looking for a better one
4211 ac_cv_path_GREP="$ac_path_GREP"
4212 ac_path_GREP_max=$ac_count
4214 # 10*(2^10) chars as input seems more than enough
4215 test $ac_count -gt 10 && break
4217 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4220 $ac_path_GREP_found && break 3
4225 if test -z "$ac_cv_path_GREP"; then
4226 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4229 ac_cv_path_GREP=$GREP
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4234 $as_echo "$ac_cv_path_GREP" >&6; }
4235 GREP="$ac_cv_path_GREP"
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4239 $as_echo_n "checking for egrep... " >&6; }
4240 if ${ac_cv_path_EGREP+:} false; then :
4241 $as_echo_n "(cached) " >&6
4243 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4244 then ac_cv_path_EGREP="$GREP -E"
4246 if test -z "$EGREP"; then
4247 ac_path_EGREP_found=false
4248 # Loop through the user's path and test for each of PROGNAME-LIST
4249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4250 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4253 test -z "$as_dir" && as_dir=.
4254 for ac_prog in egrep; do
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4257 as_fn_executable_p "$ac_path_EGREP" || continue
4258 # Check for GNU ac_path_EGREP and select it if it is found.
4259 # Check for GNU $ac_path_EGREP
4260 case `"$ac_path_EGREP" --version 2>&1` in
4262 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4265 $as_echo_n 0123456789 >"conftest.in"
4268 cat "conftest.in" "conftest.in" >"conftest.tmp"
4269 mv "conftest.tmp" "conftest.in"
4270 cp "conftest.in" "conftest.nl"
4271 $as_echo 'EGREP' >> "conftest.nl"
4272 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4273 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4274 as_fn_arith $ac_count + 1 && ac_count=$as_val
4275 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4276 # Best one so far, save it but keep looking for a better one
4277 ac_cv_path_EGREP="$ac_path_EGREP"
4278 ac_path_EGREP_max=$ac_count
4280 # 10*(2^10) chars as input seems more than enough
4281 test $ac_count -gt 10 && break
4283 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4286 $ac_path_EGREP_found && break 3
4291 if test -z "$ac_cv_path_EGREP"; then
4292 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4295 ac_cv_path_EGREP=$EGREP
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4301 $as_echo "$ac_cv_path_EGREP" >&6; }
4302 EGREP="$ac_cv_path_EGREP"
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4306 $as_echo_n "checking for fgrep... " >&6; }
4307 if ${ac_cv_path_FGREP+:} false; then :
4308 $as_echo_n "(cached) " >&6
4310 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4311 then ac_cv_path_FGREP="$GREP -F"
4313 if test -z "$FGREP"; then
4314 ac_path_FGREP_found=false
4315 # Loop through the user's path and test for each of PROGNAME-LIST
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4320 test -z "$as_dir" && as_dir=.
4321 for ac_prog in fgrep; do
4322 for ac_exec_ext in '' $ac_executable_extensions; do
4323 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4324 as_fn_executable_p "$ac_path_FGREP" || continue
4325 # Check for GNU ac_path_FGREP and select it if it is found.
4326 # Check for GNU $ac_path_FGREP
4327 case `"$ac_path_FGREP" --version 2>&1` in
4329 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4332 $as_echo_n 0123456789 >"conftest.in"
4335 cat "conftest.in" "conftest.in" >"conftest.tmp"
4336 mv "conftest.tmp" "conftest.in"
4337 cp "conftest.in" "conftest.nl"
4338 $as_echo 'FGREP' >> "conftest.nl"
4339 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4340 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4341 as_fn_arith $ac_count + 1 && ac_count=$as_val
4342 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4343 # Best one so far, save it but keep looking for a better one
4344 ac_cv_path_FGREP="$ac_path_FGREP"
4345 ac_path_FGREP_max=$ac_count
4347 # 10*(2^10) chars as input seems more than enough
4348 test $ac_count -gt 10 && break
4350 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4353 $ac_path_FGREP_found && break 3
4358 if test -z "$ac_cv_path_FGREP"; then
4359 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4362 ac_cv_path_FGREP=$FGREP
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4368 $as_echo "$ac_cv_path_FGREP" >&6; }
4369 FGREP="$ac_cv_path_FGREP"
4372 test -z "$GREP" && GREP=grep
4392 # Check whether --with-gnu-ld was given.
4393 if test "${with_gnu_ld+set}" = set; then :
4394 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4400 if test "$GCC" = yes; then
4401 # Check if gcc -print-prog-name=ld gives a path.
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4403 $as_echo_n "checking for ld used by $CC... " >&6; }
4406 # gcc leaves a trailing carriage return which upsets mingw
4407 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4409 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4412 # Accept absolute paths.
4414 re_direlt='/[^/][^/]*/\.\./'
4415 # Canonicalize the pathname of ld
4416 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4417 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4418 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4420 test -z "$LD" && LD="$ac_prog"
4423 # If it fails, then pretend we aren't using GCC.
4427 # If it is relative, then search for the first ld in PATH.
4431 elif test "$with_gnu_ld" = yes; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4433 $as_echo_n "checking for GNU ld... " >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4436 $as_echo_n "checking for non-GNU ld... " >&6; }
4438 if ${lt_cv_path_LD+:} false; then :
4439 $as_echo_n "(cached) " >&6
4441 if test -z "$LD"; then
4442 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4443 for ac_dir in $PATH; do
4445 test -z "$ac_dir" && ac_dir=.
4446 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4447 lt_cv_path_LD="$ac_dir/$ac_prog"
4448 # Check to see if the program is GNU ld. I'd rather use --version,
4449 # but apparently some variants of GNU ld only accept -v.
4450 # Break only if it was the GNU/non-GNU ld that we prefer.
4451 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4452 *GNU* | *'with BFD'*)
4453 test "$with_gnu_ld" != no && break
4456 test "$with_gnu_ld" != yes && break
4463 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4468 if test -n "$LD"; then
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4470 $as_echo "$LD" >&6; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4475 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4477 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4478 if ${lt_cv_prog_gnu_ld+:} false; then :
4479 $as_echo_n "(cached) " >&6
4481 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4482 case `$LD -v 2>&1 </dev/null` in
4483 *GNU* | *'with BFD'*)
4484 lt_cv_prog_gnu_ld=yes
4487 lt_cv_prog_gnu_ld=no
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4492 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4493 with_gnu_ld=$lt_cv_prog_gnu_ld
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4504 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4505 if ${lt_cv_path_NM+:} false; then :
4506 $as_echo_n "(cached) " >&6
4508 if test -n "$NM"; then
4509 # Let the user override the test.
4512 lt_nm_to_check="${ac_tool_prefix}nm"
4513 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4514 lt_nm_to_check="$lt_nm_to_check nm"
4516 for lt_tmp_nm in $lt_nm_to_check; do
4517 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4518 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4520 test -z "$ac_dir" && ac_dir=.
4521 tmp_nm="$ac_dir/$lt_tmp_nm"
4522 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4523 # Check to see if the nm accepts a BSD-compat flag.
4524 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4525 # nm: unknown option "B" ignored
4526 # Tru64's nm complains that /dev/null is an invalid object file
4527 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4528 */dev/null* | *'Invalid file or object type'*)
4529 lt_cv_path_NM="$tmp_nm -B"
4533 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4535 lt_cv_path_NM="$tmp_nm -p"
4539 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4540 continue # so that we can try to find one that supports BSD flags
4549 : ${lt_cv_path_NM=no}
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4553 $as_echo "$lt_cv_path_NM" >&6; }
4554 if test "$lt_cv_path_NM" != "no"; then
4557 # Didn't find any BSD compatible name lister, look for dumpbin.
4558 if test -n "$DUMPBIN"; then :
4559 # Let the user override the test.
4561 if test -n "$ac_tool_prefix"; then
4562 for ac_prog in dumpbin "link -dump"
4564 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567 $as_echo_n "checking for $ac_word... " >&6; }
4568 if ${ac_cv_prog_DUMPBIN+:} false; then :
4569 $as_echo_n "(cached) " >&6
4571 if test -n "$DUMPBIN"; then
4572 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir=.
4579 for ac_exec_ext in '' $ac_executable_extensions; do
4580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4581 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 DUMPBIN=$ac_cv_prog_DUMPBIN
4592 if test -n "$DUMPBIN"; then
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4594 $as_echo "$DUMPBIN" >&6; }
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4597 $as_echo "no" >&6; }
4601 test -n "$DUMPBIN" && break
4604 if test -z "$DUMPBIN"; then
4605 ac_ct_DUMPBIN=$DUMPBIN
4606 for ac_prog in dumpbin "link -dump"
4608 # Extract the first word of "$ac_prog", so it can be a program name with args.
4609 set dummy $ac_prog; ac_word=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4613 $as_echo_n "(cached) " >&6
4615 if test -n "$ac_ct_DUMPBIN"; then
4616 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir=.
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4636 if test -n "$ac_ct_DUMPBIN"; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4638 $as_echo "$ac_ct_DUMPBIN" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4645 test -n "$ac_ct_DUMPBIN" && break
4648 if test "x$ac_ct_DUMPBIN" = x; then
4651 case $cross_compiling:$ac_tool_warned in
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4655 ac_tool_warned=yes ;;
4657 DUMPBIN=$ac_ct_DUMPBIN
4661 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4663 DUMPBIN="$DUMPBIN -symbols"
4671 if test "$DUMPBIN" != ":"; then
4675 test -z "$NM" && NM=nm
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4683 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4684 if ${lt_cv_nm_interface+:} false; then :
4685 $as_echo_n "(cached) " >&6
4687 lt_cv_nm_interface="BSD nm"
4688 echo "int some_variable = 0;" > conftest.$ac_ext
4689 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4690 (eval "$ac_compile" 2>conftest.err)
4691 cat conftest.err >&5
4692 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4693 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4694 cat conftest.err >&5
4695 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4696 cat conftest.out >&5
4697 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4698 lt_cv_nm_interface="MS dumpbin"
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4703 $as_echo "$lt_cv_nm_interface" >&6; }
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4706 $as_echo_n "checking whether ln -s works... " >&6; }
4708 if test "$LN_S" = "ln -s"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4710 $as_echo "yes" >&6; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4713 $as_echo "no, using $LN_S" >&6; }
4716 # find the maximum length of command line arguments
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4718 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4719 if ${lt_cv_sys_max_cmd_len+:} false; then :
4720 $as_echo_n "(cached) " >&6
4727 # On DJGPP, this test can blow up pretty badly due to problems in libc
4728 # (any single argument exceeding 2000 bytes causes a buffer overrun
4729 # during glob expansion). Even if it were fixed, the result of this
4730 # check would be larger than it should be.
4731 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4735 # Under GNU Hurd, this test is not required because there is
4736 # no limit to the length of command line arguments.
4737 # Libtool will interpret -1 as no limit whatsoever
4738 lt_cv_sys_max_cmd_len=-1;
4741 cygwin* | mingw* | cegcc*)
4742 # On Win9x/ME, this test blows up -- it succeeds, but takes
4743 # about 5 minutes as the teststring grows exponentially.
4744 # Worse, since 9x/ME are not pre-emptively multitasking,
4745 # you end up with a "frozen" computer, even though with patience
4746 # the test eventually succeeds (with a max line length of 256k).
4747 # Instead, let's just punt: use the minimum linelength reported by
4748 # all of the supported platforms: 8192 (on NT/2K/XP).
4749 lt_cv_sys_max_cmd_len=8192;
4753 # On MiNT this can take a long time and run out of memory.
4754 lt_cv_sys_max_cmd_len=8192;
4758 # On AmigaOS with pdksh, this test takes hours, literally.
4759 # So we just punt and use a minimum line length of 8192.
4760 lt_cv_sys_max_cmd_len=8192;
4763 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4764 # This has been around since 386BSD, at least. Likely further.
4765 if test -x /sbin/sysctl; then
4766 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4767 elif test -x /usr/sbin/sysctl; then
4768 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4770 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4772 # And add a safety zone
4773 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4774 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4778 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4779 lt_cv_sys_max_cmd_len=196608
4783 # The test takes a long time on OS/2.
4784 lt_cv_sys_max_cmd_len=8192
4788 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4789 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4790 # nice to cause kernel panics so lets avoid the loop below.
4791 # First set a reasonable default.
4792 lt_cv_sys_max_cmd_len=16384
4794 if test -x /sbin/sysconfig; then
4795 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4796 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4801 lt_cv_sys_max_cmd_len=102400
4803 sysv5* | sco5v6* | sysv4.2uw2*)
4804 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4805 if test -n "$kargmax"; then
4806 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4808 lt_cv_sys_max_cmd_len=32768
4812 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4813 if test -n "$lt_cv_sys_max_cmd_len"; then
4814 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4815 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4817 # Make teststring a little bigger before we do anything with it.
4818 # a 1K string should be a reasonable start.
4819 for i in 1 2 3 4 5 6 7 8 ; do
4820 teststring=$teststring$teststring
4822 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4823 # If test is not a shell built-in, we'll probably end up computing a
4824 # maximum length that is only half of the actual maximum length, but
4826 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4827 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4828 test $i != 17 # 1/2 MB should be enough
4831 teststring=$teststring$teststring
4833 # Only check the string length outside the loop.
4834 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4836 # Add a significant safety factor because C++ compilers can tack on
4837 # massive amounts of additional arguments before passing them to the
4838 # linker. It appears as though 1/2 is a usable value.
4839 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4846 if test -n $lt_cv_sys_max_cmd_len ; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4848 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4851 $as_echo "none" >&6; }
4853 max_cmd_len=$lt_cv_sys_max_cmd_len
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4865 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4866 # Try some XSI features
4869 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4871 && eval 'test $(( 1 + 1 )) -eq 2 \
4872 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4875 $as_echo "$xsi_shell" >&6; }
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4879 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4881 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4883 && lt_shell_append=yes
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4885 $as_echo "$lt_shell_append" >&6; }
4888 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4898 # test EBCDIC or ASCII
4899 case `echo X|tr X '\101'` in
4900 A) # ASCII based system
4901 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4902 lt_SP2NL='tr \040 \012'
4903 lt_NL2SP='tr \015\012 \040\040'
4905 *) # EBCDIC based system
4906 lt_SP2NL='tr \100 \n'
4907 lt_NL2SP='tr \r\n \100\100'
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4920 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4921 if ${lt_cv_to_host_file_cmd+:} false; then :
4922 $as_echo_n "(cached) " >&6
4927 *-*-mingw* ) # actually msys
4928 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4931 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4933 * ) # otherwise, assume *nix
4934 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4940 *-*-mingw* ) # actually msys
4941 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4944 lt_cv_to_host_file_cmd=func_convert_file_noop
4946 * ) # otherwise, assume *nix
4947 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4951 * ) # unhandled hosts (and "normal" native builds)
4952 lt_cv_to_host_file_cmd=func_convert_file_noop
4958 to_host_file_cmd=$lt_cv_to_host_file_cmd
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4960 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4967 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4968 if ${lt_cv_to_tool_file_cmd+:} false; then :
4969 $as_echo_n "(cached) " >&6
4971 #assume ordinary cross tools, or native build.
4972 lt_cv_to_tool_file_cmd=func_convert_file_noop
4976 *-*-mingw* ) # actually msys
4977 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4985 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4987 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4994 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4995 if ${lt_cv_ld_reload_flag+:} false; then :
4996 $as_echo_n "(cached) " >&6
4998 lt_cv_ld_reload_flag='-r'
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5001 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5002 reload_flag=$lt_cv_ld_reload_flag
5003 case $reload_flag in
5005 *) reload_flag=" $reload_flag" ;;
5007 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5009 cygwin* | mingw* | pw32* | cegcc*)
5010 if test "$GCC" != yes; then
5015 if test "$GCC" = yes; then
5016 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5018 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5031 if test -n "$ac_tool_prefix"; then
5032 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5033 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 $as_echo_n "checking for $ac_word... " >&6; }
5036 if ${ac_cv_prog_OBJDUMP+:} false; then :
5037 $as_echo_n "(cached) " >&6
5039 if test -n "$OBJDUMP"; then
5040 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 test -z "$as_dir" && as_dir=.
5047 for ac_exec_ext in '' $ac_executable_extensions; do
5048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5049 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 OBJDUMP=$ac_cv_prog_OBJDUMP
5060 if test -n "$OBJDUMP"; then
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5062 $as_echo "$OBJDUMP" >&6; }
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 $as_echo "no" >&6; }
5070 if test -z "$ac_cv_prog_OBJDUMP"; then
5071 ac_ct_OBJDUMP=$OBJDUMP
5072 # Extract the first word of "objdump", so it can be a program name with args.
5073 set dummy objdump; ac_word=$2
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075 $as_echo_n "checking for $ac_word... " >&6; }
5076 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5077 $as_echo_n "(cached) " >&6
5079 if test -n "$ac_ct_OBJDUMP"; then
5080 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 test -z "$as_dir" && as_dir=.
5087 for ac_exec_ext in '' $ac_executable_extensions; do
5088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5089 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5100 if test -n "$ac_ct_OBJDUMP"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5102 $as_echo "$ac_ct_OBJDUMP" >&6; }
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5108 if test "x$ac_ct_OBJDUMP" = x; then
5111 case $cross_compiling:$ac_tool_warned in
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5115 ac_tool_warned=yes ;;
5117 OBJDUMP=$ac_ct_OBJDUMP
5120 OBJDUMP="$ac_cv_prog_OBJDUMP"
5123 test -z "$OBJDUMP" && OBJDUMP=objdump
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5131 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5132 if ${lt_cv_deplibs_check_method+:} false; then :
5133 $as_echo_n "(cached) " >&6
5135 lt_cv_file_magic_cmd='$MAGIC_CMD'
5136 lt_cv_file_magic_test_file=
5137 lt_cv_deplibs_check_method='unknown'
5138 # Need to set the preceding variable on all platforms that support
5139 # interlibrary dependencies.
5140 # 'none' -- dependencies not supported.
5141 # `unknown' -- same as none, but documents that we really don't know.
5142 # 'pass_all' -- all dependencies passed with no checks.
5143 # 'test_compile' -- check by making test program.
5144 # 'file_magic [[regex]]' -- check by looking for files in library path
5145 # which responds to the $file_magic_cmd with a given extended regex.
5146 # If you have `file' or equivalent on your system and you're not sure
5147 # whether `pass_all' will *always* work, you probably want this one.
5151 lt_cv_deplibs_check_method=pass_all
5155 lt_cv_deplibs_check_method=pass_all
5159 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5160 lt_cv_file_magic_cmd='/usr/bin/file -L'
5161 lt_cv_file_magic_test_file=/shlib/libc.so
5165 # func_win32_libid is a shell function defined in ltmain.sh
5166 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5167 lt_cv_file_magic_cmd='func_win32_libid'
5171 # Base MSYS/MinGW do not provide the 'file' command needed by
5172 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5173 # unless we find 'file', for example because we are cross-compiling.
5174 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5175 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5176 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5177 lt_cv_file_magic_cmd='func_win32_libid'
5179 # Keep this pattern in sync with the one in func_win32_libid.
5180 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5181 lt_cv_file_magic_cmd='$OBJDUMP -f'
5186 # use the weaker test based on 'objdump'. See mingw*.
5187 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5188 lt_cv_file_magic_cmd='$OBJDUMP -f'
5191 darwin* | rhapsody*)
5192 lt_cv_deplibs_check_method=pass_all
5195 freebsd* | dragonfly*)
5196 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5199 # Not sure whether the presence of OpenBSD here was a mistake.
5200 # Let's accept both of them until this is cleared up.
5201 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5202 lt_cv_file_magic_cmd=/usr/bin/file
5203 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5207 lt_cv_deplibs_check_method=pass_all
5212 lt_cv_deplibs_check_method=pass_all
5216 lt_cv_deplibs_check_method=pass_all
5219 hpux10.20* | hpux11*)
5220 lt_cv_file_magic_cmd=/usr/bin/file
5223 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5224 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5227 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]'
5228 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5231 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5232 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5238 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5239 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5242 irix5* | irix6* | nonstopux*)
5244 *-32|*"-32 ") libmagic=32-bit;;
5245 *-n32|*"-n32 ") libmagic=N32;;
5246 *-64|*"-64 ") libmagic=64-bit;;
5247 *) libmagic=never-match;;
5249 lt_cv_deplibs_check_method=pass_all
5252 # This must be glibc/ELF.
5253 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5254 lt_cv_deplibs_check_method=pass_all
5257 netbsd* | netbsdelf*-gnu)
5258 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5259 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5261 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5266 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5267 lt_cv_file_magic_cmd=/usr/bin/file
5268 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5272 lt_cv_deplibs_check_method=pass_all
5276 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5279 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5283 osf3* | osf4* | osf5*)
5284 lt_cv_deplibs_check_method=pass_all
5288 lt_cv_deplibs_check_method=pass_all
5292 lt_cv_deplibs_check_method=pass_all
5295 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5296 lt_cv_deplibs_check_method=pass_all
5300 case $host_vendor in
5302 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]'
5303 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5306 lt_cv_deplibs_check_method=pass_all
5309 lt_cv_file_magic_cmd='/bin/file'
5310 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5313 lt_cv_file_magic_cmd='/bin/file'
5314 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5315 lt_cv_file_magic_test_file=/lib/libc.so
5318 lt_cv_deplibs_check_method=pass_all
5321 lt_cv_deplibs_check_method=pass_all
5327 lt_cv_deplibs_check_method=pass_all
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5333 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5337 if test "$build" = "$host"; then
5340 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5343 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5349 file_magic_cmd=$lt_cv_file_magic_cmd
5350 deplibs_check_method=$lt_cv_deplibs_check_method
5351 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5374 if test -n "$ac_tool_prefix"; then
5375 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5376 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_DLLTOOL+:} false; then :
5380 $as_echo_n "(cached) " >&6
5382 if test -n "$DLLTOOL"; then
5383 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 DLLTOOL=$ac_cv_prog_DLLTOOL
5403 if test -n "$DLLTOOL"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5405 $as_echo "$DLLTOOL" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5413 if test -z "$ac_cv_prog_DLLTOOL"; then
5414 ac_ct_DLLTOOL=$DLLTOOL
5415 # Extract the first word of "dlltool", so it can be a program name with args.
5416 set dummy dlltool; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5420 $as_echo_n "(cached) " >&6
5422 if test -n "$ac_ct_DLLTOOL"; then
5423 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5443 if test -n "$ac_ct_DLLTOOL"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5445 $as_echo "$ac_ct_DLLTOOL" >&6; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5451 if test "x$ac_ct_DLLTOOL" = x; then
5454 case $cross_compiling:$ac_tool_warned in
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5458 ac_tool_warned=yes ;;
5460 DLLTOOL=$ac_ct_DLLTOOL
5463 DLLTOOL="$ac_cv_prog_DLLTOOL"
5466 test -z "$DLLTOOL" && DLLTOOL=dlltool
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5475 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5476 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5477 $as_echo_n "(cached) " >&6
5479 lt_cv_sharedlib_from_linklib_cmd='unknown'
5482 cygwin* | mingw* | pw32* | cegcc*)
5483 # two different shell functions defined in ltmain.sh
5484 # decide which to use based on capabilities of $DLLTOOL
5485 case `$DLLTOOL --help 2>&1` in
5486 *--identify-strict*)
5487 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5490 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5495 # fallback: assume linklib IS sharedlib
5496 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5502 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5503 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5504 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5513 if test -n "$ac_tool_prefix"; then
5516 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_AR+:} false; then :
5521 $as_echo_n "(cached) " >&6
5523 if test -n "$AR"; then
5524 ac_cv_prog_AR="$AR" # Let the user override the test.
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 if test -n "$AR"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5546 $as_echo "$AR" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5553 test -n "$AR" && break
5556 if test -z "$AR"; then
5560 # Extract the first word of "$ac_prog", so it can be a program name with args.
5561 set dummy $ac_prog; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5565 $as_echo_n "(cached) " >&6
5567 if test -n "$ac_ct_AR"; then
5568 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_ac_ct_AR="$ac_prog"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5588 if test -n "$ac_ct_AR"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5590 $as_echo "$ac_ct_AR" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5597 test -n "$ac_ct_AR" && break
5600 if test "x$ac_ct_AR" = x; then
5603 case $cross_compiling:$ac_tool_warned in
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5607 ac_tool_warned=yes ;;
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5627 $as_echo_n "checking for archiver @FILE support... " >&6; }
5628 if ${lt_cv_ar_at_file+:} false; then :
5629 $as_echo_n "(cached) " >&6
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5643 if ac_fn_c_try_compile "$LINENO"; then :
5644 echo conftest.$ac_objext > conftest.lst
5645 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5646 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5647 (eval $lt_ar_try) 2>&5
5649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5650 test $ac_status = 0; }
5651 if test "$ac_status" -eq 0; then
5652 # Ensure the archiver fails upon bogus file names.
5653 rm -f conftest.$ac_objext libconftest.a
5654 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5655 (eval $lt_ar_try) 2>&5
5657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5658 test $ac_status = 0; }
5659 if test "$ac_status" -ne 0; then
5663 rm -f conftest.* libconftest.a
5666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5670 $as_echo "$lt_cv_ar_at_file" >&6; }
5672 if test "x$lt_cv_ar_at_file" = xno; then
5675 archiver_list_spec=$lt_cv_ar_at_file
5684 if test -n "$ac_tool_prefix"; then
5685 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5686 set dummy ${ac_tool_prefix}strip; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_STRIP+:} false; then :
5690 $as_echo_n "(cached) " >&6
5692 if test -n "$STRIP"; then
5693 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 STRIP=$ac_cv_prog_STRIP
5713 if test -n "$STRIP"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5715 $as_echo "$STRIP" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5723 if test -z "$ac_cv_prog_STRIP"; then
5725 # Extract the first word of "strip", so it can be a program name with args.
5726 set dummy strip; ac_word=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5730 $as_echo_n "(cached) " >&6
5732 if test -n "$ac_ct_STRIP"; then
5733 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_ac_ct_STRIP="strip"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5753 if test -n "$ac_ct_STRIP"; then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5755 $as_echo "$ac_ct_STRIP" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5761 if test "x$ac_ct_STRIP" = x; then
5764 case $cross_compiling:$ac_tool_warned in
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5768 ac_tool_warned=yes ;;
5773 STRIP="$ac_cv_prog_STRIP"
5776 test -z "$STRIP" && STRIP=:
5783 if test -n "$ac_tool_prefix"; then
5784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5785 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_RANLIB+:} false; then :
5789 $as_echo_n "(cached) " >&6
5791 if test -n "$RANLIB"; then
5792 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811 RANLIB=$ac_cv_prog_RANLIB
5812 if test -n "$RANLIB"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5814 $as_echo "$RANLIB" >&6; }
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5822 if test -z "$ac_cv_prog_RANLIB"; then
5823 ac_ct_RANLIB=$RANLIB
5824 # Extract the first word of "ranlib", so it can be a program name with args.
5825 set dummy ranlib; ac_word=$2
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 $as_echo_n "checking for $ac_word... " >&6; }
5828 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5829 $as_echo_n "(cached) " >&6
5831 if test -n "$ac_ct_RANLIB"; then
5832 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 test -z "$as_dir" && as_dir=.
5839 for ac_exec_ext in '' $ac_executable_extensions; do
5840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5841 ac_cv_prog_ac_ct_RANLIB="ranlib"
5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5852 if test -n "$ac_ct_RANLIB"; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5854 $as_echo "$ac_ct_RANLIB" >&6; }
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 $as_echo "no" >&6; }
5860 if test "x$ac_ct_RANLIB" = x; then
5863 case $cross_compiling:$ac_tool_warned in
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5867 ac_tool_warned=yes ;;
5869 RANLIB=$ac_ct_RANLIB
5872 RANLIB="$ac_cv_prog_RANLIB"
5875 test -z "$RANLIB" && RANLIB=:
5882 # Determine commands to create old-style static archives.
5883 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5884 old_postinstall_cmds='chmod 644 $oldlib'
5885 old_postuninstall_cmds=
5887 if test -n "$RANLIB"; then
5890 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5893 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5896 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5901 lock_old_archive_extraction=yes ;;
5903 lock_old_archive_extraction=no ;;
5944 # If no C compiler was specified, use CC.
5947 # If no C compiler flags were specified, use CFLAGS.
5948 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5950 # Allow CC to be a program name with arguments.
5954 # Check for command to grab the raw symbol name followed by C symbol from nm.
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5956 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5957 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5958 $as_echo_n "(cached) " >&6
5961 # These are sane defaults that work on at least a few old systems.
5962 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5964 # Character class describing NM global symbol codes.
5965 symcode='[BCDEGRST]'
5967 # Regexp to match symbols that can be accessed directly from C.
5968 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5970 # Define system-specific variables.
5975 cygwin* | mingw* | pw32* | cegcc*)
5976 symcode='[ABCDGISTW]'
5979 if test "$host_cpu" = ia64; then
5980 symcode='[ABCDEGRST]'
5984 symcode='[BCDEGRST]'
5987 symcode='[BCDEGQRST]'
5998 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6006 # If we're using GNU nm, then use its standard symbol codes.
6007 case `$NM -V 2>&1` in
6008 *GNU* | *'with BFD'*)
6009 symcode='[ABCDGIRSTW]' ;;
6012 # Transform an extracted symbol line into a proper C declaration.
6013 # Some systems (esp. on ia64) link data and code symbols differently,
6014 # so use this general approach.
6015 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6017 # Transform an extracted symbol line into symbol name and symbol address
6018 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6019 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'"
6021 # Handle CRLF in mingw tool chain
6025 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6029 # Try without a prefix underscore, then with it.
6030 for ac_symprfx in "" "_"; do
6032 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6033 symxfrm="\\1 $ac_symprfx\\2 \\2"
6035 # Write the raw and C identifiers.
6036 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6037 # Fake it for dumpbin and say T for any non-static function
6038 # and D for any global variable.
6039 # Also find C++ and __fastcall symbols from MSVC++,
6040 # which start with @ or ?.
6041 lt_cv_sys_global_symbol_pipe="$AWK '"\
6042 " {last_section=section; section=\$ 3};"\
6043 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6044 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6045 " \$ 0!~/External *\|/{next};"\
6046 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6047 " {if(hide[section]) next};"\
6048 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6049 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6050 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6051 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6052 " ' prfx=^$ac_symprfx"
6054 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6056 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6058 # Check to see that the pipe works correctly.
6062 cat > conftest.$ac_ext <<_LT_EOF
6067 void nm_test_func(void);
6068 void nm_test_func(void){}
6072 int main(){nm_test_var='a';nm_test_func();return(0);}
6075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6076 (eval $ac_compile) 2>&5
6078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6079 test $ac_status = 0; }; then
6080 # Now try to grab the symbols.
6082 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6083 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6086 test $ac_status = 0; } && test -s "$nlist"; then
6087 # Try sorting and uniquifying the output.
6088 if sort "$nlist" | uniq > "$nlist"T; then
6089 mv -f "$nlist"T "$nlist"
6094 # Make sure that we snagged all the symbols we need.
6095 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6096 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6097 cat <<_LT_EOF > conftest.$ac_ext
6098 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6099 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6100 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6101 relocations are performed -- see ld's documentation on pseudo-relocs. */
6102 # define LT_DLSYM_CONST
6103 #elif defined(__osf__)
6104 /* This system does not cope well with relocations in const data. */
6105 # define LT_DLSYM_CONST
6107 # define LT_DLSYM_CONST const
6115 # Now generate the symbol file.
6116 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6118 cat <<_LT_EOF >> conftest.$ac_ext
6120 /* The mapping between symbol names and symbols. */
6121 LT_DLSYM_CONST struct {
6125 lt__PROGRAM__LTX_preloaded_symbols[] =
6127 { "@PROGRAM@", (void *) 0 },
6129 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6130 cat <<\_LT_EOF >> conftest.$ac_ext
6134 /* This works around a problem in FreeBSD linker */
6135 #ifdef FREEBSD_WORKAROUND
6136 static const void *lt_preloaded_setup() {
6137 return lt__PROGRAM__LTX_preloaded_symbols;
6145 # Now try linking the two files.
6146 mv conftest.$ac_objext conftstm.$ac_objext
6147 lt_globsym_save_LIBS=$LIBS
6148 lt_globsym_save_CFLAGS=$CFLAGS
6149 LIBS="conftstm.$ac_objext"
6150 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6151 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6152 (eval $ac_link) 2>&5
6154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6155 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6158 LIBS=$lt_globsym_save_LIBS
6159 CFLAGS=$lt_globsym_save_CFLAGS
6161 echo "cannot find nm_test_func in $nlist" >&5
6164 echo "cannot find nm_test_var in $nlist" >&5
6167 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6170 echo "$progname: failed program was:" >&5
6171 cat conftest.$ac_ext >&5
6173 rm -rf conftest* conftst*
6175 # Do not use the global_symbol_pipe unless it works.
6176 if test "$pipe_works" = yes; then
6179 lt_cv_sys_global_symbol_pipe=
6185 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6186 lt_cv_sys_global_symbol_to_cdecl=
6188 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6190 $as_echo "failed" >&6; }
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6193 $as_echo "ok" >&6; }
6196 # Response file support.
6197 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6198 nm_file_list_spec='@'
6199 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6200 nm_file_list_spec='@'
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6230 $as_echo_n "checking for sysroot... " >&6; }
6232 # Check whether --with-sysroot was given.
6233 if test "${with_sysroot+set}" = set; then :
6234 withval=$with_sysroot;
6241 case ${with_sysroot} in #(
6243 if test "$GCC" = yes; then
6244 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6248 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6254 $as_echo "${with_sysroot}" >&6; }
6255 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6260 $as_echo "${lt_sysroot:-no}" >&6; }
6266 # Check whether --enable-libtool-lock was given.
6267 if test "${enable_libtool_lock+set}" = set; then :
6268 enableval=$enable_libtool_lock;
6271 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6273 # Some flags need to be propagated to the compiler or linker for good
6277 # Find out which ABI we are using.
6278 echo 'int i;' > conftest.$ac_ext
6279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6280 (eval $ac_compile) 2>&5
6282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6283 test $ac_status = 0; }; then
6284 case `/usr/bin/file conftest.$ac_objext` in
6296 # Find out which ABI we are using.
6297 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6299 (eval $ac_compile) 2>&5
6301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6302 test $ac_status = 0; }; then
6303 if test "$lt_cv_prog_gnu_ld" = yes; then
6304 case `/usr/bin/file conftest.$ac_objext` in
6306 LD="${LD-ld} -melf32bsmip"
6309 LD="${LD-ld} -melf32bmipn32"
6312 LD="${LD-ld} -melf64bmip"
6316 case `/usr/bin/file conftest.$ac_objext` in
6332 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6333 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6334 # Find out which ABI we are using.
6335 echo 'int i;' > conftest.$ac_ext
6336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6337 (eval $ac_compile) 2>&5
6339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6340 test $ac_status = 0; }; then
6341 case `/usr/bin/file conftest.o` in
6344 x86_64-*kfreebsd*-gnu)
6345 LD="${LD-ld} -m elf_i386_fbsd"
6348 LD="${LD-ld} -m elf_i386"
6350 ppc64-*linux*|powerpc64-*linux*)
6351 LD="${LD-ld} -m elf32ppclinux"
6354 LD="${LD-ld} -m elf_s390"
6357 LD="${LD-ld} -m elf32_sparc"
6363 x86_64-*kfreebsd*-gnu)
6364 LD="${LD-ld} -m elf_x86_64_fbsd"
6367 LD="${LD-ld} -m elf_x86_64"
6369 ppc*-*linux*|powerpc*-*linux*)
6370 LD="${LD-ld} -m elf64ppc"
6372 s390*-*linux*|s390*-*tpf*)
6373 LD="${LD-ld} -m elf64_s390"
6376 LD="${LD-ld} -m elf64_sparc"
6386 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6387 SAVE_CFLAGS="$CFLAGS"
6388 CFLAGS="$CFLAGS -belf"
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6390 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6391 if ${lt_cv_cc_needs_belf+:} false; then :
6392 $as_echo_n "(cached) " >&6
6395 ac_cpp='$CPP $CPPFLAGS'
6396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6411 if ac_fn_c_try_link "$LINENO"; then :
6412 lt_cv_cc_needs_belf=yes
6414 lt_cv_cc_needs_belf=no
6416 rm -f core conftest.err conftest.$ac_objext \
6417 conftest$ac_exeext conftest.$ac_ext
6419 ac_cpp='$CPP $CPPFLAGS'
6420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6426 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6427 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6428 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6429 CFLAGS="$SAVE_CFLAGS"
6433 # Find out which ABI we are using.
6434 echo 'int i;' > conftest.$ac_ext
6435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6436 (eval $ac_compile) 2>&5
6438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6439 test $ac_status = 0; }; then
6440 case `/usr/bin/file conftest.o` in
6442 case $lt_cv_prog_gnu_ld in
6446 LD="${LD-ld} -m elf_x86_64"
6449 LD="${LD-ld} -m elf64_sparc"
6452 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6453 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6458 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6470 need_locks="$enable_libtool_lock"
6472 if test -n "$ac_tool_prefix"; then
6473 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6474 set dummy ${ac_tool_prefix}mt; ac_word=$2
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6476 $as_echo_n "checking for $ac_word... " >&6; }
6477 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6478 $as_echo_n "(cached) " >&6
6480 if test -n "$MANIFEST_TOOL"; then
6481 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 test -z "$as_dir" && as_dir=.
6488 for ac_exec_ext in '' $ac_executable_extensions; do
6489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6490 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6501 if test -n "$MANIFEST_TOOL"; then
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6503 $as_echo "$MANIFEST_TOOL" >&6; }
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6506 $as_echo "no" >&6; }
6511 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6512 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6513 # Extract the first word of "mt", so it can be a program name with args.
6514 set dummy mt; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6518 $as_echo_n "(cached) " >&6
6520 if test -n "$ac_ct_MANIFEST_TOOL"; then
6521 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6530 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6541 if test -n "$ac_ct_MANIFEST_TOOL"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6543 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6549 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6552 case $cross_compiling:$ac_tool_warned in
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6556 ac_tool_warned=yes ;;
6558 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6561 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6564 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6566 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6567 if ${lt_cv_path_mainfest_tool+:} false; then :
6568 $as_echo_n "(cached) " >&6
6570 lt_cv_path_mainfest_tool=no
6571 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6572 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6573 cat conftest.err >&5
6574 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6575 lt_cv_path_mainfest_tool=yes
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6580 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6581 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6591 rhapsody* | darwin*)
6592 if test -n "$ac_tool_prefix"; then
6593 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6594 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6596 $as_echo_n "checking for $ac_word... " >&6; }
6597 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6598 $as_echo_n "(cached) " >&6
6600 if test -n "$DSYMUTIL"; then
6601 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6607 test -z "$as_dir" && as_dir=.
6608 for ac_exec_ext in '' $ac_executable_extensions; do
6609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6610 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6620 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6621 if test -n "$DSYMUTIL"; then
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6623 $as_echo "$DSYMUTIL" >&6; }
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6626 $as_echo "no" >&6; }
6631 if test -z "$ac_cv_prog_DSYMUTIL"; then
6632 ac_ct_DSYMUTIL=$DSYMUTIL
6633 # Extract the first word of "dsymutil", so it can be a program name with args.
6634 set dummy dsymutil; ac_word=$2
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6636 $as_echo_n "checking for $ac_word... " >&6; }
6637 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6638 $as_echo_n "(cached) " >&6
6640 if test -n "$ac_ct_DSYMUTIL"; then
6641 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 test -z "$as_dir" && as_dir=.
6648 for ac_exec_ext in '' $ac_executable_extensions; do
6649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6650 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6661 if test -n "$ac_ct_DSYMUTIL"; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6663 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6666 $as_echo "no" >&6; }
6669 if test "x$ac_ct_DSYMUTIL" = x; then
6672 case $cross_compiling:$ac_tool_warned in
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6676 ac_tool_warned=yes ;;
6678 DSYMUTIL=$ac_ct_DSYMUTIL
6681 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6684 if test -n "$ac_tool_prefix"; then
6685 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6686 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_NMEDIT+:} false; then :
6690 $as_echo_n "(cached) " >&6
6692 if test -n "$NMEDIT"; then
6693 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6712 NMEDIT=$ac_cv_prog_NMEDIT
6713 if test -n "$NMEDIT"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6715 $as_echo "$NMEDIT" >&6; }
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6723 if test -z "$ac_cv_prog_NMEDIT"; then
6724 ac_ct_NMEDIT=$NMEDIT
6725 # Extract the first word of "nmedit", so it can be a program name with args.
6726 set dummy nmedit; ac_word=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6728 $as_echo_n "checking for $ac_word... " >&6; }
6729 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6730 $as_echo_n "(cached) " >&6
6732 if test -n "$ac_ct_NMEDIT"; then
6733 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 test -z "$as_dir" && as_dir=.
6740 for ac_exec_ext in '' $ac_executable_extensions; do
6741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6742 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6752 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6753 if test -n "$ac_ct_NMEDIT"; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6755 $as_echo "$ac_ct_NMEDIT" >&6; }
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6758 $as_echo "no" >&6; }
6761 if test "x$ac_ct_NMEDIT" = x; then
6764 case $cross_compiling:$ac_tool_warned in
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6768 ac_tool_warned=yes ;;
6770 NMEDIT=$ac_ct_NMEDIT
6773 NMEDIT="$ac_cv_prog_NMEDIT"
6776 if test -n "$ac_tool_prefix"; then
6777 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6778 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780 $as_echo_n "checking for $ac_word... " >&6; }
6781 if ${ac_cv_prog_LIPO+:} false; then :
6782 $as_echo_n "(cached) " >&6
6784 if test -n "$LIPO"; then
6785 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791 test -z "$as_dir" && as_dir=.
6792 for ac_exec_ext in '' $ac_executable_extensions; do
6793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6794 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6804 LIPO=$ac_cv_prog_LIPO
6805 if test -n "$LIPO"; then
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6807 $as_echo "$LIPO" >&6; }
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6810 $as_echo "no" >&6; }
6815 if test -z "$ac_cv_prog_LIPO"; then
6817 # Extract the first word of "lipo", so it can be a program name with args.
6818 set dummy lipo; ac_word=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6820 $as_echo_n "checking for $ac_word... " >&6; }
6821 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6822 $as_echo_n "(cached) " >&6
6824 if test -n "$ac_ct_LIPO"; then
6825 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir=.
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_ac_ct_LIPO="lipo"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6844 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6845 if test -n "$ac_ct_LIPO"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6847 $as_echo "$ac_ct_LIPO" >&6; }
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 $as_echo "no" >&6; }
6853 if test "x$ac_ct_LIPO" = x; then
6856 case $cross_compiling:$ac_tool_warned in
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6860 ac_tool_warned=yes ;;
6865 LIPO="$ac_cv_prog_LIPO"
6868 if test -n "$ac_tool_prefix"; then
6869 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6870 set dummy ${ac_tool_prefix}otool; ac_word=$2
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872 $as_echo_n "checking for $ac_word... " >&6; }
6873 if ${ac_cv_prog_OTOOL+:} false; then :
6874 $as_echo_n "(cached) " >&6
6876 if test -n "$OTOOL"; then
6877 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883 test -z "$as_dir" && as_dir=.
6884 for ac_exec_ext in '' $ac_executable_extensions; do
6885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6886 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896 OTOOL=$ac_cv_prog_OTOOL
6897 if test -n "$OTOOL"; then
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6899 $as_echo "$OTOOL" >&6; }
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6902 $as_echo "no" >&6; }
6907 if test -z "$ac_cv_prog_OTOOL"; then
6909 # Extract the first word of "otool", so it can be a program name with args.
6910 set dummy otool; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912 $as_echo_n "checking for $ac_word... " >&6; }
6913 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6914 $as_echo_n "(cached) " >&6
6916 if test -n "$ac_ct_OTOOL"; then
6917 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 test -z "$as_dir" && as_dir=.
6924 for ac_exec_ext in '' $ac_executable_extensions; do
6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926 ac_cv_prog_ac_ct_OTOOL="otool"
6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6937 if test -n "$ac_ct_OTOOL"; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6939 $as_echo "$ac_ct_OTOOL" >&6; }
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942 $as_echo "no" >&6; }
6945 if test "x$ac_ct_OTOOL" = x; then
6948 case $cross_compiling:$ac_tool_warned in
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6952 ac_tool_warned=yes ;;
6957 OTOOL="$ac_cv_prog_OTOOL"
6960 if test -n "$ac_tool_prefix"; then
6961 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6962 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_prog_OTOOL64+:} false; then :
6966 $as_echo_n "(cached) " >&6
6968 if test -n "$OTOOL64"; then
6969 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir=.
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988 OTOOL64=$ac_cv_prog_OTOOL64
6989 if test -n "$OTOOL64"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6991 $as_echo "$OTOOL64" >&6; }
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6999 if test -z "$ac_cv_prog_OTOOL64"; then
7000 ac_ct_OTOOL64=$OTOOL64
7001 # Extract the first word of "otool64", so it can be a program name with args.
7002 set dummy otool64; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7006 $as_echo_n "(cached) " >&6
7008 if test -n "$ac_ct_OTOOL64"; then
7009 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_ac_ct_OTOOL64="otool64"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7029 if test -n "$ac_ct_OTOOL64"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7031 $as_echo "$ac_ct_OTOOL64" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7037 if test "x$ac_ct_OTOOL64" = x; then
7040 case $cross_compiling:$ac_tool_warned in
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044 ac_tool_warned=yes ;;
7046 OTOOL64=$ac_ct_OTOOL64
7049 OTOOL64="$ac_cv_prog_OTOOL64"
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7079 $as_echo_n "checking for -single_module linker flag... " >&6; }
7080 if ${lt_cv_apple_cc_single_mod+:} false; then :
7081 $as_echo_n "(cached) " >&6
7083 lt_cv_apple_cc_single_mod=no
7084 if test -z "${LT_MULTI_MODULE}"; then
7085 # By default we will add the -single_module flag. You can override
7086 # by either setting the environment variable LT_MULTI_MODULE
7087 # non-empty at configure time, or by adding -multi_module to the
7089 rm -rf libconftest.dylib*
7090 echo "int foo(void){return 1;}" > conftest.c
7091 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7092 -dynamiclib -Wl,-single_module conftest.c" >&5
7093 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7094 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7096 # If there is a non-empty error log, and "single_module"
7097 # appears in it, assume the flag caused a linker warning
7098 if test -s conftest.err && $GREP single_module conftest.err; then
7099 cat conftest.err >&5
7100 # Otherwise, if the output was created with a 0 exit code from
7101 # the compiler, it worked.
7102 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7103 lt_cv_apple_cc_single_mod=yes
7105 cat conftest.err >&5
7107 rm -rf libconftest.dylib*
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7112 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7115 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7116 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7117 $as_echo_n "(cached) " >&6
7119 lt_cv_ld_exported_symbols_list=no
7120 save_LDFLAGS=$LDFLAGS
7121 echo "_main" > conftest.sym
7122 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7134 if ac_fn_c_try_link "$LINENO"; then :
7135 lt_cv_ld_exported_symbols_list=yes
7137 lt_cv_ld_exported_symbols_list=no
7139 rm -f core conftest.err conftest.$ac_objext \
7140 conftest$ac_exeext conftest.$ac_ext
7141 LDFLAGS="$save_LDFLAGS"
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7145 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7148 $as_echo_n "checking for -force_load linker flag... " >&6; }
7149 if ${lt_cv_ld_force_load+:} false; then :
7150 $as_echo_n "(cached) " >&6
7152 lt_cv_ld_force_load=no
7153 cat > conftest.c << _LT_EOF
7154 int forced_loaded() { return 2;}
7156 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7157 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7158 echo "$AR cru libconftest.a conftest.o" >&5
7159 $AR cru libconftest.a conftest.o 2>&5
7160 echo "$RANLIB libconftest.a" >&5
7161 $RANLIB libconftest.a 2>&5
7162 cat > conftest.c << _LT_EOF
7163 int main() { return 0;}
7165 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7166 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7168 if test -s conftest.err && $GREP force_load conftest.err; then
7169 cat conftest.err >&5
7170 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7171 lt_cv_ld_force_load=yes
7173 cat conftest.err >&5
7175 rm -f conftest.err libconftest.a conftest conftest.c
7176 rm -rf conftest.dSYM
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7180 $as_echo "$lt_cv_ld_force_load" >&6; }
7182 rhapsody* | darwin1.[012])
7183 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7185 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7186 darwin*) # darwin 5.x on
7187 # if running on 10.5 or later, the deployment target defaults
7188 # to the OS version, if on x86, and 10.4, the deployment
7189 # target defaults to 10.4. Don't you love it?
7190 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7191 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7192 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7194 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7196 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7200 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7201 _lt_dar_single_mod='$single_module'
7203 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7204 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7206 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7208 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7209 _lt_dsymutil='~$DSYMUTIL $lib || :'
7217 ac_cpp='$CPP $CPPFLAGS'
7218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7222 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7223 # On Suns, sometimes $CPP names a directory.
7224 if test -n "$CPP" && test -d "$CPP"; then
7227 if test -z "$CPP"; then
7228 if ${ac_cv_prog_CPP+:} false; then :
7229 $as_echo_n "(cached) " >&6
7231 # Double quotes because CPP needs to be expanded
7232 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7235 for ac_c_preproc_warn_flag in '' yes
7237 # Use a header file that comes with gcc, so configuring glibc
7238 # with a fresh cross-compiler works.
7239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7240 # <limits.h> exists even on freestanding compilers.
7241 # On the NeXT, cc -E runs the code through the compiler's parser,
7242 # not just through cpp. "Syntax error" is here to catch this case.
7243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7244 /* end confdefs.h. */
7246 # include <limits.h>
7248 # include <assert.h>
7252 if ac_fn_c_try_cpp "$LINENO"; then :
7255 # Broken: fails on valid input.
7258 rm -f conftest.err conftest.i conftest.$ac_ext
7260 # OK, works on sane cases. Now check whether nonexistent headers
7261 # can be detected and how.
7262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7263 /* end confdefs.h. */
7264 #include <ac_nonexistent.h>
7266 if ac_fn_c_try_cpp "$LINENO"; then :
7267 # Broken: success on invalid input.
7270 # Passes both tests.
7274 rm -f conftest.err conftest.i conftest.$ac_ext
7277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7278 rm -f conftest.i conftest.err conftest.$ac_ext
7279 if $ac_preproc_ok; then :
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7292 $as_echo "$CPP" >&6; }
7294 for ac_c_preproc_warn_flag in '' yes
7296 # Use a header file that comes with gcc, so configuring glibc
7297 # with a fresh cross-compiler works.
7298 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7299 # <limits.h> exists even on freestanding compilers.
7300 # On the NeXT, cc -E runs the code through the compiler's parser,
7301 # not just through cpp. "Syntax error" is here to catch this case.
7302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7303 /* end confdefs.h. */
7305 # include <limits.h>
7307 # include <assert.h>
7311 if ac_fn_c_try_cpp "$LINENO"; then :
7314 # Broken: fails on valid input.
7317 rm -f conftest.err conftest.i conftest.$ac_ext
7319 # OK, works on sane cases. Now check whether nonexistent headers
7320 # can be detected and how.
7321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7322 /* end confdefs.h. */
7323 #include <ac_nonexistent.h>
7325 if ac_fn_c_try_cpp "$LINENO"; then :
7326 # Broken: success on invalid input.
7329 # Passes both tests.
7333 rm -f conftest.err conftest.i conftest.$ac_ext
7336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7337 rm -f conftest.i conftest.err conftest.$ac_ext
7338 if $ac_preproc_ok; then :
7341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7343 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7344 See \`config.log' for more details" "$LINENO" 5; }
7348 ac_cpp='$CPP $CPPFLAGS'
7349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7355 $as_echo_n "checking for ANSI C header files... " >&6; }
7356 if ${ac_cv_header_stdc+:} false; then :
7357 $as_echo_n "(cached) " >&6
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7374 if ac_fn_c_try_compile "$LINENO"; then :
7375 ac_cv_header_stdc=yes
7377 ac_cv_header_stdc=no
7379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7381 if test $ac_cv_header_stdc = yes; then
7382 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7384 /* end confdefs.h. */
7388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7389 $EGREP "memchr" >/dev/null 2>&1; then :
7392 ac_cv_header_stdc=no
7398 if test $ac_cv_header_stdc = yes; then
7399 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7401 /* end confdefs.h. */
7405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7406 $EGREP "free" >/dev/null 2>&1; then :
7409 ac_cv_header_stdc=no
7415 if test $ac_cv_header_stdc = yes; then
7416 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7417 if test "$cross_compiling" = yes; then :
7420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7421 /* end confdefs.h. */
7424 #if ((' ' & 0x0FF) == 0x020)
7425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7428 # define ISLOWER(c) \
7429 (('a' <= (c) && (c) <= 'i') \
7430 || ('j' <= (c) && (c) <= 'r') \
7431 || ('s' <= (c) && (c) <= 'z'))
7432 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7435 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7440 for (i = 0; i < 256; i++)
7441 if (XOR (islower (i), ISLOWER (i))
7442 || toupper (i) != TOUPPER (i))
7447 if ac_fn_c_try_run "$LINENO"; then :
7450 ac_cv_header_stdc=no
7452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7453 conftest.$ac_objext conftest.beam conftest.$ac_ext
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7459 $as_echo "$ac_cv_header_stdc" >&6; }
7460 if test $ac_cv_header_stdc = yes; then
7462 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7466 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7467 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7468 inttypes.h stdint.h unistd.h
7470 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7471 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7473 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7474 cat >>confdefs.h <<_ACEOF
7475 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7483 for ac_header in dlfcn.h
7485 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7487 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7488 cat >>confdefs.h <<_ACEOF
7489 #define HAVE_DLFCN_H 1
7501 enable_win32_dll=yes
7504 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7505 if test -n "$ac_tool_prefix"; then
7506 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7507 set dummy ${ac_tool_prefix}as; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if ${ac_cv_prog_AS+:} false; then :
7511 $as_echo_n "(cached) " >&6
7513 if test -n "$AS"; then
7514 ac_cv_prog_AS="$AS" # Let the user override the test.
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir=.
7521 for ac_exec_ext in '' $ac_executable_extensions; do
7522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523 ac_cv_prog_AS="${ac_tool_prefix}as"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7534 if test -n "$AS"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7536 $as_echo "$AS" >&6; }
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7544 if test -z "$ac_cv_prog_AS"; then
7546 # Extract the first word of "as", so it can be a program name with args.
7547 set dummy as; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7551 $as_echo_n "(cached) " >&6
7553 if test -n "$ac_ct_AS"; then
7554 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563 ac_cv_prog_ac_ct_AS="as"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7574 if test -n "$ac_ct_AS"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7576 $as_echo "$ac_ct_AS" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7582 if test "x$ac_ct_AS" = x; then
7585 case $cross_compiling:$ac_tool_warned in
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589 ac_tool_warned=yes ;;
7597 if test -n "$ac_tool_prefix"; then
7598 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7599 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7601 $as_echo_n "checking for $ac_word... " >&6; }
7602 if ${ac_cv_prog_DLLTOOL+:} false; then :
7603 $as_echo_n "(cached) " >&6
7605 if test -n "$DLLTOOL"; then
7606 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7612 test -z "$as_dir" && as_dir=.
7613 for ac_exec_ext in '' $ac_executable_extensions; do
7614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7615 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7625 DLLTOOL=$ac_cv_prog_DLLTOOL
7626 if test -n "$DLLTOOL"; then
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7628 $as_echo "$DLLTOOL" >&6; }
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7631 $as_echo "no" >&6; }
7636 if test -z "$ac_cv_prog_DLLTOOL"; then
7637 ac_ct_DLLTOOL=$DLLTOOL
7638 # Extract the first word of "dlltool", so it can be a program name with args.
7639 set dummy dlltool; ac_word=$2
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7641 $as_echo_n "checking for $ac_word... " >&6; }
7642 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7643 $as_echo_n "(cached) " >&6
7645 if test -n "$ac_ct_DLLTOOL"; then
7646 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 test -z "$as_dir" && as_dir=.
7653 for ac_exec_ext in '' $ac_executable_extensions; do
7654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7655 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7665 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7666 if test -n "$ac_ct_DLLTOOL"; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7668 $as_echo "$ac_ct_DLLTOOL" >&6; }
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671 $as_echo "no" >&6; }
7674 if test "x$ac_ct_DLLTOOL" = x; then
7677 case $cross_compiling:$ac_tool_warned in
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7681 ac_tool_warned=yes ;;
7683 DLLTOOL=$ac_ct_DLLTOOL
7686 DLLTOOL="$ac_cv_prog_DLLTOOL"
7689 if test -n "$ac_tool_prefix"; then
7690 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7691 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7693 $as_echo_n "checking for $ac_word... " >&6; }
7694 if ${ac_cv_prog_OBJDUMP+:} false; then :
7695 $as_echo_n "(cached) " >&6
7697 if test -n "$OBJDUMP"; then
7698 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7704 test -z "$as_dir" && as_dir=.
7705 for ac_exec_ext in '' $ac_executable_extensions; do
7706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7707 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7717 OBJDUMP=$ac_cv_prog_OBJDUMP
7718 if test -n "$OBJDUMP"; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7720 $as_echo "$OBJDUMP" >&6; }
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7723 $as_echo "no" >&6; }
7728 if test -z "$ac_cv_prog_OBJDUMP"; then
7729 ac_ct_OBJDUMP=$OBJDUMP
7730 # Extract the first word of "objdump", so it can be a program name with args.
7731 set dummy objdump; ac_word=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7733 $as_echo_n "checking for $ac_word... " >&6; }
7734 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7735 $as_echo_n "(cached) " >&6
7737 if test -n "$ac_ct_OBJDUMP"; then
7738 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7747 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7757 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7758 if test -n "$ac_ct_OBJDUMP"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7760 $as_echo "$ac_ct_OBJDUMP" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7763 $as_echo "no" >&6; }
7766 if test "x$ac_ct_OBJDUMP" = x; then
7769 case $cross_compiling:$ac_tool_warned in
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7773 ac_tool_warned=yes ;;
7775 OBJDUMP=$ac_ct_OBJDUMP
7778 OBJDUMP="$ac_cv_prog_OBJDUMP"
7784 test -z "$AS" && AS=as
7790 test -z "$DLLTOOL" && DLLTOOL=dlltool
7796 test -z "$OBJDUMP" && OBJDUMP=objdump
7808 # Check whether --enable-shared was given.
7809 if test "${enable_shared+set}" = set; then :
7810 enableval=$enable_shared; p=${PACKAGE-default}
7812 yes) enable_shared=yes ;;
7813 no) enable_shared=no ;;
7816 # Look at the argument we got. We use all the common list separators.
7817 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7818 for pkg in $enableval; do
7820 if test "X$pkg" = "X$p"; then
7839 # Check whether --enable-static was given.
7840 if test "${enable_static+set}" = set; then :
7841 enableval=$enable_static; p=${PACKAGE-default}
7843 yes) enable_static=yes ;;
7844 no) enable_static=no ;;
7847 # Look at the argument we got. We use all the common list separators.
7848 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7849 for pkg in $enableval; do
7851 if test "X$pkg" = "X$p"; then
7871 # Check whether --with-pic was given.
7872 if test "${with_pic+set}" = set; then :
7873 withval=$with_pic; lt_p=${PACKAGE-default}
7875 yes|no) pic_mode=$withval ;;
7878 # Look at the argument we got. We use all the common list separators.
7879 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7880 for lt_pkg in $withval; do
7882 if test "X$lt_pkg" = "X$lt_p"; then
7894 test -z "$pic_mode" && pic_mode=default
7902 # Check whether --enable-fast-install was given.
7903 if test "${enable_fast_install+set}" = set; then :
7904 enableval=$enable_fast_install; p=${PACKAGE-default}
7906 yes) enable_fast_install=yes ;;
7907 no) enable_fast_install=no ;;
7909 enable_fast_install=no
7910 # Look at the argument we got. We use all the common list separators.
7911 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7912 for pkg in $enableval; do
7914 if test "X$pkg" = "X$p"; then
7915 enable_fast_install=yes
7922 enable_fast_install=yes
7935 # This can be used to rebuild libtool when needed
7936 LIBTOOL_DEPS="$ltmain"
7938 # Always use our own libtool.
7939 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7970 test -z "$LN_S" && LN_S="ln -s"
7985 if test -n "${ZSH_VERSION+set}" ; then
7986 setopt NO_GLOB_SUBST
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7990 $as_echo_n "checking for objdir... " >&6; }
7991 if ${lt_cv_objdir+:} false; then :
7992 $as_echo_n "(cached) " >&6
7994 rm -f .libs 2>/dev/null
7995 mkdir .libs 2>/dev/null
7996 if test -d .libs; then
7999 # MS-DOS does not allow filenames that begin with a dot.
8002 rmdir .libs 2>/dev/null
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8005 $as_echo "$lt_cv_objdir" >&6; }
8006 objdir=$lt_cv_objdir
8012 cat >>confdefs.h <<_ACEOF
8013 #define LT_OBJDIR "$lt_cv_objdir/"
8021 # AIX sometimes has problems with the GCC collect2 program. For some
8022 # reason, if we set the COLLECT_NAMES environment variable, the problems
8023 # vanish in a puff of smoke.
8024 if test "X${COLLECT_NAMES+set}" != Xset; then
8026 export COLLECT_NAMES
8033 can_build_shared=yes
8035 # All known linkers require a `.a' archive for static linking (except MSVC,
8036 # which needs '.lib').
8039 with_gnu_ld="$lt_cv_prog_gnu_ld"
8042 old_CFLAGS="$CFLAGS"
8044 # Set sane defaults for various variables
8045 test -z "$CC" && CC=cc
8046 test -z "$LTCC" && LTCC=$CC
8047 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8048 test -z "$LD" && LD=ld
8049 test -z "$ac_objext" && ac_objext=o
8051 for cc_temp in $compiler""; do
8053 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8054 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8059 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8062 # Only perform the check for file, if the check method requires it
8063 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8064 case $deplibs_check_method in
8066 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8068 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8069 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8070 $as_echo_n "(cached) " >&6
8074 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8077 lt_save_MAGIC_CMD="$MAGIC_CMD"
8078 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8079 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8080 for ac_dir in $ac_dummy; do
8082 test -z "$ac_dir" && ac_dir=.
8083 if test -f $ac_dir/${ac_tool_prefix}file; then
8084 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8085 if test -n "$file_magic_test_file"; then
8086 case $deplibs_check_method in
8088 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8089 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8090 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8091 $EGREP "$file_magic_regex" > /dev/null; then
8096 *** Warning: the command libtool uses to detect shared libraries,
8097 *** $file_magic_cmd, produces output that libtool cannot recognize.
8098 *** The result is that libtool may fail to recognize shared libraries
8099 *** as such. This will affect the creation of libtool libraries that
8100 *** depend on shared libraries, but programs linked with such libtool
8101 *** libraries will work regardless of this problem. Nevertheless, you
8102 *** may want to report the problem to your system manager and/or to
8103 *** bug-libtool@gnu.org
8113 MAGIC_CMD="$lt_save_MAGIC_CMD"
8118 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8119 if test -n "$MAGIC_CMD"; then
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8121 $as_echo "$MAGIC_CMD" >&6; }
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8124 $as_echo "no" >&6; }
8131 if test -z "$lt_cv_path_MAGIC_CMD"; then
8132 if test -n "$ac_tool_prefix"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8134 $as_echo_n "checking for file... " >&6; }
8135 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8136 $as_echo_n "(cached) " >&6
8140 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8143 lt_save_MAGIC_CMD="$MAGIC_CMD"
8144 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8145 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8146 for ac_dir in $ac_dummy; do
8148 test -z "$ac_dir" && ac_dir=.
8149 if test -f $ac_dir/file; then
8150 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8151 if test -n "$file_magic_test_file"; then
8152 case $deplibs_check_method in
8154 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8155 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8156 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8157 $EGREP "$file_magic_regex" > /dev/null; then
8162 *** Warning: the command libtool uses to detect shared libraries,
8163 *** $file_magic_cmd, produces output that libtool cannot recognize.
8164 *** The result is that libtool may fail to recognize shared libraries
8165 *** as such. This will affect the creation of libtool libraries that
8166 *** depend on shared libraries, but programs linked with such libtool
8167 *** libraries will work regardless of this problem. Nevertheless, you
8168 *** may want to report the problem to your system manager and/or to
8169 *** bug-libtool@gnu.org
8179 MAGIC_CMD="$lt_save_MAGIC_CMD"
8184 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8185 if test -n "$MAGIC_CMD"; then
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8187 $as_echo "$MAGIC_CMD" >&6; }
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8190 $as_echo "no" >&6; }
8203 # Use C for the default configuration in the libtool script
8207 ac_cpp='$CPP $CPPFLAGS'
8208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8213 # Source file extension for C test sources.
8216 # Object file extension for compiled C test sources.
8220 # Code to be used in simple compile tests
8221 lt_simple_compile_test_code="int some_variable = 0;"
8223 # Code to be used in simple link tests
8224 lt_simple_link_test_code='int main(){return(0);}'
8232 # If no C compiler was specified, use CC.
8235 # If no C compiler flags were specified, use CFLAGS.
8236 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8238 # Allow CC to be a program name with arguments.
8241 # Save the default compiler, since it gets overwritten when the other
8242 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8243 compiler_DEFAULT=$CC
8245 # save warnings/boilerplate of simple test code
8246 ac_outfile=conftest.$ac_objext
8247 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8248 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8249 _lt_compiler_boilerplate=`cat conftest.err`
8252 ac_outfile=conftest.$ac_objext
8253 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8254 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8255 _lt_linker_boilerplate=`cat conftest.err`
8260 ## There is no encapsulation within the following macros, do not change
8261 ## the running order or otherwise move them around unless you know exactly
8262 ## what you are doing...
8263 if test -n "$compiler"; then
8265 lt_prog_compiler_no_builtin_flag=
8267 if test "$GCC" = yes; then
8268 case $cc_basename in
8270 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8272 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8276 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8277 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8278 $as_echo_n "(cached) " >&6
8280 lt_cv_prog_compiler_rtti_exceptions=no
8281 ac_outfile=conftest.$ac_objext
8282 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8283 lt_compiler_flag="-fno-rtti -fno-exceptions"
8284 # Insert the option either (1) after the last *FLAGS variable, or
8285 # (2) before a word containing "conftest.", or (3) at the end.
8286 # Note that $ac_compile itself does not contain backslashes and begins
8287 # with a dollar sign (not a hyphen), so the echo should work correctly.
8288 # The option is referenced via a variable to avoid confusing sed.
8289 lt_compile=`echo "$ac_compile" | $SED \
8290 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8291 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8292 -e 's:$: $lt_compiler_flag:'`
8293 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8294 (eval "$lt_compile" 2>conftest.err)
8296 cat conftest.err >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 if (exit $ac_status) && test -s "$ac_outfile"; then
8299 # The compiler can only warn and ignore the option if not recognized
8300 # So say no if there are warnings other than the usual output.
8301 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8302 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8303 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8304 lt_cv_prog_compiler_rtti_exceptions=yes
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8311 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8313 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8314 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8326 lt_prog_compiler_wl=
8327 lt_prog_compiler_pic=
8328 lt_prog_compiler_static=
8331 if test "$GCC" = yes; then
8332 lt_prog_compiler_wl='-Wl,'
8333 lt_prog_compiler_static='-static'
8337 # All AIX code is PIC.
8338 if test "$host_cpu" = ia64; then
8339 # AIX 5 now supports IA64 processor
8340 lt_prog_compiler_static='-Bstatic'
8347 # see comment about AmigaOS4 .so support
8348 lt_prog_compiler_pic='-fPIC'
8351 # FIXME: we need at least 68020 code to build shared libraries, but
8352 # adding the `-m68020' flag to GCC prevents building anything better,
8354 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8359 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8360 # PIC is the default for these OSes.
8363 mingw* | cygwin* | pw32* | os2* | cegcc*)
8364 # This hack is so that the source file can tell whether it is being
8365 # built for inclusion in a dll (and should export symbols for example).
8366 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8367 # (--disable-auto-import) libraries
8368 lt_prog_compiler_pic='-DDLL_EXPORT'
8371 darwin* | rhapsody*)
8372 # PIC is the default on this platform
8373 # Common symbols not allowed in MH_DYLIB files
8374 lt_prog_compiler_pic='-fno-common'
8378 # PIC is the default for Haiku.
8379 # The "-static" flag exists, but is broken.
8380 lt_prog_compiler_static=
8384 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8385 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8386 # sets the default TLS model and affects inlining.
8392 lt_prog_compiler_pic='-fPIC'
8398 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8399 # Instead, we relocate shared libraries at runtime.
8403 # Just because we use GCC doesn't mean we suddenly get shared libraries
8404 # on systems that don't support them.
8405 lt_prog_compiler_can_build_shared=no
8410 # QNX uses GNU C++, but need to define -shared option too, otherwise
8412 lt_prog_compiler_pic='-fPIC -shared'
8416 if test -d /usr/nec; then
8417 lt_prog_compiler_pic=-Kconform_pic
8422 lt_prog_compiler_pic='-fPIC'
8426 case $cc_basename in
8427 nvcc*) # Cuda Compiler Driver 2.2
8428 lt_prog_compiler_wl='-Xlinker '
8429 if test -n "$lt_prog_compiler_pic"; then
8430 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8435 # PORTME Check for flag to pass linker flags through the system compiler.
8438 lt_prog_compiler_wl='-Wl,'
8439 if test "$host_cpu" = ia64; then
8440 # AIX 5 now supports IA64 processor
8441 lt_prog_compiler_static='-Bstatic'
8443 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8447 mingw* | cygwin* | pw32* | os2* | cegcc*)
8448 # This hack is so that the source file can tell whether it is being
8449 # built for inclusion in a dll (and should export symbols for example).
8450 lt_prog_compiler_pic='-DDLL_EXPORT'
8453 hpux9* | hpux10* | hpux11*)
8454 lt_prog_compiler_wl='-Wl,'
8455 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8462 lt_prog_compiler_pic='+Z'
8465 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8466 lt_prog_compiler_static='${wl}-a ${wl}archive'
8469 irix5* | irix6* | nonstopux*)
8470 lt_prog_compiler_wl='-Wl,'
8471 # PIC (with -KPIC) is the default.
8472 lt_prog_compiler_static='-non_shared'
8475 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8476 case $cc_basename in
8477 # old Intel for x86_64 which still supported -KPIC.
8479 lt_prog_compiler_wl='-Wl,'
8480 lt_prog_compiler_pic='-KPIC'
8481 lt_prog_compiler_static='-static'
8483 # icc used to be incompatible with GCC.
8484 # ICC 10 doesn't accept -KPIC any more.
8486 lt_prog_compiler_wl='-Wl,'
8487 lt_prog_compiler_pic='-fPIC'
8488 lt_prog_compiler_static='-static'
8490 # Lahey Fortran 8.1.
8492 lt_prog_compiler_wl='-Wl,'
8493 lt_prog_compiler_pic='--shared'
8494 lt_prog_compiler_static='--static'
8497 # NAG Fortran compiler
8498 lt_prog_compiler_wl='-Wl,-Wl,,'
8499 lt_prog_compiler_pic='-PIC'
8500 lt_prog_compiler_static='-Bstatic'
8502 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8503 # Portland Group compilers (*not* the Pentium gcc compiler,
8504 # which looks to be a dead project)
8505 lt_prog_compiler_wl='-Wl,'
8506 lt_prog_compiler_pic='-fpic'
8507 lt_prog_compiler_static='-Bstatic'
8510 lt_prog_compiler_wl='-Wl,'
8511 # All Alpha code is PIC.
8512 lt_prog_compiler_static='-non_shared'
8514 xl* | bgxl* | bgf* | mpixl*)
8515 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8516 lt_prog_compiler_wl='-Wl,'
8517 lt_prog_compiler_pic='-qpic'
8518 lt_prog_compiler_static='-qstaticlink'
8521 case `$CC -V 2>&1 | sed 5q` in
8522 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8523 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8524 lt_prog_compiler_pic='-KPIC'
8525 lt_prog_compiler_static='-Bstatic'
8526 lt_prog_compiler_wl=''
8528 *Sun\ F* | *Sun*Fortran*)
8529 lt_prog_compiler_pic='-KPIC'
8530 lt_prog_compiler_static='-Bstatic'
8531 lt_prog_compiler_wl='-Qoption ld '
8535 lt_prog_compiler_pic='-KPIC'
8536 lt_prog_compiler_static='-Bstatic'
8537 lt_prog_compiler_wl='-Wl,'
8539 *Intel*\ [CF]*Compiler*)
8540 lt_prog_compiler_wl='-Wl,'
8541 lt_prog_compiler_pic='-fPIC'
8542 lt_prog_compiler_static='-static'
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_pic='-fpic'
8547 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_pic='-KPIC'
8556 lt_prog_compiler_static='-Bstatic'
8560 # QNX uses GNU C++, but need to define -shared option too, otherwise
8562 lt_prog_compiler_pic='-fPIC -shared'
8565 osf3* | osf4* | osf5*)
8566 lt_prog_compiler_wl='-Wl,'
8567 # All OSF/1 code is PIC.
8568 lt_prog_compiler_static='-non_shared'
8572 lt_prog_compiler_static='-non_shared'
8576 lt_prog_compiler_pic='-KPIC'
8577 lt_prog_compiler_static='-Bstatic'
8578 case $cc_basename in
8579 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8580 lt_prog_compiler_wl='-Qoption ld ';;
8582 lt_prog_compiler_wl='-Wl,';;
8587 lt_prog_compiler_wl='-Qoption ld '
8588 lt_prog_compiler_pic='-PIC'
8589 lt_prog_compiler_static='-Bstatic'
8592 sysv4 | sysv4.2uw2* | sysv4.3*)
8593 lt_prog_compiler_wl='-Wl,'
8594 lt_prog_compiler_pic='-KPIC'
8595 lt_prog_compiler_static='-Bstatic'
8599 if test -d /usr/nec ;then
8600 lt_prog_compiler_pic='-Kconform_pic'
8601 lt_prog_compiler_static='-Bstatic'
8605 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8606 lt_prog_compiler_wl='-Wl,'
8607 lt_prog_compiler_pic='-KPIC'
8608 lt_prog_compiler_static='-Bstatic'
8612 lt_prog_compiler_wl='-Wl,'
8613 lt_prog_compiler_can_build_shared=no
8617 lt_prog_compiler_pic='-pic'
8618 lt_prog_compiler_static='-Bstatic'
8622 lt_prog_compiler_can_build_shared=no
8628 # For platforms which do not support PIC, -DPIC is meaningless:
8630 lt_prog_compiler_pic=
8633 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8638 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8639 if ${lt_cv_prog_compiler_pic+:} false; then :
8640 $as_echo_n "(cached) " >&6
8642 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8645 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8646 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8649 # Check to make sure the PIC flag actually works.
8651 if test -n "$lt_prog_compiler_pic"; then
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8653 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8654 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8655 $as_echo_n "(cached) " >&6
8657 lt_cv_prog_compiler_pic_works=no
8658 ac_outfile=conftest.$ac_objext
8659 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8660 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8661 # Insert the option either (1) after the last *FLAGS variable, or
8662 # (2) before a word containing "conftest.", or (3) at the end.
8663 # Note that $ac_compile itself does not contain backslashes and begins
8664 # with a dollar sign (not a hyphen), so the echo should work correctly.
8665 # The option is referenced via a variable to avoid confusing sed.
8666 lt_compile=`echo "$ac_compile" | $SED \
8667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8669 -e 's:$: $lt_compiler_flag:'`
8670 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8671 (eval "$lt_compile" 2>conftest.err)
8673 cat conftest.err >&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 if (exit $ac_status) && test -s "$ac_outfile"; then
8676 # The compiler can only warn and ignore the option if not recognized
8677 # So say no if there are warnings other than the usual output.
8678 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8679 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8680 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8681 lt_cv_prog_compiler_pic_works=yes
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8688 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8690 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8691 case $lt_prog_compiler_pic in
8693 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8696 lt_prog_compiler_pic=
8697 lt_prog_compiler_can_build_shared=no
8713 # Check to make sure the static flag actually works.
8715 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8717 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8718 if ${lt_cv_prog_compiler_static_works+:} false; then :
8719 $as_echo_n "(cached) " >&6
8721 lt_cv_prog_compiler_static_works=no
8722 save_LDFLAGS="$LDFLAGS"
8723 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8724 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8725 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8726 # The linker can only warn and ignore the option if not recognized
8727 # So say no if there are warnings
8728 if test -s conftest.err; then
8729 # Append any errors to the config.log.
8730 cat conftest.err 1>&5
8731 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8732 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8733 if diff conftest.exp conftest.er2 >/dev/null; then
8734 lt_cv_prog_compiler_static_works=yes
8737 lt_cv_prog_compiler_static_works=yes
8741 LDFLAGS="$save_LDFLAGS"
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8745 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8747 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8750 lt_prog_compiler_static=
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8760 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8761 if ${lt_cv_prog_compiler_c_o+:} false; then :
8762 $as_echo_n "(cached) " >&6
8764 lt_cv_prog_compiler_c_o=no
8765 $RM -r conftest 2>/dev/null
8769 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8771 lt_compiler_flag="-o out/conftest2.$ac_objext"
8772 # Insert the option either (1) after the last *FLAGS variable, or
8773 # (2) before a word containing "conftest.", or (3) at the end.
8774 # Note that $ac_compile itself does not contain backslashes and begins
8775 # with a dollar sign (not a hyphen), so the echo should work correctly.
8776 lt_compile=`echo "$ac_compile" | $SED \
8777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8779 -e 's:$: $lt_compiler_flag:'`
8780 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8781 (eval "$lt_compile" 2>out/conftest.err)
8783 cat out/conftest.err >&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8787 # The compiler can only warn and ignore the option if not recognized
8788 # So say no if there are warnings
8789 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8790 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8791 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8792 lt_cv_prog_compiler_c_o=yes
8797 # SGI C++ compiler will create directory out/ii_files/ for
8798 # template instantiation
8799 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8800 $RM out/* && rmdir out
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8807 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8815 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8816 if ${lt_cv_prog_compiler_c_o+:} false; then :
8817 $as_echo_n "(cached) " >&6
8819 lt_cv_prog_compiler_c_o=no
8820 $RM -r conftest 2>/dev/null
8824 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8826 lt_compiler_flag="-o out/conftest2.$ac_objext"
8827 # Insert the option either (1) after the last *FLAGS variable, or
8828 # (2) before a word containing "conftest.", or (3) at the end.
8829 # Note that $ac_compile itself does not contain backslashes and begins
8830 # with a dollar sign (not a hyphen), so the echo should work correctly.
8831 lt_compile=`echo "$ac_compile" | $SED \
8832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8834 -e 's:$: $lt_compiler_flag:'`
8835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8836 (eval "$lt_compile" 2>out/conftest.err)
8838 cat out/conftest.err >&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8842 # The compiler can only warn and ignore the option if not recognized
8843 # So say no if there are warnings
8844 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8845 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8846 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8847 lt_cv_prog_compiler_c_o=yes
8852 # SGI C++ compiler will create directory out/ii_files/ for
8853 # template instantiation
8854 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8855 $RM out/* && rmdir out
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8862 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8867 hard_links="nottested"
8868 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8869 # do not overwrite the value of need_locks provided by the user
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8871 $as_echo_n "checking if we can lock with hard links... " >&6; }
8874 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8876 ln conftest.a conftest.b 2>&5 || hard_links=no
8877 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8879 $as_echo "$hard_links" >&6; }
8880 if test "$hard_links" = no; then
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8882 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8895 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8898 allow_undefined_flag=
8899 always_export_symbols=no
8901 archive_expsym_cmds=
8902 compiler_needs_object=no
8903 enable_shared_with_static_runtimes=no
8904 export_dynamic_flag_spec=
8905 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8906 hardcode_automatic=no
8908 hardcode_direct_absolute=no
8909 hardcode_libdir_flag_spec=
8910 hardcode_libdir_separator=
8912 hardcode_shlibpath_var=unsupported
8914 link_all_deplibs=unknown
8917 old_archive_from_new_cmds=
8918 old_archive_from_expsyms_cmds=
8919 thread_safe_flag_spec=
8920 whole_archive_flag_spec=
8921 # include_expsyms should be a list of space-separated symbols to be *always*
8922 # included in the symbol list
8924 # exclude_expsyms can be an extended regexp of symbols to exclude
8925 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8926 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8927 # as well as any symbol that contains `d'.
8928 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8929 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8930 # platforms (ab)use it in PIC code, but their linkers get confused if
8931 # the symbol is explicitly referenced. Since portable code cannot
8932 # rely on this symbol name, it's probably fine to never include it in
8933 # preloaded symbol tables.
8934 # Exclude shared library initialization/finalization symbols.
8935 extract_expsyms_cmds=
8938 cygwin* | mingw* | pw32* | cegcc*)
8939 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8940 # When not using gcc, we currently assume that we are using
8941 # Microsoft Visual C++.
8942 if test "$GCC" != yes; then
8947 # we just hope/assume this is gcc and not c89 (= MSVC++)
8953 linux* | k*bsd*-gnu | gnu*)
8960 # On some targets, GNU ld is compatible enough with the native linker
8961 # that we're better off using the native interface for both.
8962 lt_use_gnu_ld_interface=no
8963 if test "$with_gnu_ld" = yes; then
8966 # The AIX port of GNU ld has always aspired to compatibility
8967 # with the native linker. However, as the warning in the GNU ld
8968 # block says, versions before 2.19.5* couldn't really create working
8969 # shared libraries, regardless of the interface used.
8970 case `$LD -v 2>&1` in
8971 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8972 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8973 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8975 lt_use_gnu_ld_interface=yes
8980 lt_use_gnu_ld_interface=yes
8985 if test "$lt_use_gnu_ld_interface" = yes; then
8986 # If archive_cmds runs LD, not CC, wlarc should be empty
8989 # Set some defaults for GNU ld with shared library support. These
8990 # are reset later if shared libraries are not supported. Putting them
8991 # here allows them to be overridden if necessary.
8992 runpath_var=LD_RUN_PATH
8993 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8994 export_dynamic_flag_spec='${wl}--export-dynamic'
8995 # ancient GNU ld didn't support --whole-archive et. al.
8996 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8997 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8999 whole_archive_flag_spec=
9001 supports_anon_versioning=no
9002 case `$LD -v 2>&1` in
9003 *GNU\ gold*) supports_anon_versioning=yes ;;
9004 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9005 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9006 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9007 *\ 2.11.*) ;; # other 2.11 versions
9008 *) supports_anon_versioning=yes ;;
9011 # See if GNU ld supports shared libraries.
9014 # On AIX/PPC, the GNU linker is very broken
9015 if test "$host_cpu" != ia64; then
9019 *** Warning: the GNU linker, at least up to release 2.19, is reported
9020 *** to be unable to reliably create shared libraries on AIX.
9021 *** Therefore, libtool is disabling shared libraries support. If you
9022 *** really care for shared libraries, you may want to install binutils
9023 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9024 *** You will then need to restart the configuration process.
9033 # see comment about AmigaOS4 .so support
9034 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035 archive_expsym_cmds=''
9038 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)'
9039 hardcode_libdir_flag_spec='-L$libdir'
9040 hardcode_minus_L=yes
9046 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9047 allow_undefined_flag=unsupported
9048 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9049 # support --undefined. This deserves some investigation. FIXME
9050 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9056 cygwin* | mingw* | pw32* | cegcc*)
9057 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9058 # as there is no search path for DLLs.
9059 hardcode_libdir_flag_spec='-L$libdir'
9060 export_dynamic_flag_spec='${wl}--export-all-symbols'
9061 allow_undefined_flag=unsupported
9062 always_export_symbols=no
9063 enable_shared_with_static_runtimes=yes
9064 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'
9065 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9067 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9068 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9069 # If the export-symbols file already is a .def file (1st line
9070 # is EXPORTS), use it as is; otherwise, prepend...
9071 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9072 cp $export_symbols $output_objdir/$soname.def;
9074 echo EXPORTS > $output_objdir/$soname.def;
9075 cat $export_symbols >> $output_objdir/$soname.def;
9077 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9084 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9085 link_all_deplibs=yes
9090 hardcode_shlibpath_var=no
9091 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9092 export_dynamic_flag_spec='${wl}-E'
9093 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9094 # Instead, shared libraries are loaded at an image base (0x10000000 by
9095 # default) and relocated if they conflict, which is a slow very memory
9096 # consuming and fragmenting process. To avoid this, we pick a random,
9097 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9098 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9099 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9100 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'
9103 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9105 if test "$host_os" = linux-dietlibc; then
9106 case $cc_basename in
9107 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9110 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9111 && test "$tmp_diet" = no
9113 tmp_addflag=' $pic_flag'
9114 tmp_sharedflag='-shared'
9115 case $cc_basename,$host_cpu in
9116 pgcc*) # Portland Group C compiler
9117 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'
9118 tmp_addflag=' $pic_flag'
9120 pgf77* | pgf90* | pgf95* | pgfortran*)
9121 # Portland Group f77 and f90 compilers
9122 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'
9123 tmp_addflag=' $pic_flag -Mnomain' ;;
9124 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9125 tmp_addflag=' -i_dynamic' ;;
9126 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9127 tmp_addflag=' -i_dynamic -nofor_main' ;;
9128 ifc* | ifort*) # Intel Fortran compiler
9129 tmp_addflag=' -nofor_main' ;;
9130 lf95*) # Lahey Fortran 8.1
9131 whole_archive_flag_spec=
9132 tmp_sharedflag='--shared' ;;
9133 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9134 tmp_sharedflag='-qmkshrobj'
9136 nvcc*) # Cuda Compiler Driver 2.2
9137 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'
9138 compiler_needs_object=yes
9141 case `$CC -V 2>&1 | sed 5q` in
9142 *Sun\ C*) # Sun C 5.9
9143 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'
9144 compiler_needs_object=yes
9145 tmp_sharedflag='-G' ;;
9146 *Sun\ F*) # Sun Fortran 8.3
9147 tmp_sharedflag='-G' ;;
9149 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151 if test "x$supports_anon_versioning" = xyes; then
9152 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9153 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9154 echo "local: *; };" >> $output_objdir/$libname.ver~
9155 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9158 case $cc_basename in
9159 xlf* | bgf* | bgxlf* | mpixlf*)
9160 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9161 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9162 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9163 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9164 if test "x$supports_anon_versioning" = xyes; then
9165 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9166 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9167 echo "local: *; };" >> $output_objdir/$libname.ver~
9168 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9177 netbsd* | netbsdelf*-gnu)
9178 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9179 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9182 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9183 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9188 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9192 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9193 *** create shared libraries on Solaris systems. Therefore, libtool
9194 *** is disabling shared libraries support. We urge you to upgrade GNU
9195 *** binutils to release 2.9.1 or newer. Another option is to modify
9196 *** your PATH or compiler configuration so that the native linker is
9197 *** used, and then restart.
9200 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9201 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9208 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9209 case `$LD -v 2>&1` in
9210 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9214 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9215 *** reliably create shared libraries on SCO systems. Therefore, libtool
9216 *** is disabling shared libraries support. We urge you to upgrade GNU
9217 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9218 *** your PATH or compiler configuration so that the native linker is
9219 *** used, and then restart.
9224 # For security reasons, it is highly recommended that you always
9225 # use absolute paths for naming shared libraries, and exclude the
9226 # DT_RUNPATH tag from executables and libraries. But doing so
9227 # requires that you compile everything twice, which is a pain.
9228 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9229 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9230 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9240 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9243 hardcode_shlibpath_var=no
9247 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9248 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9256 if test "$ld_shlibs" = no; then
9258 hardcode_libdir_flag_spec=
9259 export_dynamic_flag_spec=
9260 whole_archive_flag_spec=
9263 # PORTME fill in a description of your system's linker (not GNU ld)
9266 allow_undefined_flag=unsupported
9267 always_export_symbols=yes
9268 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'
9269 # Note: this linker hardcodes the directories in LIBPATH if there
9270 # are no directories specified by -L.
9271 hardcode_minus_L=yes
9272 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9273 # Neither direct hardcoding nor static linking is supported with a
9275 hardcode_direct=unsupported
9280 if test "$host_cpu" = ia64; then
9281 # On IA64, the linker does run time linking by default, so we don't
9282 # have to do anything special.
9283 aix_use_runtimelinking=no
9284 exp_sym_flag='-Bexport'
9287 # If we're using GNU nm, then we don't want the "-C" option.
9288 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9289 # Also, AIX nm treats weak defined symbols like other global
9290 # defined symbols, whereas GNU nm marks them as "W".
9291 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9292 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'
9294 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'
9296 aix_use_runtimelinking=no
9298 # Test if we are trying to use run time linking or normal
9299 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9300 # need to do runtime linking.
9301 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9302 for ld_flag in $LDFLAGS; do
9303 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9304 aix_use_runtimelinking=yes
9311 exp_sym_flag='-bexport'
9312 no_entry_flag='-bnoentry'
9315 # When large executables or shared objects are built, AIX ld can
9316 # have problems creating the table of contents. If linking a library
9317 # or program results in "error TOC overflow" add -mminimal-toc to
9318 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9319 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9323 hardcode_direct_absolute=yes
9324 hardcode_libdir_separator=':'
9325 link_all_deplibs=yes
9326 file_list_spec='${wl}-f,'
9328 if test "$GCC" = yes; then
9329 case $host_os in aix4.[012]|aix4.[012].*)
9330 # We only want to do this on AIX 4.2 and lower, the check
9331 # below for broken collect2 doesn't work under 4.3+
9332 collect2name=`${CC} -print-prog-name=collect2`
9333 if test -f "$collect2name" &&
9334 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9336 # We have reworked collect2
9339 # We have old collect2
9340 hardcode_direct=unsupported
9341 # It fails to find uninstalled libraries when the uninstalled
9342 # path is not listed in the libpath. Setting hardcode_minus_L
9343 # to unsupported forces relinking
9344 hardcode_minus_L=yes
9345 hardcode_libdir_flag_spec='-L$libdir'
9346 hardcode_libdir_separator=
9350 shared_flag='-shared'
9351 if test "$aix_use_runtimelinking" = yes; then
9352 shared_flag="$shared_flag "'${wl}-G'
9357 if test "$host_cpu" = ia64; then
9358 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9359 # chokes on -Wl,-G. The following line is correct:
9362 if test "$aix_use_runtimelinking" = yes; then
9363 shared_flag='${wl}-G'
9365 shared_flag='${wl}-bM:SRE'
9370 export_dynamic_flag_spec='${wl}-bexpall'
9371 # It seems that -bexpall does not export symbols beginning with
9372 # underscore (_), so it is better to generate a list of symbols to export.
9373 always_export_symbols=yes
9374 if test "$aix_use_runtimelinking" = yes; then
9375 # Warning - without using the other runtime loading flags (-brtl),
9376 # -berok will link without error, but may produce a broken library.
9377 allow_undefined_flag='-berok'
9378 # Determine the default libpath from the value encoded in an
9380 if test "${lt_cv_aix_libpath+set}" = set; then
9381 aix_libpath=$lt_cv_aix_libpath
9383 if ${lt_cv_aix_libpath_+:} false; then :
9384 $as_echo_n "(cached) " >&6
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9397 if ac_fn_c_try_link "$LINENO"; then :
9399 lt_aix_libpath_sed='
9400 /Import File Strings/,/^$/ {
9402 s/^0 *\([^ ]*\) *$/\1/
9406 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9407 # Check for a 64-bit object if we didn't find anything.
9408 if test -z "$lt_cv_aix_libpath_"; then
9409 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9412 rm -f core conftest.err conftest.$ac_objext \
9413 conftest$ac_exeext conftest.$ac_ext
9414 if test -z "$lt_cv_aix_libpath_"; then
9415 lt_cv_aix_libpath_="/usr/lib:/lib"
9420 aix_libpath=$lt_cv_aix_libpath_
9423 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9424 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"
9426 if test "$host_cpu" = ia64; then
9427 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9428 allow_undefined_flag="-z nodefs"
9429 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"
9431 # Determine the default libpath from the value encoded in an
9433 if test "${lt_cv_aix_libpath+set}" = set; then
9434 aix_libpath=$lt_cv_aix_libpath
9436 if ${lt_cv_aix_libpath_+:} false; then :
9437 $as_echo_n "(cached) " >&6
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9450 if ac_fn_c_try_link "$LINENO"; then :
9452 lt_aix_libpath_sed='
9453 /Import File Strings/,/^$/ {
9455 s/^0 *\([^ ]*\) *$/\1/
9459 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9460 # Check for a 64-bit object if we didn't find anything.
9461 if test -z "$lt_cv_aix_libpath_"; then
9462 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 if test -z "$lt_cv_aix_libpath_"; then
9468 lt_cv_aix_libpath_="/usr/lib:/lib"
9473 aix_libpath=$lt_cv_aix_libpath_
9476 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9477 # Warning - without using the other run time loading flags,
9478 # -berok will link without error, but may produce a broken library.
9479 no_undefined_flag=' ${wl}-bernotok'
9480 allow_undefined_flag=' ${wl}-berok'
9481 if test "$with_gnu_ld" = yes; then
9482 # We only use this code for GNU lds that support --whole-archive.
9483 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9485 # Exported symbols can be pulled into shared objects from archives
9486 whole_archive_flag_spec='$convenience'
9488 archive_cmds_need_lc=yes
9489 # This is similar to how AIX traditionally builds its shared libraries.
9490 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'
9498 # see comment about AmigaOS4 .so support
9499 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500 archive_expsym_cmds=''
9503 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)'
9504 hardcode_libdir_flag_spec='-L$libdir'
9505 hardcode_minus_L=yes
9511 export_dynamic_flag_spec=-rdynamic
9514 cygwin* | mingw* | pw32* | cegcc*)
9515 # When not using gcc, we currently assume that we are using
9516 # Microsoft Visual C++.
9517 # hardcode_libdir_flag_spec is actually meaningless, as there is
9518 # no search path for DLLs.
9519 case $cc_basename in
9522 hardcode_libdir_flag_spec=' '
9523 allow_undefined_flag=unsupported
9524 always_export_symbols=yes
9526 # Tell ltmain to make .lib files, not .a files.
9528 # Tell ltmain to make .dll files, not .so files.
9530 # FIXME: Setting linknames here is a bad hack.
9531 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9532 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9533 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9535 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9537 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9539 # The linker will not automatically build a static lib if we build a DLL.
9540 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9541 enable_shared_with_static_runtimes=yes
9542 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9543 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9545 old_postinstall_cmds='chmod 644 $oldlib'
9546 postlink_cmds='lt_outputfile="@OUTPUT@"~
9547 lt_tool_outputfile="@TOOL_OUTPUT@"~
9548 case $lt_outputfile in
9551 lt_outputfile="$lt_outputfile.exe"
9552 lt_tool_outputfile="$lt_tool_outputfile.exe"
9555 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9556 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9557 $RM "$lt_outputfile.manifest";
9561 # Assume MSVC wrapper
9562 hardcode_libdir_flag_spec=' '
9563 allow_undefined_flag=unsupported
9564 # Tell ltmain to make .lib files, not .a files.
9566 # Tell ltmain to make .dll files, not .so files.
9568 # FIXME: Setting linknames here is a bad hack.
9569 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9570 # The linker will automatically build a .lib file if we build a DLL.
9571 old_archive_from_new_cmds='true'
9572 # FIXME: Should let the user specify the lib program.
9573 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9574 enable_shared_with_static_runtimes=yes
9579 darwin* | rhapsody*)
9582 archive_cmds_need_lc=no
9584 hardcode_automatic=yes
9585 hardcode_shlibpath_var=unsupported
9586 if test "$lt_cv_ld_force_load" = "yes"; then
9587 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\"`'
9590 whole_archive_flag_spec=''
9592 link_all_deplibs=yes
9593 allow_undefined_flag="$_lt_dar_allow_undefined"
9594 case $cc_basename in
9595 ifort*) _lt_dar_can_shared=yes ;;
9596 *) _lt_dar_can_shared=$GCC ;;
9598 if test "$_lt_dar_can_shared" = "yes"; then
9599 output_verbose_link_cmd=func_echo_all
9600 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9601 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9602 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}"
9603 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}"
9612 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9613 hardcode_libdir_flag_spec='-L$libdir'
9614 hardcode_shlibpath_var=no
9617 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9618 # support. Future versions do this automatically, but an explicit c++rt0.o
9619 # does not break anything, and helps significantly (at the cost of a little
9622 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9623 hardcode_libdir_flag_spec='-R$libdir'
9625 hardcode_shlibpath_var=no
9628 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9630 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9632 hardcode_minus_L=yes
9633 hardcode_shlibpath_var=no
9636 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9637 freebsd* | dragonfly*)
9638 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9639 hardcode_libdir_flag_spec='-R$libdir'
9641 hardcode_shlibpath_var=no
9645 if test "$GCC" = yes; then
9646 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'
9648 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'
9650 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9651 hardcode_libdir_separator=:
9654 # hardcode_minus_L: Not really in the search PATH,
9655 # but as the default location of the library.
9656 hardcode_minus_L=yes
9657 export_dynamic_flag_spec='${wl}-E'
9661 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9662 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9664 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9666 if test "$with_gnu_ld" = no; then
9667 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9668 hardcode_libdir_separator=:
9670 hardcode_direct_absolute=yes
9671 export_dynamic_flag_spec='${wl}-E'
9672 # hardcode_minus_L: Not really in the search PATH,
9673 # but as the default location of the library.
9674 hardcode_minus_L=yes
9679 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9682 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9685 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9688 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9694 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9697 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9701 # Older versions of the 11.00 compiler do not understand -b yet
9702 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9704 $as_echo_n "checking if $CC understands -b... " >&6; }
9705 if ${lt_cv_prog_compiler__b+:} false; then :
9706 $as_echo_n "(cached) " >&6
9708 lt_cv_prog_compiler__b=no
9709 save_LDFLAGS="$LDFLAGS"
9710 LDFLAGS="$LDFLAGS -b"
9711 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9712 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9713 # The linker can only warn and ignore the option if not recognized
9714 # So say no if there are warnings
9715 if test -s conftest.err; then
9716 # Append any errors to the config.log.
9717 cat conftest.err 1>&5
9718 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9719 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9720 if diff conftest.exp conftest.er2 >/dev/null; then
9721 lt_cv_prog_compiler__b=yes
9724 lt_cv_prog_compiler__b=yes
9728 LDFLAGS="$save_LDFLAGS"
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9732 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9734 if test x"$lt_cv_prog_compiler__b" = xyes; then
9735 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9737 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9743 if test "$with_gnu_ld" = no; then
9744 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9745 hardcode_libdir_separator=:
9750 hardcode_shlibpath_var=no
9754 hardcode_direct_absolute=yes
9755 export_dynamic_flag_spec='${wl}-E'
9757 # hardcode_minus_L: Not really in the search PATH,
9758 # but as the default location of the library.
9759 hardcode_minus_L=yes
9765 irix5* | irix6* | nonstopux*)
9766 if test "$GCC" = yes; then
9767 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'
9768 # Try to use the -exported_symbol ld option, if it does not
9769 # work, assume that -exports_file does not work either and
9770 # implicitly export all symbols.
9771 # This should be the same for all languages, so no per-tag cache variable.
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9773 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9774 if ${lt_cv_irix_exported_symbol+:} false; then :
9775 $as_echo_n "(cached) " >&6
9777 save_LDFLAGS="$LDFLAGS"
9778 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9781 int foo (void) { return 0; }
9783 if ac_fn_c_try_link "$LINENO"; then :
9784 lt_cv_irix_exported_symbol=yes
9786 lt_cv_irix_exported_symbol=no
9788 rm -f core conftest.err conftest.$ac_objext \
9789 conftest$ac_exeext conftest.$ac_ext
9790 LDFLAGS="$save_LDFLAGS"
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9793 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9794 if test "$lt_cv_irix_exported_symbol" = yes; then
9795 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'
9798 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'
9799 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'
9801 archive_cmds_need_lc='no'
9802 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9803 hardcode_libdir_separator=:
9805 link_all_deplibs=yes
9808 netbsd* | netbsdelf*-gnu)
9809 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9810 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9812 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9814 hardcode_libdir_flag_spec='-R$libdir'
9816 hardcode_shlibpath_var=no
9820 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9822 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9823 hardcode_libdir_separator=:
9824 hardcode_shlibpath_var=no
9831 if test -f /usr/libexec/ld.so; then
9833 hardcode_shlibpath_var=no
9834 hardcode_direct_absolute=yes
9835 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9836 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9837 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9838 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9839 export_dynamic_flag_spec='${wl}-E'
9842 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9843 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9844 hardcode_libdir_flag_spec='-R$libdir'
9847 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9848 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9858 hardcode_libdir_flag_spec='-L$libdir'
9859 hardcode_minus_L=yes
9860 allow_undefined_flag=unsupported
9861 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'
9862 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9866 if test "$GCC" = yes; then
9867 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9868 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'
9870 allow_undefined_flag=' -expect_unresolved \*'
9871 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'
9873 archive_cmds_need_lc='no'
9874 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9875 hardcode_libdir_separator=:
9878 osf4* | osf5*) # as osf3* with the addition of -msym flag
9879 if test "$GCC" = yes; then
9880 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9881 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'
9882 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9884 allow_undefined_flag=' -expect_unresolved \*'
9885 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'
9886 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~
9887 $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'
9889 # Both c and cxx compiler support -rpath directly
9890 hardcode_libdir_flag_spec='-rpath $libdir'
9892 archive_cmds_need_lc='no'
9893 hardcode_libdir_separator=:
9897 no_undefined_flag=' -z defs'
9898 if test "$GCC" = yes; then
9900 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9901 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9902 $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'
9904 case `$CC -V 2>&1` in
9907 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9908 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9909 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9913 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9914 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9915 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9919 hardcode_libdir_flag_spec='-R$libdir'
9920 hardcode_shlibpath_var=no
9922 solaris2.[0-5] | solaris2.[0-5].*) ;;
9924 # The compiler driver will combine and reorder linker options,
9925 # but understands `-z linker_flag'. GCC discards it without `$wl',
9926 # but is careful enough not to reorder.
9927 # Supported since Solaris 2.6 (maybe 2.5.1?)
9928 if test "$GCC" = yes; then
9929 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9931 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9935 link_all_deplibs=yes
9939 if test "x$host_vendor" = xsequent; then
9940 # Use $CC to link under sequent, because it throws in some extra .o
9941 # files that make .init and .fini sections work.
9942 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9944 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9946 hardcode_libdir_flag_spec='-L$libdir'
9948 hardcode_minus_L=yes
9949 hardcode_shlibpath_var=no
9953 case $host_vendor in
9955 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9956 hardcode_direct=yes # is this really true???
9959 ## LD is ld it makes a PLAMLIB
9960 ## CC just makes a GrossModule.
9961 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9962 reload_cmds='$CC -r -o $output$reload_objs'
9966 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9967 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9970 runpath_var='LD_RUN_PATH'
9971 hardcode_shlibpath_var=no
9975 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9976 hardcode_shlibpath_var=no
9977 export_dynamic_flag_spec='-Bexport'
9981 if test -d /usr/nec; then
9982 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9983 hardcode_shlibpath_var=no
9984 runpath_var=LD_RUN_PATH
9985 hardcode_runpath_var=yes
9990 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9991 no_undefined_flag='${wl}-z,text'
9992 archive_cmds_need_lc=no
9993 hardcode_shlibpath_var=no
9994 runpath_var='LD_RUN_PATH'
9996 if test "$GCC" = yes; then
9997 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9998 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10000 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10001 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10005 sysv5* | sco3.2v5* | sco5v6*)
10006 # Note: We can NOT use -z defs as we might desire, because we do not
10007 # link with -lc, and that would cause any symbols used from libc to
10008 # always be unresolved, which means just about no library would
10009 # ever link correctly. If we're not using GNU ld we use -z text
10010 # though, which does catch some bad symbols but isn't as heavy-handed
10012 no_undefined_flag='${wl}-z,text'
10013 allow_undefined_flag='${wl}-z,nodefs'
10014 archive_cmds_need_lc=no
10015 hardcode_shlibpath_var=no
10016 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10017 hardcode_libdir_separator=':'
10018 link_all_deplibs=yes
10019 export_dynamic_flag_spec='${wl}-Bexport'
10020 runpath_var='LD_RUN_PATH'
10022 if test "$GCC" = yes; then
10023 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10026 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10032 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10033 hardcode_libdir_flag_spec='-L$libdir'
10034 hardcode_shlibpath_var=no
10042 if test x$host_vendor = xsni; then
10044 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10045 export_dynamic_flag_spec='${wl}-Blargedynsym'
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10052 $as_echo "$ld_shlibs" >&6; }
10053 test "$ld_shlibs" = no && can_build_shared=no
10055 with_gnu_ld=$with_gnu_ld
10072 # Do we need to explicitly link libc?
10074 case "x$archive_cmds_need_lc" in
10076 # Assume -lc should be added
10077 archive_cmds_need_lc=yes
10079 if test "$enable_shared" = yes && test "$GCC" = yes; then
10080 case $archive_cmds in
10082 # FIXME: we may have to deal with multi-command sequences.
10085 # Test whether the compiler implicitly links with -lc since on some
10086 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10087 # to ld, don't add -lc before -lgcc.
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10089 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10090 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10091 $as_echo_n "(cached) " >&6
10094 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10096 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10097 (eval $ac_compile) 2>&5
10099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10100 test $ac_status = 0; } 2>conftest.err; then
10103 libobjs=conftest.$ac_objext
10105 wl=$lt_prog_compiler_wl
10106 pic_flag=$lt_prog_compiler_pic
10112 lt_save_allow_undefined_flag=$allow_undefined_flag
10113 allow_undefined_flag=
10114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10115 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10118 test $ac_status = 0; }
10120 lt_cv_archive_cmds_need_lc=no
10122 lt_cv_archive_cmds_need_lc=yes
10124 allow_undefined_flag=$lt_save_allow_undefined_flag
10126 cat conftest.err 1>&5
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10132 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10133 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10292 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10294 if test "$GCC" = yes; then
10296 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10297 *) lt_awk_arg="/^libraries:/" ;;
10300 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10301 *) lt_sed_strip_eq="s,=/,/,g" ;;
10303 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10304 case $lt_search_path_spec in
10306 # if the path contains ";" then we assume it to be the separator
10307 # otherwise default to the standard path separator (i.e. ":") - it is
10308 # assumed that no part of a normal pathname contains ";" but that should
10309 # okay in the real world where ";" in dirpaths is itself problematic.
10310 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10313 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10316 # Ok, now we have the path, separated by spaces, we can step through it
10317 # and add multilib dir if necessary.
10318 lt_tmp_lt_search_path_spec=
10319 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10320 for lt_sys_path in $lt_search_path_spec; do
10321 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10322 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10324 test -d "$lt_sys_path" && \
10325 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10328 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10329 BEGIN {RS=" "; FS="/|\n";} {
10332 for (lt_i = NF; lt_i > 0; lt_i--) {
10333 if ($lt_i != "" && $lt_i != ".") {
10334 if ($lt_i == "..") {
10337 if (lt_count == 0) {
10338 lt_foo="/" $lt_i lt_foo;
10345 if (lt_foo != "") { lt_freq[lt_foo]++; }
10346 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10348 # AWK program above erroneously prepends '/' to C:/dos/paths
10351 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10352 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10354 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10356 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10358 library_names_spec=
10359 libname_spec='lib$name'
10363 postuninstall_cmds=
10367 shlibpath_overrides_runpath=unknown
10369 dynamic_linker="$host_os ld.so"
10370 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10371 need_lib_prefix=unknown
10372 hardcode_into_libs=no
10374 # when you set need_version to no, make sure it does not cause -set_version
10375 # flags to be left without arguments
10376 need_version=unknown
10380 version_type=linux # correct to gnu/linux during the next big refactor
10381 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10382 shlibpath_var=LIBPATH
10384 # AIX 3 has no versioning support, so we append a major version to the name.
10385 soname_spec='${libname}${release}${shared_ext}$major'
10389 version_type=linux # correct to gnu/linux during the next big refactor
10392 hardcode_into_libs=yes
10393 if test "$host_cpu" = ia64; then
10394 # AIX 5 supports IA64
10395 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10396 shlibpath_var=LD_LIBRARY_PATH
10398 # With GCC up to 2.95.x, collect2 would create an import file
10399 # for dependence libraries. The import file would start with
10400 # the line `#! .'. This would cause the generated library to
10401 # depend on `.', always an invalid library. This was fixed in
10402 # development snapshots of GCC prior to 3.0.
10404 aix4 | aix4.[01] | aix4.[01].*)
10405 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10407 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10410 can_build_shared=no
10414 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10415 # soname into executable. Probably we can add versioning support to
10416 # collect2, so additional links can be useful in future.
10417 if test "$aix_use_runtimelinking" = yes; then
10418 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10419 # instead of lib<name>.a to let people know that these are not
10420 # typical AIX shared libraries.
10421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10423 # We preserve .a as extension for shared libraries through AIX4.2
10424 # and later when we are not doing run time linking.
10425 library_names_spec='${libname}${release}.a $libname.a'
10426 soname_spec='${libname}${release}${shared_ext}$major'
10428 shlibpath_var=LIBPATH
10435 # Since July 2007 AmigaOS4 officially supports .so libraries.
10436 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10440 library_names_spec='$libname.ixlibrary $libname.a'
10441 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10442 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'
10448 library_names_spec='${libname}${shared_ext}'
10449 dynamic_linker="$host_os ld.so"
10450 shlibpath_var=LIBRARY_PATH
10454 version_type=linux # correct to gnu/linux during the next big refactor
10456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10457 soname_spec='${libname}${release}${shared_ext}$major'
10458 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10459 shlibpath_var=LD_LIBRARY_PATH
10460 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10461 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10462 # the default ld.so.conf also contains /usr/contrib/lib and
10463 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10464 # libtool to hard-code these into programs
10467 cygwin* | mingw* | pw32* | cegcc*)
10468 version_type=windows
10473 case $GCC,$cc_basename in
10476 library_names_spec='$libname.dll.a'
10477 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10478 postinstall_cmds='base_file=`basename \${file}`~
10479 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10480 dldir=$destdir/`dirname \$dlpath`~
10481 test -d \$dldir || mkdir -p \$dldir~
10482 $install_prog $dir/$dlname \$dldir/$dlname~
10483 chmod a+x \$dldir/$dlname~
10484 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10485 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10487 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10488 dlpath=$dir/\$dldll~
10490 shlibpath_overrides_runpath=yes
10494 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10495 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10497 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10500 # MinGW DLLs use traditional 'lib' prefix
10501 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10504 # pw32 DLLs use 'pw' prefix rather than 'lib'
10505 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10508 dynamic_linker='Win32 ld.exe'
10513 libname_spec='$name'
10514 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10515 library_names_spec='${libname}.dll.lib'
10519 sys_lib_search_path_spec=
10522 for lt_path in $LIB
10525 # Let DOS variable expansion print the short 8.3 style file name.
10526 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10527 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10530 # Convert to MSYS style.
10531 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10534 # Convert to unix form, then to dos form, then back to unix form
10535 # but this time dos style (no spaces!) so that the unix form looks
10536 # like /cygdrive/c/PROGRA~1:/cygdr...
10537 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10538 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10539 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10542 sys_lib_search_path_spec="$LIB"
10543 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10544 # It is most probably a Windows format PATH.
10545 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10547 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10549 # FIXME: find the short name or the path components, as spaces are
10550 # common. (e.g. "Program Files" -> "PROGRA~1")
10554 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10555 postinstall_cmds='base_file=`basename \${file}`~
10556 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10557 dldir=$destdir/`dirname \$dlpath`~
10558 test -d \$dldir || mkdir -p \$dldir~
10559 $install_prog $dir/$dlname \$dldir/$dlname'
10560 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10561 dlpath=$dir/\$dldll~
10563 shlibpath_overrides_runpath=yes
10564 dynamic_linker='Win32 link.exe'
10568 # Assume MSVC wrapper
10569 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10570 dynamic_linker='Win32 ld.exe'
10573 # FIXME: first we should search . and the directory the executable is in
10577 darwin* | rhapsody*)
10578 dynamic_linker="$host_os dyld"
10579 version_type=darwin
10582 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10583 soname_spec='${libname}${release}${major}$shared_ext'
10584 shlibpath_overrides_runpath=yes
10585 shlibpath_var=DYLD_LIBRARY_PATH
10586 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10588 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10589 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10593 version_type=linux # correct to gnu/linux during the next big refactor
10596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10597 soname_spec='${libname}${release}${shared_ext}$major'
10598 shlibpath_var=LD_LIBRARY_PATH
10601 freebsd* | dragonfly*)
10602 # DragonFly does not have aout. When/if they implement a new
10603 # versioning mechanism, adjust this.
10604 if test -x /usr/bin/objformat; then
10605 objformat=`/usr/bin/objformat`
10608 freebsd[23].*) objformat=aout ;;
10609 *) objformat=elf ;;
10612 version_type=freebsd-$objformat
10613 case $version_type in
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10620 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10624 shlibpath_var=LD_LIBRARY_PATH
10627 shlibpath_overrides_runpath=yes
10629 freebsd3.[01]* | freebsdelf3.[01]*)
10630 shlibpath_overrides_runpath=yes
10631 hardcode_into_libs=yes
10633 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10634 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10635 shlibpath_overrides_runpath=no
10636 hardcode_into_libs=yes
10638 *) # from 4.6 on, and DragonFly
10639 shlibpath_overrides_runpath=yes
10640 hardcode_into_libs=yes
10646 version_type=linux # correct to gnu/linux during the next big refactor
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10650 soname_spec='${libname}${release}${shared_ext}$major'
10651 shlibpath_var=LD_LIBRARY_PATH
10652 shlibpath_overrides_runpath=no
10653 hardcode_into_libs=yes
10657 version_type=linux # correct to gnu/linux during the next big refactor
10660 dynamic_linker="$host_os runtime_loader"
10661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10662 soname_spec='${libname}${release}${shared_ext}$major'
10663 shlibpath_var=LIBRARY_PATH
10664 shlibpath_overrides_runpath=yes
10665 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10666 hardcode_into_libs=yes
10669 hpux9* | hpux10* | hpux11*)
10670 # Give a soname corresponding to the major version so that dld.sl refuses to
10671 # link against other versions.
10678 hardcode_into_libs=yes
10679 dynamic_linker="$host_os dld.so"
10680 shlibpath_var=LD_LIBRARY_PATH
10681 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10683 soname_spec='${libname}${release}${shared_ext}$major'
10684 if test "X$HPUX_IA64_MODE" = X32; then
10685 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10687 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10689 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10693 hardcode_into_libs=yes
10694 dynamic_linker="$host_os dld.sl"
10695 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10696 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10698 soname_spec='${libname}${release}${shared_ext}$major'
10699 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10700 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10704 dynamic_linker="$host_os dld.sl"
10705 shlibpath_var=SHLIB_PATH
10706 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10708 soname_spec='${libname}${release}${shared_ext}$major'
10711 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10712 postinstall_cmds='chmod 555 $lib'
10713 # or fails outright, so override atomically:
10714 install_override_mode=555
10718 version_type=linux # correct to gnu/linux during the next big refactor
10721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10722 soname_spec='${libname}${release}${shared_ext}$major'
10723 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10724 shlibpath_var=LD_LIBRARY_PATH
10725 shlibpath_overrides_runpath=no
10726 hardcode_into_libs=yes
10729 irix5* | irix6* | nonstopux*)
10731 nonstopux*) version_type=nonstopux ;;
10733 if test "$lt_cv_prog_gnu_ld" = yes; then
10734 version_type=linux # correct to gnu/linux during the next big refactor
10741 soname_spec='${libname}${release}${shared_ext}$major'
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10744 irix5* | nonstopux*)
10745 libsuff= shlibsuff=
10748 case $LD in # libtool.m4 will add one of these switches to LD
10749 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10750 libsuff= shlibsuff= libmagic=32-bit;;
10751 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10752 libsuff=32 shlibsuff=N32 libmagic=N32;;
10753 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10754 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10755 *) libsuff= shlibsuff= libmagic=never-match;;
10759 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10760 shlibpath_overrides_runpath=no
10761 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10762 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10763 hardcode_into_libs=yes
10766 # No shared lib support for Linux oldld, aout, or coff.
10767 linux*oldld* | linux*aout* | linux*coff*)
10771 # This must be glibc/ELF.
10772 linux* | k*bsd*-gnu | kopensolaris*-gnu)
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 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10779 shlibpath_var=LD_LIBRARY_PATH
10780 shlibpath_overrides_runpath=no
10782 # Some binutils ld are patched to set DT_RUNPATH
10783 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10784 $as_echo_n "(cached) " >&6
10786 lt_cv_shlibpath_overrides_runpath=no
10787 save_LDFLAGS=$LDFLAGS
10788 save_libdir=$libdir
10789 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10790 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10802 if ac_fn_c_try_link "$LINENO"; then :
10803 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10804 lt_cv_shlibpath_overrides_runpath=yes
10807 rm -f core conftest.err conftest.$ac_objext \
10808 conftest$ac_exeext conftest.$ac_ext
10809 LDFLAGS=$save_LDFLAGS
10810 libdir=$save_libdir
10814 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10816 # This implies no fast_install, which is unacceptable.
10817 # Some rework will be needed to allow for fast_install
10818 # before this can be enabled.
10819 hardcode_into_libs=yes
10821 # Append ld.so.conf contents to the search path
10822 if test -f /etc/ld.so.conf; then
10823 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' ' '`
10824 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10827 # We used to test for /lib/ld.so.1 and disable shared libraries on
10828 # powerpc, because MkLinux only supported shared libraries with the
10829 # GNU dynamic linker. Since this was broken with cross compilers,
10830 # most powerpc-linux boxes support dynamic linking these days and
10831 # people can always --disable-shared, the test was removed, and we
10832 # assume the GNU/Linux dynamic linker is in use.
10833 dynamic_linker='GNU/Linux ld.so'
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10841 soname_spec='${libname}${release}${shared_ext}$major'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844 hardcode_into_libs=yes
10845 dynamic_linker='NetBSD ld.elf_so'
10852 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10854 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10855 dynamic_linker='NetBSD (a.out) ld.so'
10857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10858 soname_spec='${libname}${release}${shared_ext}$major'
10859 dynamic_linker='NetBSD ld.elf_so'
10861 shlibpath_var=LD_LIBRARY_PATH
10862 shlibpath_overrides_runpath=yes
10863 hardcode_into_libs=yes
10867 version_type=linux # correct to gnu/linux during the next big refactor
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 shlibpath_var=LD_LIBRARY_PATH
10870 shlibpath_overrides_runpath=yes
10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10878 soname_spec='${libname}${release}${shared_ext}$major'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 shlibpath_overrides_runpath=no
10881 hardcode_into_libs=yes
10882 dynamic_linker='ldqnx.so'
10887 sys_lib_dlsearch_path_spec="/usr/lib"
10889 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10891 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10892 *) need_version=no ;;
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10899 openbsd2.[89] | openbsd2.[89].*)
10900 shlibpath_overrides_runpath=no
10903 shlibpath_overrides_runpath=yes
10907 shlibpath_overrides_runpath=yes
10912 libname_spec='$name'
10915 library_names_spec='$libname${shared_ext} $libname.a'
10916 dynamic_linker='OS/2 ld.exe'
10917 shlibpath_var=LIBPATH
10920 osf3* | osf4* | osf5*)
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10928 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10936 version_type=linux # correct to gnu/linux during the next big refactor
10939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940 soname_spec='${libname}${release}${shared_ext}$major'
10941 shlibpath_var=LD_LIBRARY_PATH
10942 shlibpath_overrides_runpath=yes
10943 hardcode_into_libs=yes
10944 # ldd complains unless libraries are executable
10945 postinstall_cmds='chmod +x $lib'
10950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10951 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10952 shlibpath_var=LD_LIBRARY_PATH
10953 shlibpath_overrides_runpath=yes
10954 if test "$with_gnu_ld" = yes; then
10961 version_type=linux # correct to gnu/linux during the next big refactor
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10963 soname_spec='${libname}${release}${shared_ext}$major'
10964 shlibpath_var=LD_LIBRARY_PATH
10965 case $host_vendor in
10967 shlibpath_overrides_runpath=no
10969 runpath_var=LD_RUN_PATH
10977 shlibpath_overrides_runpath=no
10978 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10984 if test -d /usr/nec ;then
10985 version_type=linux # correct to gnu/linux during the next big refactor
10986 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10987 soname_spec='$libname${shared_ext}.$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10992 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10993 version_type=freebsd-elf
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 hardcode_into_libs=yes
11001 if test "$with_gnu_ld" = yes; then
11002 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11004 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11007 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11011 sys_lib_dlsearch_path_spec='/usr/lib'
11015 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11016 version_type=linux # correct to gnu/linux during the next big refactor
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020 shlibpath_var=LD_LIBRARY_PATH
11021 shlibpath_overrides_runpath=no
11022 hardcode_into_libs=yes
11026 version_type=linux # correct to gnu/linux during the next big refactor
11027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11028 soname_spec='${libname}${release}${shared_ext}$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11037 $as_echo "$dynamic_linker" >&6; }
11038 test "$dynamic_linker" = no && can_build_shared=no
11040 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11041 if test "$GCC" = yes; then
11042 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11045 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11046 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11048 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11049 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11144 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11146 if test -n "$hardcode_libdir_flag_spec" ||
11147 test -n "$runpath_var" ||
11148 test "X$hardcode_automatic" = "Xyes" ; then
11150 # We can hardcode non-existent directories.
11151 if test "$hardcode_direct" != no &&
11152 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11153 # have to relink, otherwise we might link with an installed library
11154 # when we should be linking with a yet-to-be-installed one
11155 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11156 test "$hardcode_minus_L" != no; then
11157 # Linking always hardcodes the temporary library directory.
11158 hardcode_action=relink
11160 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11161 hardcode_action=immediate
11164 # We cannot hardcode anything, or else we can only hardcode existing
11166 hardcode_action=unsupported
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11169 $as_echo "$hardcode_action" >&6; }
11171 if test "$hardcode_action" = relink ||
11172 test "$inherit_rpath" = yes; then
11173 # Fast installation is not supported
11174 enable_fast_install=no
11175 elif test "$shlibpath_overrides_runpath" = yes ||
11176 test "$enable_shared" = no; then
11177 # Fast installation is not necessary
11178 enable_fast_install=needless
11186 if test "x$enable_dlopen" != xyes; then
11187 enable_dlopen=unknown
11188 enable_dlopen_self=unknown
11189 enable_dlopen_self_static=unknown
11196 lt_cv_dlopen="load_add_on"
11198 lt_cv_dlopen_self=yes
11201 mingw* | pw32* | cegcc*)
11202 lt_cv_dlopen="LoadLibrary"
11207 lt_cv_dlopen="dlopen"
11212 # if libdl is installed we need to link against it
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11214 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11215 if ${ac_cv_lib_dl_dlopen+:} false; then :
11216 $as_echo_n "(cached) " >&6
11218 ac_check_lib_save_LIBS=$LIBS
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11238 if ac_fn_c_try_link "$LINENO"; then :
11239 ac_cv_lib_dl_dlopen=yes
11241 ac_cv_lib_dl_dlopen=no
11243 rm -f core conftest.err conftest.$ac_objext \
11244 conftest$ac_exeext conftest.$ac_ext
11245 LIBS=$ac_check_lib_save_LIBS
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11248 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11249 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11250 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11253 lt_cv_dlopen="dyld"
11255 lt_cv_dlopen_self=yes
11262 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11263 if test "x$ac_cv_func_shl_load" = xyes; then :
11264 lt_cv_dlopen="shl_load"
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11267 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11268 if ${ac_cv_lib_dld_shl_load+:} false; then :
11269 $as_echo_n "(cached) " >&6
11271 ac_check_lib_save_LIBS=$LIBS
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11286 return shl_load ();
11291 if ac_fn_c_try_link "$LINENO"; then :
11292 ac_cv_lib_dld_shl_load=yes
11294 ac_cv_lib_dld_shl_load=no
11296 rm -f core conftest.err conftest.$ac_objext \
11297 conftest$ac_exeext conftest.$ac_ext
11298 LIBS=$ac_check_lib_save_LIBS
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11301 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11302 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11303 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11305 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11306 if test "x$ac_cv_func_dlopen" = xyes; then :
11307 lt_cv_dlopen="dlopen"
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11310 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11311 if ${ac_cv_lib_dl_dlopen+:} false; then :
11312 $as_echo_n "(cached) " >&6
11314 ac_check_lib_save_LIBS=$LIBS
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11319 /* Override any GCC internal prototype to avoid an error.
11320 Use char because int might match the return type of a GCC
11321 builtin and then its argument prototype would still apply. */
11334 if ac_fn_c_try_link "$LINENO"; then :
11335 ac_cv_lib_dl_dlopen=yes
11337 ac_cv_lib_dl_dlopen=no
11339 rm -f core conftest.err conftest.$ac_objext \
11340 conftest$ac_exeext conftest.$ac_ext
11341 LIBS=$ac_check_lib_save_LIBS
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11344 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11345 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11346 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11349 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11350 if ${ac_cv_lib_svld_dlopen+:} false; then :
11351 $as_echo_n "(cached) " >&6
11353 ac_check_lib_save_LIBS=$LIBS
11354 LIBS="-lsvld $LIBS"
11355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11358 /* Override any GCC internal prototype to avoid an error.
11359 Use char because int might match the return type of a GCC
11360 builtin and then its argument prototype would still apply. */
11373 if ac_fn_c_try_link "$LINENO"; then :
11374 ac_cv_lib_svld_dlopen=yes
11376 ac_cv_lib_svld_dlopen=no
11378 rm -f core conftest.err conftest.$ac_objext \
11379 conftest$ac_exeext conftest.$ac_ext
11380 LIBS=$ac_check_lib_save_LIBS
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11383 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11384 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11385 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11388 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11389 if ${ac_cv_lib_dld_dld_link+:} false; then :
11390 $as_echo_n "(cached) " >&6
11392 ac_check_lib_save_LIBS=$LIBS
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11407 return dld_link ();
11412 if ac_fn_c_try_link "$LINENO"; then :
11413 ac_cv_lib_dld_dld_link=yes
11415 ac_cv_lib_dld_dld_link=no
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11422 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11423 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11424 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11445 if test "x$lt_cv_dlopen" != xno; then
11451 case $lt_cv_dlopen in
11453 save_CPPFLAGS="$CPPFLAGS"
11454 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11456 save_LDFLAGS="$LDFLAGS"
11457 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11460 LIBS="$lt_cv_dlopen_libs $LIBS"
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11463 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11464 if ${lt_cv_dlopen_self+:} false; then :
11465 $as_echo_n "(cached) " >&6
11467 if test "$cross_compiling" = yes; then :
11468 lt_cv_dlopen_self=cross
11470 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11471 lt_status=$lt_dlunknown
11472 cat > conftest.$ac_ext <<_LT_EOF
11473 #line $LINENO "configure"
11474 #include "confdefs.h"
11483 # define LT_DLGLOBAL RTLD_GLOBAL
11486 # define LT_DLGLOBAL DL_GLOBAL
11488 # define LT_DLGLOBAL 0
11492 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11493 find out it does not work in some platform. */
11494 #ifndef LT_DLLAZY_OR_NOW
11496 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11499 # define LT_DLLAZY_OR_NOW DL_LAZY
11502 # define LT_DLLAZY_OR_NOW RTLD_NOW
11505 # define LT_DLLAZY_OR_NOW DL_NOW
11507 # define LT_DLLAZY_OR_NOW 0
11514 /* When -fvisbility=hidden is used, assume the code has been annotated
11515 correspondingly for the symbols needed. */
11516 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11517 int fnord () __attribute__((visibility("default")));
11520 int fnord () { return 42; }
11523 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11524 int status = $lt_dlunknown;
11528 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11531 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11532 else puts (dlerror ());
11534 /* dlclose (self); */
11542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11543 (eval $ac_link) 2>&5
11545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11546 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11547 (./conftest; exit; ) >&5 2>/dev/null
11549 case x$lt_status in
11550 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11551 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11552 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11555 # compilation failed
11556 lt_cv_dlopen_self=no
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11564 $as_echo "$lt_cv_dlopen_self" >&6; }
11566 if test "x$lt_cv_dlopen_self" = xyes; then
11567 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11569 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11570 if ${lt_cv_dlopen_self_static+:} false; then :
11571 $as_echo_n "(cached) " >&6
11573 if test "$cross_compiling" = yes; then :
11574 lt_cv_dlopen_self_static=cross
11576 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11577 lt_status=$lt_dlunknown
11578 cat > conftest.$ac_ext <<_LT_EOF
11579 #line $LINENO "configure"
11580 #include "confdefs.h"
11589 # define LT_DLGLOBAL RTLD_GLOBAL
11592 # define LT_DLGLOBAL DL_GLOBAL
11594 # define LT_DLGLOBAL 0
11598 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11599 find out it does not work in some platform. */
11600 #ifndef LT_DLLAZY_OR_NOW
11602 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11605 # define LT_DLLAZY_OR_NOW DL_LAZY
11608 # define LT_DLLAZY_OR_NOW RTLD_NOW
11611 # define LT_DLLAZY_OR_NOW DL_NOW
11613 # define LT_DLLAZY_OR_NOW 0
11620 /* When -fvisbility=hidden is used, assume the code has been annotated
11621 correspondingly for the symbols needed. */
11622 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11623 int fnord () __attribute__((visibility("default")));
11626 int fnord () { return 42; }
11629 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11630 int status = $lt_dlunknown;
11634 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11637 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11638 else puts (dlerror ());
11640 /* dlclose (self); */
11648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11649 (eval $ac_link) 2>&5
11651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11652 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11653 (./conftest; exit; ) >&5 2>/dev/null
11655 case x$lt_status in
11656 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11657 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11658 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11661 # compilation failed
11662 lt_cv_dlopen_self_static=no
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11670 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11673 CPPFLAGS="$save_CPPFLAGS"
11674 LDFLAGS="$save_LDFLAGS"
11679 case $lt_cv_dlopen_self in
11680 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11681 *) enable_dlopen_self=unknown ;;
11684 case $lt_cv_dlopen_self_static in
11685 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11686 *) enable_dlopen_self_static=unknown ;;
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11709 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11710 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11711 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11712 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11714 $as_echo "yes" >&6; }
11716 # FIXME - insert some real tests, host_os isn't really good enough
11719 if test -n "$STRIP" ; then
11720 striplib="$STRIP -x"
11721 old_striplib="$STRIP -S"
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11723 $as_echo "yes" >&6; }
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11726 $as_echo "no" >&6; }
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11731 $as_echo "no" >&6; }
11747 # Report which library types will actually be built
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11749 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11751 $as_echo "$can_build_shared" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11754 $as_echo_n "checking whether to build shared libraries... " >&6; }
11755 test "$can_build_shared" = "no" && enable_shared=no
11757 # On AIX, shared libraries and static libraries use the same namespace, and
11758 # are all built from PIC.
11761 test "$enable_shared" = yes && enable_static=no
11762 if test -n "$RANLIB"; then
11763 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11764 postinstall_cmds='$RANLIB $lib'
11769 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11770 test "$enable_shared" = yes && enable_static=no
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11775 $as_echo "$enable_shared" >&6; }
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11778 $as_echo_n "checking whether to build static libraries... " >&6; }
11779 # Make sure either enable_shared or enable_static is yes.
11780 test "$enable_shared" = yes || enable_static=yes
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11782 $as_echo "$enable_static" >&6; }
11789 ac_cpp='$CPP $CPPFLAGS'
11790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11810 ac_config_commands="$ac_config_commands libtool"
11815 # Only expand once:
11819 # Checks for programs.
11827 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11828 if test -n "$ac_tool_prefix"; then
11829 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11830 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11832 $as_echo_n "checking for $ac_word... " >&6; }
11833 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11834 $as_echo_n "(cached) " >&6
11836 case $PKG_CONFIG in
11838 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11842 for as_dir in $PATH
11845 test -z "$as_dir" && as_dir=.
11846 for ac_exec_ext in '' $ac_executable_extensions; do
11847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11848 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11859 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11860 if test -n "$PKG_CONFIG"; then
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11862 $as_echo "$PKG_CONFIG" >&6; }
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11865 $as_echo "no" >&6; }
11870 if test -z "$ac_cv_path_PKG_CONFIG"; then
11871 ac_pt_PKG_CONFIG=$PKG_CONFIG
11872 # Extract the first word of "pkg-config", so it can be a program name with args.
11873 set dummy pkg-config; ac_word=$2
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11875 $as_echo_n "checking for $ac_word... " >&6; }
11876 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11877 $as_echo_n "(cached) " >&6
11879 case $ac_pt_PKG_CONFIG in
11881 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11885 for as_dir in $PATH
11888 test -z "$as_dir" && as_dir=.
11889 for ac_exec_ext in '' $ac_executable_extensions; do
11890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11891 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11902 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11903 if test -n "$ac_pt_PKG_CONFIG"; then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11905 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11908 $as_echo "no" >&6; }
11911 if test "x$ac_pt_PKG_CONFIG" = x; then
11914 case $cross_compiling:$ac_tool_warned in
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11918 ac_tool_warned=yes ;;
11920 PKG_CONFIG=$ac_pt_PKG_CONFIG
11923 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11927 if test -n "$PKG_CONFIG"; then
11928 _pkg_min_version=0.23
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11930 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11931 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11933 $as_echo "yes" >&6; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11936 $as_echo "no" >&6; }
11941 ac_cpp='$CPP $CPPFLAGS'
11942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11945 if test -n "$ac_tool_prefix"; then
11946 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11947 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11949 $as_echo_n "checking for $ac_word... " >&6; }
11950 if ${ac_cv_prog_CC+:} false; then :
11951 $as_echo_n "(cached) " >&6
11953 if test -n "$CC"; then
11954 ac_cv_prog_CC="$CC" # Let the user override the test.
11956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11957 for as_dir in $PATH
11960 test -z "$as_dir" && as_dir=.
11961 for ac_exec_ext in '' $ac_executable_extensions; do
11962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11963 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11974 if test -n "$CC"; then
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11976 $as_echo "$CC" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11979 $as_echo "no" >&6; }
11984 if test -z "$ac_cv_prog_CC"; then
11986 # Extract the first word of "gcc", so it can be a program name with args.
11987 set dummy gcc; ac_word=$2
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11989 $as_echo_n "checking for $ac_word... " >&6; }
11990 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11991 $as_echo_n "(cached) " >&6
11993 if test -n "$ac_ct_CC"; then
11994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11997 for as_dir in $PATH
12000 test -z "$as_dir" && as_dir=.
12001 for ac_exec_ext in '' $ac_executable_extensions; do
12002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12003 ac_cv_prog_ac_ct_CC="gcc"
12004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12013 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12014 if test -n "$ac_ct_CC"; then
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12016 $as_echo "$ac_ct_CC" >&6; }
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12019 $as_echo "no" >&6; }
12022 if test "x$ac_ct_CC" = x; then
12025 case $cross_compiling:$ac_tool_warned in
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12029 ac_tool_warned=yes ;;
12034 CC="$ac_cv_prog_CC"
12037 if test -z "$CC"; then
12038 if test -n "$ac_tool_prefix"; then
12039 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12040 set dummy ${ac_tool_prefix}cc; ac_word=$2
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12042 $as_echo_n "checking for $ac_word... " >&6; }
12043 if ${ac_cv_prog_CC+:} false; then :
12044 $as_echo_n "(cached) " >&6
12046 if test -n "$CC"; then
12047 ac_cv_prog_CC="$CC" # Let the user override the test.
12049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12050 for as_dir in $PATH
12053 test -z "$as_dir" && as_dir=.
12054 for ac_exec_ext in '' $ac_executable_extensions; do
12055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12056 ac_cv_prog_CC="${ac_tool_prefix}cc"
12057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12067 if test -n "$CC"; then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12069 $as_echo "$CC" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12072 $as_echo "no" >&6; }
12078 if test -z "$CC"; then
12079 # Extract the first word of "cc", so it can be a program name with args.
12080 set dummy cc; ac_word=$2
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12082 $as_echo_n "checking for $ac_word... " >&6; }
12083 if ${ac_cv_prog_CC+:} false; then :
12084 $as_echo_n "(cached) " >&6
12086 if test -n "$CC"; then
12087 ac_cv_prog_CC="$CC" # Let the user override the test.
12089 ac_prog_rejected=no
12090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12091 for as_dir in $PATH
12094 test -z "$as_dir" && as_dir=.
12095 for ac_exec_ext in '' $ac_executable_extensions; do
12096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12097 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12098 ac_prog_rejected=yes
12102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12109 if test $ac_prog_rejected = yes; then
12110 # We found a bogon in the path, so make sure we never use it.
12111 set dummy $ac_cv_prog_CC
12113 if test $# != 0; then
12114 # We chose a different compiler from the bogus one.
12115 # However, it has the same basename, so the bogon will be chosen
12116 # first if we set CC to just the basename; use the full file name.
12118 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12124 if test -n "$CC"; then
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12126 $as_echo "$CC" >&6; }
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12129 $as_echo "no" >&6; }
12134 if test -z "$CC"; then
12135 if test -n "$ac_tool_prefix"; then
12136 for ac_prog in cl.exe
12138 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12139 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12141 $as_echo_n "checking for $ac_word... " >&6; }
12142 if ${ac_cv_prog_CC+:} false; then :
12143 $as_echo_n "(cached) " >&6
12145 if test -n "$CC"; then
12146 ac_cv_prog_CC="$CC" # Let the user override the test.
12148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12149 for as_dir in $PATH
12152 test -z "$as_dir" && as_dir=.
12153 for ac_exec_ext in '' $ac_executable_extensions; do
12154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12155 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12166 if test -n "$CC"; then
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12168 $as_echo "$CC" >&6; }
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12171 $as_echo "no" >&6; }
12175 test -n "$CC" && break
12178 if test -z "$CC"; then
12180 for ac_prog in cl.exe
12182 # Extract the first word of "$ac_prog", so it can be a program name with args.
12183 set dummy $ac_prog; ac_word=$2
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12185 $as_echo_n "checking for $ac_word... " >&6; }
12186 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12187 $as_echo_n "(cached) " >&6
12189 if test -n "$ac_ct_CC"; then
12190 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12193 for as_dir in $PATH
12196 test -z "$as_dir" && as_dir=.
12197 for ac_exec_ext in '' $ac_executable_extensions; do
12198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12199 ac_cv_prog_ac_ct_CC="$ac_prog"
12200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12209 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12210 if test -n "$ac_ct_CC"; then
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12212 $as_echo "$ac_ct_CC" >&6; }
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12215 $as_echo "no" >&6; }
12219 test -n "$ac_ct_CC" && break
12222 if test "x$ac_ct_CC" = x; then
12225 case $cross_compiling:$ac_tool_warned in
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12229 ac_tool_warned=yes ;;
12238 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12240 as_fn_error $? "no acceptable C compiler found in \$PATH
12241 See \`config.log' for more details" "$LINENO" 5; }
12243 # Provide some information about the compiler.
12244 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12247 for ac_option in --version -v -V -qversion; do
12248 { { ac_try="$ac_compiler $ac_option >&5"
12249 case "(($ac_try" in
12250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12251 *) ac_try_echo=$ac_try;;
12253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12254 $as_echo "$ac_try_echo"; } >&5
12255 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12257 if test -s conftest.err; then
12259 ... rest of stderr output deleted ...
12260 10q' conftest.err >conftest.er1
12261 cat conftest.er1 >&5
12263 rm -f conftest.er1 conftest.err
12264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12265 test $ac_status = 0; }
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12269 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12270 if ${ac_cv_c_compiler_gnu+:} false; then :
12271 $as_echo_n "(cached) " >&6
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12287 if ac_fn_c_try_compile "$LINENO"; then :
12288 ac_compiler_gnu=yes
12292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12293 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12297 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12298 if test $ac_compiler_gnu = yes; then
12303 ac_test_CFLAGS=${CFLAGS+set}
12304 ac_save_CFLAGS=$CFLAGS
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12306 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12307 if ${ac_cv_prog_cc_g+:} false; then :
12308 $as_echo_n "(cached) " >&6
12310 ac_save_c_werror_flag=$ac_c_werror_flag
12311 ac_c_werror_flag=yes
12314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12325 if ac_fn_c_try_compile "$LINENO"; then :
12326 ac_cv_prog_cc_g=yes
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12340 if ac_fn_c_try_compile "$LINENO"; then :
12343 ac_c_werror_flag=$ac_save_c_werror_flag
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h. */
12356 if ac_fn_c_try_compile "$LINENO"; then :
12357 ac_cv_prog_cc_g=yes
12359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12364 ac_c_werror_flag=$ac_save_c_werror_flag
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12367 $as_echo "$ac_cv_prog_cc_g" >&6; }
12368 if test "$ac_test_CFLAGS" = set; then
12369 CFLAGS=$ac_save_CFLAGS
12370 elif test $ac_cv_prog_cc_g = yes; then
12371 if test "$GCC" = yes; then
12377 if test "$GCC" = yes; then
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12384 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12385 if ${ac_cv_prog_cc_c89+:} false; then :
12386 $as_echo_n "(cached) " >&6
12388 ac_cv_prog_cc_c89=no
12390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12392 #include <stdarg.h>
12395 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12396 struct buf { int x; };
12397 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12398 static char *e (p, i)
12404 static char *f (char * (*g) (char **, int), char **p, ...)
12409 s = g (p, va_arg (v,int));
12414 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12415 function prototypes and stuff, but not '\xHH' hex character constants.
12416 These don't provoke an error unfortunately, instead are silently treated
12417 as 'x'. The following induces an error, until -std is added to get
12418 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12419 array size at least. It's necessary to write '\x00'==0 to get something
12420 that's true only with -std. */
12421 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12423 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12424 inside strings and character constants. */
12426 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12428 int test (int i, double x);
12429 struct s1 {int (*f) (int a);};
12430 struct s2 {int (*f) (double a);};
12431 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12437 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12442 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12443 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12445 CC="$ac_save_CC $ac_arg"
12446 if ac_fn_c_try_compile "$LINENO"; then :
12447 ac_cv_prog_cc_c89=$ac_arg
12449 rm -f core conftest.err conftest.$ac_objext
12450 test "x$ac_cv_prog_cc_c89" != "xno" && break
12452 rm -f conftest.$ac_ext
12457 case "x$ac_cv_prog_cc_c89" in
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12460 $as_echo "none needed" >&6; } ;;
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12463 $as_echo "unsupported" >&6; } ;;
12465 CC="$CC $ac_cv_prog_cc_c89"
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12467 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12469 if test "x$ac_cv_prog_cc_c89" != xno; then :
12474 ac_cpp='$CPP $CPPFLAGS'
12475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12479 depcc="$CC" am_compiler_list=
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12482 $as_echo_n "checking dependency style of $depcc... " >&6; }
12483 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12484 $as_echo_n "(cached) " >&6
12486 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12487 # We make a subdir and do the tests there. Otherwise we can end up
12488 # making bogus files that we don't know about and never remove. For
12489 # instance it was reported that on HP-UX the gcc test will end up
12490 # making a dummy file named `D' -- because `-MD' means `put the output
12492 rm -rf conftest.dir
12494 # Copy depcomp to subdir because otherwise we won't find it if we're
12495 # using a relative directory.
12496 cp "$am_depcomp" conftest.dir
12498 # We will build objects and dependencies in a subdirectory because
12499 # it helps to detect inapplicable dependency modes. For instance
12500 # both Tru64's cc and ICC support -MD to output dependencies as a
12501 # side effect of compilation, but ICC will put the dependencies in
12502 # the current directory while Tru64 will put them in the object
12506 am_cv_CC_dependencies_compiler_type=none
12507 if test "$am_compiler_list" = ""; then
12508 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12510 am__universal=false
12511 case " $depcc " in #(
12512 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12515 for depmode in $am_compiler_list; do
12516 # Setup a source with many dependencies, because some compilers
12517 # like to wrap large dependency lists on column 80 (with \), and
12518 # we should not choose a depcomp mode which is confused by this.
12520 # We need to recreate these files for each test, as the compiler may
12521 # overwrite some of them when testing with obscure command lines.
12522 # This happens at least with the AIX C compiler.
12524 for i in 1 2 3 4 5 6; do
12525 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12526 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12527 # Solaris 8's {/usr,}/bin/sh.
12528 touch sub/conftst$i.h
12530 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12532 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12533 # mode. It turns out that the SunPro C++ compiler does not properly
12534 # handle `-M -o', and we need to detect this. Also, some Intel
12535 # versions had trouble with output in subdirs
12536 am__obj=sub/conftest.${OBJEXT-o}
12537 am__minus_obj="-o $am__obj"
12540 # This depmode causes a compiler race in universal mode.
12541 test "$am__universal" = false || continue
12544 # after this tag, mechanisms are not by side-effect, so they'll
12545 # only be used when explicitly requested
12546 if test "x$enable_dependency_tracking" = xyes; then
12552 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12553 # This compiler won't grok `-c -o', but also, the minuso test has
12554 # not run yet. These depmodes are late enough in the game, and
12555 # so weak that their functioning should not be impacted.
12556 am__obj=conftest.${OBJEXT-o}
12561 if depmode=$depmode \
12562 source=sub/conftest.c object=$am__obj \
12563 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12564 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12565 >/dev/null 2>conftest.err &&
12566 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12567 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12568 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12569 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12570 # icc doesn't choke on unknown options, it will just issue warnings
12571 # or remarks (even with -Werror). So we grep stderr for any message
12572 # that says an option was ignored or not supported.
12573 # When given -MP, icc 7.0 and 7.1 complain thusly:
12574 # icc: Command line warning: ignoring option '-M'; no argument required
12575 # The diagnosis changed in icc 8.0:
12576 # icc: Command line remark: option '-MP' not supported
12577 if (grep 'ignoring option' conftest.err ||
12578 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12579 am_cv_CC_dependencies_compiler_type=$depmode
12586 rm -rf conftest.dir
12588 am_cv_CC_dependencies_compiler_type=none
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12593 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12594 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12597 test "x$enable_dependency_tracking" != xno \
12598 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12599 am__fastdepCC_TRUE=
12600 am__fastdepCC_FALSE='#'
12602 am__fastdepCC_TRUE='#'
12603 am__fastdepCC_FALSE=
12607 if test "x$CC" != xcc; then
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12609 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12612 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12614 set dummy $CC; ac_cc=`$as_echo "$2" |
12615 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12616 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12617 $as_echo_n "(cached) " >&6
12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12630 # Make sure it works both with $CC and with simple cc.
12631 # We do the test twice because some compilers refuse to overwrite an
12632 # existing .o file with -o, though they will create one.
12633 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12635 if { { case "(($ac_try" in
12636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12637 *) ac_try_echo=$ac_try;;
12639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12640 $as_echo "$ac_try_echo"; } >&5
12641 (eval "$ac_try") 2>&5
12643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12644 test $ac_status = 0; } &&
12645 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12647 *) ac_try_echo=$ac_try;;
12649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12650 $as_echo "$ac_try_echo"; } >&5
12651 (eval "$ac_try") 2>&5
12653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12654 test $ac_status = 0; };
12656 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12657 if test "x$CC" != xcc; then
12658 # Test first that cc exists at all.
12659 if { ac_try='cc -c conftest.$ac_ext >&5'
12660 { { case "(($ac_try" in
12661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12662 *) ac_try_echo=$ac_try;;
12664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12665 $as_echo "$ac_try_echo"; } >&5
12666 (eval "$ac_try") 2>&5
12668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12669 test $ac_status = 0; }; }; then
12670 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12672 if { { case "(($ac_try" in
12673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12674 *) ac_try_echo=$ac_try;;
12676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12677 $as_echo "$ac_try_echo"; } >&5
12678 (eval "$ac_try") 2>&5
12680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12681 test $ac_status = 0; } &&
12682 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12684 *) ac_try_echo=$ac_try;;
12686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12687 $as_echo "$ac_try_echo"; } >&5
12688 (eval "$ac_try") 2>&5
12690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12691 test $ac_status = 0; };
12696 # cc exists but doesn't like -o.
12697 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12702 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12704 rm -f core conftest*
12707 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12709 $as_echo "yes" >&6; }
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12712 $as_echo "no" >&6; }
12714 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12718 # FIXME: we rely on the cache variable name because
12719 # there is no other way.
12721 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12722 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12723 if test "$am_t" != yes; then
12724 # Losing compiler, so override with the script.
12725 # FIXME: It is wrong to rewrite CC.
12726 # But if we don't then we get into trouble of one sort or another.
12727 # A longer-term fix would be to have automake use am__CC in this case,
12728 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12729 CC="$am_aux_dir/compile $CC"
12733 # Extract the first word of "valac", so it can be a program name with args.
12734 set dummy valac; ac_word=$2
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12736 $as_echo_n "checking for $ac_word... " >&6; }
12737 if ${ac_cv_path_VALAC+:} false; then :
12738 $as_echo_n "(cached) " >&6
12742 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
12745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12746 for as_dir in $PATH
12749 test -z "$as_dir" && as_dir=.
12750 for ac_exec_ext in '' $ac_executable_extensions; do
12751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12752 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
12753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12763 VALAC=$ac_cv_path_VALAC
12764 if test -n "$VALAC"; then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
12766 $as_echo "$VALAC" >&6; }
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12769 $as_echo "no" >&6; }
12773 if test -z "$VALAC"; then :
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
12775 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
12777 if test -n "0.9"; then :
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.9" >&5
12779 $as_echo_n "checking $VALAC is at least version 0.9... " >&6; }
12780 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
12782 as_arg_v2="$am__vala_version"
12783 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12787 $as_echo "yes" >&6; } ;; #(
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12790 $as_echo "yes" >&6; } ;; #(
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12793 $as_echo "no" >&6; }
12794 as_fn_error $? "Vala 0.9 not found." "$LINENO" 5 ;; #(
12810 SERVER_IPC_MODULE="msrpc-glib2-1.0"
12811 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12815 $as_echo_n "checking for GTK... " >&6; }
12817 if test -n "$GTK_CFLAGS"; then
12818 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12819 elif test -n "$PKG_CONFIG"; then
12820 if test -n "$PKG_CONFIG" && \
12821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12822 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12825 test $ac_status = 0; }; then
12826 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12827 test "x$?" != "x0" && pkg_failed=yes
12834 if test -n "$GTK_LIBS"; then
12835 pkg_cv_GTK_LIBS="$GTK_LIBS"
12836 elif test -n "$PKG_CONFIG"; then
12837 if test -n "$PKG_CONFIG" && \
12838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12839 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12842 test $ac_status = 0; }; then
12843 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12844 test "x$?" != "x0" && pkg_failed=yes
12854 if test $pkg_failed = yes; then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12856 $as_echo "no" >&6; }
12858 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12859 _pkg_short_errors_supported=yes
12861 _pkg_short_errors_supported=no
12863 if test $_pkg_short_errors_supported = yes; then
12864 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12866 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12868 # Put the nasty error message in config.log where it belongs
12869 echo "$GTK_PKG_ERRORS" >&5
12871 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
12875 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12876 installed software in a non-standard prefix.
12878 Alternatively, you may set the environment variables GTK_CFLAGS
12879 and GTK_LIBS to avoid the need to call pkg-config.
12880 See the pkg-config man page for more details." "$LINENO" 5
12881 elif test $pkg_failed = untried; then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12883 $as_echo "no" >&6; }
12884 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12886 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12887 is in your PATH or set the PKG_CONFIG environment variable to the full
12888 path to pkg-config.
12890 Alternatively, you may set the environment variables GTK_CFLAGS
12891 and GTK_LIBS to avoid the need to call pkg-config.
12892 See the pkg-config man page for more details.
12894 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12895 See \`config.log' for more details" "$LINENO" 5; }
12897 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12898 GTK_LIBS=$pkg_cv_GTK_LIBS
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12900 $as_echo "yes" >&6; }
12901 GTK_VERSION="gtk+-2.0"
12911 # We require dbus-glib for the client library even if we are using GDBus
12912 # in the server. The reason we can't always use dbus-glib in the server is
12913 # because Vala drops support for it, but as it ships with DBus there is very
12914 # little danger of it being dropped by distros any time soon.
12915 CLIENT_IPC_MODULE="dbus-glib-1"
12916 SERVER_IPC_MODULE="dbus-glib-1"
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
12921 $as_echo_n "checking for MAC... " >&6; }
12923 if test -n "$MAC_CFLAGS"; then
12924 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
12925 elif test -n "$PKG_CONFIG"; then
12926 if test -n "$PKG_CONFIG" && \
12927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12929 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12933 test $ac_status = 0; }; then
12934 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
12936 test "x$?" != "x0" && pkg_failed=yes
12943 if test -n "$MAC_LIBS"; then
12944 pkg_cv_MAC_LIBS="$MAC_LIBS"
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-mac-integration >= 1.0.1
12949 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12953 test $ac_status = 0; }; then
12954 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
12956 test "x$?" != "x0" && pkg_failed=yes
12966 if test $pkg_failed = yes; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12968 $as_echo "no" >&6; }
12970 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12971 _pkg_short_errors_supported=yes
12973 _pkg_short_errors_supported=no
12975 if test $_pkg_short_errors_supported = yes; then
12976 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12979 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12982 # Put the nasty error message in config.log where it belongs
12983 echo "$MAC_PKG_ERRORS" >&5
12985 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
12990 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12991 installed software in a non-standard prefix.
12993 Alternatively, you may set the environment variables MAC_CFLAGS
12994 and MAC_LIBS to avoid the need to call pkg-config.
12995 See the pkg-config man page for more details." "$LINENO" 5
12996 elif test $pkg_failed = untried; then
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12998 $as_echo "no" >&6; }
12999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13001 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13002 is in your PATH or set the PKG_CONFIG environment variable to the full
13003 path to pkg-config.
13005 Alternatively, you may set the environment variables MAC_CFLAGS
13006 and MAC_LIBS to avoid the need to call pkg-config.
13007 See the pkg-config man page for more details.
13009 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13010 See \`config.log' for more details" "$LINENO" 5; }
13012 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
13013 MAC_LIBS=$pkg_cv_MAC_LIBS
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13015 $as_echo "yes" >&6; }
13019 # TODO: Move to GTK+-3
13020 # [gtk+-3.0 >= 2.0],
13021 # [GTK_VERSION="gtk+-3.0"]
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13025 $as_echo_n "checking for GTK... " >&6; }
13027 if test -n "$GTK_CFLAGS"; then
13028 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13029 elif test -n "$PKG_CONFIG"; then
13030 if test -n "$PKG_CONFIG" && \
13031 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13032 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13035 test $ac_status = 0; }; then
13036 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13037 test "x$?" != "x0" && pkg_failed=yes
13044 if test -n "$GTK_LIBS"; then
13045 pkg_cv_GTK_LIBS="$GTK_LIBS"
13046 elif test -n "$PKG_CONFIG"; then
13047 if test -n "$PKG_CONFIG" && \
13048 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13049 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13052 test $ac_status = 0; }; then
13053 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13054 test "x$?" != "x0" && pkg_failed=yes
13064 if test $pkg_failed = yes; then
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13066 $as_echo "no" >&6; }
13068 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13069 _pkg_short_errors_supported=yes
13071 _pkg_short_errors_supported=no
13073 if test $_pkg_short_errors_supported = yes; then
13074 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13076 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13078 # Put the nasty error message in config.log where it belongs
13079 echo "$GTK_PKG_ERRORS" >&5
13081 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13085 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13086 installed software in a non-standard prefix.
13088 Alternatively, you may set the environment variables GTK_CFLAGS
13089 and GTK_LIBS to avoid the need to call pkg-config.
13090 See the pkg-config man page for more details." "$LINENO" 5
13091 elif test $pkg_failed = untried; then
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13093 $as_echo "no" >&6; }
13094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13096 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13097 is in your PATH or set the PKG_CONFIG environment variable to the full
13098 path to pkg-config.
13100 Alternatively, you may set the environment variables GTK_CFLAGS
13101 and GTK_LIBS to avoid the need to call pkg-config.
13102 See the pkg-config man page for more details.
13104 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13105 See \`config.log' for more details" "$LINENO" 5; }
13107 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13108 GTK_LIBS=$pkg_cv_GTK_LIBS
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13110 $as_echo "yes" >&6; }
13111 GTK_VERSION="gtk+-2.0"
13121 # We require dbus-glib for the client library even if we are using GDBus
13122 # in the server. The reason we can't always use dbus-glib in the server is
13123 # because Vala drops support for it, but as it ships with DBus there is very
13124 # little danger of it being dropped by distros any time soon.
13125 CLIENT_IPC_MODULE="dbus-glib-1"
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
13129 $as_echo_n "checking for GDBUS... " >&6; }
13131 if test -n "$GDBUS_CFLAGS"; then
13132 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
13133 elif test -n "$PKG_CONFIG"; then
13134 if test -n "$PKG_CONFIG" && \
13135 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13136 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13139 test $ac_status = 0; }; then
13140 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
13141 test "x$?" != "x0" && pkg_failed=yes
13148 if test -n "$GDBUS_LIBS"; then
13149 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
13150 elif test -n "$PKG_CONFIG"; then
13151 if test -n "$PKG_CONFIG" && \
13152 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13153 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13156 test $ac_status = 0; }; then
13157 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
13158 test "x$?" != "x0" && pkg_failed=yes
13168 if test $pkg_failed = yes; then
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13172 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13173 _pkg_short_errors_supported=yes
13175 _pkg_short_errors_supported=no
13177 if test $_pkg_short_errors_supported = yes; then
13178 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13180 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13182 # Put the nasty error message in config.log where it belongs
13183 echo "$GDBUS_PKG_ERRORS" >&5
13185 SERVER_IPC_MODULE="dbus-glib-1"
13187 elif test $pkg_failed = untried; then
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13189 $as_echo "no" >&6; }
13190 SERVER_IPC_MODULE="dbus-glib-1"
13193 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
13194 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13196 $as_echo "yes" >&6; }
13197 SERVER_IPC_MODULE="gio-2.0"
13199 # TODO: Move to GTK+-3
13200 # [gtk+-3.0 >= 2.0],
13201 # [GTK_VERSION="gtk+-3.0"]
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13205 $as_echo_n "checking for GTK... " >&6; }
13207 if test -n "$GTK_CFLAGS"; then
13208 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13209 elif test -n "$PKG_CONFIG"; then
13210 if test -n "$PKG_CONFIG" && \
13211 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13212 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13215 test $ac_status = 0; }; then
13216 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13217 test "x$?" != "x0" && pkg_failed=yes
13224 if test -n "$GTK_LIBS"; then
13225 pkg_cv_GTK_LIBS="$GTK_LIBS"
13226 elif test -n "$PKG_CONFIG"; then
13227 if test -n "$PKG_CONFIG" && \
13228 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13229 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13232 test $ac_status = 0; }; then
13233 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13234 test "x$?" != "x0" && pkg_failed=yes
13244 if test $pkg_failed = yes; then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13246 $as_echo "no" >&6; }
13248 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13249 _pkg_short_errors_supported=yes
13251 _pkg_short_errors_supported=no
13253 if test $_pkg_short_errors_supported = yes; then
13254 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13256 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13258 # Put the nasty error message in config.log where it belongs
13259 echo "$GTK_PKG_ERRORS" >&5
13261 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13265 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13266 installed software in a non-standard prefix.
13268 Alternatively, you may set the environment variables GTK_CFLAGS
13269 and GTK_LIBS to avoid the need to call pkg-config.
13270 See the pkg-config man page for more details." "$LINENO" 5
13271 elif test $pkg_failed = untried; then
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13273 $as_echo "no" >&6; }
13274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13276 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13277 is in your PATH or set the PKG_CONFIG environment variable to the full
13278 path to pkg-config.
13280 Alternatively, you may set the environment variables GTK_CFLAGS
13281 and GTK_LIBS to avoid the need to call pkg-config.
13282 See the pkg-config man page for more details.
13284 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13285 See \`config.log' for more details" "$LINENO" 5; }
13287 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13288 GTK_LIBS=$pkg_cv_GTK_LIBS
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13290 $as_echo "yes" >&6; }
13291 GTK_VERSION="gtk+-2.0"
13298 if test "$linux" = "yes"; then
13306 if test "$win32" = "yes"; then
13314 if test "$macos" = "yes"; then
13323 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13325 IPC_MSRPC_FALSE='#'
13331 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
13339 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13340 IPC_DBUS_GLIB_TRUE=
13341 IPC_DBUS_GLIB_FALSE='#'
13343 IPC_DBUS_GLIB_TRUE='#'
13344 IPC_DBUS_GLIB_FALSE=
13347 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
13349 IPC_GDBUS_FALSE='#'
13356 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
13358 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
13359 vala_version=`$VALAC --version | sed 's/Vala *//'`
13361 as_arg_v2="$vala_version"
13362 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13365 vala_supports_dbus_glib="no" ;; #(
13367 vala_supports_dbus_glib="no" ;; #(
13369 vala_supports_dbus_glib="yes" ;; #(
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
13375 $as_echo "$vala_supports_dbus_glib" >&6; }
13376 if test "$vala_supports_dbus_glib" = "no"; then
13378 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
13379 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
13383 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13386 pkg_config_args="msrpc-mingw-1.0"
13395 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13396 if test -n "$ac_tool_prefix"; then
13397 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13398 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13400 $as_echo_n "checking for $ac_word... " >&6; }
13401 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13402 $as_echo_n "(cached) " >&6
13404 case $PKG_CONFIG in
13406 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13410 for as_dir in $PATH
13413 test -z "$as_dir" && as_dir=.
13414 for ac_exec_ext in '' $ac_executable_extensions; do
13415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13416 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13427 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13428 if test -n "$PKG_CONFIG"; then
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13430 $as_echo "$PKG_CONFIG" >&6; }
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13433 $as_echo "no" >&6; }
13438 if test -z "$ac_cv_path_PKG_CONFIG"; then
13439 ac_pt_PKG_CONFIG=$PKG_CONFIG
13440 # Extract the first word of "pkg-config", so it can be a program name with args.
13441 set dummy pkg-config; ac_word=$2
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13443 $as_echo_n "checking for $ac_word... " >&6; }
13444 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13445 $as_echo_n "(cached) " >&6
13447 case $ac_pt_PKG_CONFIG in
13449 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13453 for as_dir in $PATH
13456 test -z "$as_dir" && as_dir=.
13457 for ac_exec_ext in '' $ac_executable_extensions; do
13458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13459 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13470 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13471 if test -n "$ac_pt_PKG_CONFIG"; then
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13473 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13476 $as_echo "no" >&6; }
13479 if test "x$ac_pt_PKG_CONFIG" = x; then
13482 case $cross_compiling:$ac_tool_warned in
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13486 ac_tool_warned=yes ;;
13488 PKG_CONFIG=$ac_pt_PKG_CONFIG
13491 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13495 if test -n "$PKG_CONFIG"; then
13496 _pkg_min_version=0.16
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13498 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13499 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13501 $as_echo "yes" >&6; }
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13504 $as_echo "no" >&6; }
13511 if test "x$PKG_CONFIG" = x ; then
13516 min_msrpc_mingw_version=0.1.0
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
13518 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
13520 if test x$PKG_CONFIG != xno ; then
13521 if $PKG_CONFIG --uninstalled $pkg_config_args; then
13522 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
13525 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
13532 if test x"$no_msrpc" = x ; then
13533 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
13534 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13535 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13538 if test "x$no_msrpc" = x ; then
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13540 $as_echo "yes" >&6; }
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13544 $as_echo "no" >&6; }
13545 if test "$PKG_CONFIG" = "no" ; then
13546 echo "*** A new enough version of pkg-config was not found."
13547 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13555 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
13562 # Extract the first word of "midl", so it can be a program name with args.
13563 set dummy midl; ac_word=$2
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13565 $as_echo_n "checking for $ac_word... " >&6; }
13566 if ${ac_cv_path_MIDL+:} false; then :
13567 $as_echo_n "(cached) " >&6
13571 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
13574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13575 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
13578 test -z "$as_dir" && as_dir=.
13579 for ac_exec_ext in '' $ac_executable_extensions; do
13580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13581 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
13582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13589 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
13593 MIDL=$ac_cv_path_MIDL
13594 if test -n "$MIDL"; then
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
13596 $as_echo "$MIDL" >&6; }
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13599 $as_echo "no" >&6; }
13603 if test "$MIDL" = "no"; then
13605 *** Could not find the Microsoft interface compiler MIDL.EXE.
13606 *** This program is available as part of the MS Windows SDK, in
13607 *** the Win32 Development Tools package. If it is not in the PATH
13608 *** or its default location you may set the 'MIDL' environment
13609 *** variable to point to its location and rerun configure." "$LINENO" 5
13613 if test "$win32" = "yes"; then
13614 # Other Windows-specific tools
13616 # LIB.EXE from MSVC to build an MSVC-compatible import library.
13617 # Extract the first word of "lib", so it can be a program name with args.
13618 set dummy lib; ac_word=$2
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13620 $as_echo_n "checking for $ac_word... " >&6; }
13621 if ${ac_cv_path_MSVC_LIB+:} false; then :
13622 $as_echo_n "(cached) " >&6
13626 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
13629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13630 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
13633 test -z "$as_dir" && as_dir=.
13634 for ac_exec_ext in '' $ac_executable_extensions; do
13635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13636 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
13637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13644 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
13648 MSVC_LIB=$ac_cv_path_MSVC_LIB
13649 if test -n "$MSVC_LIB"; then
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
13651 $as_echo "$MSVC_LIB" >&6; }
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13654 $as_echo "no" >&6; }
13659 if test "$MSVC_LIB" = "no"; then
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13661 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13662 *** to build the Visual C import library for libmoonshot. Use the
13663 *** MSVC_LIB environment variable to pass its location if this is
13664 *** outside the PATH." >&5
13665 $as_echo "$as_me: WARNING:
13666 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13667 *** to build the Visual C import library for libmoonshot. Use the
13668 *** MSVC_LIB environment variable to pass its location if this is
13669 *** outside the PATH." >&2;}
13673 # ImageMagick for the 'make icons' target. Note that
13674 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
13675 # Extract the first word of "convert", so it can be a program name with args.
13676 set dummy convert; ac_word=$2
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13678 $as_echo_n "checking for $ac_word... " >&6; }
13679 if ${ac_cv_path_IMAGEMAGICK_CONVERT+:} false; then :
13680 $as_echo_n "(cached) " >&6
13682 case $IMAGEMAGICK_CONVERT in
13684 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
13687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13688 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
13691 test -z "$as_dir" && as_dir=.
13692 for ac_exec_ext in '' $ac_executable_extensions; do
13693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13694 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
13695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13702 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
13706 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
13707 if test -n "$IMAGEMAGICK_CONVERT"; then
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
13709 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13712 $as_echo "no" >&6; }
13717 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13719 *** Could not find ImageMagick convert.exe. This is required for the
13720 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13721 *** variable to pass its location if this is outside the PATH." >&5
13722 $as_echo "$as_me: WARNING:
13723 *** Could not find ImageMagick convert.exe. This is required for the
13724 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13725 *** variable to pass its location if this is outside the PATH." >&2;}
13729 # Windows Installer XML tools
13730 # Extract the first word of "candle", so it can be a program name with args.
13731 set dummy candle; ac_word=$2
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13733 $as_echo_n "checking for $ac_word... " >&6; }
13734 if ${ac_cv_path_WIX_CANDLE+:} false; then :
13735 $as_echo_n "(cached) " >&6
13737 case $WIX_CANDLE in
13739 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
13742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13743 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
13746 test -z "$as_dir" && as_dir=.
13747 for ac_exec_ext in '' $ac_executable_extensions; do
13748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13749 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
13750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13757 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
13761 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
13762 if test -n "$WIX_CANDLE"; then
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
13764 $as_echo "$WIX_CANDLE" >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13767 $as_echo "no" >&6; }
13771 # Extract the first word of "light", so it can be a program name with args.
13772 set dummy light; ac_word=$2
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13774 $as_echo_n "checking for $ac_word... " >&6; }
13775 if ${ac_cv_path_WIX_LIGHT+:} false; then :
13776 $as_echo_n "(cached) " >&6
13780 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
13783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13784 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
13787 test -z "$as_dir" && as_dir=.
13788 for ac_exec_ext in '' $ac_executable_extensions; do
13789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13790 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
13791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13798 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
13802 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
13803 if test -n "$WIX_LIGHT"; then
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
13805 $as_echo "$WIX_LIGHT" >&6; }
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13808 $as_echo "no" >&6; }
13813 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13815 *** Could not find the Windows Installer XML tools. These are required
13816 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13817 *** environment variables to pass their locations if they are outside
13819 $as_echo "$as_me: WARNING:
13820 *** Could not find the Windows Installer XML tools. These are required
13821 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13822 *** environment variables to pass their locations if they are outside
13823 *** the PATH." >&2;}
13827 if test "$linux" = "yes"; then
13828 # Extract the first word of "update-mime-database", so it can be a program name with args.
13829 set dummy update-mime-database; ac_word=$2
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13831 $as_echo_n "checking for $ac_word... " >&6; }
13832 if ${ac_cv_path_UPDATE_MIME_DATABASE+:} false; then :
13833 $as_echo_n "(cached) " >&6
13835 case $UPDATE_MIME_DATABASE in
13837 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
13840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13841 for as_dir in $PATH
13844 test -z "$as_dir" && as_dir=.
13845 for ac_exec_ext in '' $ac_executable_extensions; do
13846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13847 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13855 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
13859 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
13860 if test -n "$UPDATE_MIME_DATABASE"; then
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
13862 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13865 $as_echo "no" >&6; }
13869 if test "$UPDATE_MIME_DATABASE" = "no"; then
13871 *** Could not find the Freedesktop.org mime database update tool.
13872 *** Web provisioning files could not be automatically installed." "$LINENO" 5
13874 # Extract the first word of "update-desktop-database", so it can be a program name with args.
13875 set dummy update-desktop-database; ac_word=$2
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13877 $as_echo_n "checking for $ac_word... " >&6; }
13878 if ${ac_cv_path_UPDATE_DESKTOP_DATABASE+:} false; then :
13879 $as_echo_n "(cached) " >&6
13881 case $UPDATE_DESKTOP_DATABASE in
13883 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
13886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13887 for as_dir in $PATH
13890 test -z "$as_dir" && as_dir=.
13891 for ac_exec_ext in '' $ac_executable_extensions; do
13892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13893 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13901 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
13905 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
13906 if test -n "$UPDATE_DESKTOP_DATABASE"; then
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
13908 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13911 $as_echo "no" >&6; }
13915 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
13917 *** Could not find the Freedesktop.org desktop entry database update
13918 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
13922 MOONSHOT_APP="$bindir/moonshot"
13923 MOONSHOT_WEBP="$bindir/moonshot-webp"
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
13939 $as_echo_n "checking for moonshot... " >&6; }
13941 if test -n "$moonshot_CFLAGS"; then
13942 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
13943 elif test -n "$PKG_CONFIG"; then
13944 if test -n "$PKG_CONFIG" && \
13945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13948 gobject-2.0 >= 2.22
13951 \$SERVER_IPC_MODULE
13954 ($PKG_CONFIG --exists --print-errors "
13957 gobject-2.0 >= 2.22
13964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13965 test $ac_status = 0; }; then
13966 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
13969 gobject-2.0 >= 2.22
13975 test "x$?" != "x0" && pkg_failed=yes
13982 if test -n "$moonshot_LIBS"; then
13983 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
13984 elif test -n "$PKG_CONFIG"; then
13985 if test -n "$PKG_CONFIG" && \
13986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13989 gobject-2.0 >= 2.22
13992 \$SERVER_IPC_MODULE
13995 ($PKG_CONFIG --exists --print-errors "
13998 gobject-2.0 >= 2.22
14005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14006 test $ac_status = 0; }; then
14007 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
14010 gobject-2.0 >= 2.22
14016 test "x$?" != "x0" && pkg_failed=yes
14026 if test $pkg_failed = yes; then
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14028 $as_echo "no" >&6; }
14030 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14031 _pkg_short_errors_supported=yes
14033 _pkg_short_errors_supported=no
14035 if test $_pkg_short_errors_supported = yes; then
14036 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14039 gobject-2.0 >= 2.22
14046 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14049 gobject-2.0 >= 2.22
14056 # Put the nasty error message in config.log where it belongs
14057 echo "$moonshot_PKG_ERRORS" >&5
14059 as_fn_error $? "Package requirements (
14062 gobject-2.0 >= 2.22
14069 $moonshot_PKG_ERRORS
14071 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14072 installed software in a non-standard prefix.
14074 Alternatively, you may set the environment variables moonshot_CFLAGS
14075 and moonshot_LIBS to avoid the need to call pkg-config.
14076 See the pkg-config man page for more details." "$LINENO" 5
14077 elif test $pkg_failed = untried; then
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14079 $as_echo "no" >&6; }
14080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14082 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14083 is in your PATH or set the PKG_CONFIG environment variable to the full
14084 path to pkg-config.
14086 Alternatively, you may set the environment variables moonshot_CFLAGS
14087 and moonshot_LIBS to avoid the need to call pkg-config.
14088 See the pkg-config man page for more details.
14090 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14091 See \`config.log' for more details" "$LINENO" 5; }
14093 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
14094 moonshot_LIBS=$pkg_cv_moonshot_LIBS
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14096 $as_echo "yes" >&6; }
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
14103 $as_echo_n "checking for libmoonshot... " >&6; }
14105 if test -n "$libmoonshot_CFLAGS"; then
14106 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
14107 elif test -n "$PKG_CONFIG"; then
14108 if test -n "$PKG_CONFIG" && \
14109 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14110 \$CLIENT_IPC_MODULE
14112 ($PKG_CONFIG --exists --print-errors "
14116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14117 test $ac_status = 0; }; then
14118 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
14121 test "x$?" != "x0" && pkg_failed=yes
14128 if test -n "$libmoonshot_LIBS"; then
14129 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
14130 elif test -n "$PKG_CONFIG"; then
14131 if test -n "$PKG_CONFIG" && \
14132 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14133 \$CLIENT_IPC_MODULE
14135 ($PKG_CONFIG --exists --print-errors "
14139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14140 test $ac_status = 0; }; then
14141 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
14144 test "x$?" != "x0" && pkg_failed=yes
14154 if test $pkg_failed = yes; then
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14156 $as_echo "no" >&6; }
14158 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14159 _pkg_short_errors_supported=yes
14161 _pkg_short_errors_supported=no
14163 if test $_pkg_short_errors_supported = yes; then
14164 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14168 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14172 # Put the nasty error message in config.log where it belongs
14173 echo "$libmoonshot_PKG_ERRORS" >&5
14175 as_fn_error $? "Package requirements (
14179 $libmoonshot_PKG_ERRORS
14181 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14182 installed software in a non-standard prefix.
14184 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14185 and libmoonshot_LIBS to avoid the need to call pkg-config.
14186 See the pkg-config man page for more details." "$LINENO" 5
14187 elif test $pkg_failed = untried; then
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14189 $as_echo "no" >&6; }
14190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14192 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14193 is in your PATH or set the PKG_CONFIG environment variable to the full
14194 path to pkg-config.
14196 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14197 and libmoonshot_LIBS to avoid the need to call pkg-config.
14198 See the pkg-config man page for more details.
14200 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14201 See \`config.log' for more details" "$LINENO" 5; }
14203 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
14204 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14206 $as_echo "yes" >&6; }
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14213 $as_echo_n "checking whether NLS is requested... " >&6; }
14214 # Check whether --enable-nls was given.
14215 if test "${enable_nls+set}" = set; then :
14216 enableval=$enable_nls; USE_NLS=$enableval
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14222 $as_echo "$USE_NLS" >&6; }
14227 GETTEXT_MACRO_VERSION=0.18
14232 # Prepare PATH_SEPARATOR.
14233 # The user is always right.
14234 if test "${PATH_SEPARATOR+set}" != set; then
14235 echo "#! /bin/sh" >conf$$.sh
14236 echo "exit 0" >>conf$$.sh
14238 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14246 # Find out how to test for executable files. Don't use a zero-byte file,
14247 # as systems may use methods other than mode bits to determine executability.
14248 cat >conf$$.file <<_ASEOF
14252 chmod +x conf$$.file
14253 if test -x conf$$.file >/dev/null 2>&1; then
14254 ac_executable_p="test -x"
14256 ac_executable_p="test -f"
14260 # Extract the first word of "msgfmt", so it can be a program name with args.
14261 set dummy msgfmt; ac_word=$2
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14263 $as_echo_n "checking for $ac_word... " >&6; }
14264 if ${ac_cv_path_MSGFMT+:} false; then :
14265 $as_echo_n "(cached) " >&6
14269 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14272 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14273 for ac_dir in $PATH; do
14275 test -z "$ac_dir" && ac_dir=.
14276 for ac_exec_ext in '' $ac_executable_extensions; do
14277 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14278 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14279 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14280 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14281 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14288 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14292 MSGFMT="$ac_cv_path_MSGFMT"
14293 if test "$MSGFMT" != ":"; then
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14295 $as_echo "$MSGFMT" >&6; }
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14298 $as_echo "no" >&6; }
14301 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14302 set dummy gmsgfmt; ac_word=$2
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14304 $as_echo_n "checking for $ac_word... " >&6; }
14305 if ${ac_cv_path_GMSGFMT+:} false; then :
14306 $as_echo_n "(cached) " >&6
14310 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14314 for as_dir in $PATH
14317 test -z "$as_dir" && as_dir=.
14318 for ac_exec_ext in '' $ac_executable_extensions; do
14319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14320 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14328 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14332 GMSGFMT=$ac_cv_path_GMSGFMT
14333 if test -n "$GMSGFMT"; then
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14335 $as_echo "$GMSGFMT" >&6; }
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14338 $as_echo "no" >&6; }
14343 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14344 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14345 *) MSGFMT_015=$MSGFMT ;;
14348 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14349 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14350 *) GMSGFMT_015=$GMSGFMT ;;
14355 # Prepare PATH_SEPARATOR.
14356 # The user is always right.
14357 if test "${PATH_SEPARATOR+set}" != set; then
14358 echo "#! /bin/sh" >conf$$.sh
14359 echo "exit 0" >>conf$$.sh
14361 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14369 # Find out how to test for executable files. Don't use a zero-byte file,
14370 # as systems may use methods other than mode bits to determine executability.
14371 cat >conf$$.file <<_ASEOF
14375 chmod +x conf$$.file
14376 if test -x conf$$.file >/dev/null 2>&1; then
14377 ac_executable_p="test -x"
14379 ac_executable_p="test -f"
14383 # Extract the first word of "xgettext", so it can be a program name with args.
14384 set dummy xgettext; ac_word=$2
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14386 $as_echo_n "checking for $ac_word... " >&6; }
14387 if ${ac_cv_path_XGETTEXT+:} false; then :
14388 $as_echo_n "(cached) " >&6
14390 case "$XGETTEXT" in
14392 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14395 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14396 for ac_dir in $PATH; do
14398 test -z "$ac_dir" && ac_dir=.
14399 for ac_exec_ext in '' $ac_executable_extensions; do
14400 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14401 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14402 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14403 (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
14404 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14411 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14415 XGETTEXT="$ac_cv_path_XGETTEXT"
14416 if test "$XGETTEXT" != ":"; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14418 $as_echo "$XGETTEXT" >&6; }
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14421 $as_echo "no" >&6; }
14426 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14427 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14428 *) XGETTEXT_015=$XGETTEXT ;;
14433 # Prepare PATH_SEPARATOR.
14434 # The user is always right.
14435 if test "${PATH_SEPARATOR+set}" != set; then
14436 echo "#! /bin/sh" >conf$$.sh
14437 echo "exit 0" >>conf$$.sh
14439 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14447 # Find out how to test for executable files. Don't use a zero-byte file,
14448 # as systems may use methods other than mode bits to determine executability.
14449 cat >conf$$.file <<_ASEOF
14453 chmod +x conf$$.file
14454 if test -x conf$$.file >/dev/null 2>&1; then
14455 ac_executable_p="test -x"
14457 ac_executable_p="test -f"
14461 # Extract the first word of "msgmerge", so it can be a program name with args.
14462 set dummy msgmerge; ac_word=$2
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14464 $as_echo_n "checking for $ac_word... " >&6; }
14465 if ${ac_cv_path_MSGMERGE+:} false; then :
14466 $as_echo_n "(cached) " >&6
14468 case "$MSGMERGE" in
14470 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14473 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14474 for ac_dir in $PATH; do
14476 test -z "$ac_dir" && ac_dir=.
14477 for ac_exec_ext in '' $ac_executable_extensions; do
14478 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14479 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14480 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14481 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14488 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14492 MSGMERGE="$ac_cv_path_MSGMERGE"
14493 if test "$MSGMERGE" != ":"; then
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14495 $as_echo "$MSGMERGE" >&6; }
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14498 $as_echo "no" >&6; }
14502 test -n "$localedir" || localedir='${datadir}/locale'
14505 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14508 ac_config_commands="$ac_config_commands po-directories"
14512 if test "X$prefix" = "XNONE"; then
14513 acl_final_prefix="$ac_default_prefix"
14515 acl_final_prefix="$prefix"
14517 if test "X$exec_prefix" = "XNONE"; then
14518 acl_final_exec_prefix='${prefix}'
14520 acl_final_exec_prefix="$exec_prefix"
14522 acl_save_prefix="$prefix"
14523 prefix="$acl_final_prefix"
14524 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14525 prefix="$acl_save_prefix"
14528 # Check whether --with-gnu-ld was given.
14529 if test "${with_gnu_ld+set}" = set; then :
14530 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14535 # Prepare PATH_SEPARATOR.
14536 # The user is always right.
14537 if test "${PATH_SEPARATOR+set}" != set; then
14538 echo "#! /bin/sh" >conf$$.sh
14539 echo "exit 0" >>conf$$.sh
14541 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14549 if test "$GCC" = yes; then
14550 # Check if gcc -print-prog-name=ld gives a path.
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14552 $as_echo_n "checking for ld used by GCC... " >&6; }
14555 # gcc leaves a trailing carriage return which upsets mingw
14556 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14558 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14561 # Accept absolute paths.
14562 [\\/]* | [A-Za-z]:[\\/]*)
14563 re_direlt='/[^/][^/]*/\.\./'
14564 # Canonicalize the path of ld
14565 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14566 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14567 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14569 test -z "$LD" && LD="$ac_prog"
14572 # If it fails, then pretend we aren't using GCC.
14576 # If it is relative, then search for the first ld in PATH.
14577 with_gnu_ld=unknown
14580 elif test "$with_gnu_ld" = yes; then
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14582 $as_echo_n "checking for GNU ld... " >&6; }
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14585 $as_echo_n "checking for non-GNU ld... " >&6; }
14587 if ${acl_cv_path_LD+:} false; then :
14588 $as_echo_n "(cached) " >&6
14590 if test -z "$LD"; then
14591 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14592 for ac_dir in $PATH; do
14593 test -z "$ac_dir" && ac_dir=.
14594 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14595 acl_cv_path_LD="$ac_dir/$ac_prog"
14596 # Check to see if the program is GNU ld. I'd rather use --version,
14597 # but apparently some GNU ld's only accept -v.
14598 # Break only if it was the GNU/non-GNU ld that we prefer.
14599 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14600 *GNU* | *'with BFD'*)
14601 test "$with_gnu_ld" != no && break ;;
14603 test "$with_gnu_ld" != yes && break ;;
14609 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14613 LD="$acl_cv_path_LD"
14614 if test -n "$LD"; then
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14616 $as_echo "$LD" >&6; }
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14619 $as_echo "no" >&6; }
14621 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14623 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14624 if ${acl_cv_prog_gnu_ld+:} false; then :
14625 $as_echo_n "(cached) " >&6
14627 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14628 case `$LD -v 2>&1 </dev/null` in
14629 *GNU* | *'with BFD'*)
14630 acl_cv_prog_gnu_ld=yes ;;
14632 acl_cv_prog_gnu_ld=no ;;
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14636 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14637 with_gnu_ld=$acl_cv_prog_gnu_ld
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14643 $as_echo_n "checking for shared library run path origin... " >&6; }
14644 if ${acl_cv_rpath+:} false; then :
14645 $as_echo_n "(cached) " >&6
14648 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14649 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14651 rm -f ./conftest.sh
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14656 $as_echo "$acl_cv_rpath" >&6; }
14658 acl_libext="$acl_cv_libext"
14659 acl_shlibext="$acl_cv_shlibext"
14660 acl_libname_spec="$acl_cv_libname_spec"
14661 acl_library_names_spec="$acl_cv_library_names_spec"
14662 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14663 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14664 acl_hardcode_direct="$acl_cv_hardcode_direct"
14665 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14666 # Check whether --enable-rpath was given.
14667 if test "${enable_rpath+set}" = set; then :
14668 enableval=$enable_rpath; :
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
14681 $as_echo_n "checking for 64-bit host... " >&6; }
14682 if ${gl_cv_solaris_64bit+:} false; then :
14683 $as_echo_n "(cached) " >&6
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14694 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
14695 gl_cv_solaris_64bit=yes
14697 gl_cv_solaris_64bit=no
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
14704 $as_echo "$gl_cv_solaris_64bit" >&6; }
14705 if test $gl_cv_solaris_64bit = yes; then
14706 acl_libdirstem=lib/64
14707 case "$host_cpu" in
14708 sparc*) acl_libdirstem2=lib/sparcv9 ;;
14709 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
14714 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14715 if test -n "$searchpath"; then
14716 acl_save_IFS="${IFS= }"; IFS=":"
14717 for searchdir in $searchpath; do
14718 if test -d "$searchdir"; then
14719 case "$searchdir" in
14720 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14722 # Better ignore directories of this form. They are misleading.
14724 *) searchdir=`cd "$searchdir" && pwd`
14725 case "$searchdir" in
14726 */lib64 ) acl_libdirstem=lib64 ;;
14731 IFS="$acl_save_IFS"
14735 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
14750 acl_save_prefix="$prefix"
14751 prefix="$acl_final_prefix"
14752 acl_save_exec_prefix="$exec_prefix"
14753 exec_prefix="$acl_final_exec_prefix"
14755 eval additional_includedir=\"$includedir\"
14756 eval additional_libdir=\"$libdir\"
14758 exec_prefix="$acl_save_exec_prefix"
14759 prefix="$acl_save_prefix"
14762 # Check whether --with-libiconv-prefix was given.
14763 if test "${with_libiconv_prefix+set}" = set; then :
14764 withval=$with_libiconv_prefix;
14765 if test "X$withval" = "Xno"; then
14768 if test "X$withval" = "X"; then
14770 acl_save_prefix="$prefix"
14771 prefix="$acl_final_prefix"
14772 acl_save_exec_prefix="$exec_prefix"
14773 exec_prefix="$acl_final_exec_prefix"
14775 eval additional_includedir=\"$includedir\"
14776 eval additional_libdir=\"$libdir\"
14778 exec_prefix="$acl_save_exec_prefix"
14779 prefix="$acl_save_prefix"
14782 additional_includedir="$withval/include"
14783 additional_libdir="$withval/$acl_libdirstem"
14784 if test "$acl_libdirstem2" != "$acl_libdirstem" \
14785 && ! test -d "$withval/$acl_libdirstem"; then
14786 additional_libdir="$withval/$acl_libdirstem2"
14800 names_already_handled=
14801 names_next_round='iconv '
14802 while test -n "$names_next_round"; do
14803 names_this_round="$names_next_round"
14805 for name in $names_this_round; do
14807 for n in $names_already_handled; do
14808 if test "$n" = "$name"; then
14809 already_handled=yes
14813 if test -z "$already_handled"; then
14814 names_already_handled="$names_already_handled $name"
14815 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14816 eval value=\"\$HAVE_LIB$uppername\"
14817 if test -n "$value"; then
14818 if test "$value" = yes; then
14819 eval value=\"\$LIB$uppername\"
14820 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14821 eval value=\"\$LTLIB$uppername\"
14822 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14831 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14832 if test -n "$acl_shlibext"; then
14833 shrext=".$acl_shlibext" # typically: shrext=.so
14837 if test $use_additional = yes; then
14838 dir="$additional_libdir"
14839 if test -n "$acl_shlibext"; then
14840 if test -f "$dir/$libname$shrext"; then
14842 found_so="$dir/$libname$shrext"
14844 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14845 ver=`(cd "$dir" && \
14846 for f in "$libname$shrext".*; do echo "$f"; done \
14847 | sed -e "s,^$libname$shrext\\\\.,," \
14848 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14849 | sed 1q ) 2>/dev/null`
14850 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14852 found_so="$dir/$libname$shrext.$ver"
14855 eval library_names=\"$acl_library_names_spec\"
14856 for f in $library_names; do
14857 if test -f "$dir/$f"; then
14866 if test "X$found_dir" = "X"; then
14867 if test -f "$dir/$libname.$acl_libext"; then
14869 found_a="$dir/$libname.$acl_libext"
14872 if test "X$found_dir" != "X"; then
14873 if test -f "$dir/$libname.la"; then
14874 found_la="$dir/$libname.la"
14878 if test "X$found_dir" = "X"; then
14879 for x in $LDFLAGS $LTLIBICONV; do
14881 acl_save_prefix="$prefix"
14882 prefix="$acl_final_prefix"
14883 acl_save_exec_prefix="$exec_prefix"
14884 exec_prefix="$acl_final_exec_prefix"
14886 exec_prefix="$acl_save_exec_prefix"
14887 prefix="$acl_save_prefix"
14891 dir=`echo "X$x" | sed -e 's/^X-L//'`
14892 if test -n "$acl_shlibext"; then
14893 if test -f "$dir/$libname$shrext"; then
14895 found_so="$dir/$libname$shrext"
14897 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14898 ver=`(cd "$dir" && \
14899 for f in "$libname$shrext".*; do echo "$f"; done \
14900 | sed -e "s,^$libname$shrext\\\\.,," \
14901 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14902 | sed 1q ) 2>/dev/null`
14903 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14905 found_so="$dir/$libname$shrext.$ver"
14908 eval library_names=\"$acl_library_names_spec\"
14909 for f in $library_names; do
14910 if test -f "$dir/$f"; then
14919 if test "X$found_dir" = "X"; then
14920 if test -f "$dir/$libname.$acl_libext"; then
14922 found_a="$dir/$libname.$acl_libext"
14925 if test "X$found_dir" != "X"; then
14926 if test -f "$dir/$libname.la"; then
14927 found_la="$dir/$libname.la"
14932 if test "X$found_dir" != "X"; then
14937 if test "X$found_dir" != "X"; then
14938 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14939 if test "X$found_so" != "X"; then
14940 if test "$enable_rpath" = no \
14941 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14942 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14943 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14946 for x in $ltrpathdirs; do
14947 if test "X$x" = "X$found_dir"; then
14952 if test -z "$haveit"; then
14953 ltrpathdirs="$ltrpathdirs $found_dir"
14955 if test "$acl_hardcode_direct" = yes; then
14956 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14958 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14959 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14961 for x in $rpathdirs; do
14962 if test "X$x" = "X$found_dir"; then
14967 if test -z "$haveit"; then
14968 rpathdirs="$rpathdirs $found_dir"
14972 for x in $LDFLAGS $LIBICONV; do
14974 acl_save_prefix="$prefix"
14975 prefix="$acl_final_prefix"
14976 acl_save_exec_prefix="$exec_prefix"
14977 exec_prefix="$acl_final_exec_prefix"
14979 exec_prefix="$acl_save_exec_prefix"
14980 prefix="$acl_save_prefix"
14982 if test "X$x" = "X-L$found_dir"; then
14987 if test -z "$haveit"; then
14988 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14990 if test "$acl_hardcode_minus_L" != no; then
14991 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14993 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14999 if test "X$found_a" != "X"; then
15000 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15002 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15005 additional_includedir=
15006 case "$found_dir" in
15007 */$acl_libdirstem | */$acl_libdirstem/)
15008 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15009 if test "$name" = 'iconv'; then
15010 LIBICONV_PREFIX="$basedir"
15012 additional_includedir="$basedir/include"
15014 */$acl_libdirstem2 | */$acl_libdirstem2/)
15015 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15016 if test "$name" = 'iconv'; then
15017 LIBICONV_PREFIX="$basedir"
15019 additional_includedir="$basedir/include"
15022 if test "X$additional_includedir" != "X"; then
15023 if test "X$additional_includedir" != "X/usr/include"; then
15025 if test "X$additional_includedir" = "X/usr/local/include"; then
15026 if test -n "$GCC"; then
15028 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15032 if test -z "$haveit"; then
15033 for x in $CPPFLAGS $INCICONV; do
15035 acl_save_prefix="$prefix"
15036 prefix="$acl_final_prefix"
15037 acl_save_exec_prefix="$exec_prefix"
15038 exec_prefix="$acl_final_exec_prefix"
15040 exec_prefix="$acl_save_exec_prefix"
15041 prefix="$acl_save_prefix"
15043 if test "X$x" = "X-I$additional_includedir"; then
15048 if test -z "$haveit"; then
15049 if test -d "$additional_includedir"; then
15050 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15056 if test -n "$found_la"; then
15057 save_libdir="$libdir"
15058 case "$found_la" in
15059 */* | *\\*) . "$found_la" ;;
15060 *) . "./$found_la" ;;
15062 libdir="$save_libdir"
15063 for dep in $dependency_libs; do
15066 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15067 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15068 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15070 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15071 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15072 if test -n "$GCC"; then
15074 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15078 if test -z "$haveit"; then
15080 for x in $LDFLAGS $LIBICONV; do
15082 acl_save_prefix="$prefix"
15083 prefix="$acl_final_prefix"
15084 acl_save_exec_prefix="$exec_prefix"
15085 exec_prefix="$acl_final_exec_prefix"
15087 exec_prefix="$acl_save_exec_prefix"
15088 prefix="$acl_save_prefix"
15090 if test "X$x" = "X-L$additional_libdir"; then
15095 if test -z "$haveit"; then
15096 if test -d "$additional_libdir"; then
15097 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15101 for x in $LDFLAGS $LTLIBICONV; do
15103 acl_save_prefix="$prefix"
15104 prefix="$acl_final_prefix"
15105 acl_save_exec_prefix="$exec_prefix"
15106 exec_prefix="$acl_final_exec_prefix"
15108 exec_prefix="$acl_save_exec_prefix"
15109 prefix="$acl_save_prefix"
15111 if test "X$x" = "X-L$additional_libdir"; then
15116 if test -z "$haveit"; then
15117 if test -d "$additional_libdir"; then
15118 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15125 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15126 if test "$enable_rpath" != no; then
15128 for x in $rpathdirs; do
15129 if test "X$x" = "X$dir"; then
15134 if test -z "$haveit"; then
15135 rpathdirs="$rpathdirs $dir"
15138 for x in $ltrpathdirs; do
15139 if test "X$x" = "X$dir"; then
15144 if test -z "$haveit"; then
15145 ltrpathdirs="$ltrpathdirs $dir"
15150 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15153 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15156 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15157 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15163 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15164 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15170 if test "X$rpathdirs" != "X"; then
15171 if test -n "$acl_hardcode_libdir_separator"; then
15173 for found_dir in $rpathdirs; do
15174 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15176 acl_save_libdir="$libdir"
15178 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15179 libdir="$acl_save_libdir"
15180 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15182 for found_dir in $rpathdirs; do
15183 acl_save_libdir="$libdir"
15184 libdir="$found_dir"
15185 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15186 libdir="$acl_save_libdir"
15187 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15191 if test "X$ltrpathdirs" != "X"; then
15192 for found_dir in $ltrpathdirs; do
15193 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15228 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15229 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15230 $as_echo_n "(cached) " >&6
15232 gt_save_LIBS="$LIBS"
15233 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15236 #include <CoreFoundation/CFPreferences.h>
15240 CFPreferencesCopyAppValue(NULL, NULL)
15245 if ac_fn_c_try_link "$LINENO"; then :
15246 gt_cv_func_CFPreferencesCopyAppValue=yes
15248 gt_cv_func_CFPreferencesCopyAppValue=no
15250 rm -f core conftest.err conftest.$ac_objext \
15251 conftest$ac_exeext conftest.$ac_ext
15252 LIBS="$gt_save_LIBS"
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15255 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15256 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15258 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15262 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15263 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15264 $as_echo_n "(cached) " >&6
15266 gt_save_LIBS="$LIBS"
15267 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15269 /* end confdefs.h. */
15270 #include <CoreFoundation/CFLocale.h>
15274 CFLocaleCopyCurrent();
15279 if ac_fn_c_try_link "$LINENO"; then :
15280 gt_cv_func_CFLocaleCopyCurrent=yes
15282 gt_cv_func_CFLocaleCopyCurrent=no
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15286 LIBS="$gt_save_LIBS"
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15289 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15290 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15292 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15296 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15297 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15309 case " $gt_needs " in
15310 *" need-formatstring-macros "*) gt_api_version=3 ;;
15311 *" need-ngettext "*) gt_api_version=2 ;;
15312 *) gt_api_version=1 ;;
15314 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15315 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15317 if test "$USE_NLS" = "yes"; then
15318 gt_use_preinstalled_gnugettext=no
15321 if test $gt_api_version -ge 3; then
15322 gt_revision_test_code='
15323 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15324 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15326 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15329 gt_revision_test_code=
15331 if test $gt_api_version -ge 2; then
15332 gt_expression_test_code=' + * ngettext ("", "", 0)'
15334 gt_expression_test_code=
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15338 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15339 if eval \${$gt_func_gnugettext_libc+:} false; then :
15340 $as_echo_n "(cached) " >&6
15342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15344 #include <libintl.h>
15345 $gt_revision_test_code
15346 extern int _nl_msg_cat_cntr;
15347 extern int *_nl_domain_bindings;
15351 bindtextdomain ("", "");
15352 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15357 if ac_fn_c_try_link "$LINENO"; then :
15358 eval "$gt_func_gnugettext_libc=yes"
15360 eval "$gt_func_gnugettext_libc=no"
15362 rm -f core conftest.err conftest.$ac_objext \
15363 conftest$ac_exeext conftest.$ac_ext
15365 eval ac_res=\$$gt_func_gnugettext_libc
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15367 $as_echo "$ac_res" >&6; }
15369 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15375 am_save_CPPFLAGS="$CPPFLAGS"
15377 for element in $INCICONV; do
15379 for x in $CPPFLAGS; do
15381 acl_save_prefix="$prefix"
15382 prefix="$acl_final_prefix"
15383 acl_save_exec_prefix="$exec_prefix"
15384 exec_prefix="$acl_final_exec_prefix"
15386 exec_prefix="$acl_save_exec_prefix"
15387 prefix="$acl_save_prefix"
15389 if test "X$x" = "X$element"; then
15394 if test -z "$haveit"; then
15395 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15401 $as_echo_n "checking for iconv... " >&6; }
15402 if ${am_cv_func_iconv+:} false; then :
15403 $as_echo_n "(cached) " >&6
15406 am_cv_func_iconv="no, consider installing GNU libiconv"
15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15410 #include <stdlib.h>
15415 iconv_t cd = iconv_open("","");
15416 iconv(cd,NULL,NULL,NULL,NULL);
15422 if ac_fn_c_try_link "$LINENO"; then :
15423 am_cv_func_iconv=yes
15425 rm -f core conftest.err conftest.$ac_objext \
15426 conftest$ac_exeext conftest.$ac_ext
15427 if test "$am_cv_func_iconv" != yes; then
15428 am_save_LIBS="$LIBS"
15429 LIBS="$LIBS $LIBICONV"
15430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15431 /* end confdefs.h. */
15432 #include <stdlib.h>
15437 iconv_t cd = iconv_open("","");
15438 iconv(cd,NULL,NULL,NULL,NULL);
15444 if ac_fn_c_try_link "$LINENO"; then :
15445 am_cv_lib_iconv=yes
15446 am_cv_func_iconv=yes
15448 rm -f core conftest.err conftest.$ac_objext \
15449 conftest$ac_exeext conftest.$ac_ext
15450 LIBS="$am_save_LIBS"
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15455 $as_echo "$am_cv_func_iconv" >&6; }
15456 if test "$am_cv_func_iconv" = yes; then
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15458 $as_echo_n "checking for working iconv... " >&6; }
15459 if ${am_cv_func_iconv_works+:} false; then :
15460 $as_echo_n "(cached) " >&6
15463 am_save_LIBS="$LIBS"
15464 if test $am_cv_lib_iconv = yes; then
15465 LIBS="$LIBS $LIBICONV"
15467 if test "$cross_compiling" = yes; then :
15469 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15470 *) am_cv_func_iconv_works="guessing yes" ;;
15473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15477 #include <string.h>
15480 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15483 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15484 if (cd_utf8_to_88591 != (iconv_t)(-1))
15486 static const char input[] = "\342\202\254"; /* EURO SIGN */
15488 const char *inptr = input;
15489 size_t inbytesleft = strlen (input);
15490 char *outptr = buf;
15491 size_t outbytesleft = sizeof (buf);
15492 size_t res = iconv (cd_utf8_to_88591,
15493 (char **) &inptr, &inbytesleft,
15494 &outptr, &outbytesleft);
15499 /* Test against Solaris 10 bug: Failures are not distinguishable from
15500 successful returns. */
15502 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
15503 if (cd_ascii_to_88591 != (iconv_t)(-1))
15505 static const char input[] = "\263";
15507 const char *inptr = input;
15508 size_t inbytesleft = strlen (input);
15509 char *outptr = buf;
15510 size_t outbytesleft = sizeof (buf);
15511 size_t res = iconv (cd_ascii_to_88591,
15512 (char **) &inptr, &inbytesleft,
15513 &outptr, &outbytesleft);
15518 #if 0 /* This bug could be worked around by the caller. */
15519 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15521 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15522 if (cd_88591_to_utf8 != (iconv_t)(-1))
15524 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15526 const char *inptr = input;
15527 size_t inbytesleft = strlen (input);
15528 char *outptr = buf;
15529 size_t outbytesleft = sizeof (buf);
15530 size_t res = iconv (cd_88591_to_utf8,
15531 (char **) &inptr, &inbytesleft,
15532 &outptr, &outbytesleft);
15538 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15540 if (/* Try standardized names. */
15541 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15542 /* Try IRIX, OSF/1 names. */
15543 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15544 /* Try AIX names. */
15545 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15546 /* Try HP-UX names. */
15547 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15552 if ac_fn_c_try_run "$LINENO"; then :
15553 am_cv_func_iconv_works=yes
15555 am_cv_func_iconv_works=no
15557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15558 conftest.$ac_objext conftest.beam conftest.$ac_ext
15561 LIBS="$am_save_LIBS"
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15565 $as_echo "$am_cv_func_iconv_works" >&6; }
15566 case "$am_cv_func_iconv_works" in
15567 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15568 *) am_func_iconv=yes ;;
15571 am_func_iconv=no am_cv_lib_iconv=no
15573 if test "$am_func_iconv" = yes; then
15575 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15578 if test "$am_cv_lib_iconv" = yes; then
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15580 $as_echo_n "checking how to link with libiconv... " >&6; }
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15582 $as_echo "$LIBICONV" >&6; }
15584 CPPFLAGS="$am_save_CPPFLAGS"
15601 acl_save_prefix="$prefix"
15602 prefix="$acl_final_prefix"
15603 acl_save_exec_prefix="$exec_prefix"
15604 exec_prefix="$acl_final_exec_prefix"
15606 eval additional_includedir=\"$includedir\"
15607 eval additional_libdir=\"$libdir\"
15609 exec_prefix="$acl_save_exec_prefix"
15610 prefix="$acl_save_prefix"
15613 # Check whether --with-libintl-prefix was given.
15614 if test "${with_libintl_prefix+set}" = set; then :
15615 withval=$with_libintl_prefix;
15616 if test "X$withval" = "Xno"; then
15619 if test "X$withval" = "X"; then
15621 acl_save_prefix="$prefix"
15622 prefix="$acl_final_prefix"
15623 acl_save_exec_prefix="$exec_prefix"
15624 exec_prefix="$acl_final_exec_prefix"
15626 eval additional_includedir=\"$includedir\"
15627 eval additional_libdir=\"$libdir\"
15629 exec_prefix="$acl_save_exec_prefix"
15630 prefix="$acl_save_prefix"
15633 additional_includedir="$withval/include"
15634 additional_libdir="$withval/$acl_libdirstem"
15635 if test "$acl_libdirstem2" != "$acl_libdirstem" \
15636 && ! test -d "$withval/$acl_libdirstem"; then
15637 additional_libdir="$withval/$acl_libdirstem2"
15651 names_already_handled=
15652 names_next_round='intl '
15653 while test -n "$names_next_round"; do
15654 names_this_round="$names_next_round"
15656 for name in $names_this_round; do
15658 for n in $names_already_handled; do
15659 if test "$n" = "$name"; then
15660 already_handled=yes
15664 if test -z "$already_handled"; then
15665 names_already_handled="$names_already_handled $name"
15666 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15667 eval value=\"\$HAVE_LIB$uppername\"
15668 if test -n "$value"; then
15669 if test "$value" = yes; then
15670 eval value=\"\$LIB$uppername\"
15671 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15672 eval value=\"\$LTLIB$uppername\"
15673 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15682 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15683 if test -n "$acl_shlibext"; then
15684 shrext=".$acl_shlibext" # typically: shrext=.so
15688 if test $use_additional = yes; then
15689 dir="$additional_libdir"
15690 if test -n "$acl_shlibext"; then
15691 if test -f "$dir/$libname$shrext"; then
15693 found_so="$dir/$libname$shrext"
15695 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15696 ver=`(cd "$dir" && \
15697 for f in "$libname$shrext".*; do echo "$f"; done \
15698 | sed -e "s,^$libname$shrext\\\\.,," \
15699 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15700 | sed 1q ) 2>/dev/null`
15701 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15703 found_so="$dir/$libname$shrext.$ver"
15706 eval library_names=\"$acl_library_names_spec\"
15707 for f in $library_names; do
15708 if test -f "$dir/$f"; then
15717 if test "X$found_dir" = "X"; then
15718 if test -f "$dir/$libname.$acl_libext"; then
15720 found_a="$dir/$libname.$acl_libext"
15723 if test "X$found_dir" != "X"; then
15724 if test -f "$dir/$libname.la"; then
15725 found_la="$dir/$libname.la"
15729 if test "X$found_dir" = "X"; then
15730 for x in $LDFLAGS $LTLIBINTL; do
15732 acl_save_prefix="$prefix"
15733 prefix="$acl_final_prefix"
15734 acl_save_exec_prefix="$exec_prefix"
15735 exec_prefix="$acl_final_exec_prefix"
15737 exec_prefix="$acl_save_exec_prefix"
15738 prefix="$acl_save_prefix"
15742 dir=`echo "X$x" | sed -e 's/^X-L//'`
15743 if test -n "$acl_shlibext"; then
15744 if test -f "$dir/$libname$shrext"; then
15746 found_so="$dir/$libname$shrext"
15748 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15749 ver=`(cd "$dir" && \
15750 for f in "$libname$shrext".*; do echo "$f"; done \
15751 | sed -e "s,^$libname$shrext\\\\.,," \
15752 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15753 | sed 1q ) 2>/dev/null`
15754 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15756 found_so="$dir/$libname$shrext.$ver"
15759 eval library_names=\"$acl_library_names_spec\"
15760 for f in $library_names; do
15761 if test -f "$dir/$f"; then
15770 if test "X$found_dir" = "X"; then
15771 if test -f "$dir/$libname.$acl_libext"; then
15773 found_a="$dir/$libname.$acl_libext"
15776 if test "X$found_dir" != "X"; then
15777 if test -f "$dir/$libname.la"; then
15778 found_la="$dir/$libname.la"
15783 if test "X$found_dir" != "X"; then
15788 if test "X$found_dir" != "X"; then
15789 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15790 if test "X$found_so" != "X"; then
15791 if test "$enable_rpath" = no \
15792 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
15793 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
15794 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15797 for x in $ltrpathdirs; do
15798 if test "X$x" = "X$found_dir"; then
15803 if test -z "$haveit"; then
15804 ltrpathdirs="$ltrpathdirs $found_dir"
15806 if test "$acl_hardcode_direct" = yes; then
15807 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15809 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15810 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15812 for x in $rpathdirs; do
15813 if test "X$x" = "X$found_dir"; then
15818 if test -z "$haveit"; then
15819 rpathdirs="$rpathdirs $found_dir"
15823 for x in $LDFLAGS $LIBINTL; do
15825 acl_save_prefix="$prefix"
15826 prefix="$acl_final_prefix"
15827 acl_save_exec_prefix="$exec_prefix"
15828 exec_prefix="$acl_final_exec_prefix"
15830 exec_prefix="$acl_save_exec_prefix"
15831 prefix="$acl_save_prefix"
15833 if test "X$x" = "X-L$found_dir"; then
15838 if test -z "$haveit"; then
15839 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15841 if test "$acl_hardcode_minus_L" != no; then
15842 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15844 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15850 if test "X$found_a" != "X"; then
15851 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15853 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15856 additional_includedir=
15857 case "$found_dir" in
15858 */$acl_libdirstem | */$acl_libdirstem/)
15859 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15860 if test "$name" = 'intl'; then
15861 LIBINTL_PREFIX="$basedir"
15863 additional_includedir="$basedir/include"
15865 */$acl_libdirstem2 | */$acl_libdirstem2/)
15866 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15867 if test "$name" = 'intl'; then
15868 LIBINTL_PREFIX="$basedir"
15870 additional_includedir="$basedir/include"
15873 if test "X$additional_includedir" != "X"; then
15874 if test "X$additional_includedir" != "X/usr/include"; then
15876 if test "X$additional_includedir" = "X/usr/local/include"; then
15877 if test -n "$GCC"; then
15879 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15883 if test -z "$haveit"; then
15884 for x in $CPPFLAGS $INCINTL; do
15886 acl_save_prefix="$prefix"
15887 prefix="$acl_final_prefix"
15888 acl_save_exec_prefix="$exec_prefix"
15889 exec_prefix="$acl_final_exec_prefix"
15891 exec_prefix="$acl_save_exec_prefix"
15892 prefix="$acl_save_prefix"
15894 if test "X$x" = "X-I$additional_includedir"; then
15899 if test -z "$haveit"; then
15900 if test -d "$additional_includedir"; then
15901 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15907 if test -n "$found_la"; then
15908 save_libdir="$libdir"
15909 case "$found_la" in
15910 */* | *\\*) . "$found_la" ;;
15911 *) . "./$found_la" ;;
15913 libdir="$save_libdir"
15914 for dep in $dependency_libs; do
15917 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15918 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15919 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15921 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15922 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15923 if test -n "$GCC"; then
15925 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15929 if test -z "$haveit"; then
15931 for x in $LDFLAGS $LIBINTL; do
15933 acl_save_prefix="$prefix"
15934 prefix="$acl_final_prefix"
15935 acl_save_exec_prefix="$exec_prefix"
15936 exec_prefix="$acl_final_exec_prefix"
15938 exec_prefix="$acl_save_exec_prefix"
15939 prefix="$acl_save_prefix"
15941 if test "X$x" = "X-L$additional_libdir"; then
15946 if test -z "$haveit"; then
15947 if test -d "$additional_libdir"; then
15948 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15952 for x in $LDFLAGS $LTLIBINTL; do
15954 acl_save_prefix="$prefix"
15955 prefix="$acl_final_prefix"
15956 acl_save_exec_prefix="$exec_prefix"
15957 exec_prefix="$acl_final_exec_prefix"
15959 exec_prefix="$acl_save_exec_prefix"
15960 prefix="$acl_save_prefix"
15962 if test "X$x" = "X-L$additional_libdir"; then
15967 if test -z "$haveit"; then
15968 if test -d "$additional_libdir"; then
15969 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15976 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15977 if test "$enable_rpath" != no; then
15979 for x in $rpathdirs; do
15980 if test "X$x" = "X$dir"; then
15985 if test -z "$haveit"; then
15986 rpathdirs="$rpathdirs $dir"
15989 for x in $ltrpathdirs; do
15990 if test "X$x" = "X$dir"; then
15995 if test -z "$haveit"; then
15996 ltrpathdirs="$ltrpathdirs $dir"
16001 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16004 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16007 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
16008 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
16014 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16015 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
16021 if test "X$rpathdirs" != "X"; then
16022 if test -n "$acl_hardcode_libdir_separator"; then
16024 for found_dir in $rpathdirs; do
16025 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16027 acl_save_libdir="$libdir"
16029 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16030 libdir="$acl_save_libdir"
16031 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16033 for found_dir in $rpathdirs; do
16034 acl_save_libdir="$libdir"
16035 libdir="$found_dir"
16036 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16037 libdir="$acl_save_libdir"
16038 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16042 if test "X$ltrpathdirs" != "X"; then
16043 for found_dir in $ltrpathdirs; do
16044 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16054 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16055 if eval \${$gt_func_gnugettext_libintl+:} false; then :
16056 $as_echo_n "(cached) " >&6
16058 gt_save_CPPFLAGS="$CPPFLAGS"
16059 CPPFLAGS="$CPPFLAGS $INCINTL"
16060 gt_save_LIBS="$LIBS"
16061 LIBS="$LIBS $LIBINTL"
16062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16063 /* end confdefs.h. */
16064 #include <libintl.h>
16065 $gt_revision_test_code
16066 extern int _nl_msg_cat_cntr;
16071 const char *_nl_expand_alias (const char *);
16075 bindtextdomain ("", "");
16076 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16081 if ac_fn_c_try_link "$LINENO"; then :
16082 eval "$gt_func_gnugettext_libintl=yes"
16084 eval "$gt_func_gnugettext_libintl=no"
16086 rm -f core conftest.err conftest.$ac_objext \
16087 conftest$ac_exeext conftest.$ac_ext
16088 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16089 LIBS="$LIBS $LIBICONV"
16090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16091 /* end confdefs.h. */
16092 #include <libintl.h>
16093 $gt_revision_test_code
16094 extern int _nl_msg_cat_cntr;
16099 const char *_nl_expand_alias (const char *);
16103 bindtextdomain ("", "");
16104 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16109 if ac_fn_c_try_link "$LINENO"; then :
16110 LIBINTL="$LIBINTL $LIBICONV"
16111 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16112 eval "$gt_func_gnugettext_libintl=yes"
16115 rm -f core conftest.err conftest.$ac_objext \
16116 conftest$ac_exeext conftest.$ac_ext
16118 CPPFLAGS="$gt_save_CPPFLAGS"
16119 LIBS="$gt_save_LIBS"
16121 eval ac_res=\$$gt_func_gnugettext_libintl
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16123 $as_echo "$ac_res" >&6; }
16126 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16127 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16128 && test "$PACKAGE" != gettext-runtime \
16129 && test "$PACKAGE" != gettext-tools; }; then
16130 gt_use_preinstalled_gnugettext=yes
16139 if test -n "$INTL_MACOSX_LIBS"; then
16140 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16141 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16142 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16143 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16147 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16148 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16150 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16158 $as_echo_n "checking whether to use NLS... " >&6; }
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16160 $as_echo "$USE_NLS" >&6; }
16161 if test "$USE_NLS" = "yes"; then
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16163 $as_echo_n "checking where the gettext function comes from... " >&6; }
16164 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16165 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16166 gt_source="external libintl"
16171 gt_source="included intl directory"
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16174 $as_echo "$gt_source" >&6; }
16177 if test "$USE_NLS" = "yes"; then
16179 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16180 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16182 $as_echo_n "checking how to link with libintl... " >&6; }
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16184 $as_echo "$LIBINTL" >&6; }
16186 for element in $INCINTL; do
16188 for x in $CPPFLAGS; do
16190 acl_save_prefix="$prefix"
16191 prefix="$acl_final_prefix"
16192 acl_save_exec_prefix="$exec_prefix"
16193 exec_prefix="$acl_final_exec_prefix"
16195 exec_prefix="$acl_save_exec_prefix"
16196 prefix="$acl_save_prefix"
16198 if test "X$x" = "X$element"; then
16203 if test -z "$haveit"; then
16204 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16211 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16214 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16223 INTLLIBS="$LIBINTL"
16232 GETTEXT_PACKAGE=PACKAGE_TARNAME
16235 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
16238 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
16241 cat >confcache <<\_ACEOF
16242 # This file is a shell script that caches the results of configure
16243 # tests run on this system so they can be shared between configure
16244 # scripts and configure runs, see configure's option --config-cache.
16245 # It is not useful on other systems. If it contains results you don't
16246 # want to keep, you may remove or edit it.
16248 # config.status only pays attention to the cache file if you give it
16249 # the --recheck option to rerun configure.
16251 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16252 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16253 # following values.
16257 # The following way of writing the cache mishandles newlines in values,
16258 # but we know of no workaround that is simple, portable, and efficient.
16259 # So, we kill variables containing newlines.
16260 # Ultrix sh set writes to stderr and can't be redirected directly,
16261 # and sets the high bit in the cache file unless we assign to the vars.
16263 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16264 eval ac_val=\$$ac_var
16268 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16269 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16272 _ | IFS | as_nl) ;; #(
16273 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16274 *) { eval $ac_var=; unset $ac_var;} ;;
16280 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16281 *${as_nl}ac_space=\ *)
16282 # `set' does not quote correctly, so add quotes: double-quote
16283 # substitution turns \\\\ into \\, and sed turns \\ into \.
16286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16289 # `set' quotes correctly as required by POSIX, so do not add quotes.
16290 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16299 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16301 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16303 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16304 if test -w "$cache_file"; then
16305 if test "x$cache_file" != "x/dev/null"; then
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16307 $as_echo "$as_me: updating cache $cache_file" >&6;}
16308 if test ! -f "$cache_file" || test -h "$cache_file"; then
16309 cat confcache >"$cache_file"
16311 case $cache_file in #(
16313 mv -f confcache "$cache_file"$$ &&
16314 mv -f "$cache_file"$$ "$cache_file" ;; #(
16316 mv -f confcache "$cache_file" ;;
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16322 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16327 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16328 # Let make expand exec_prefix.
16329 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16331 DEFS=-DHAVE_CONFIG_H
16336 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16337 # 1. Remove the extension, and $U if already installed.
16338 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16339 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16340 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16341 # will be set to the directory where LIBOBJS objects are built.
16342 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16343 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16345 LIBOBJS=$ac_libobjs
16347 LTLIBOBJS=$ac_ltlibobjs
16350 if test -n "$EXEEXT"; then
16352 am__EXEEXT_FALSE='#'
16354 am__EXEEXT_TRUE='#'
16358 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16359 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16362 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16363 as_fn_error $? "conditional \"AMDEP\" was never defined.
16364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16366 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16367 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16370 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16371 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16374 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
16375 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
16376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16378 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16379 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16382 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
16383 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
16384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16386 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
16387 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
16388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16390 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
16391 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
16392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16394 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
16395 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
16396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16398 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
16399 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
16400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16403 : "${CONFIG_STATUS=./config.status}"
16405 ac_clean_files_save=$ac_clean_files
16406 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16408 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16410 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16412 # Generated by $as_me.
16413 # Run this file to recreate the current configuration.
16414 # Compiler output produced by configure, useful for debugging
16415 # configure, is in config.log if it exists.
16418 ac_cs_recheck=false
16421 SHELL=\${CONFIG_SHELL-$SHELL}
16424 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16425 ## -------------------- ##
16426 ## M4sh Initialization. ##
16427 ## -------------------- ##
16429 # Be more Bourne compatible
16430 DUALCASE=1; export DUALCASE # for MKS sh
16431 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16434 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16435 # is contrary to our usage. Disable this feature.
16436 alias -g '${1+"$@"}'='"$@"'
16437 setopt NO_GLOB_SUBST
16439 case `(set -o) 2>/dev/null` in #(
16451 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16452 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16453 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16454 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16455 # Prefer a ksh shell builtin over an external printf program on Solaris,
16456 # but without wasting forks for bash or zsh.
16457 if test -z "$BASH_VERSION$ZSH_VERSION" \
16458 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16459 as_echo='print -r --'
16460 as_echo_n='print -rn --'
16461 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16462 as_echo='printf %s\n'
16463 as_echo_n='printf %s'
16465 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16466 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16467 as_echo_n='/usr/ucb/echo -n'
16469 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16470 as_echo_n_body='eval
16474 expr "X$arg" : "X\\(.*\\)$as_nl";
16475 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16477 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16479 export as_echo_n_body
16480 as_echo_n='sh -c $as_echo_n_body as_echo'
16482 export as_echo_body
16483 as_echo='sh -c $as_echo_body as_echo'
16486 # The user is always right.
16487 if test "${PATH_SEPARATOR+set}" != set; then
16489 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16490 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16497 # We need space, tab and new line, in precisely that order. Quoting is
16498 # there to prevent editors from complaining about space-tab.
16499 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16500 # splitting by setting IFS to empty value.)
16503 # Find who we are. Look in the path if we contain no directory separator.
16506 *[\\/]* ) as_myself=$0 ;;
16507 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16508 for as_dir in $PATH
16511 test -z "$as_dir" && as_dir=.
16512 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16518 # We did not find ourselves, most probably we were run as `sh COMMAND'
16519 # in which case we are not to be found in the path.
16520 if test "x$as_myself" = x; then
16523 if test ! -f "$as_myself"; then
16524 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16528 # Unset variables that we do not need and which cause bugs (e.g. in
16529 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16530 # suppresses any "Segmentation fault" message there. '((' could
16531 # trigger a bug in pdksh 5.2.14.
16532 for as_var in BASH_ENV ENV MAIL MAILPATH
16533 do eval test x\${$as_var+set} = xset \
16534 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16547 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16550 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16551 # ----------------------------------------
16552 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16553 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16554 # script with STATUS, using 1 if that was 0.
16557 as_status=$1; test $as_status -eq 0 && as_status=1
16559 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16560 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16562 $as_echo "$as_me: error: $2" >&2
16563 as_fn_exit $as_status
16567 # as_fn_set_status STATUS
16568 # -----------------------
16569 # Set $? to STATUS, without forking.
16570 as_fn_set_status ()
16573 } # as_fn_set_status
16575 # as_fn_exit STATUS
16576 # -----------------
16577 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16581 as_fn_set_status $1
16587 # Portably unset VAR.
16590 { eval $1=; unset $1;}
16592 as_unset=as_fn_unset
16593 # as_fn_append VAR VALUE
16594 # ----------------------
16595 # Append the text in VALUE to the end of the definition contained in VAR. Take
16596 # advantage of any shell optimizations that allow amortized linear growth over
16597 # repeated appends, instead of the typical quadratic growth present in naive
16599 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16600 eval 'as_fn_append ()
16611 # as_fn_arith ARG...
16612 # ------------------
16613 # Perform arithmetic evaluation on the ARGs, and store the result in the
16614 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16615 # must be portable across $(()) and expr.
16616 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16617 eval 'as_fn_arith ()
16624 as_val=`expr "$@" || test $? -eq 1`
16629 if expr a : '\(a\)' >/dev/null 2>&1 &&
16630 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16636 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16637 as_basename=basename
16642 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16648 as_me=`$as_basename -- "$0" ||
16649 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16650 X"$0" : 'X\(//\)$' \| \
16651 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16653 sed '/^.*\/\([^/][^/]*\)\/*$/{
16667 # Avoid depending upon Character Ranges.
16668 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16669 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16670 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16671 as_cr_digits='0123456789'
16672 as_cr_alnum=$as_cr_Letters$as_cr_digits
16674 ECHO_C= ECHO_N= ECHO_T=
16675 case `echo -n x` in #(((((
16677 case `echo 'xy\c'` in
16678 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16680 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16687 rm -f conf$$ conf$$.exe conf$$.file
16688 if test -d conf$$.dir; then
16689 rm -f conf$$.dir/conf$$.file
16692 mkdir conf$$.dir 2>/dev/null
16694 if (echo >conf$$.file) 2>/dev/null; then
16695 if ln -s conf$$.file conf$$ 2>/dev/null; then
16697 # ... but there are two gotchas:
16698 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16699 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16700 # In both cases, we have to default to `cp -pR'.
16701 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16703 elif ln conf$$.file conf$$ 2>/dev/null; then
16711 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16712 rmdir conf$$.dir 2>/dev/null
16717 # Create "$as_dir" as a directory, including parents if necessary.
16722 -*) as_dir=./$as_dir;;
16724 test -d "$as_dir" || eval $as_mkdir_p || {
16728 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16729 *) as_qdir=$as_dir;;
16731 as_dirs="'$as_qdir' $as_dirs"
16732 as_dir=`$as_dirname -- "$as_dir" ||
16733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16734 X"$as_dir" : 'X\(//\)[^/]' \| \
16735 X"$as_dir" : 'X\(//\)$' \| \
16736 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16737 $as_echo X"$as_dir" |
16738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16742 /^X\(\/\/\)[^/].*/{
16755 test -d "$as_dir" && break
16757 test -z "$as_dirs" || eval "mkdir $as_dirs"
16758 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16762 if mkdir -p . 2>/dev/null; then
16763 as_mkdir_p='mkdir -p "$as_dir"'
16765 test -d ./-p && rmdir ./-p
16770 # as_fn_executable_p FILE
16771 # -----------------------
16772 # Test if FILE is an executable regular file.
16773 as_fn_executable_p ()
16775 test -f "$1" && test -x "$1"
16776 } # as_fn_executable_p
16777 as_test_x='test -x'
16778 as_executable_p=as_fn_executable_p
16780 # Sed expression to map a string onto a valid CPP name.
16781 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16783 # Sed expression to map a string onto a valid variable name.
16784 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16788 ## ----------------------------------- ##
16789 ## Main body of $CONFIG_STATUS script. ##
16790 ## ----------------------------------- ##
16792 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16795 # Save the log message, to keep $0 and so on meaningful, and to
16796 # report actual input values of CONFIG_FILES etc. instead of their
16797 # values after options handling.
16799 This file was extended by Moonshot-ui $as_me 0.5, which was
16800 generated by GNU Autoconf 2.69. Invocation command line was
16802 CONFIG_FILES = $CONFIG_FILES
16803 CONFIG_HEADERS = $CONFIG_HEADERS
16804 CONFIG_LINKS = $CONFIG_LINKS
16805 CONFIG_COMMANDS = $CONFIG_COMMANDS
16808 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16813 case $ac_config_files in *"
16814 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16817 case $ac_config_headers in *"
16818 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16823 # Files that config.status was made for.
16824 config_files="$ac_config_files"
16825 config_headers="$ac_config_headers"
16826 config_commands="$ac_config_commands"
16830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16832 \`$as_me' instantiates files and other configuration actions
16833 from templates according to the current configuration. Unless the files
16834 and actions are specified as TAGs, all are instantiated by default.
16836 Usage: $0 [OPTION]... [TAG]...
16838 -h, --help print this help, then exit
16839 -V, --version print version number and configuration settings, then exit
16840 --config print configuration, then exit
16841 -q, --quiet, --silent
16842 do not print progress messages
16843 -d, --debug don't remove temporary files
16844 --recheck update $as_me by reconfiguring in the same conditions
16845 --file=FILE[:TEMPLATE]
16846 instantiate the configuration file FILE
16847 --header=FILE[:TEMPLATE]
16848 instantiate the configuration header FILE
16850 Configuration files:
16853 Configuration headers:
16856 Configuration commands:
16859 Report bugs to <moonshot-community@jiscmail.ac.uk>.
16860 Moonshot-ui home page: <http://www.project-moonshot.org/>."
16863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16864 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16866 Moonshot-ui config.status 0.5
16867 configured by $0, generated by GNU Autoconf 2.69,
16868 with options \\"\$ac_cs_config\\"
16870 Copyright (C) 2012 Free Software Foundation, Inc.
16871 This config.status script is free software; the Free Software Foundation
16872 gives unlimited permission to copy, distribute and modify it."
16879 test -n "\$AWK" || AWK=awk
16882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16883 # The default lists apply if the user does not specify any file.
16889 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16890 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16894 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16906 # Handling of the options.
16907 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16909 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16910 $as_echo "$ac_cs_version"; exit ;;
16911 --config | --confi | --conf | --con | --co | --c )
16912 $as_echo "$ac_cs_config"; exit ;;
16913 --debug | --debu | --deb | --de | --d | -d )
16915 --file | --fil | --fi | --f )
16918 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16919 '') as_fn_error $? "missing file argument" ;;
16921 as_fn_append CONFIG_FILES " '$ac_optarg'"
16922 ac_need_defaults=false;;
16923 --header | --heade | --head | --hea )
16926 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16928 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16929 ac_need_defaults=false;;
16931 # Conflict between --help and --header
16932 as_fn_error $? "ambiguous option: \`$1'
16933 Try \`$0 --help' for more information.";;
16934 --help | --hel | -h )
16935 $as_echo "$ac_cs_usage"; exit ;;
16936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16937 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16940 # This is an error.
16941 -*) as_fn_error $? "unrecognized option: \`$1'
16942 Try \`$0 --help' for more information." ;;
16944 *) as_fn_append ac_config_targets " $1"
16945 ac_need_defaults=false ;;
16951 ac_configure_extra_args=
16953 if $ac_cs_silent; then
16955 ac_configure_extra_args="$ac_configure_extra_args --silent"
16959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16960 if \$ac_cs_recheck; then
16961 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16963 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16964 CONFIG_SHELL='$SHELL'
16965 export CONFIG_SHELL
16970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16974 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16975 ## Running $as_me. ##
16981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16985 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16988 # The HP-UX ksh and POSIX shell print the target directory to stdout
16989 # if CDPATH is set.
16990 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16992 sed_quote_subst='$sed_quote_subst'
16993 double_quote_subst='$double_quote_subst'
16994 delay_variable_subst='$delay_variable_subst'
16995 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16996 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16997 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16998 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16999 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17000 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17001 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17002 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17003 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17004 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17005 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17006 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17007 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17008 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17009 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17010 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17011 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17012 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17013 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17014 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17015 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17016 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17017 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17018 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17019 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17020 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17021 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17022 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17023 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17024 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17025 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17026 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17027 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17028 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17029 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17030 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17031 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17032 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17033 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17034 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17035 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17036 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17037 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17038 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17039 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17040 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17041 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17042 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17043 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17044 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17045 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17046 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17047 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17048 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17049 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17050 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17051 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17052 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"`'
17053 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17054 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17055 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17056 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17057 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17058 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17059 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17060 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17061 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17062 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17063 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17064 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17065 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17066 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17067 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17068 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17069 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17070 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17071 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17072 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17073 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17074 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17075 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17076 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17077 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17078 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17079 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17080 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17081 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17082 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17083 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17084 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17085 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17086 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17087 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17088 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17089 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17090 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17091 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17092 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17093 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17094 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17095 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17096 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17097 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17098 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17099 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17100 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17101 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17102 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17103 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17104 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17105 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17106 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17107 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17108 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17109 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17110 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17111 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17112 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17113 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17114 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17115 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17116 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17117 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17118 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17119 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17120 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17121 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17122 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17123 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17124 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17125 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17128 LTCFLAGS='$LTCFLAGS'
17129 compiler='$compiler_DEFAULT'
17131 # A function that is used when there is no print builtin or printf.
17132 func_fallback_echo ()
17134 eval 'cat <<_LTECHO_EOF
17139 # Quote evaled strings.
17156 deplibs_check_method \
17160 sharedlib_from_linklib_cmd \
17163 archiver_list_spec \
17169 lt_cv_sys_global_symbol_pipe \
17170 lt_cv_sys_global_symbol_to_cdecl \
17171 lt_cv_sys_global_symbol_to_c_name_address \
17172 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17173 nm_file_list_spec \
17174 lt_prog_compiler_no_builtin_flag \
17175 lt_prog_compiler_pic \
17176 lt_prog_compiler_wl \
17177 lt_prog_compiler_static \
17178 lt_cv_prog_compiler_c_o \
17187 export_dynamic_flag_spec \
17188 whole_archive_flag_spec \
17189 compiler_needs_object \
17191 allow_undefined_flag \
17192 no_undefined_flag \
17193 hardcode_libdir_flag_spec \
17194 hardcode_libdir_separator \
17198 variables_saved_for_relink \
17200 library_names_spec \
17202 install_override_mode \
17206 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17207 *[\\\\\\\`\\"\\\$]*)
17208 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17211 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17216 # Double-quote double-evaled strings.
17217 for var in reload_cmds \
17218 old_postinstall_cmds \
17219 old_postuninstall_cmds \
17221 extract_expsyms_cmds \
17222 old_archive_from_new_cmds \
17223 old_archive_from_expsyms_cmds \
17225 archive_expsym_cmds \
17227 module_expsym_cmds \
17228 export_symbols_cmds \
17232 postuninstall_cmds \
17234 sys_lib_search_path_spec \
17235 sys_lib_dlsearch_path_spec; do
17236 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17237 *[\\\\\\\`\\"\\\$]*)
17238 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17241 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17246 ac_aux_dir='$ac_aux_dir'
17247 xsi_shell='$xsi_shell'
17248 lt_shell_append='$lt_shell_append'
17250 # See if we are running on zsh, and set the options which allow our
17251 # commands through without removal of \ escapes INIT.
17252 if test -n "\${ZSH_VERSION+set}" ; then
17253 setopt NO_GLOB_SUBST
17259 TIMESTAMP='$TIMESTAMP'
17265 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17266 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17267 # from automake < 1.5.
17268 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17269 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17270 LINGUAS="${LINGUAS-%UNSET%}"
17275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17277 # Handling of arguments.
17278 for ac_config_target in $ac_config_targets
17280 case $ac_config_target in
17281 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17282 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17283 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17284 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17285 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17286 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17287 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
17288 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
17289 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
17291 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17296 # If the user did not use the arguments to specify the items to instantiate,
17297 # then the envvar interface is used. Set only those that are not.
17298 # We use the long form for the default assignment because of an extremely
17299 # bizarre bug on SunOS 4.1.3.
17300 if $ac_need_defaults; then
17301 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17302 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17303 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17306 # Have a temporary directory for convenience. Make it in the build tree
17307 # simply because there is no reason against having it here, and in addition,
17308 # creating and moving files from /tmp can sometimes cause problems.
17309 # Hook for its removal unless debugging.
17310 # Note that there is a small window in which the directory will not be cleaned:
17311 # after its creation but before its name has been assigned to `$tmp'.
17315 trap 'exit_status=$?
17316 : "${ac_tmp:=$tmp}"
17317 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17319 trap 'as_fn_exit 1' 1 2 13 15
17321 # Create a (secure) tmp directory for tmp files.
17324 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17328 tmp=./conf$$-$RANDOM
17329 (umask 077 && mkdir "$tmp")
17330 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17333 # Set up the scripts for CONFIG_FILES section.
17334 # No need to generate them if there are no CONFIG_FILES.
17335 # This happens for instance with `./config.status config.h'.
17336 if test -n "$CONFIG_FILES"; then
17339 ac_cr=`echo X | tr X '\015'`
17340 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17341 # But we know of no other shell where ac_cr would be empty at this
17342 # point, so we can use a bashism as a fallback.
17343 if test "x$ac_cr" = x; then
17344 eval ac_cr=\$\'\\r\'
17346 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17347 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17350 ac_cs_awk_cr=$ac_cr
17353 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17358 echo "cat >conf$$subs.awk <<_ACEOF" &&
17359 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17361 } >conf$$subs.sh ||
17362 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17363 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17365 for ac_last_try in false false false false false :; do
17366 . ./conf$$subs.sh ||
17367 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17369 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17370 if test $ac_delim_n = $ac_delim_num; then
17372 elif $ac_last_try; then
17373 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17375 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17378 rm -f conf$$subs.sh
17380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17381 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17385 s/^/S["/; s/!.*/"]=/
17395 s/\(.\{148\}\)..*/\1/
17397 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17402 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17409 s/\(.\{148\}\)..*/\1/
17411 s/["\\]/\\&/g; s/^/"/; s/$/"/
17415 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17420 ' <conf$$subs.awk | sed '
17425 ' >>$CONFIG_STATUS || ac_write_fail=1
17426 rm -f conf$$subs.awk
17427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17429 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17430 for (key in S) S_is_set[key] = 1
17436 nfields = split(line, field, "@")
17438 len = length(field[1])
17439 for (i = 2; i < nfields; i++) {
17441 keylen = length(key)
17442 if (S_is_set[key]) {
17444 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17445 len += length(value) + length(field[++i])
17456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17457 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17458 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17461 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17462 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17465 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17466 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17467 # trailing colons and then remove the whole line if VPATH becomes empty
17468 # (actually we leave an empty line to preserve line numbers).
17469 if test "x$srcdir" = x.; then
17470 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17489 fi # test -n "$CONFIG_FILES"
17491 # Set up the scripts for CONFIG_HEADERS section.
17492 # No need to generate them if there are no CONFIG_HEADERS.
17493 # This happens for instance with `./config.status Makefile'.
17494 if test -n "$CONFIG_HEADERS"; then
17495 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17499 # Transform confdefs.h into an awk script `defines.awk', embedded as
17500 # here-document in config.status, that substitutes the proper values into
17501 # config.h.in to produce config.h.
17503 # Create a delimiter string that does not exist in confdefs.h, to ease
17504 # handling of long lines.
17506 for ac_last_try in false false :; do
17507 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17508 if test -z "$ac_tt"; then
17510 elif $ac_last_try; then
17511 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17513 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17517 # For the awk script, D is an array of macro values keyed by name,
17518 # likewise P contains macro parameters if any. Preserve backslash
17519 # newline sequences.
17521 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17523 s/.\{148\}/&'"$ac_delim"'/g
17526 s/^[ ]*#[ ]*define[ ][ ]*/ /
17533 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17535 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17539 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17540 D["\1"]=" \3\\\\\\n"\\/p
17542 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17547 s/.\{148\}/&'"$ac_delim"'/g
17552 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17555 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17557 ' <confdefs.h | sed '
17558 s/'"$ac_delim"'/"\\\
17559 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17562 for (key in D) D_is_set[key] = 1
17565 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17567 split(line, arg, " ")
17568 if (arg[1] == "#") {
17572 defundef = substr(arg[1], 2)
17575 split(mac1, mac2, "(") #)
17577 prefix = substr(line, 1, index(line, defundef) - 1)
17578 if (D_is_set[macro]) {
17579 # Preserve the white space surrounding the "#".
17580 print prefix "define", macro P[macro] D[macro]
17583 # Replace #undef with comments. This is necessary, for example,
17584 # in the case of _POSIX_SOURCE, which is predefined and required
17585 # on some systems where configure will not decide to define it.
17586 if (defundef == "undef") {
17587 print "/*", prefix defundef, macro, "*/"
17595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17596 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17597 fi # test -n "$CONFIG_HEADERS"
17600 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17605 :[FHLC]) ac_mode=$ac_tag; continue;;
17607 case $ac_mode$ac_tag in
17609 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17610 :[FH]-) ac_tag=-:-;;
17611 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17628 -) ac_f="$ac_tmp/stdin";;
17629 *) # Look for the file first in the build tree, then in the source tree
17630 # (if the path is not absolute). The absolute path cannot be DOS-style,
17631 # because $ac_f cannot contain `:'.
17635 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17637 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17639 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17640 as_fn_append ac_file_inputs " '$ac_f'"
17643 # Let's still pretend it is `configure' which instantiates (i.e., don't
17644 # use $as_me), people would be surprised to read:
17645 # /* config.h. Generated by config.status. */
17646 configure_input='Generated from '`
17647 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17649 if test x"$ac_file" != x-; then
17650 configure_input="$ac_file. $configure_input"
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17652 $as_echo "$as_me: creating $ac_file" >&6;}
17654 # Neutralize special characters interpreted by sed in replacement strings.
17655 case $configure_input in #(
17656 *\&* | *\|* | *\\* )
17657 ac_sed_conf_input=`$as_echo "$configure_input" |
17658 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17659 *) ac_sed_conf_input=$configure_input;;
17663 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17664 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17669 ac_dir=`$as_dirname -- "$ac_file" ||
17670 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17671 X"$ac_file" : 'X\(//\)[^/]' \| \
17672 X"$ac_file" : 'X\(//\)$' \| \
17673 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17674 $as_echo X"$ac_file" |
17675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17679 /^X\(\/\/\)[^/].*/{
17692 as_dir="$ac_dir"; as_fn_mkdir_p
17696 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17698 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17699 # A ".." for each directory in $ac_dir_suffix.
17700 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17701 case $ac_top_builddir_sub in
17702 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17703 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17706 ac_abs_top_builddir=$ac_pwd
17707 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17708 # for backward compatibility:
17709 ac_top_builddir=$ac_top_build_prefix
17712 .) # We are building in place.
17714 ac_top_srcdir=$ac_top_builddir_sub
17715 ac_abs_top_srcdir=$ac_pwd ;;
17716 [\\/]* | ?:[\\/]* ) # Absolute name.
17717 ac_srcdir=$srcdir$ac_dir_suffix;
17718 ac_top_srcdir=$srcdir
17719 ac_abs_top_srcdir=$srcdir ;;
17720 *) # Relative name.
17721 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17722 ac_top_srcdir=$ac_top_build_prefix$srcdir
17723 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17725 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17735 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17736 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17738 ac_MKDIR_P=$MKDIR_P
17740 [\\/$]* | ?:[\\/]* ) ;;
17741 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17746 # If the template does not know about datarootdir, expand it.
17747 # FIXME: This hack should be removed a few years after 2.60.
17748 ac_datarootdir_hack=; ac_datarootdir_seen=
17759 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17760 *datarootdir*) ac_datarootdir_seen=yes;;
17761 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17763 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17766 ac_datarootdir_hack='
17767 s&@datadir@&$datadir&g
17768 s&@docdir@&$docdir&g
17769 s&@infodir@&$infodir&g
17770 s&@localedir@&$localedir&g
17771 s&@mandir@&$mandir&g
17772 s&\\\${datarootdir}&$datarootdir&g' ;;
17776 # Neutralize VPATH when `$srcdir' = `.'.
17777 # Shell code in configure.ac might set extrasub.
17778 # FIXME: do we really want to maintain this feature?
17779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17780 ac_sed_extra="$ac_vpsub
17783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17785 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17786 s|@configure_input@|$ac_sed_conf_input|;t t
17787 s&@top_builddir@&$ac_top_builddir_sub&;t t
17788 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17789 s&@srcdir@&$ac_srcdir&;t t
17790 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17791 s&@top_srcdir@&$ac_top_srcdir&;t t
17792 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17793 s&@builddir@&$ac_builddir&;t t
17794 s&@abs_builddir@&$ac_abs_builddir&;t t
17795 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17796 s&@INSTALL@&$ac_INSTALL&;t t
17797 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17798 $ac_datarootdir_hack
17800 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17801 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17803 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17804 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17805 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17806 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17808 which seems to be undefined. Please make sure it is defined" >&5
17809 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17810 which seems to be undefined. Please make sure it is defined" >&2;}
17812 rm -f "$ac_tmp/stdin"
17814 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17815 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17817 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17823 if test x"$ac_file" != x-; then
17825 $as_echo "/* $configure_input */" \
17826 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17827 } >"$ac_tmp/config.h" \
17828 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17829 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17831 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17834 mv "$ac_tmp/config.h" "$ac_file" \
17835 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17838 $as_echo "/* $configure_input */" \
17839 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17840 || as_fn_error $? "could not create -" "$LINENO" 5
17842 # Compute "$ac_file"'s index in $config_headers.
17845 for _am_header in $config_headers :; do
17846 case $_am_header in
17847 $_am_arg | $_am_arg:* )
17850 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17853 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17854 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17855 X"$_am_arg" : 'X\(//\)[^/]' \| \
17856 X"$_am_arg" : 'X\(//\)$' \| \
17857 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17858 $as_echo X"$_am_arg" |
17859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17863 /^X\(\/\/\)[^/].*/{
17875 s/.*/./; q'`/stamp-h$_am_stamp_count
17878 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17879 $as_echo "$as_me: executing $ac_file commands" >&6;}
17884 case $ac_file$ac_mode in
17885 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17886 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17887 # are listed without --file. Let's play safe and only enable the eval
17888 # if we detect the quoting.
17889 case $CONFIG_FILES in
17890 *\'*) eval set x "$CONFIG_FILES" ;;
17891 *) set x $CONFIG_FILES ;;
17896 # Strip MF so we end up with the name of the file.
17897 mf=`echo "$mf" | sed -e 's/:.*$//'`
17898 # Check whether this is an Automake generated Makefile or not.
17899 # We used to match only the files named `Makefile.in', but
17900 # some people rename them; so instead we look at the file content.
17901 # Grep'ing the first line is not enough: some people post-process
17902 # each Makefile.in and add a new line on top of each file to say so.
17903 # Grep'ing the whole file is not good either: AIX grep has a line
17904 # limit of 2048, but all sed's we know have understand at least 4000.
17905 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17906 dirpart=`$as_dirname -- "$mf" ||
17907 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17908 X"$mf" : 'X\(//\)[^/]' \| \
17909 X"$mf" : 'X\(//\)$' \| \
17910 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17916 /^X\(\/\/\)[^/].*/{
17932 # Extract the definition of DEPDIR, am__include, and am__quote
17933 # from the Makefile without running `make'.
17934 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17935 test -z "$DEPDIR" && continue
17936 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17937 test -z "am__include" && continue
17938 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17939 # When using ansi2knr, U may be empty or an underscore; expand it
17940 U=`sed -n 's/^U = //p' < "$mf"`
17941 # Find all dependency output files, they are included files with
17942 # $(DEPDIR) in their names. We invoke sed twice because it is the
17943 # simplest approach to changing $(DEPDIR) to its actual value in the
17945 for file in `sed -n "
17946 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17947 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17948 # Make sure the directory exists.
17949 test -f "$dirpart/$file" && continue
17950 fdir=`$as_dirname -- "$file" ||
17951 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17952 X"$file" : 'X\(//\)[^/]' \| \
17953 X"$file" : 'X\(//\)$' \| \
17954 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17955 $as_echo X"$file" |
17956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17960 /^X\(\/\/\)[^/].*/{
17973 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17974 # echo "creating $dirpart/$file"
17975 echo '# dummy' > "$dirpart/$file"
17982 # See if we are running on zsh, and set the options which allow our
17983 # commands through without removal of \ escapes.
17984 if test -n "${ZSH_VERSION+set}" ; then
17985 setopt NO_GLOB_SUBST
17988 cfgfile="${ofile}T"
17989 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17992 cat <<_LT_EOF >> "$cfgfile"
17995 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17996 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17997 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17998 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18000 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18001 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18003 # Written by Gordon Matzigkeit, 1996
18005 # This file is part of GNU Libtool.
18007 # GNU Libtool is free software; you can redistribute it and/or
18008 # modify it under the terms of the GNU General Public License as
18009 # published by the Free Software Foundation; either version 2 of
18010 # the License, or (at your option) any later version.
18012 # As a special exception to the GNU General Public License,
18013 # if you distribute this file as part of a program or library that
18014 # is built using GNU Libtool, you may include this file under the
18015 # same distribution terms that you use for the rest of that program.
18017 # GNU Libtool is distributed in the hope that it will be useful,
18018 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18019 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18020 # GNU General Public License for more details.
18022 # You should have received a copy of the GNU General Public License
18023 # along with GNU Libtool; see the file COPYING. If not, a copy
18024 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18025 # obtained by writing to the Free Software Foundation, Inc.,
18026 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18029 # The names of the tagged configurations supported by this script.
18032 # ### BEGIN LIBTOOL CONFIG
18034 # Which release of libtool.m4 was used?
18035 macro_version=$macro_version
18036 macro_revision=$macro_revision
18038 # Assembler program.
18041 # DLL creation program.
18042 DLLTOOL=$lt_DLLTOOL
18044 # Object dumper program.
18045 OBJDUMP=$lt_OBJDUMP
18047 # Whether or not to build shared libraries.
18048 build_libtool_libs=$enable_shared
18050 # Whether or not to build static libraries.
18051 build_old_libs=$enable_static
18053 # What type of objects to build.
18056 # Whether or not to optimize for fast installation.
18057 fast_install=$enable_fast_install
18059 # Shell to use when invoking shell scripts.
18062 # An echo program that protects backslashes.
18065 # The PATH separator for the build system.
18066 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18069 host_alias=$host_alias
18073 # The build system.
18074 build_alias=$build_alias
18078 # A sed program that does not truncate output.
18081 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18082 Xsed="\$SED -e 1s/^X//"
18084 # A grep program that handles long lines.
18090 # A literal string matcher.
18093 # A BSD- or MS-compatible name lister.
18096 # Whether we need soft or hard links.
18099 # What is the maximum length of a command?
18100 max_cmd_len=$max_cmd_len
18102 # Object file suffix (normally "o").
18105 # Executable file suffix (normally "").
18108 # whether the shell understands "unset".
18111 # turn spaces into newlines.
18114 # turn newlines into spaces.
18117 # convert \$build file names to \$host format.
18118 to_host_file_cmd=$lt_cv_to_host_file_cmd
18120 # convert \$build files to toolchain format.
18121 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18123 # Method to check whether dependent libraries are shared objects.
18124 deplibs_check_method=$lt_deplibs_check_method
18126 # Command to use when deplibs_check_method = "file_magic".
18127 file_magic_cmd=$lt_file_magic_cmd
18129 # How to find potential files when deplibs_check_method = "file_magic".
18130 file_magic_glob=$lt_file_magic_glob
18132 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18133 want_nocaseglob=$lt_want_nocaseglob
18135 # Command to associate shared and link libraries.
18136 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18141 # Flags to create an archive.
18142 AR_FLAGS=$lt_AR_FLAGS
18144 # How to feed a file listing to the archiver.
18145 archiver_list_spec=$lt_archiver_list_spec
18147 # A symbol stripping program.
18150 # Commands used to install an old-style archive.
18152 old_postinstall_cmds=$lt_old_postinstall_cmds
18153 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18155 # Whether to use a lock for old archive extraction.
18156 lock_old_archive_extraction=$lock_old_archive_extraction
18161 # LTCC compiler flags.
18162 LTCFLAGS=$lt_CFLAGS
18164 # Take the output of nm and produce a listing of raw symbols and C names.
18165 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18167 # Transform the output of nm in a proper C declaration.
18168 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18170 # Transform the output of nm in a C name address pair.
18171 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18173 # Transform the output of nm in a C name address pair when lib prefix is needed.
18174 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18176 # Specify filename containing input files for \$NM.
18177 nm_file_list_spec=$lt_nm_file_list_spec
18179 # The root where to search for dependent libraries,and in which our libraries should be installed.
18180 lt_sysroot=$lt_sysroot
18182 # The name of the directory that contains temporary libtool files.
18185 # Used to examine libraries when file_magic_cmd begins with "file".
18186 MAGIC_CMD=$MAGIC_CMD
18188 # Must we lock files when doing compilation?
18189 need_locks=$lt_need_locks
18192 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18194 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18195 DSYMUTIL=$lt_DSYMUTIL
18197 # Tool to change global to local symbols on Mac OS X.
18200 # Tool to manipulate fat objects and archives on Mac OS X.
18203 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18206 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18207 OTOOL64=$lt_OTOOL64
18209 # Old archive suffix (normally "a").
18212 # Shared library suffix (normally ".so").
18213 shrext_cmds=$lt_shrext_cmds
18215 # The commands to extract the exported symbol list from a shared archive.
18216 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18218 # Variables whose values should be saved in libtool wrapper scripts and
18219 # restored at link time.
18220 variables_saved_for_relink=$lt_variables_saved_for_relink
18222 # Do we need the "lib" prefix for modules?
18223 need_lib_prefix=$need_lib_prefix
18225 # Do we need a version for libraries?
18226 need_version=$need_version
18228 # Library versioning type.
18229 version_type=$version_type
18231 # Shared library runtime path variable.
18232 runpath_var=$runpath_var
18234 # Shared library path variable.
18235 shlibpath_var=$shlibpath_var
18237 # Is shlibpath searched before the hard-coded library search path?
18238 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18240 # Format of library name prefix.
18241 libname_spec=$lt_libname_spec
18243 # List of archive names. First name is the real one, the rest are links.
18244 # The last name is the one that the linker finds with -lNAME
18245 library_names_spec=$lt_library_names_spec
18247 # The coded name of the library, if different from the real name.
18248 soname_spec=$lt_soname_spec
18250 # Permission mode override for installation of shared libraries.
18251 install_override_mode=$lt_install_override_mode
18253 # Command to use after installation of a shared archive.
18254 postinstall_cmds=$lt_postinstall_cmds
18256 # Command to use after uninstallation of a shared archive.
18257 postuninstall_cmds=$lt_postuninstall_cmds
18259 # Commands used to finish a libtool library installation in a directory.
18260 finish_cmds=$lt_finish_cmds
18262 # As "finish_cmds", except a single script fragment to be evaled but
18264 finish_eval=$lt_finish_eval
18266 # Whether we should hardcode library paths into libraries.
18267 hardcode_into_libs=$hardcode_into_libs
18269 # Compile-time system search path for libraries.
18270 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18272 # Run-time system search path for libraries.
18273 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18275 # Whether dlopen is supported.
18276 dlopen_support=$enable_dlopen
18278 # Whether dlopen of programs is supported.
18279 dlopen_self=$enable_dlopen_self
18281 # Whether dlopen of statically linked programs is supported.
18282 dlopen_self_static=$enable_dlopen_self_static
18284 # Commands to strip libraries.
18285 old_striplib=$lt_old_striplib
18286 striplib=$lt_striplib
18289 # The linker used to build libraries.
18292 # How to create reloadable object files.
18293 reload_flag=$lt_reload_flag
18294 reload_cmds=$lt_reload_cmds
18296 # Commands used to build an old-style archive.
18297 old_archive_cmds=$lt_old_archive_cmds
18299 # A language specific compiler.
18302 # Is the compiler the GNU compiler?
18305 # Compiler flag to turn off builtin functions.
18306 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18308 # Additional compiler flags for building library objects.
18309 pic_flag=$lt_lt_prog_compiler_pic
18311 # How to pass a linker flag through the compiler.
18312 wl=$lt_lt_prog_compiler_wl
18314 # Compiler flag to prevent dynamic linking.
18315 link_static_flag=$lt_lt_prog_compiler_static
18317 # Does compiler simultaneously support -c and -o options?
18318 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18320 # Whether or not to add -lc for building shared libraries.
18321 build_libtool_need_lc=$archive_cmds_need_lc
18323 # Whether or not to disallow shared libs when runtime libs are static.
18324 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18326 # Compiler flag to allow reflexive dlopens.
18327 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18329 # Compiler flag to generate shared objects directly from archives.
18330 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18332 # Whether the compiler copes with passing no objects directly.
18333 compiler_needs_object=$lt_compiler_needs_object
18335 # Create an old-style archive from a shared archive.
18336 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18338 # Create a temporary old-style archive to link instead of a shared archive.
18339 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18341 # Commands used to build a shared archive.
18342 archive_cmds=$lt_archive_cmds
18343 archive_expsym_cmds=$lt_archive_expsym_cmds
18345 # Commands used to build a loadable module if different from building
18346 # a shared archive.
18347 module_cmds=$lt_module_cmds
18348 module_expsym_cmds=$lt_module_expsym_cmds
18350 # Whether we are building with GNU ld or not.
18351 with_gnu_ld=$lt_with_gnu_ld
18353 # Flag that allows shared libraries with undefined symbols to be built.
18354 allow_undefined_flag=$lt_allow_undefined_flag
18356 # Flag that enforces no undefined symbols.
18357 no_undefined_flag=$lt_no_undefined_flag
18359 # Flag to hardcode \$libdir into a binary during linking.
18360 # This must work even if \$libdir does not exist
18361 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18363 # Whether we need a single "-rpath" flag with a separated argument.
18364 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18366 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18367 # DIR into the resulting binary.
18368 hardcode_direct=$hardcode_direct
18370 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18371 # DIR into the resulting binary and the resulting library dependency is
18372 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18373 # library is relocated.
18374 hardcode_direct_absolute=$hardcode_direct_absolute
18376 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18377 # into the resulting binary.
18378 hardcode_minus_L=$hardcode_minus_L
18380 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18381 # into the resulting binary.
18382 hardcode_shlibpath_var=$hardcode_shlibpath_var
18384 # Set to "yes" if building a shared library automatically hardcodes DIR
18385 # into the library and all subsequent libraries and executables linked
18387 hardcode_automatic=$hardcode_automatic
18389 # Set to yes if linker adds runtime paths of dependent libraries
18390 # to runtime path list.
18391 inherit_rpath=$inherit_rpath
18393 # Whether libtool must link a program against all its dependency libraries.
18394 link_all_deplibs=$link_all_deplibs
18396 # Set to "yes" if exported symbols are required.
18397 always_export_symbols=$always_export_symbols
18399 # The commands to list exported symbols.
18400 export_symbols_cmds=$lt_export_symbols_cmds
18402 # Symbols that should not be listed in the preloaded symbols.
18403 exclude_expsyms=$lt_exclude_expsyms
18405 # Symbols that must always be exported.
18406 include_expsyms=$lt_include_expsyms
18408 # Commands necessary for linking programs (against libraries) with templates.
18409 prelink_cmds=$lt_prelink_cmds
18411 # Commands necessary for finishing linking programs.
18412 postlink_cmds=$lt_postlink_cmds
18414 # Specify filename containing input files.
18415 file_list_spec=$lt_file_list_spec
18417 # How to hardcode a shared library path into an executable.
18418 hardcode_action=$hardcode_action
18420 # ### END LIBTOOL CONFIG
18426 cat <<\_LT_EOF >> "$cfgfile"
18427 # AIX sometimes has problems with the GCC collect2 program. For some
18428 # reason, if we set the COLLECT_NAMES environment variable, the problems
18429 # vanish in a puff of smoke.
18430 if test "X${COLLECT_NAMES+set}" != Xset; then
18432 export COLLECT_NAMES
18439 ltmain="$ac_aux_dir/ltmain.sh"
18442 # We use sed instead of cat because bash on DJGPP gets confused if
18443 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18444 # text mode, it properly converts lines to CR/LF. This bash problem
18445 # is reportedly fixed, but why not run on old versions too?
18446 sed '$q' "$ltmain" >> "$cfgfile" \
18447 || (rm -f "$cfgfile"; exit 1)
18449 if test x"$xsi_shell" = xyes; then
18450 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18454 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18455 \ * ) func_dirname_result="${3}" ;;\
18457 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18458 && mv -f "$cfgfile.tmp" "$cfgfile" \
18459 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18460 test 0 -eq $? || _lt_function_replace_fail=:
18463 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18466 \ func_basename_result="${1##*/}"\
18467 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18468 && mv -f "$cfgfile.tmp" "$cfgfile" \
18469 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18470 test 0 -eq $? || _lt_function_replace_fail=:
18473 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18474 func_dirname_and_basename ()\
18477 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18478 \ * ) func_dirname_result="${3}" ;;\
18480 \ func_basename_result="${1##*/}"\
18481 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18482 && mv -f "$cfgfile.tmp" "$cfgfile" \
18483 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18484 test 0 -eq $? || _lt_function_replace_fail=:
18487 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18490 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18491 \ # positional parameters, so assign one to ordinary parameter first.\
18492 \ func_stripname_result=${3}\
18493 \ func_stripname_result=${func_stripname_result#"${1}"}\
18494 \ func_stripname_result=${func_stripname_result%"${2}"}\
18495 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18496 && mv -f "$cfgfile.tmp" "$cfgfile" \
18497 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18498 test 0 -eq $? || _lt_function_replace_fail=:
18501 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18502 func_split_long_opt ()\
18504 \ func_split_long_opt_name=${1%%=*}\
18505 \ func_split_long_opt_arg=${1#*=}\
18506 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18507 && mv -f "$cfgfile.tmp" "$cfgfile" \
18508 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18509 test 0 -eq $? || _lt_function_replace_fail=:
18512 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18513 func_split_short_opt ()\
18515 \ func_split_short_opt_arg=${1#??}\
18516 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18517 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18518 && mv -f "$cfgfile.tmp" "$cfgfile" \
18519 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18520 test 0 -eq $? || _lt_function_replace_fail=:
18523 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18527 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18528 \ *) func_lo2o_result=${1} ;;\
18530 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18531 && mv -f "$cfgfile.tmp" "$cfgfile" \
18532 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18533 test 0 -eq $? || _lt_function_replace_fail=:
18536 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18539 func_xform_result=${1%.*}.lo\
18540 } # Extended-shell func_xform 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_arith ()$/,/^} # func_arith /c\
18549 func_arith_result=$(( $* ))\
18550 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18551 && mv -f "$cfgfile.tmp" "$cfgfile" \
18552 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18553 test 0 -eq $? || _lt_function_replace_fail=:
18556 sed -e '/^func_len ()$/,/^} # func_len /c\
18559 func_len_result=${#1}\
18560 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18561 && mv -f "$cfgfile.tmp" "$cfgfile" \
18562 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18563 test 0 -eq $? || _lt_function_replace_fail=:
18567 if test x"$lt_shell_append" = xyes; then
18568 sed -e '/^func_append ()$/,/^} # func_append /c\
18571 eval "${1}+=\\${2}"\
18572 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18573 && mv -f "$cfgfile.tmp" "$cfgfile" \
18574 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18575 test 0 -eq $? || _lt_function_replace_fail=:
18578 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18579 func_append_quoted ()\
18581 \ func_quote_for_eval "${2}"\
18582 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18583 } # Extended-shell func_append_quoted 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=:
18589 # Save a `func_append' function call where possible by direct use of '+='
18590 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18591 && mv -f "$cfgfile.tmp" "$cfgfile" \
18592 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18593 test 0 -eq $? || _lt_function_replace_fail=:
18595 # Save a `func_append' function call even when '+=' is not available
18596 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18597 && mv -f "$cfgfile.tmp" "$cfgfile" \
18598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18599 test 0 -eq $? || _lt_function_replace_fail=:
18602 if test x"$_lt_function_replace_fail" = x":"; then
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18604 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18608 mv -f "$cfgfile" "$ofile" ||
18609 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18613 "po-directories":C)
18614 for ac_file in $CONFIG_FILES; do
18615 # Support "outfile[:infile[:infile...]]"
18617 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18619 # PO directories have a Makefile.in generated from Makefile.in.in.
18620 case "$ac_file" in */Makefile.in)
18621 # Adjust a relative srcdir.
18622 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18623 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18624 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18625 # In autoconf-2.13 it is called $ac_given_srcdir.
18626 # In autoconf-2.50 it is called $srcdir.
18627 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18628 case "$ac_given_srcdir" in
18629 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18630 /*) top_srcdir="$ac_given_srcdir" ;;
18631 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18633 # Treat a directory as a PO directory if and only if it has a
18634 # POTFILES.in file. This allows packages to have multiple PO
18635 # directories under different names or in different locations.
18636 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18637 rm -f "$ac_dir/POTFILES"
18638 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18639 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18640 POMAKEFILEDEPS="POTFILES.in"
18641 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18642 # on $ac_dir but don't depend on user-specified configuration
18644 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18645 # The LINGUAS file contains the set of available languages.
18646 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18647 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18649 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18650 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18651 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18652 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18654 # The set of available languages was given in configure.in.
18655 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18656 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18659 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18660 # Compute UPDATEPOFILES
18661 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18662 # Compute DUMMYPOFILES
18663 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18665 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18666 case "$ac_given_srcdir" in
18668 *) srcdirpre='$(srcdir)/' ;;
18674 for lang in $ALL_LINGUAS; do
18675 POFILES="$POFILES $srcdirpre$lang.po"
18676 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18677 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18678 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18680 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18681 # environment variable.
18683 if test -n "$ALL_LINGUAS"; then
18684 for presentlang in $ALL_LINGUAS; do
18686 if test "%UNSET%" != "$LINGUAS"; then
18687 desiredlanguages="$LINGUAS"
18689 desiredlanguages="$ALL_LINGUAS"
18691 for desiredlang in $desiredlanguages; do
18692 # Use the presentlang catalog if desiredlang is
18693 # a. equal to presentlang, or
18694 # b. a variant of presentlang (because in this case,
18695 # presentlang can be used as a fallback for messages
18696 # which are not translated in the desiredlang catalog).
18697 case "$desiredlang" in
18698 "$presentlang"*) useit=yes;;
18701 if test $useit = yes; then
18702 INST_LINGUAS="$INST_LINGUAS $presentlang"
18707 if test -n "$INST_LINGUAS"; then
18708 for lang in $INST_LINGUAS; do
18709 CATALOGS="$CATALOGS $lang.gmo"
18712 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18713 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"
18714 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18715 if test -f "$f"; then
18717 *.orig | *.bak | *~) ;;
18718 *) cat "$f" >> "$ac_dir/Makefile" ;;
18733 ac_clean_files=$ac_clean_files_save
18735 test $ac_write_fail = 0 ||
18736 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18739 # configure is writing to config.log, and then calls config.status.
18740 # config.status does its own redirection, appending to config.log.
18741 # Unfortunately, on DOS this fails, as config.log is still kept open
18742 # by configure, so config.status won't be able to write to it; its
18743 # output is simply discarded. So we exec the FD to /dev/null,
18744 # effectively closing config.log, so it can be properly (re)opened and
18745 # appended to by config.status. When coming back to configure, we
18746 # need to make the FD available again.
18747 if test "$no_create" != yes; then
18749 ac_config_status_args=
18750 test "$silent" = yes &&
18751 ac_config_status_args="$ac_config_status_args --quiet"
18753 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18755 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18756 # would make configure fail if this is the last instruction.
18757 $ac_cs_success || as_fn_exit 1
18759 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18761 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}