2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Moonshot-ui 0.7.2.
5 # Report bugs to <moonshot-community@jiscmail.ac.uk>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: moonshot-community@jiscmail.ac.uk about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 # Use only awk features that work with 7th edition Unix awk (1978).
571 # My, what an old awk you have, Mr. Solaris!
573 while (length(v1) && length(v2)) {
574 # Set d1 to be the next thing to compare from v1, and likewise for d2.
575 # Normally this is a single character, but if v1 and v2 contain digits,
576 # compare them as integers and fractions as strverscmp does.
577 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
578 # Split v1 and v2 into their leading digit string components d1 and d2,
579 # and advance v1 and v2 past the leading digit strings.
580 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
581 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
582 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
583 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
586 # Compare two fractions.
587 while (d1 ~ /^0/ && d2 ~ /^0/) {
588 d1 = substr(d1, 2); len1--
589 d2 = substr(d2, 2); len2--
591 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
592 # The two components differ in length, and the common prefix
593 # contains only leading zeros. Consider the longer to be less.
597 # Otherwise, compare as strings.
602 # A fraction is less than an integer.
607 # An integer is greater than a fraction.
610 # Compare two integers.
616 # The normal case, without worrying about digits.
617 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
618 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
623 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
624 # which mishandles some comparisons of empty strings to integers.
625 if (length(v2)) exit 1
626 if (length(v1)) exit 2
630 test -n "$DJDIR" || exec 7<&0 </dev/null
634 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
635 # so uname gets run too.
636 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
641 ac_default_prefix=/usr/local
643 ac_config_libobj_dir=.
650 # Identity of this package.
651 PACKAGE_NAME='Moonshot-ui'
652 PACKAGE_TARNAME='moonshot-ui'
653 PACKAGE_VERSION='0.7.2'
654 PACKAGE_STRING='Moonshot-ui 0.7.2'
655 PACKAGE_BUGREPORT='moonshot-community@jiscmail.ac.uk'
656 PACKAGE_URL='http://www.project-moonshot.org/'
658 ac_unique_file="configure.ac"
659 # Factoring default headers for most tests.
660 ac_includes_default="\
662 #ifdef HAVE_SYS_TYPES_H
663 # include <sys/types.h>
665 #ifdef HAVE_SYS_STAT_H
666 # include <sys/stat.h>
672 # ifdef HAVE_STDLIB_H
677 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
682 #ifdef HAVE_STRINGS_H
683 # include <strings.h>
685 #ifdef HAVE_INTTYPES_H
686 # include <inttypes.h>
697 ac_subst_vars='am__EXEEXT_FALSE
709 XGETTEXT_EXTRA_OPTIONS
717 GETTEXT_MACRO_VERSION
725 UPDATE_DESKTOP_DATABASE
735 GIO_VAPI_USES_ARRAYS_FALSE
736 GIO_VAPI_USES_ARRAYS_TRUE
810 MAINTAINER_MODE_FALSE
824 INSTALL_STRIP_PROGRAM
866 program_transform_name
879 enable_option_checking
881 enable_maintainer_mode
886 enable_dependency_tracking
895 ac_precious_vars='build_alias
919 # Initialize some variables set by options.
921 ac_init_version=false
922 ac_unrecognized_opts=
924 # The variables have the same names as the options, with
925 # dashes changed to underlines.
933 program_transform_name=s,x,x,
941 # Installation directory options.
942 # These are left unexpanded so users can "make install exec_prefix=/foo"
943 # and all the variables that are supposed to be based on exec_prefix
944 # by default will actually change.
945 # Use braces instead of parens because sh, perl, etc. also accept them.
946 # (The list follows the same order as the GNU Coding Standards.)
947 bindir='${exec_prefix}/bin'
948 sbindir='${exec_prefix}/sbin'
949 libexecdir='${exec_prefix}/libexec'
950 datarootdir='${prefix}/share'
951 datadir='${datarootdir}'
952 sysconfdir='${prefix}/etc'
953 sharedstatedir='${prefix}/com'
954 localstatedir='${prefix}/var'
955 includedir='${prefix}/include'
956 oldincludedir='/usr/include'
957 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
958 infodir='${datarootdir}/info'
963 libdir='${exec_prefix}/lib'
964 localedir='${datarootdir}/locale'
965 mandir='${datarootdir}/man'
971 # If the previous option needs an argument, assign it.
972 if test -n "$ac_prev"; then
973 eval $ac_prev=\$ac_option
979 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 # Accept the important Cygnus configure options, so we can diagnose typos.
986 case $ac_dashdash$ac_option in
990 -bindir | --bindir | --bindi | --bind | --bin | --bi)
992 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
995 -build | --build | --buil | --bui | --bu)
996 ac_prev=build_alias ;;
997 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
998 build_alias=$ac_optarg ;;
1000 -cache-file | --cache-file | --cache-fil | --cache-fi \
1001 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1002 ac_prev=cache_file ;;
1003 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1004 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1005 cache_file=$ac_optarg ;;
1007 --config-cache | -C)
1008 cache_file=config.cache ;;
1010 -datadir | --datadir | --datadi | --datad)
1012 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1013 datadir=$ac_optarg ;;
1015 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1016 | --dataroo | --dataro | --datar)
1017 ac_prev=datarootdir ;;
1018 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1019 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1020 datarootdir=$ac_optarg ;;
1022 -disable-* | --disable-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error $? "invalid feature name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1031 "enable_$ac_useropt"
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1036 eval enable_$ac_useropt=no ;;
1038 -docdir | --docdir | --docdi | --doc | --do)
1040 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1041 docdir=$ac_optarg ;;
1043 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1045 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1046 dvidir=$ac_optarg ;;
1048 -enable-* | --enable-*)
1049 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052 as_fn_error $? "invalid feature name: $ac_useropt"
1053 ac_useropt_orig=$ac_useropt
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1057 "enable_$ac_useropt"
1059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1060 ac_unrecognized_sep=', ';;
1062 eval enable_$ac_useropt=\$ac_optarg ;;
1064 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1065 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1066 | --exec | --exe | --ex)
1067 ac_prev=exec_prefix ;;
1068 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1069 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1070 | --exec=* | --exe=* | --ex=*)
1071 exec_prefix=$ac_optarg ;;
1073 -gas | --gas | --ga | --g)
1074 # Obsolete; use --with-gas.
1077 -help | --help | --hel | --he | -h)
1078 ac_init_help=long ;;
1079 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1080 ac_init_help=recursive ;;
1081 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1082 ac_init_help=short ;;
1084 -host | --host | --hos | --ho)
1085 ac_prev=host_alias ;;
1086 -host=* | --host=* | --hos=* | --ho=*)
1087 host_alias=$ac_optarg ;;
1089 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1091 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1093 htmldir=$ac_optarg ;;
1095 -includedir | --includedir | --includedi | --included | --include \
1096 | --includ | --inclu | --incl | --inc)
1097 ac_prev=includedir ;;
1098 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1099 | --includ=* | --inclu=* | --incl=* | --inc=*)
1100 includedir=$ac_optarg ;;
1102 -infodir | --infodir | --infodi | --infod | --info | --inf)
1104 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1105 infodir=$ac_optarg ;;
1107 -libdir | --libdir | --libdi | --libd)
1109 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1110 libdir=$ac_optarg ;;
1112 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1113 | --libexe | --libex | --libe)
1114 ac_prev=libexecdir ;;
1115 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1116 | --libexe=* | --libex=* | --libe=*)
1117 libexecdir=$ac_optarg ;;
1119 -localedir | --localedir | --localedi | --localed | --locale)
1120 ac_prev=localedir ;;
1121 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1122 localedir=$ac_optarg ;;
1124 -localstatedir | --localstatedir | --localstatedi | --localstated \
1125 | --localstate | --localstat | --localsta | --localst | --locals)
1126 ac_prev=localstatedir ;;
1127 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1128 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1129 localstatedir=$ac_optarg ;;
1131 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1133 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1134 mandir=$ac_optarg ;;
1136 -nfp | --nfp | --nf)
1137 # Obsolete; use --without-fp.
1140 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1141 | --no-cr | --no-c | -n)
1144 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1145 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1148 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1149 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1150 | --oldin | --oldi | --old | --ol | --o)
1151 ac_prev=oldincludedir ;;
1152 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1153 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1154 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1155 oldincludedir=$ac_optarg ;;
1157 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1159 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1160 prefix=$ac_optarg ;;
1162 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1163 | --program-pre | --program-pr | --program-p)
1164 ac_prev=program_prefix ;;
1165 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1166 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1167 program_prefix=$ac_optarg ;;
1169 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1170 | --program-suf | --program-su | --program-s)
1171 ac_prev=program_suffix ;;
1172 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1173 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1174 program_suffix=$ac_optarg ;;
1176 -program-transform-name | --program-transform-name \
1177 | --program-transform-nam | --program-transform-na \
1178 | --program-transform-n | --program-transform- \
1179 | --program-transform | --program-transfor \
1180 | --program-transfo | --program-transf \
1181 | --program-trans | --program-tran \
1182 | --progr-tra | --program-tr | --program-t)
1183 ac_prev=program_transform_name ;;
1184 -program-transform-name=* | --program-transform-name=* \
1185 | --program-transform-nam=* | --program-transform-na=* \
1186 | --program-transform-n=* | --program-transform-=* \
1187 | --program-transform=* | --program-transfor=* \
1188 | --program-transfo=* | --program-transf=* \
1189 | --program-trans=* | --program-tran=* \
1190 | --progr-tra=* | --program-tr=* | --program-t=*)
1191 program_transform_name=$ac_optarg ;;
1193 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1195 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1196 pdfdir=$ac_optarg ;;
1198 -psdir | --psdir | --psdi | --psd | --ps)
1200 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1204 | -silent | --silent | --silen | --sile | --sil)
1207 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1209 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1211 sbindir=$ac_optarg ;;
1213 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1214 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1215 | --sharedst | --shareds | --shared | --share | --shar \
1217 ac_prev=sharedstatedir ;;
1218 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1219 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1220 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1222 sharedstatedir=$ac_optarg ;;
1224 -site | --site | --sit)
1226 -site=* | --site=* | --sit=*)
1229 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1231 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1232 srcdir=$ac_optarg ;;
1234 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1235 | --syscon | --sysco | --sysc | --sys | --sy)
1236 ac_prev=sysconfdir ;;
1237 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1238 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1239 sysconfdir=$ac_optarg ;;
1241 -target | --target | --targe | --targ | --tar | --ta | --t)
1242 ac_prev=target_alias ;;
1243 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1244 target_alias=$ac_optarg ;;
1246 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1249 -version | --version | --versio | --versi | --vers | -V)
1250 ac_init_version=: ;;
1253 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256 as_fn_error $? "invalid package name: $ac_useropt"
1257 ac_useropt_orig=$ac_useropt
1258 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1264 ac_unrecognized_sep=', ';;
1266 eval with_$ac_useropt=\$ac_optarg ;;
1268 -without-* | --without-*)
1269 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272 as_fn_error $? "invalid package name: $ac_useropt"
1273 ac_useropt_orig=$ac_useropt
1274 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1280 ac_unrecognized_sep=', ';;
1282 eval with_$ac_useropt=no ;;
1285 # Obsolete; use --with-x.
1288 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1289 | --x-incl | --x-inc | --x-in | --x-i)
1290 ac_prev=x_includes ;;
1291 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1292 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1293 x_includes=$ac_optarg ;;
1295 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1296 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1297 ac_prev=x_libraries ;;
1298 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1299 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1300 x_libraries=$ac_optarg ;;
1302 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1303 Try \`$0 --help' for more information"
1307 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1308 # Reject names that are not valid shell variable names.
1309 case $ac_envvar in #(
1310 '' | [0-9]* | *[!_$as_cr_alnum]* )
1311 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1313 eval $ac_envvar=\$ac_optarg
1314 export $ac_envvar ;;
1317 # FIXME: should be removed in autoconf 3.0.
1318 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1327 if test -n "$ac_prev"; then
1328 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1329 as_fn_error $? "missing argument to $ac_option"
1332 if test -n "$ac_unrecognized_opts"; then
1333 case $enable_option_checking in
1335 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1336 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 # Check all directory arguments for consistency.
1341 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342 datadir sysconfdir sharedstatedir localstatedir includedir \
1343 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344 libdir localedir mandir
1346 eval ac_val=\$$ac_var
1347 # Remove trailing slashes.
1350 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1351 eval $ac_var=\$ac_val;;
1353 # Be sure to have absolute directory names.
1355 [\\/$]* | ?:[\\/]* ) continue;;
1356 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1358 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1361 # There might be people who depend on the old broken behavior: `$host'
1362 # used to hold the argument of --host etc.
1363 # FIXME: To remove some day.
1366 target=$target_alias
1368 # FIXME: To remove some day.
1369 if test "x$host_alias" != x; then
1370 if test "x$build_alias" = x; then
1371 cross_compiling=maybe
1372 elif test "x$build_alias" != "x$host_alias"; then
1378 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1380 test "$silent" = yes && exec 6>/dev/null
1383 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1384 ac_ls_di=`ls -di .` &&
1385 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1386 as_fn_error $? "working directory cannot be determined"
1387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1388 as_fn_error $? "pwd does not report name of working directory"
1391 # Find the source files, if location was not specified.
1392 if test -z "$srcdir"; then
1393 ac_srcdir_defaulted=yes
1394 # Try the directory containing this script, then the parent directory.
1395 ac_confdir=`$as_dirname -- "$as_myself" ||
1396 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1397 X"$as_myself" : 'X\(//\)[^/]' \| \
1398 X"$as_myself" : 'X\(//\)$' \| \
1399 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1400 $as_echo X"$as_myself" |
1401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1423 ac_srcdir_defaulted=no
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1427 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1429 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1431 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1433 # When building in place, set srcdir=.
1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
1437 # Remove unnecessary trailing slashes from srcdir.
1438 # Double slashes in file names in object file debugging info
1439 # mess up M-x gdb in Emacs.
1441 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1443 for ac_var in $ac_precious_vars; do
1444 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_env_${ac_var}_value=\$${ac_var}
1446 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1447 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1451 # Report the --help message.
1453 if test "$ac_init_help" = "long"; then
1454 # Omit some internal or obsolete options to make the list less imposing.
1455 # This message is too long to be a string in the A/UX 3.1 sh.
1457 \`configure' configures Moonshot-ui 0.7.2 to adapt to many kinds of systems.
1459 Usage: $0 [OPTION]... [VAR=VALUE]...
1461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1462 VAR=VALUE. See below for descriptions of some of the useful variables.
1464 Defaults for the options are specified in brackets.
1467 -h, --help display this help and exit
1468 --help=short display options specific to this package
1469 --help=recursive display the short help of all the included packages
1470 -V, --version display version information and exit
1471 -q, --quiet, --silent do not print \`checking ...' messages
1472 --cache-file=FILE cache test results in FILE [disabled]
1473 -C, --config-cache alias for \`--cache-file=config.cache'
1474 -n, --no-create do not create output files
1475 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1477 Installation directories:
1478 --prefix=PREFIX install architecture-independent files in PREFIX
1479 [$ac_default_prefix]
1480 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1483 By default, \`make install' will install all the files in
1484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1486 for instance \`--prefix=\$HOME'.
1488 For better control, use the options below.
1490 Fine tuning of the installation directories:
1491 --bindir=DIR user executables [EPREFIX/bin]
1492 --sbindir=DIR system admin executables [EPREFIX/sbin]
1493 --libexecdir=DIR program executables [EPREFIX/libexec]
1494 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1495 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1496 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1497 --libdir=DIR object code libraries [EPREFIX/lib]
1498 --includedir=DIR C header files [PREFIX/include]
1499 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1500 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1501 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1502 --infodir=DIR info documentation [DATAROOTDIR/info]
1503 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1504 --mandir=DIR man documentation [DATAROOTDIR/man]
1505 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot-ui]
1506 --htmldir=DIR html documentation [DOCDIR]
1507 --dvidir=DIR dvi documentation [DOCDIR]
1508 --pdfdir=DIR pdf documentation [DOCDIR]
1509 --psdir=DIR ps documentation [DOCDIR]
1515 --program-prefix=PREFIX prepend PREFIX to installed program names
1516 --program-suffix=SUFFIX append SUFFIX to installed program names
1517 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1520 --build=BUILD configure for building on BUILD [guessed]
1521 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1525 if test -n "$ac_init_help"; then
1526 case $ac_init_help in
1527 short | recursive ) echo "Configuration of Moonshot-ui 0.7.2:";;
1532 --disable-option-checking ignore unrecognized --enable/--with options
1533 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1534 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1535 --enable-silent-rules less verbose build output (undo: "make V=1")
1536 --disable-silent-rules verbose build output (undo: "make V=0")
1537 --disable-maintainer-mode
1538 disable make rules and dependencies not useful (and
1539 sometimes confusing) to the casual installer
1540 --enable-shared[=PKGS] build shared libraries [default=yes]
1541 --enable-static[=PKGS] build static libraries [default=yes]
1542 --enable-fast-install[=PKGS]
1543 optimize for fast installation [default=yes]
1544 --enable-dependency-tracking
1545 do not reject slow dependency extractors
1546 --disable-dependency-tracking
1547 speeds up one-time build
1548 --disable-libtool-lock avoid locking (might break parallel builds)
1549 --disable-nls do not use Native Language Support
1550 --disable-rpath do not hardcode runtime library paths
1553 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1554 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1555 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1557 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1558 --with-sysroot=DIR Search for dependent libraries within DIR
1559 (or the compiler's sysroot if not specified).
1560 --with-gnu-ld assume the C compiler uses GNU ld default=no
1561 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1562 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1563 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1564 --without-libintl-prefix don't search for libintl in includedir and libdir
1566 Some influential environment variables:
1567 CC C compiler command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1570 nonstandard directory <lib dir>
1571 LIBS libraries to pass to the linker, e.g. -l<library>
1572 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1573 you have headers in a nonstandard directory <include dir>
1575 PKG_CONFIG path to pkg-config utility
1577 directories to add to pkg-config's search path
1579 path overriding pkg-config's built-in search path
1580 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1581 GTK_LIBS linker flags for GTK, overriding pkg-config
1582 MAC_CFLAGS C compiler flags for MAC, overriding pkg-config
1583 MAC_LIBS linker flags for MAC, overriding pkg-config
1585 C compiler flags for GDBUS, overriding pkg-config
1586 GDBUS_LIBS linker flags for GDBUS, overriding pkg-config
1588 C compiler flags for moonshot, overriding pkg-config
1590 linker flags for moonshot, overriding pkg-config
1592 C compiler flags for libmoonshot, overriding pkg-config
1594 linker flags for libmoonshot, overriding pkg-config
1596 Use these variables to override the choices made by `configure' or to help
1597 it to find libraries and programs with nonstandard names/locations.
1599 Report bugs to <moonshot-community@jiscmail.ac.uk>.
1600 Moonshot-ui home page: <http://www.project-moonshot.org/>.
1605 if test "$ac_init_help" = "recursive"; then
1606 # If there are subdirs, report their specific --help.
1607 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1608 test -d "$ac_dir" ||
1609 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1617 # A ".." for each directory in $ac_dir_suffix.
1618 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1619 case $ac_top_builddir_sub in
1620 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1624 ac_abs_top_builddir=$ac_pwd
1625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir=$ac_top_build_prefix
1630 .) # We are building in place.
1632 ac_top_srcdir=$ac_top_builddir_sub
1633 ac_abs_top_srcdir=$ac_pwd ;;
1634 [\\/]* | ?:[\\/]* ) # Absolute name.
1635 ac_srcdir=$srcdir$ac_dir_suffix;
1636 ac_top_srcdir=$srcdir
1637 ac_abs_top_srcdir=$srcdir ;;
1639 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640 ac_top_srcdir=$ac_top_build_prefix$srcdir
1641 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1645 cd "$ac_dir" || { ac_status=$?; continue; }
1646 # Check for guested configure.
1647 if test -f "$ac_srcdir/configure.gnu"; then
1649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650 elif test -f "$ac_srcdir/configure"; then
1652 $SHELL "$ac_srcdir/configure" --help=recursive
1654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1656 cd "$ac_pwd" || { ac_status=$?; break; }
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1663 Moonshot-ui configure 0.7.2
1664 generated by GNU Autoconf 2.69
1666 Copyright (C) 2012 Free Software Foundation, Inc.
1667 This configure script is free software; the Free Software Foundation
1668 gives unlimited permission to copy, distribute and modify it.
1673 ## ------------------------ ##
1674 ## Autoconf initialization. ##
1675 ## ------------------------ ##
1677 # ac_fn_c_try_compile LINENO
1678 # --------------------------
1679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1680 ac_fn_c_try_compile ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 rm -f conftest.$ac_objext
1684 if { { ac_try="$ac_compile"
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_compile") 2>conftest.err
1693 if test -s conftest.err; then
1694 grep -v '^ *+' conftest.err >conftest.er1
1695 cat conftest.er1 >&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && {
1700 test -z "$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1702 } && test -s conftest.$ac_objext; then :
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1713 } # ac_fn_c_try_compile
1715 # ac_fn_c_try_link LINENO
1716 # -----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext conftest$ac_exeext
1722 if { { ac_try="$ac_link"
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_link") 2>conftest.err
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest$ac_exeext && {
1741 test "$cross_compiling" = yes ||
1742 test -x conftest$ac_exeext
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1751 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1752 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1753 # interfere with the next link command; also delete a directory that is
1754 # left behind by Apple's compiler. We do this before executing the actions.
1755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status $ac_retval
1759 } # ac_fn_c_try_link
1761 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1762 # -------------------------------------------------------
1763 # Tests whether HEADER exists and can be compiled using the include files in
1764 # INCLUDES, setting the cache variable VAR accordingly.
1765 ac_fn_c_check_header_compile ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 $as_echo_n "checking for $2... " >&6; }
1770 if eval \${$3+:} false; then :
1771 $as_echo_n "(cached) " >&6
1773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1778 if ac_fn_c_try_compile "$LINENO"; then :
1783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 } # ac_fn_c_check_header_compile
1792 # ac_fn_c_try_cpp LINENO
1793 # ----------------------
1794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_cpp conftest.$ac_ext"
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } > conftest.i && {
1814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1829 # ac_fn_c_try_run LINENO
1830 # ----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1832 # that executables *can* be run.
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 if { { ac_try="$ac_link"
1838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>&5
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1847 { { case "(($ac_try" in
1848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_try") 2>&5
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; }; }; then :
1859 $as_echo "$as_me: program exited with status $ac_status" >&5
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1863 ac_retval=$ac_status
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 as_fn_set_status $ac_retval
1871 # ac_fn_c_check_func LINENO FUNC VAR
1872 # ----------------------------------
1873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1874 ac_fn_c_check_func ()
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if eval \${$3+:} false; then :
1880 $as_echo_n "(cached) " >&6
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1894 # include <limits.h>
1896 # include <assert.h>
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1923 if ac_fn_c_try_link "$LINENO"; then :
1928 rm -f core conftest.err conftest.$ac_objext \
1929 conftest$ac_exeext conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_func
1937 cat >config.log <<_ACEOF
1938 This file contains any messages produced by compilers while
1939 running configure, to aid debugging if configure makes a mistake.
1941 It was created by Moonshot-ui $as_me 0.7.2, which was
1942 generated by GNU Autoconf 2.69. Invocation command line was
1954 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1955 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1956 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1957 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1958 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1960 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1961 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1963 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1964 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1965 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1966 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1967 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1968 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1969 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir=.
1978 $as_echo "PATH: $as_dir"
1994 # Keep a trace of the command line.
1995 # Strip out --no-create and --no-recursion so they do not pile up.
1996 # Strip out --silent because we don't want to record it for future runs.
1997 # Also quote any args containing shell meta-characters.
1998 # Make two passes to allow for proper duplicate-argument suppression.
2002 ac_must_keep_next=false
2008 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2010 | -silent | --silent | --silen | --sile | --sil)
2013 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2016 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2018 as_fn_append ac_configure_args1 " '$ac_arg'"
2019 if test $ac_must_keep_next = true; then
2020 ac_must_keep_next=false # Got value, back to normal.
2023 *=* | --config-cache | -C | -disable-* | --disable-* \
2024 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2025 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2026 | -with-* | --with-* | -without-* | --without-* | --x)
2027 case "$ac_configure_args0 " in
2028 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2031 -* ) ac_must_keep_next=true ;;
2034 as_fn_append ac_configure_args " '$ac_arg'"
2039 { ac_configure_args0=; unset ac_configure_args0;}
2040 { ac_configure_args1=; unset ac_configure_args1;}
2042 # When interrupted or exit'd, cleanup temporary files, and complete
2043 # config.log. We remove comments because anyway the quotes in there
2044 # would cause problems or look ugly.
2045 # WARNING: Use '\'' to represent an apostrophe within the trap.
2046 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2047 trap 'exit_status=$?
2048 # Save into config.log some information that might help in debugging.
2052 $as_echo "## ---------------- ##
2053 ## Cache variables. ##
2054 ## ---------------- ##"
2056 # The following way of writing the cache mishandles newlines in values,
2058 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2059 eval ac_val=\$$ac_var
2063 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2067 _ | IFS | as_nl) ;; #(
2068 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2069 *) { eval $ac_var=; unset $ac_var;} ;;
2074 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2075 *${as_nl}ac_space=\ *)
2077 "s/'\''/'\''\\\\'\'''\''/g;
2078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2081 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2088 $as_echo "## ----------------- ##
2089 ## Output variables. ##
2090 ## ----------------- ##"
2092 for ac_var in $ac_subst_vars
2094 eval ac_val=\$$ac_var
2096 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2098 $as_echo "$ac_var='\''$ac_val'\''"
2102 if test -n "$ac_subst_files"; then
2103 $as_echo "## ------------------- ##
2104 ## File substitutions. ##
2105 ## ------------------- ##"
2107 for ac_var in $ac_subst_files
2109 eval ac_val=\$$ac_var
2111 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2113 $as_echo "$ac_var='\''$ac_val'\''"
2118 if test -s confdefs.h; then
2119 $as_echo "## ----------- ##
2126 test "$ac_signal" != 0 &&
2127 $as_echo "$as_me: caught signal $ac_signal"
2128 $as_echo "$as_me: exit $exit_status"
2130 rm -f core *.core core.conftest.* &&
2131 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2134 for ac_signal in 1 2 13 15; do
2135 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2140 rm -f -r conftest* confdefs.h
2142 $as_echo "/* confdefs.h */" > confdefs.h
2144 # Predefined preprocessor variables.
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_NAME "$PACKAGE_NAME"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_STRING "$PACKAGE_STRING"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_URL "$PACKAGE_URL"
2171 # Let the site file select an alternate cache file if it wants to.
2172 # Prefer an explicitly selected file to automatically selected ones.
2175 if test -n "$CONFIG_SITE"; then
2176 # We do not want a PATH search for config.site.
2177 case $CONFIG_SITE in #((
2178 -*) ac_site_file1=./$CONFIG_SITE;;
2179 */*) ac_site_file1=$CONFIG_SITE;;
2180 *) ac_site_file1=./$CONFIG_SITE;;
2182 elif test "x$prefix" != xNONE; then
2183 ac_site_file1=$prefix/share/config.site
2184 ac_site_file2=$prefix/etc/config.site
2186 ac_site_file1=$ac_default_prefix/share/config.site
2187 ac_site_file2=$ac_default_prefix/etc/config.site
2189 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2191 test "x$ac_site_file" = xNONE && continue
2192 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2194 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2195 sed 's/^/| /' "$ac_site_file" >&5
2197 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2199 as_fn_error $? "failed to load site script $ac_site_file
2200 See \`config.log' for more details" "$LINENO" 5; }
2204 if test -r "$cache_file"; then
2205 # Some versions of bash will fail to source /dev/null (special files
2206 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2207 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2209 $as_echo "$as_me: loading cache $cache_file" >&6;}
2211 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2212 *) . "./$cache_file";;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2217 $as_echo "$as_me: creating cache $cache_file" >&6;}
2221 as_fn_append ac_func_list " geteuid"
2222 as_fn_append ac_func_list " getpwuid"
2223 gt_needs="$gt_needs "
2224 # Check that the precious variables saved in the cache have kept the same
2226 ac_cache_corrupted=false
2227 for ac_var in $ac_precious_vars; do
2228 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2229 eval ac_new_set=\$ac_env_${ac_var}_set
2230 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2231 eval ac_new_val=\$ac_env_${ac_var}_value
2232 case $ac_old_set,$ac_new_set in
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2235 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2236 ac_cache_corrupted=: ;;
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2239 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2240 ac_cache_corrupted=: ;;
2243 if test "x$ac_old_val" != "x$ac_new_val"; then
2244 # differences in whitespace do not lead to failure.
2245 ac_old_val_w=`echo x $ac_old_val`
2246 ac_new_val_w=`echo x $ac_new_val`
2247 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2249 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2250 ac_cache_corrupted=:
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2253 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2254 eval $ac_var=\$ac_old_val
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2257 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2259 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2262 # Pass precious variables to config.status.
2263 if test "$ac_new_set" = set; then
2265 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2266 *) ac_arg=$ac_var=$ac_new_val ;;
2268 case " $ac_configure_args " in
2269 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2270 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2274 if $ac_cache_corrupted; then
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2278 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2279 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2281 ## -------------------- ##
2282 ## Main body of script. ##
2283 ## -------------------- ##
2286 ac_cpp='$CPP $CPPFLAGS'
2287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2293 # Remove this when we can depend on autoconf >= 2.64
2294 PACKAGE_URL=http://www.project-moonshot.org/
2297 $as_echo "#define PACKAGE_URL \"http://www.project-moonshot.org\"" >>confdefs.h
2299 ac_config_headers="$ac_config_headers config.h"
2304 for ac_dir in build-aux "$srcdir"/build-aux; do
2305 if test -f "$ac_dir/install-sh"; then
2307 ac_install_sh="$ac_aux_dir/install-sh -c"
2309 elif test -f "$ac_dir/install.sh"; then
2311 ac_install_sh="$ac_aux_dir/install.sh -c"
2313 elif test -f "$ac_dir/shtool"; then
2315 ac_install_sh="$ac_aux_dir/shtool install -c"
2319 if test -z "$ac_aux_dir"; then
2320 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2323 # These three variables are undocumented and unsupported,
2324 # and are intended to be withdrawn in a future Autoconf release.
2325 # They can cause serious problems if a builder's source tree is in a directory
2326 # whose full name contains unusual characters.
2327 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2328 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2329 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2333 am__api_version='1.14'
2335 # Find a good install program. We prefer a C program (faster),
2336 # so one script is as good as another. But avoid the broken or
2337 # incompatible versions:
2338 # SysV /etc/install, /usr/sbin/install
2339 # SunOS /usr/etc/install
2340 # IRIX /sbin/install
2342 # AmigaOS /C/install, which installs bootblocks on floppy discs
2343 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2344 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2345 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2346 # OS/2's system install, which has a completely different semantic
2347 # ./install, which can be erroneously created by make from ./install.sh.
2348 # Reject install programs that cannot install multiple files.
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2350 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2351 if test -z "$INSTALL"; then
2352 if ${ac_cv_path_install+:} false; then :
2353 $as_echo_n "(cached) " >&6
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir=.
2360 # Account for people who put trailing slashes in PATH elements.
2361 case $as_dir/ in #((
2362 ./ | .// | /[cC]/* | \
2363 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2364 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2367 # OSF1 and SCO ODT 3.0 have their own names for install.
2368 # Don't use installbsd from OSF since it installs stuff as root
2370 for ac_prog in ginstall scoinst install; do
2371 for ac_exec_ext in '' $ac_executable_extensions; do
2372 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2373 if test $ac_prog = install &&
2374 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2375 # AIX install. It has an incompatible calling convention.
2377 elif test $ac_prog = install &&
2378 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2379 # program-specific install script used by HP pwplus--don't use.
2382 rm -rf conftest.one conftest.two conftest.dir
2383 echo one > conftest.one
2384 echo two > conftest.two
2386 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2387 test -s conftest.one && test -s conftest.two &&
2388 test -s conftest.dir/conftest.one &&
2389 test -s conftest.dir/conftest.two
2391 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2404 rm -rf conftest.one conftest.two conftest.dir
2407 if test "${ac_cv_path_install+set}" = set; then
2408 INSTALL=$ac_cv_path_install
2410 # As a last resort, use the slow shell script. Don't cache a
2411 # value for INSTALL within a source directory, because that will
2412 # break other packages using the cache if that directory is
2413 # removed, or if the value is a relative name.
2414 INSTALL=$ac_install_sh
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2418 $as_echo "$INSTALL" >&6; }
2420 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2421 # It thinks the first close brace ends the variable substitution.
2422 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2424 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2426 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2429 $as_echo_n "checking whether build environment is sane... " >&6; }
2430 # Reject unsafe characters in $srcdir or the absolute working directory
2431 # name. Accept space and tab only in the latter.
2435 *[\\\"\#\$\&\'\`$am_lf]*)
2436 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2439 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2440 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2443 # Do 'set' in a subshell so we don't clobber the current shell's
2444 # arguments. Must try -L first in case configure is actually a
2445 # symlink; some systems play weird games with the mod time of symlinks
2446 # (eg FreeBSD returns the mod time of the symlink's containing
2450 for am_try in 1 2; do
2451 echo "timestamp, slept: $am_has_slept" > conftest.file
2452 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2453 if test "$*" = "X"; then
2455 set X `ls -t "$srcdir/configure" conftest.file`
2457 if test "$*" != "X $srcdir/configure conftest.file" \
2458 && test "$*" != "X conftest.file $srcdir/configure"; then
2460 # If neither matched, then we have a broken ls. This can happen
2461 # if, for instance, CONFIG_SHELL is bash and it inherits a
2462 # broken ls alias from the environment. This has actually
2463 # happened. Such a system could not be considered "sane".
2464 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2465 alias in your environment" "$LINENO" 5
2467 if test "$2" = conftest.file || test $am_try -eq 2; then
2474 test "$2" = conftest.file
2480 as_fn_error $? "newly created file is older than distributed files!
2481 Check your system clock" "$LINENO" 5
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2484 $as_echo "yes" >&6; }
2485 # If we didn't sleep, we still need to ensure time stamps of config.status and
2486 # generated files are strictly newer.
2488 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2495 test "$program_prefix" != NONE &&
2496 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2497 # Use a double $ so make ignores it.
2498 test "$program_suffix" != NONE &&
2499 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2500 # Double any \ or $.
2501 # By default was `s,x,x', remove it if useless.
2502 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2503 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2505 # expand $ac_aux_dir to an absolute path
2506 am_aux_dir=`cd $ac_aux_dir && pwd`
2508 if test x"${MISSING+set}" != xset; then
2511 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2513 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2516 # Use eval to expand $SHELL
2517 if eval "$MISSING --is-lightweight"; then
2518 am_missing_run="$MISSING "
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2522 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2525 if test x"${install_sh}" != xset; then
2528 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2530 install_sh="\${SHELL} $am_aux_dir/install-sh"
2534 # Installed binaries are usually stripped using 'strip' when the user
2535 # run "make install-strip". However 'strip' might not be the right
2536 # tool to use in cross-compilation environments, therefore Automake
2537 # will honor the 'STRIP' environment variable to overrule this program.
2538 if test "$cross_compiling" != no; then
2539 if test -n "$ac_tool_prefix"; then
2540 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2541 set dummy ${ac_tool_prefix}strip; ac_word=$2
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2543 $as_echo_n "checking for $ac_word... " >&6; }
2544 if ${ac_cv_prog_STRIP+:} false; then :
2545 $as_echo_n "(cached) " >&6
2547 if test -n "$STRIP"; then
2548 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 test -z "$as_dir" && as_dir=.
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2557 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2567 STRIP=$ac_cv_prog_STRIP
2568 if test -n "$STRIP"; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2570 $as_echo "$STRIP" >&6; }
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2573 $as_echo "no" >&6; }
2578 if test -z "$ac_cv_prog_STRIP"; then
2580 # Extract the first word of "strip", so it can be a program name with args.
2581 set dummy strip; ac_word=$2
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2583 $as_echo_n "checking for $ac_word... " >&6; }
2584 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2585 $as_echo_n "(cached) " >&6
2587 if test -n "$ac_ct_STRIP"; then
2588 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594 test -z "$as_dir" && as_dir=.
2595 for ac_exec_ext in '' $ac_executable_extensions; do
2596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2597 ac_cv_prog_ac_ct_STRIP="strip"
2598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2608 if test -n "$ac_ct_STRIP"; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2610 $as_echo "$ac_ct_STRIP" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2616 if test "x$ac_ct_STRIP" = x; then
2619 case $cross_compiling:$ac_tool_warned in
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2623 ac_tool_warned=yes ;;
2628 STRIP="$ac_cv_prog_STRIP"
2632 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2635 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2636 if test -z "$MKDIR_P"; then
2637 if ${ac_cv_path_mkdir+:} false; then :
2638 $as_echo_n "(cached) " >&6
2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2644 test -z "$as_dir" && as_dir=.
2645 for ac_prog in mkdir gmkdir; do
2646 for ac_exec_ext in '' $ac_executable_extensions; do
2647 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2648 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2649 'mkdir (GNU coreutils) '* | \
2650 'mkdir (coreutils) '* | \
2651 'mkdir (fileutils) '4.1*)
2652 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2662 test -d ./--version && rmdir ./--version
2663 if test "${ac_cv_path_mkdir+set}" = set; then
2664 MKDIR_P="$ac_cv_path_mkdir -p"
2666 # As a last resort, use the slow shell script. Don't cache a
2667 # value for MKDIR_P within a source directory, because that will
2668 # break other packages using the cache if that directory is
2669 # removed, or if the value is a relative name.
2670 MKDIR_P="$ac_install_sh -d"
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2674 $as_echo "$MKDIR_P" >&6; }
2676 for ac_prog in gawk mawk nawk awk
2678 # Extract the first word of "$ac_prog", so it can be a program name with args.
2679 set dummy $ac_prog; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if ${ac_cv_prog_AWK+:} false; then :
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$AWK"; then
2686 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir=.
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2695 ac_cv_prog_AWK="$ac_prog"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 if test -n "$AWK"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2708 $as_echo "$AWK" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2715 test -n "$AWK" && break
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2719 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2721 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2722 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2723 $as_echo_n "(cached) " >&6
2725 cat >conftest.make <<\_ACEOF
2728 @echo '@@@%%%=$(MAKE)=@@@%%%'
2730 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2731 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2733 eval ac_cv_prog_make_${ac_make}_set=yes;;
2735 eval ac_cv_prog_make_${ac_make}_set=no;;
2739 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2741 $as_echo "yes" >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2746 SET_MAKE="MAKE=${MAKE-make}"
2749 rm -rf .tst 2>/dev/null
2750 mkdir .tst 2>/dev/null
2751 if test -d .tst; then
2756 rmdir .tst 2>/dev/null
2758 # Check whether --enable-silent-rules was given.
2759 if test "${enable_silent_rules+set}" = set; then :
2760 enableval=$enable_silent_rules;
2763 case $enable_silent_rules in # (((
2764 yes) AM_DEFAULT_VERBOSITY=0;;
2765 no) AM_DEFAULT_VERBOSITY=1;;
2766 *) AM_DEFAULT_VERBOSITY=1;;
2768 am_make=${MAKE-make}
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2770 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2771 if ${am_cv_make_support_nested_variables+:} false; then :
2772 $as_echo_n "(cached) " >&6
2774 if $as_echo 'TRUE=$(BAR$(V))
2780 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2781 am_cv_make_support_nested_variables=yes
2783 am_cv_make_support_nested_variables=no
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2787 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2788 if test $am_cv_make_support_nested_variables = yes; then
2790 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2792 AM_V=$AM_DEFAULT_VERBOSITY
2793 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2797 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2798 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2799 # is not polluted with repeated "-I."
2800 am__isrc=' -I$(srcdir)'
2801 # test to see if srcdir already configured
2802 if test -f $srcdir/config.status; then
2803 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2807 # test whether we have cygpath
2808 if test -z "$CYGPATH_W"; then
2809 if (cygpath --version) >/dev/null 2>/dev/null; then
2810 CYGPATH_W='cygpath -w'
2817 # Define the identity of the package.
2818 PACKAGE='moonshot-ui'
2822 cat >>confdefs.h <<_ACEOF
2823 #define PACKAGE "$PACKAGE"
2827 cat >>confdefs.h <<_ACEOF
2828 #define VERSION "$VERSION"
2831 # Some tools Automake needs.
2833 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2836 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2839 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2842 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2845 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2847 # For better backward compatibility. To be removed once Automake 1.9.x
2848 # dies out for good. For more background, see:
2849 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2850 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2851 mkdir_p='$(MKDIR_P)'
2853 # We need awk for the "check" target. The system "awk" is bad on
2855 # Always define AMTAR for backward compatibility. Yes, it's still used
2856 # in the wild :-( We should find a proper way to deprecate it ...
2860 # We'll loop over all known methods to create a tar archive until one works.
2861 _am_tools='gnutar pax cpio none'
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2866 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2868 # Go ahead even if we have the value already cached. We do so because we
2869 # need to set the values for the 'am__tar' and 'am__untar' variables.
2870 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2872 for _am_tool in $_am_tools; do
2875 for _am_tar in tar gnutar gtar; do
2876 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2877 ($_am_tar --version) >&5 2>&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } && break
2882 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2883 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2884 am__untar="$_am_tar -xf -"
2887 # Must skip GNU tar: if it does not support --format= it doesn't create
2888 # ustar tarball either.
2889 (tar --version) >/dev/null 2>&1 && continue
2890 am__tar='tar chf - "$$tardir"'
2891 am__tar_='tar chf - "$tardir"'
2892 am__untar='tar xf -'
2895 am__tar='pax -L -x pax -w "$$tardir"'
2896 am__tar_='pax -L -x pax -w "$tardir"'
2900 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2901 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2902 am__untar='cpio -i -H pax -d'
2911 # If the value was cached, stop now. We just wanted to have am__tar
2912 # and am__untar set.
2913 test -n "${am_cv_prog_tar_pax}" && break
2915 # tar/untar a dummy directory, and stop if the command works.
2918 echo GrepMe > conftest.dir/file
2919 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2920 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }
2925 if test -s conftest.tar; then
2926 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2927 ($am__untar <conftest.tar) >&5 2>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }
2931 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2932 (cat conftest.dir/file) >&5 2>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }
2936 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2941 if ${am_cv_prog_tar_pax+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 am_cv_prog_tar_pax=$_am_tool
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2948 $as_echo "$am_cv_prog_tar_pax" >&6; }
2955 # POSIX will say in a future version that running "rm -f" with no argument
2956 # is OK; and we want to be able to make that assumption in our Makefile
2957 # recipes. So use an aggressive probe to check that the usage we want is
2958 # actually supported "in the wild" to an acceptable degree.
2959 # See automake bug#10828.
2960 # To make any issue more visible, cause the running configure to be aborted
2961 # by default if the 'rm' program in use doesn't match our expectations; the
2962 # user can still override this though.
2963 if rm -f && rm -fr && rm -rf; then : OK; else
2967 Your 'rm' program seems unable to run without file operands specified
2968 on the command line, even when the '-f' option is present. This is contrary
2969 to the behaviour of most rm programs out there, and not conforming with
2970 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2972 Please tell bug-automake@gnu.org about your system, including the value
2973 of your $PATH and any error possibly output before this message. This
2974 can help us improve future automake versions.
2977 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2978 echo 'Configuration will proceed anyway, since you have set the' >&2
2979 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2983 Aborting the configuration process, to ensure you take notice of the issue.
2985 You can download and install GNU coreutils to get an 'rm' implementation
2986 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2988 If you want to complete the configuration process using your problematic
2989 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2990 to "yes", and re-run configure.
2993 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2997 # Check whether --enable-silent-rules was given.
2998 if test "${enable_silent_rules+set}" = set; then :
2999 enableval=$enable_silent_rules;
3002 case $enable_silent_rules in # (((
3003 yes) AM_DEFAULT_VERBOSITY=0;;
3004 no) AM_DEFAULT_VERBOSITY=1;;
3005 *) AM_DEFAULT_VERBOSITY=0;;
3007 am_make=${MAKE-make}
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3009 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3010 if ${am_cv_make_support_nested_variables+:} false; then :
3011 $as_echo_n "(cached) " >&6
3013 if $as_echo 'TRUE=$(BAR$(V))
3019 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3020 am_cv_make_support_nested_variables=yes
3022 am_cv_make_support_nested_variables=no
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3026 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3027 if test $am_cv_make_support_nested_variables = yes; then
3029 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3031 AM_V=$AM_DEFAULT_VERBOSITY
3032 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3038 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3039 # Check whether --enable-maintainer-mode was given.
3040 if test "${enable_maintainer_mode+set}" = set; then :
3041 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3043 USE_MAINTAINER_MODE=yes
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3047 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3048 if test $USE_MAINTAINER_MODE = yes; then
3049 MAINTAINER_MODE_TRUE=
3050 MAINTAINER_MODE_FALSE='#'
3052 MAINTAINER_MODE_TRUE='#'
3053 MAINTAINER_MODE_FALSE=
3056 MAINT=$MAINTAINER_MODE_TRUE
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3064 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3069 macro_version='2.4.2'
3070 macro_revision='1.3337'
3084 ltmain="$ac_aux_dir/ltmain.sh"
3086 # Make sure we can run config.sub.
3087 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3088 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3091 $as_echo_n "checking build system type... " >&6; }
3092 if ${ac_cv_build+:} false; then :
3093 $as_echo_n "(cached) " >&6
3095 ac_build_alias=$build_alias
3096 test "x$ac_build_alias" = x &&
3097 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3098 test "x$ac_build_alias" = x &&
3099 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3100 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3101 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3105 $as_echo "$ac_cv_build" >&6; }
3106 case $ac_cv_build in
3108 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3111 ac_save_IFS=$IFS; IFS='-'
3117 # Remember, the first character of IFS is used to create $*,
3118 # except with old shells:
3121 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3125 $as_echo_n "checking host system type... " >&6; }
3126 if ${ac_cv_host+:} false; then :
3127 $as_echo_n "(cached) " >&6
3129 if test "x$host_alias" = x; then
3130 ac_cv_host=$ac_cv_build
3132 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3133 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3138 $as_echo "$ac_cv_host" >&6; }
3141 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3144 ac_save_IFS=$IFS; IFS='-'
3150 # Remember, the first character of IFS is used to create $*,
3151 # except with old shells:
3154 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3157 # Backslashify metacharacters that are still active within
3158 # double-quoted strings.
3159 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3161 # Same as above, but do not quote variable references.
3162 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3164 # Sed substitution to delay expansion of an escaped shell variable in a
3165 # double_quote_subst'ed string.
3166 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3168 # Sed substitution to delay expansion of an escaped single quote.
3169 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3171 # Sed substitution to avoid accidental globbing in evaled expressions
3172 no_glob_subst='s/\*/\\\*/g'
3174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3175 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3176 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3179 $as_echo_n "checking how to print strings... " >&6; }
3180 # Test print first, because it will be a builtin if present.
3181 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3182 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3184 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3187 # Use this function as a fallback that always works.
3188 func_fallback_echo ()
3190 eval 'cat <<_LTECHO_EOF
3194 ECHO='func_fallback_echo'
3197 # func_echo_all arg...
3198 # Invoke $ECHO with all args, space-separated.
3205 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3206 $as_echo "printf" >&6; } ;;
3207 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3208 $as_echo "print -r" >&6; } ;;
3209 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3210 $as_echo "cat" >&6; } ;;
3226 DEPDIR="${am__leading_dot}deps"
3228 ac_config_commands="$ac_config_commands depfiles"
3231 am_make=${MAKE-make}
3232 cat > confinc << 'END'
3234 @echo this is the am__doit target
3237 # If we don't find an include directive, just comment out the code.
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3239 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3243 # First try GNU make style include.
3244 echo "include confinc" > confmf
3245 # Ignore all kinds of additional output from 'make'.
3246 case `$am_make -s -f confmf 2> /dev/null` in #(
3247 *the\ am__doit\ target*)
3253 # Now try BSD make style include.
3254 if test "$am__include" = "#"; then
3255 echo '.include "confinc"' > confmf
3256 case `$am_make -s -f confmf 2> /dev/null` in #(
3257 *the\ am__doit\ target*)
3258 am__include=.include
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3267 $as_echo "$_am_result" >&6; }
3268 rm -f confinc confmf
3270 # Check whether --enable-dependency-tracking was given.
3271 if test "${enable_dependency_tracking+set}" = set; then :
3272 enableval=$enable_dependency_tracking;
3275 if test "x$enable_dependency_tracking" != xno; then
3276 am_depcomp="$ac_aux_dir/depcomp"
3280 if test "x$enable_dependency_tracking" != xno; then
3290 ac_cpp='$CPP $CPPFLAGS'
3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3294 if test -n "$ac_tool_prefix"; then
3295 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3296 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298 $as_echo_n "checking for $ac_word... " >&6; }
3299 if ${ac_cv_prog_CC+:} false; then :
3300 $as_echo_n "(cached) " >&6
3302 if test -n "$CC"; then
3303 ac_cv_prog_CC="$CC" # Let the user override the test.
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir=.
3310 for ac_exec_ext in '' $ac_executable_extensions; do
3311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3312 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323 if test -n "$CC"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3325 $as_echo "$CC" >&6; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328 $as_echo "no" >&6; }
3333 if test -z "$ac_cv_prog_CC"; then
3335 # Extract the first word of "gcc", so it can be a program name with args.
3336 set dummy gcc; ac_word=$2
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3338 $as_echo_n "checking for $ac_word... " >&6; }
3339 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3340 $as_echo_n "(cached) " >&6
3342 if test -n "$ac_ct_CC"; then
3343 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349 test -z "$as_dir" && as_dir=.
3350 for ac_exec_ext in '' $ac_executable_extensions; do
3351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3352 ac_cv_prog_ac_ct_CC="gcc"
3353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3363 if test -n "$ac_ct_CC"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3365 $as_echo "$ac_ct_CC" >&6; }
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3371 if test "x$ac_ct_CC" = x; then
3374 case $cross_compiling:$ac_tool_warned in
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3378 ac_tool_warned=yes ;;
3386 if test -z "$CC"; then
3387 if test -n "$ac_tool_prefix"; then
3388 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3389 set dummy ${ac_tool_prefix}cc; ac_word=$2
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391 $as_echo_n "checking for $ac_word... " >&6; }
3392 if ${ac_cv_prog_CC+:} false; then :
3393 $as_echo_n "(cached) " >&6
3395 if test -n "$CC"; then
3396 ac_cv_prog_CC="$CC" # Let the user override the test.
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402 test -z "$as_dir" && as_dir=.
3403 for ac_exec_ext in '' $ac_executable_extensions; do
3404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3405 ac_cv_prog_CC="${ac_tool_prefix}cc"
3406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416 if test -n "$CC"; then
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3418 $as_echo "$CC" >&6; }
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3427 if test -z "$CC"; then
3428 # Extract the first word of "cc", so it can be a program name with args.
3429 set dummy cc; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if ${ac_cv_prog_CC+:} false; then :
3433 $as_echo_n "(cached) " >&6
3435 if test -n "$CC"; then
3436 ac_cv_prog_CC="$CC" # Let the user override the test.
3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3443 test -z "$as_dir" && as_dir=.
3444 for ac_exec_ext in '' $ac_executable_extensions; do
3445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3446 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3447 ac_prog_rejected=yes
3451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 if test $ac_prog_rejected = yes; then
3459 # We found a bogon in the path, so make sure we never use it.
3460 set dummy $ac_cv_prog_CC
3462 if test $# != 0; then
3463 # We chose a different compiler from the bogus one.
3464 # However, it has the same basename, so the bogon will be chosen
3465 # first if we set CC to just the basename; use the full file name.
3467 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3473 if test -n "$CC"; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3475 $as_echo "$CC" >&6; }
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478 $as_echo "no" >&6; }
3483 if test -z "$CC"; then
3484 if test -n "$ac_tool_prefix"; then
3485 for ac_prog in cl.exe
3487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3488 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if ${ac_cv_prog_CC+:} false; then :
3492 $as_echo_n "(cached) " >&6
3494 if test -n "$CC"; then
3495 ac_cv_prog_CC="$CC" # Let the user override the test.
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3504 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 if test -n "$CC"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3517 $as_echo "$CC" >&6; }
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3524 test -n "$CC" && break
3527 if test -z "$CC"; then
3529 for ac_prog in cl.exe
3531 # Extract the first word of "$ac_prog", so it can be a program name with args.
3532 set dummy $ac_prog; ac_word=$2
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3534 $as_echo_n "checking for $ac_word... " >&6; }
3535 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3536 $as_echo_n "(cached) " >&6
3538 if test -n "$ac_ct_CC"; then
3539 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir=.
3546 for ac_exec_ext in '' $ac_executable_extensions; do
3547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3548 ac_cv_prog_ac_ct_CC="$ac_prog"
3549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3559 if test -n "$ac_ct_CC"; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3561 $as_echo "$ac_ct_CC" >&6; }
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3568 test -n "$ac_ct_CC" && break
3571 if test "x$ac_ct_CC" = x; then
3574 case $cross_compiling:$ac_tool_warned in
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3578 ac_tool_warned=yes ;;
3587 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3589 as_fn_error $? "no acceptable C compiler found in \$PATH
3590 See \`config.log' for more details" "$LINENO" 5; }
3592 # Provide some information about the compiler.
3593 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3596 for ac_option in --version -v -V -qversion; do
3597 { { ac_try="$ac_compiler $ac_option >&5"
3599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600 *) ac_try_echo=$ac_try;;
3602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3603 $as_echo "$ac_try_echo"; } >&5
3604 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3606 if test -s conftest.err; then
3608 ... rest of stderr output deleted ...
3609 10q' conftest.err >conftest.er1
3610 cat conftest.er1 >&5
3612 rm -f conftest.er1 conftest.err
3613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614 test $ac_status = 0; }
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3628 ac_clean_files_save=$ac_clean_files
3629 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3630 # Try to create an executable without -o first, disregard a.out.
3631 # It will help us diagnose broken compilers, and finding out an intuition
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3634 $as_echo_n "checking whether the C compiler works... " >&6; }
3635 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3637 # The possible output files:
3638 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3641 for ac_file in $ac_files
3644 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3645 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3650 if { { ac_try="$ac_link_default"
3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656 $as_echo "$ac_try_echo"; } >&5
3657 (eval "$ac_link_default") 2>&5
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }; then :
3661 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3662 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3663 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3664 # so that the user can short-circuit this test for compilers unknown to
3666 for ac_file in $ac_files ''
3668 test -f "$ac_file" || continue
3670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3673 # We found the default executable, but exeext='' is most
3677 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3679 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3681 # We set ac_cv_exeext here because the later test for it is not
3682 # safe: cross compilers may not add the suffix if given an `-o'
3683 # argument, so we may need to know it at that point already.
3684 # Even if this section looks crufty: it has the advantage of
3691 test "$ac_cv_exeext" = no && ac_cv_exeext=
3696 if test -z "$ac_file"; then :
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3699 $as_echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.$ac_ext >&5
3702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3704 as_fn_error 77 "C compiler cannot create executables
3705 See \`config.log' for more details" "$LINENO" 5; }
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3708 $as_echo "yes" >&6; }
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3711 $as_echo_n "checking for C compiler default output file name... " >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3713 $as_echo "$ac_file" >&6; }
3714 ac_exeext=$ac_cv_exeext
3716 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3717 ac_clean_files=$ac_clean_files_save
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3719 $as_echo_n "checking for suffix of executables... " >&6; }
3720 if { { ac_try="$ac_link"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726 $as_echo "$ac_try_echo"; } >&5
3727 (eval "$ac_link") 2>&5
3729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730 test $ac_status = 0; }; then :
3731 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3732 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3733 # work properly (i.e., refer to `conftest.exe'), while it won't with
3735 for ac_file in conftest.exe conftest conftest.*; do
3736 test -f "$ac_file" || continue
3738 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3739 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3748 See \`config.log' for more details" "$LINENO" 5; }
3750 rm -f conftest conftest$ac_cv_exeext
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3752 $as_echo "$ac_cv_exeext" >&6; }
3754 rm -f conftest.$ac_ext
3755 EXEEXT=$ac_cv_exeext
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3763 FILE *f = fopen ("conftest.out", "w");
3764 return ferror (f) || fclose (f) != 0;
3770 ac_clean_files="$ac_clean_files conftest.out"
3771 # Check that the compiler produces executables we can run. If not, either
3772 # the compiler is broken, or we cross compile.
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3774 $as_echo_n "checking whether we are cross compiling... " >&6; }
3775 if test "$cross_compiling" != yes; then
3776 { { ac_try="$ac_link"
3778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779 *) ac_try_echo=$ac_try;;
3781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782 $as_echo "$ac_try_echo"; } >&5
3783 (eval "$ac_link") 2>&5
3785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3786 test $ac_status = 0; }
3787 if { ac_try='./conftest$ac_cv_exeext'
3788 { { case "(($ac_try" in
3789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790 *) ac_try_echo=$ac_try;;
3792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793 $as_echo "$ac_try_echo"; } >&5
3794 (eval "$ac_try") 2>&5
3796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797 test $ac_status = 0; }; }; then
3800 if test "$cross_compiling" = maybe; then
3803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 as_fn_error $? "cannot run C compiled programs.
3806 If you meant to cross compile, use \`--host'.
3807 See \`config.log' for more details" "$LINENO" 5; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3812 $as_echo "$cross_compiling" >&6; }
3814 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3815 ac_clean_files=$ac_clean_files_save
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3817 $as_echo_n "checking for suffix of object files... " >&6; }
3818 if ${ac_cv_objext+:} false; then :
3819 $as_echo_n "(cached) " >&6
3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3832 rm -f conftest.o conftest.obj
3833 if { { ac_try="$ac_compile"
3835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836 *) ac_try_echo=$ac_try;;
3838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3839 $as_echo "$ac_try_echo"; } >&5
3840 (eval "$ac_compile") 2>&5
3842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843 test $ac_status = 0; }; then :
3844 for ac_file in conftest.o conftest.obj conftest.*; do
3845 test -f "$ac_file" || continue;
3847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3848 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3853 $as_echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error $? "cannot compute suffix of object files: cannot compile
3859 See \`config.log' for more details" "$LINENO" 5; }
3861 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3864 $as_echo "$ac_cv_objext" >&6; }
3865 OBJEXT=$ac_cv_objext
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3868 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3869 if ${ac_cv_c_compiler_gnu+:} false; then :
3870 $as_echo_n "(cached) " >&6
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3886 if ac_fn_c_try_compile "$LINENO"; then :
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3896 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3897 if test $ac_compiler_gnu = yes; then
3902 ac_test_CFLAGS=${CFLAGS+set}
3903 ac_save_CFLAGS=$CFLAGS
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3905 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3906 if ${ac_cv_prog_cc_g+:} false; then :
3907 $as_echo_n "(cached) " >&6
3909 ac_save_c_werror_flag=$ac_c_werror_flag
3910 ac_c_werror_flag=yes
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3924 if ac_fn_c_try_compile "$LINENO"; then :
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3939 if ac_fn_c_try_compile "$LINENO"; then :
3942 ac_c_werror_flag=$ac_save_c_werror_flag
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3955 if ac_fn_c_try_compile "$LINENO"; then :
3958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963 ac_c_werror_flag=$ac_save_c_werror_flag
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3966 $as_echo "$ac_cv_prog_cc_g" >&6; }
3967 if test "$ac_test_CFLAGS" = set; then
3968 CFLAGS=$ac_save_CFLAGS
3969 elif test $ac_cv_prog_cc_g = yes; then
3970 if test "$GCC" = yes; then
3976 if test "$GCC" = yes; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3983 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3984 if ${ac_cv_prog_cc_c89+:} false; then :
3985 $as_echo_n "(cached) " >&6
3987 ac_cv_prog_cc_c89=no
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
3994 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3995 struct buf { int x; };
3996 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3997 static char *e (p, i)
4003 static char *f (char * (*g) (char **, int), char **p, ...)
4008 s = g (p, va_arg (v,int));
4013 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4014 function prototypes and stuff, but not '\xHH' hex character constants.
4015 These don't provoke an error unfortunately, instead are silently treated
4016 as 'x'. The following induces an error, until -std is added to get
4017 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4018 array size at least. It's necessary to write '\x00'==0 to get something
4019 that's true only with -std. */
4020 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4022 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4023 inside strings and character constants. */
4025 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4027 int test (int i, double x);
4028 struct s1 {int (*f) (int a);};
4029 struct s2 {int (*f) (double a);};
4030 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4036 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4041 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4042 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4044 CC="$ac_save_CC $ac_arg"
4045 if ac_fn_c_try_compile "$LINENO"; then :
4046 ac_cv_prog_cc_c89=$ac_arg
4048 rm -f core conftest.err conftest.$ac_objext
4049 test "x$ac_cv_prog_cc_c89" != "xno" && break
4051 rm -f conftest.$ac_ext
4056 case "x$ac_cv_prog_cc_c89" in
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4059 $as_echo "none needed" >&6; } ;;
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4062 $as_echo "unsupported" >&6; } ;;
4064 CC="$CC $ac_cv_prog_cc_c89"
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4066 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4068 if test "x$ac_cv_prog_cc_c89" != xno; then :
4073 ac_cpp='$CPP $CPPFLAGS'
4074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4084 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4085 if ${am_cv_prog_cc_c_o+:} false; then :
4086 $as_echo_n "(cached) " >&6
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4099 # Make sure it works both with $CC and with simple cc.
4100 # Following AC_PROG_CC_C_O, we do the test twice because some
4101 # compilers refuse to overwrite an existing .o file with -o,
4102 # though they will create one.
4103 am_cv_prog_cc_c_o=yes
4105 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4106 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); } \
4110 && test -f conftest2.$ac_objext; then
4113 am_cv_prog_cc_c_o=no
4117 rm -f core conftest*
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4121 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4122 if test "$am_cv_prog_cc_c_o" != yes; then
4123 # Losing compiler, so override with the script.
4124 # FIXME: It is wrong to rewrite CC.
4125 # But if we don't then we get into trouble of one sort or another.
4126 # A longer-term fix would be to have automake use am__CC in this case,
4127 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4128 CC="$am_aux_dir/compile $CC"
4131 ac_cpp='$CPP $CPPFLAGS'
4132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4137 depcc="$CC" am_compiler_list=
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4140 $as_echo_n "checking dependency style of $depcc... " >&6; }
4141 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4142 $as_echo_n "(cached) " >&6
4144 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4145 # We make a subdir and do the tests there. Otherwise we can end up
4146 # making bogus files that we don't know about and never remove. For
4147 # instance it was reported that on HP-UX the gcc test will end up
4148 # making a dummy file named 'D' -- because '-MD' means "put the output
4152 # Copy depcomp to subdir because otherwise we won't find it if we're
4153 # using a relative directory.
4154 cp "$am_depcomp" conftest.dir
4156 # We will build objects and dependencies in a subdirectory because
4157 # it helps to detect inapplicable dependency modes. For instance
4158 # both Tru64's cc and ICC support -MD to output dependencies as a
4159 # side effect of compilation, but ICC will put the dependencies in
4160 # the current directory while Tru64 will put them in the object
4164 am_cv_CC_dependencies_compiler_type=none
4165 if test "$am_compiler_list" = ""; then
4166 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4169 case " $depcc " in #(
4170 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4173 for depmode in $am_compiler_list; do
4174 # Setup a source with many dependencies, because some compilers
4175 # like to wrap large dependency lists on column 80 (with \), and
4176 # we should not choose a depcomp mode which is confused by this.
4178 # We need to recreate these files for each test, as the compiler may
4179 # overwrite some of them when testing with obscure command lines.
4180 # This happens at least with the AIX C compiler.
4182 for i in 1 2 3 4 5 6; do
4183 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4184 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4185 # Solaris 10 /bin/sh.
4186 echo '/* dummy */' > sub/conftst$i.h
4188 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4190 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4191 # mode. It turns out that the SunPro C++ compiler does not properly
4192 # handle '-M -o', and we need to detect this. Also, some Intel
4193 # versions had trouble with output in subdirs.
4194 am__obj=sub/conftest.${OBJEXT-o}
4195 am__minus_obj="-o $am__obj"
4198 # This depmode causes a compiler race in universal mode.
4199 test "$am__universal" = false || continue
4202 # After this tag, mechanisms are not by side-effect, so they'll
4203 # only be used when explicitly requested.
4204 if test "x$enable_dependency_tracking" = xyes; then
4210 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4211 # This compiler won't grok '-c -o', but also, the minuso test has
4212 # not run yet. These depmodes are late enough in the game, and
4213 # so weak that their functioning should not be impacted.
4214 am__obj=conftest.${OBJEXT-o}
4219 if depmode=$depmode \
4220 source=sub/conftest.c object=$am__obj \
4221 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4222 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4223 >/dev/null 2>conftest.err &&
4224 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4225 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4226 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4227 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4228 # icc doesn't choke on unknown options, it will just issue warnings
4229 # or remarks (even with -Werror). So we grep stderr for any message
4230 # that says an option was ignored or not supported.
4231 # When given -MP, icc 7.0 and 7.1 complain thusly:
4232 # icc: Command line warning: ignoring option '-M'; no argument required
4233 # The diagnosis changed in icc 8.0:
4234 # icc: Command line remark: option '-MP' not supported
4235 if (grep 'ignoring option' conftest.err ||
4236 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4237 am_cv_CC_dependencies_compiler_type=$depmode
4246 am_cv_CC_dependencies_compiler_type=none
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4251 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4252 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4255 test "x$enable_dependency_tracking" != xno \
4256 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4258 am__fastdepCC_FALSE='#'
4260 am__fastdepCC_TRUE='#'
4261 am__fastdepCC_FALSE=
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4266 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4267 if ${ac_cv_path_SED+:} false; then :
4268 $as_echo_n "(cached) " >&6
4270 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4271 for ac_i in 1 2 3 4 5 6 7; do
4272 ac_script="$ac_script$as_nl$ac_script"
4274 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4275 { ac_script=; unset ac_script;}
4276 if test -z "$SED"; then
4277 ac_path_SED_found=false
4278 # Loop through the user's path and test for each of PROGNAME-LIST
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 test -z "$as_dir" && as_dir=.
4284 for ac_prog in sed gsed; do
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4287 as_fn_executable_p "$ac_path_SED" || continue
4288 # Check for GNU ac_path_SED and select it if it is found.
4289 # Check for GNU $ac_path_SED
4290 case `"$ac_path_SED" --version 2>&1` in
4292 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4295 $as_echo_n 0123456789 >"conftest.in"
4298 cat "conftest.in" "conftest.in" >"conftest.tmp"
4299 mv "conftest.tmp" "conftest.in"
4300 cp "conftest.in" "conftest.nl"
4301 $as_echo '' >> "conftest.nl"
4302 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4303 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4304 as_fn_arith $ac_count + 1 && ac_count=$as_val
4305 if test $ac_count -gt ${ac_path_SED_max-0}; then
4306 # Best one so far, save it but keep looking for a better one
4307 ac_cv_path_SED="$ac_path_SED"
4308 ac_path_SED_max=$ac_count
4310 # 10*(2^10) chars as input seems more than enough
4311 test $ac_count -gt 10 && break
4313 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4316 $ac_path_SED_found && break 3
4321 if test -z "$ac_cv_path_SED"; then
4322 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4330 $as_echo "$ac_cv_path_SED" >&6; }
4331 SED="$ac_cv_path_SED"
4334 test -z "$SED" && SED=sed
4335 Xsed="$SED -e 1s/^X//"
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4348 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4349 if ${ac_cv_path_GREP+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -z "$GREP"; then
4353 ac_path_GREP_found=false
4354 # Loop through the user's path and test for each of PROGNAME-LIST
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4359 test -z "$as_dir" && as_dir=.
4360 for ac_prog in grep ggrep; do
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4363 as_fn_executable_p "$ac_path_GREP" || continue
4364 # Check for GNU ac_path_GREP and select it if it is found.
4365 # Check for GNU $ac_path_GREP
4366 case `"$ac_path_GREP" --version 2>&1` in
4368 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4371 $as_echo_n 0123456789 >"conftest.in"
4374 cat "conftest.in" "conftest.in" >"conftest.tmp"
4375 mv "conftest.tmp" "conftest.in"
4376 cp "conftest.in" "conftest.nl"
4377 $as_echo 'GREP' >> "conftest.nl"
4378 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4379 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4380 as_fn_arith $ac_count + 1 && ac_count=$as_val
4381 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4382 # Best one so far, save it but keep looking for a better one
4383 ac_cv_path_GREP="$ac_path_GREP"
4384 ac_path_GREP_max=$ac_count
4386 # 10*(2^10) chars as input seems more than enough
4387 test $ac_count -gt 10 && break
4389 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4392 $ac_path_GREP_found && break 3
4397 if test -z "$ac_cv_path_GREP"; then
4398 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4401 ac_cv_path_GREP=$GREP
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4406 $as_echo "$ac_cv_path_GREP" >&6; }
4407 GREP="$ac_cv_path_GREP"
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4411 $as_echo_n "checking for egrep... " >&6; }
4412 if ${ac_cv_path_EGREP+:} false; then :
4413 $as_echo_n "(cached) " >&6
4415 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4416 then ac_cv_path_EGREP="$GREP -E"
4418 if test -z "$EGREP"; then
4419 ac_path_EGREP_found=false
4420 # Loop through the user's path and test for each of PROGNAME-LIST
4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4425 test -z "$as_dir" && as_dir=.
4426 for ac_prog in egrep; do
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4429 as_fn_executable_p "$ac_path_EGREP" || continue
4430 # Check for GNU ac_path_EGREP and select it if it is found.
4431 # Check for GNU $ac_path_EGREP
4432 case `"$ac_path_EGREP" --version 2>&1` in
4434 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4437 $as_echo_n 0123456789 >"conftest.in"
4440 cat "conftest.in" "conftest.in" >"conftest.tmp"
4441 mv "conftest.tmp" "conftest.in"
4442 cp "conftest.in" "conftest.nl"
4443 $as_echo 'EGREP' >> "conftest.nl"
4444 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4445 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4446 as_fn_arith $ac_count + 1 && ac_count=$as_val
4447 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4448 # Best one so far, save it but keep looking for a better one
4449 ac_cv_path_EGREP="$ac_path_EGREP"
4450 ac_path_EGREP_max=$ac_count
4452 # 10*(2^10) chars as input seems more than enough
4453 test $ac_count -gt 10 && break
4455 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4458 $ac_path_EGREP_found && break 3
4463 if test -z "$ac_cv_path_EGREP"; then
4464 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4467 ac_cv_path_EGREP=$EGREP
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4473 $as_echo "$ac_cv_path_EGREP" >&6; }
4474 EGREP="$ac_cv_path_EGREP"
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4478 $as_echo_n "checking for fgrep... " >&6; }
4479 if ${ac_cv_path_FGREP+:} false; then :
4480 $as_echo_n "(cached) " >&6
4482 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4483 then ac_cv_path_FGREP="$GREP -F"
4485 if test -z "$FGREP"; then
4486 ac_path_FGREP_found=false
4487 # Loop through the user's path and test for each of PROGNAME-LIST
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4492 test -z "$as_dir" && as_dir=.
4493 for ac_prog in fgrep; do
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4496 as_fn_executable_p "$ac_path_FGREP" || continue
4497 # Check for GNU ac_path_FGREP and select it if it is found.
4498 # Check for GNU $ac_path_FGREP
4499 case `"$ac_path_FGREP" --version 2>&1` in
4501 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4504 $as_echo_n 0123456789 >"conftest.in"
4507 cat "conftest.in" "conftest.in" >"conftest.tmp"
4508 mv "conftest.tmp" "conftest.in"
4509 cp "conftest.in" "conftest.nl"
4510 $as_echo 'FGREP' >> "conftest.nl"
4511 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4513 as_fn_arith $ac_count + 1 && ac_count=$as_val
4514 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4515 # Best one so far, save it but keep looking for a better one
4516 ac_cv_path_FGREP="$ac_path_FGREP"
4517 ac_path_FGREP_max=$ac_count
4519 # 10*(2^10) chars as input seems more than enough
4520 test $ac_count -gt 10 && break
4522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4525 $ac_path_FGREP_found && break 3
4530 if test -z "$ac_cv_path_FGREP"; then
4531 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4534 ac_cv_path_FGREP=$FGREP
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4540 $as_echo "$ac_cv_path_FGREP" >&6; }
4541 FGREP="$ac_cv_path_FGREP"
4544 test -z "$GREP" && GREP=grep
4564 # Check whether --with-gnu-ld was given.
4565 if test "${with_gnu_ld+set}" = set; then :
4566 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4572 if test "$GCC" = yes; then
4573 # Check if gcc -print-prog-name=ld gives a path.
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4575 $as_echo_n "checking for ld used by $CC... " >&6; }
4578 # gcc leaves a trailing carriage return which upsets mingw
4579 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4581 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4584 # Accept absolute paths.
4586 re_direlt='/[^/][^/]*/\.\./'
4587 # Canonicalize the pathname of ld
4588 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4589 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4590 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4592 test -z "$LD" && LD="$ac_prog"
4595 # If it fails, then pretend we aren't using GCC.
4599 # If it is relative, then search for the first ld in PATH.
4603 elif test "$with_gnu_ld" = yes; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4605 $as_echo_n "checking for GNU ld... " >&6; }
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4608 $as_echo_n "checking for non-GNU ld... " >&6; }
4610 if ${lt_cv_path_LD+:} false; then :
4611 $as_echo_n "(cached) " >&6
4613 if test -z "$LD"; then
4614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4615 for ac_dir in $PATH; do
4617 test -z "$ac_dir" && ac_dir=.
4618 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4619 lt_cv_path_LD="$ac_dir/$ac_prog"
4620 # Check to see if the program is GNU ld. I'd rather use --version,
4621 # but apparently some variants of GNU ld only accept -v.
4622 # Break only if it was the GNU/non-GNU ld that we prefer.
4623 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4624 *GNU* | *'with BFD'*)
4625 test "$with_gnu_ld" != no && break
4628 test "$with_gnu_ld" != yes && break
4635 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4640 if test -n "$LD"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4642 $as_echo "$LD" >&6; }
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4647 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4649 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4650 if ${lt_cv_prog_gnu_ld+:} false; then :
4651 $as_echo_n "(cached) " >&6
4653 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4654 case `$LD -v 2>&1 </dev/null` in
4655 *GNU* | *'with BFD'*)
4656 lt_cv_prog_gnu_ld=yes
4659 lt_cv_prog_gnu_ld=no
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4664 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4665 with_gnu_ld=$lt_cv_prog_gnu_ld
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4676 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4677 if ${lt_cv_path_NM+:} false; then :
4678 $as_echo_n "(cached) " >&6
4680 if test -n "$NM"; then
4681 # Let the user override the test.
4684 lt_nm_to_check="${ac_tool_prefix}nm"
4685 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4686 lt_nm_to_check="$lt_nm_to_check nm"
4688 for lt_tmp_nm in $lt_nm_to_check; do
4689 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4690 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4692 test -z "$ac_dir" && ac_dir=.
4693 tmp_nm="$ac_dir/$lt_tmp_nm"
4694 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4695 # Check to see if the nm accepts a BSD-compat flag.
4696 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4697 # nm: unknown option "B" ignored
4698 # Tru64's nm complains that /dev/null is an invalid object file
4699 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4700 */dev/null* | *'Invalid file or object type'*)
4701 lt_cv_path_NM="$tmp_nm -B"
4705 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4707 lt_cv_path_NM="$tmp_nm -p"
4711 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4712 continue # so that we can try to find one that supports BSD flags
4721 : ${lt_cv_path_NM=no}
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4725 $as_echo "$lt_cv_path_NM" >&6; }
4726 if test "$lt_cv_path_NM" != "no"; then
4729 # Didn't find any BSD compatible name lister, look for dumpbin.
4730 if test -n "$DUMPBIN"; then :
4731 # Let the user override the test.
4733 if test -n "$ac_tool_prefix"; then
4734 for ac_prog in dumpbin "link -dump"
4736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if ${ac_cv_prog_DUMPBIN+:} false; then :
4741 $as_echo_n "(cached) " >&6
4743 if test -n "$DUMPBIN"; then
4744 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4753 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 DUMPBIN=$ac_cv_prog_DUMPBIN
4764 if test -n "$DUMPBIN"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4766 $as_echo "$DUMPBIN" >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4773 test -n "$DUMPBIN" && break
4776 if test -z "$DUMPBIN"; then
4777 ac_ct_DUMPBIN=$DUMPBIN
4778 for ac_prog in dumpbin "link -dump"
4780 # Extract the first word of "$ac_prog", so it can be a program name with args.
4781 set dummy $ac_prog; ac_word=$2
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 $as_echo_n "checking for $ac_word... " >&6; }
4784 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4785 $as_echo_n "(cached) " >&6
4787 if test -n "$ac_ct_DUMPBIN"; then
4788 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4794 test -z "$as_dir" && as_dir=.
4795 for ac_exec_ext in '' $ac_executable_extensions; do
4796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4797 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4808 if test -n "$ac_ct_DUMPBIN"; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4810 $as_echo "$ac_ct_DUMPBIN" >&6; }
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4817 test -n "$ac_ct_DUMPBIN" && break
4820 if test "x$ac_ct_DUMPBIN" = x; then
4823 case $cross_compiling:$ac_tool_warned in
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4827 ac_tool_warned=yes ;;
4829 DUMPBIN=$ac_ct_DUMPBIN
4833 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4835 DUMPBIN="$DUMPBIN -symbols"
4843 if test "$DUMPBIN" != ":"; then
4847 test -z "$NM" && NM=nm
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4855 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4856 if ${lt_cv_nm_interface+:} false; then :
4857 $as_echo_n "(cached) " >&6
4859 lt_cv_nm_interface="BSD nm"
4860 echo "int some_variable = 0;" > conftest.$ac_ext
4861 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4862 (eval "$ac_compile" 2>conftest.err)
4863 cat conftest.err >&5
4864 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4865 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4866 cat conftest.err >&5
4867 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4868 cat conftest.out >&5
4869 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4870 lt_cv_nm_interface="MS dumpbin"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4875 $as_echo "$lt_cv_nm_interface" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4878 $as_echo_n "checking whether ln -s works... " >&6; }
4880 if test "$LN_S" = "ln -s"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4885 $as_echo "no, using $LN_S" >&6; }
4888 # find the maximum length of command line arguments
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4890 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4891 if ${lt_cv_sys_max_cmd_len+:} false; then :
4892 $as_echo_n "(cached) " >&6
4899 # On DJGPP, this test can blow up pretty badly due to problems in libc
4900 # (any single argument exceeding 2000 bytes causes a buffer overrun
4901 # during glob expansion). Even if it were fixed, the result of this
4902 # check would be larger than it should be.
4903 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4907 # Under GNU Hurd, this test is not required because there is
4908 # no limit to the length of command line arguments.
4909 # Libtool will interpret -1 as no limit whatsoever
4910 lt_cv_sys_max_cmd_len=-1;
4913 cygwin* | mingw* | cegcc*)
4914 # On Win9x/ME, this test blows up -- it succeeds, but takes
4915 # about 5 minutes as the teststring grows exponentially.
4916 # Worse, since 9x/ME are not pre-emptively multitasking,
4917 # you end up with a "frozen" computer, even though with patience
4918 # the test eventually succeeds (with a max line length of 256k).
4919 # Instead, let's just punt: use the minimum linelength reported by
4920 # all of the supported platforms: 8192 (on NT/2K/XP).
4921 lt_cv_sys_max_cmd_len=8192;
4925 # On MiNT this can take a long time and run out of memory.
4926 lt_cv_sys_max_cmd_len=8192;
4930 # On AmigaOS with pdksh, this test takes hours, literally.
4931 # So we just punt and use a minimum line length of 8192.
4932 lt_cv_sys_max_cmd_len=8192;
4935 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4936 # This has been around since 386BSD, at least. Likely further.
4937 if test -x /sbin/sysctl; then
4938 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4939 elif test -x /usr/sbin/sysctl; then
4940 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4942 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4944 # And add a safety zone
4945 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4950 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4951 lt_cv_sys_max_cmd_len=196608
4955 # The test takes a long time on OS/2.
4956 lt_cv_sys_max_cmd_len=8192
4960 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4961 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4962 # nice to cause kernel panics so lets avoid the loop below.
4963 # First set a reasonable default.
4964 lt_cv_sys_max_cmd_len=16384
4966 if test -x /sbin/sysconfig; then
4967 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4968 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4973 lt_cv_sys_max_cmd_len=102400
4975 sysv5* | sco5v6* | sysv4.2uw2*)
4976 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4977 if test -n "$kargmax"; then
4978 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4980 lt_cv_sys_max_cmd_len=32768
4984 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4985 if test -n "$lt_cv_sys_max_cmd_len" && \
4986 test undefined != "$lt_cv_sys_max_cmd_len"; then
4987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4988 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4990 # Make teststring a little bigger before we do anything with it.
4991 # a 1K string should be a reasonable start.
4992 for i in 1 2 3 4 5 6 7 8 ; do
4993 teststring=$teststring$teststring
4995 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4996 # If test is not a shell built-in, we'll probably end up computing a
4997 # maximum length that is only half of the actual maximum length, but
4999 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5000 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5001 test $i != 17 # 1/2 MB should be enough
5004 teststring=$teststring$teststring
5006 # Only check the string length outside the loop.
5007 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5009 # Add a significant safety factor because C++ compilers can tack on
5010 # massive amounts of additional arguments before passing them to the
5011 # linker. It appears as though 1/2 is a usable value.
5012 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5019 if test -n $lt_cv_sys_max_cmd_len ; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5021 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5024 $as_echo "none" >&6; }
5026 max_cmd_len=$lt_cv_sys_max_cmd_len
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5038 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5039 # Try some XSI features
5042 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5044 && eval 'test $(( 1 + 1 )) -eq 2 \
5045 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5048 $as_echo "$xsi_shell" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5052 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5054 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5056 && lt_shell_append=yes
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5058 $as_echo "$lt_shell_append" >&6; }
5061 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5071 # test EBCDIC or ASCII
5072 case `echo X|tr X '\101'` in
5073 A) # ASCII based system
5074 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5075 lt_SP2NL='tr \040 \012'
5076 lt_NL2SP='tr \015\012 \040\040'
5078 *) # EBCDIC based system
5079 lt_SP2NL='tr \100 \n'
5080 lt_NL2SP='tr \r\n \100\100'
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5093 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5094 if ${lt_cv_to_host_file_cmd+:} false; then :
5095 $as_echo_n "(cached) " >&6
5100 *-*-mingw* ) # actually msys
5101 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5104 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5106 * ) # otherwise, assume *nix
5107 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5113 *-*-mingw* ) # actually msys
5114 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5117 lt_cv_to_host_file_cmd=func_convert_file_noop
5119 * ) # otherwise, assume *nix
5120 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5124 * ) # unhandled hosts (and "normal" native builds)
5125 lt_cv_to_host_file_cmd=func_convert_file_noop
5131 to_host_file_cmd=$lt_cv_to_host_file_cmd
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5133 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5140 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5141 if ${lt_cv_to_tool_file_cmd+:} false; then :
5142 $as_echo_n "(cached) " >&6
5144 #assume ordinary cross tools, or native build.
5145 lt_cv_to_tool_file_cmd=func_convert_file_noop
5149 *-*-mingw* ) # actually msys
5150 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5158 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5160 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5167 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5168 if ${lt_cv_ld_reload_flag+:} false; then :
5169 $as_echo_n "(cached) " >&6
5171 lt_cv_ld_reload_flag='-r'
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5174 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5175 reload_flag=$lt_cv_ld_reload_flag
5176 case $reload_flag in
5178 *) reload_flag=" $reload_flag" ;;
5180 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5182 cygwin* | mingw* | pw32* | cegcc*)
5183 if test "$GCC" != yes; then
5188 if test "$GCC" = yes; then
5189 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5191 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5204 if test -n "$ac_tool_prefix"; then
5205 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5206 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_OBJDUMP+:} false; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$OBJDUMP"; then
5213 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 OBJDUMP=$ac_cv_prog_OBJDUMP
5233 if test -n "$OBJDUMP"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5235 $as_echo "$OBJDUMP" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5243 if test -z "$ac_cv_prog_OBJDUMP"; then
5244 ac_ct_OBJDUMP=$OBJDUMP
5245 # Extract the first word of "objdump", so it can be a program name with args.
5246 set dummy objdump; ac_word=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$ac_ct_OBJDUMP"; then
5253 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5273 if test -n "$ac_ct_OBJDUMP"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5275 $as_echo "$ac_ct_OBJDUMP" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5281 if test "x$ac_ct_OBJDUMP" = x; then
5284 case $cross_compiling:$ac_tool_warned in
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288 ac_tool_warned=yes ;;
5290 OBJDUMP=$ac_ct_OBJDUMP
5293 OBJDUMP="$ac_cv_prog_OBJDUMP"
5296 test -z "$OBJDUMP" && OBJDUMP=objdump
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5304 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5305 if ${lt_cv_deplibs_check_method+:} false; then :
5306 $as_echo_n "(cached) " >&6
5308 lt_cv_file_magic_cmd='$MAGIC_CMD'
5309 lt_cv_file_magic_test_file=
5310 lt_cv_deplibs_check_method='unknown'
5311 # Need to set the preceding variable on all platforms that support
5312 # interlibrary dependencies.
5313 # 'none' -- dependencies not supported.
5314 # `unknown' -- same as none, but documents that we really don't know.
5315 # 'pass_all' -- all dependencies passed with no checks.
5316 # 'test_compile' -- check by making test program.
5317 # 'file_magic [[regex]]' -- check by looking for files in library path
5318 # which responds to the $file_magic_cmd with a given extended regex.
5319 # If you have `file' or equivalent on your system and you're not sure
5320 # whether `pass_all' will *always* work, you probably want this one.
5324 lt_cv_deplibs_check_method=pass_all
5328 lt_cv_deplibs_check_method=pass_all
5332 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5333 lt_cv_file_magic_cmd='/usr/bin/file -L'
5334 lt_cv_file_magic_test_file=/shlib/libc.so
5338 # func_win32_libid is a shell function defined in ltmain.sh
5339 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5340 lt_cv_file_magic_cmd='func_win32_libid'
5344 # Base MSYS/MinGW do not provide the 'file' command needed by
5345 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5346 # unless we find 'file', for example because we are cross-compiling.
5347 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5348 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5349 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5350 lt_cv_file_magic_cmd='func_win32_libid'
5352 # Keep this pattern in sync with the one in func_win32_libid.
5353 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5354 lt_cv_file_magic_cmd='$OBJDUMP -f'
5359 # use the weaker test based on 'objdump'. See mingw*.
5360 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5361 lt_cv_file_magic_cmd='$OBJDUMP -f'
5364 darwin* | rhapsody*)
5365 lt_cv_deplibs_check_method=pass_all
5368 freebsd* | dragonfly*)
5369 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5372 # Not sure whether the presence of OpenBSD here was a mistake.
5373 # Let's accept both of them until this is cleared up.
5374 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5375 lt_cv_file_magic_cmd=/usr/bin/file
5376 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5380 lt_cv_deplibs_check_method=pass_all
5385 lt_cv_deplibs_check_method=pass_all
5388 hpux10.20* | hpux11*)
5389 lt_cv_file_magic_cmd=/usr/bin/file
5392 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5393 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5396 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5397 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5400 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5401 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5407 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5408 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5411 irix5* | irix6* | nonstopux*)
5413 *-32|*"-32 ") libmagic=32-bit;;
5414 *-n32|*"-n32 ") libmagic=N32;;
5415 *-64|*"-64 ") libmagic=64-bit;;
5416 *) libmagic=never-match;;
5418 lt_cv_deplibs_check_method=pass_all
5421 # This must be glibc/ELF.
5422 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5423 lt_cv_deplibs_check_method=pass_all
5426 netbsd* | netbsdelf*-gnu)
5427 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5428 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5435 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5436 lt_cv_file_magic_cmd=/usr/bin/file
5437 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5441 lt_cv_deplibs_check_method=pass_all
5445 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5448 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5452 osf3* | osf4* | osf5*)
5453 lt_cv_deplibs_check_method=pass_all
5457 lt_cv_deplibs_check_method=pass_all
5461 lt_cv_deplibs_check_method=pass_all
5464 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5465 lt_cv_deplibs_check_method=pass_all
5469 case $host_vendor in
5471 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5472 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5475 lt_cv_deplibs_check_method=pass_all
5478 lt_cv_file_magic_cmd='/bin/file'
5479 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5482 lt_cv_file_magic_cmd='/bin/file'
5483 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5484 lt_cv_file_magic_test_file=/lib/libc.so
5487 lt_cv_deplibs_check_method=pass_all
5490 lt_cv_deplibs_check_method=pass_all
5496 lt_cv_deplibs_check_method=pass_all
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5502 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5506 if test "$build" = "$host"; then
5509 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5512 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5518 file_magic_cmd=$lt_cv_file_magic_cmd
5519 deplibs_check_method=$lt_cv_deplibs_check_method
5520 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5543 if test -n "$ac_tool_prefix"; then
5544 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5545 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_DLLTOOL+:} false; then :
5549 $as_echo_n "(cached) " >&6
5551 if test -n "$DLLTOOL"; then
5552 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 DLLTOOL=$ac_cv_prog_DLLTOOL
5572 if test -n "$DLLTOOL"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5574 $as_echo "$DLLTOOL" >&6; }
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5582 if test -z "$ac_cv_prog_DLLTOOL"; then
5583 ac_ct_DLLTOOL=$DLLTOOL
5584 # Extract the first word of "dlltool", so it can be a program name with args.
5585 set dummy dlltool; ac_word=$2
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5587 $as_echo_n "checking for $ac_word... " >&6; }
5588 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5589 $as_echo_n "(cached) " >&6
5591 if test -n "$ac_ct_DLLTOOL"; then
5592 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5601 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5612 if test -n "$ac_ct_DLLTOOL"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5614 $as_echo "$ac_ct_DLLTOOL" >&6; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5620 if test "x$ac_ct_DLLTOOL" = x; then
5623 case $cross_compiling:$ac_tool_warned in
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5627 ac_tool_warned=yes ;;
5629 DLLTOOL=$ac_ct_DLLTOOL
5632 DLLTOOL="$ac_cv_prog_DLLTOOL"
5635 test -z "$DLLTOOL" && DLLTOOL=dlltool
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5644 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5645 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5646 $as_echo_n "(cached) " >&6
5648 lt_cv_sharedlib_from_linklib_cmd='unknown'
5651 cygwin* | mingw* | pw32* | cegcc*)
5652 # two different shell functions defined in ltmain.sh
5653 # decide which to use based on capabilities of $DLLTOOL
5654 case `$DLLTOOL --help 2>&1` in
5655 *--identify-strict*)
5656 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5659 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5664 # fallback: assume linklib IS sharedlib
5665 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5671 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5672 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5673 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5682 if test -n "$ac_tool_prefix"; then
5685 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5686 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_AR+:} false; then :
5690 $as_echo_n "(cached) " >&6
5692 if test -n "$AR"; then
5693 ac_cv_prog_AR="$AR" # Let the user override the test.
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 if test -n "$AR"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5715 $as_echo "$AR" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5722 test -n "$AR" && break
5725 if test -z "$AR"; then
5729 # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5734 $as_echo_n "(cached) " >&6
5736 if test -n "$ac_ct_AR"; then
5737 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_ac_ct_AR="$ac_prog"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5757 if test -n "$ac_ct_AR"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5759 $as_echo "$ac_ct_AR" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 test -n "$ac_ct_AR" && break
5769 if test "x$ac_ct_AR" = x; then
5772 case $cross_compiling:$ac_tool_warned in
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5776 ac_tool_warned=yes ;;
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5796 $as_echo_n "checking for archiver @FILE support... " >&6; }
5797 if ${lt_cv_ar_at_file+:} false; then :
5798 $as_echo_n "(cached) " >&6
5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5812 if ac_fn_c_try_compile "$LINENO"; then :
5813 echo conftest.$ac_objext > conftest.lst
5814 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5815 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5816 (eval $lt_ar_try) 2>&5
5818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5819 test $ac_status = 0; }
5820 if test "$ac_status" -eq 0; then
5821 # Ensure the archiver fails upon bogus file names.
5822 rm -f conftest.$ac_objext libconftest.a
5823 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5824 (eval $lt_ar_try) 2>&5
5826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5827 test $ac_status = 0; }
5828 if test "$ac_status" -ne 0; then
5832 rm -f conftest.* libconftest.a
5835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5839 $as_echo "$lt_cv_ar_at_file" >&6; }
5841 if test "x$lt_cv_ar_at_file" = xno; then
5844 archiver_list_spec=$lt_cv_ar_at_file
5853 if test -n "$ac_tool_prefix"; then
5854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5855 set dummy ${ac_tool_prefix}strip; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_STRIP+:} false; then :
5859 $as_echo_n "(cached) " >&6
5861 if test -n "$STRIP"; then
5862 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 STRIP=$ac_cv_prog_STRIP
5882 if test -n "$STRIP"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5884 $as_echo "$STRIP" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5892 if test -z "$ac_cv_prog_STRIP"; then
5894 # Extract the first word of "strip", so it can be a program name with args.
5895 set dummy strip; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5899 $as_echo_n "(cached) " >&6
5901 if test -n "$ac_ct_STRIP"; then
5902 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5911 ac_cv_prog_ac_ct_STRIP="strip"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5922 if test -n "$ac_ct_STRIP"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5924 $as_echo "$ac_ct_STRIP" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5930 if test "x$ac_ct_STRIP" = x; then
5933 case $cross_compiling:$ac_tool_warned in
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5937 ac_tool_warned=yes ;;
5942 STRIP="$ac_cv_prog_STRIP"
5945 test -z "$STRIP" && STRIP=:
5952 if test -n "$ac_tool_prefix"; then
5953 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5954 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_RANLIB+:} false; then :
5958 $as_echo_n "(cached) " >&6
5960 if test -n "$RANLIB"; then
5961 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 RANLIB=$ac_cv_prog_RANLIB
5981 if test -n "$RANLIB"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5983 $as_echo "$RANLIB" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5991 if test -z "$ac_cv_prog_RANLIB"; then
5992 ac_ct_RANLIB=$RANLIB
5993 # Extract the first word of "ranlib", so it can be a program name with args.
5994 set dummy ranlib; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -n "$ac_ct_RANLIB"; then
6001 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ac_ct_RANLIB="ranlib"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6021 if test -n "$ac_ct_RANLIB"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6023 $as_echo "$ac_ct_RANLIB" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6029 if test "x$ac_ct_RANLIB" = x; then
6032 case $cross_compiling:$ac_tool_warned in
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6036 ac_tool_warned=yes ;;
6038 RANLIB=$ac_ct_RANLIB
6041 RANLIB="$ac_cv_prog_RANLIB"
6044 test -z "$RANLIB" && RANLIB=:
6051 # Determine commands to create old-style static archives.
6052 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6053 old_postinstall_cmds='chmod 644 $oldlib'
6054 old_postuninstall_cmds=
6056 if test -n "$RANLIB"; then
6059 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6062 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6065 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6070 lock_old_archive_extraction=yes ;;
6072 lock_old_archive_extraction=no ;;
6113 # If no C compiler was specified, use CC.
6116 # If no C compiler flags were specified, use CFLAGS.
6117 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6119 # Allow CC to be a program name with arguments.
6123 # Check for command to grab the raw symbol name followed by C symbol from nm.
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6125 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6126 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6127 $as_echo_n "(cached) " >&6
6130 # These are sane defaults that work on at least a few old systems.
6131 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6133 # Character class describing NM global symbol codes.
6134 symcode='[BCDEGRST]'
6136 # Regexp to match symbols that can be accessed directly from C.
6137 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6139 # Define system-specific variables.
6144 cygwin* | mingw* | pw32* | cegcc*)
6145 symcode='[ABCDGISTW]'
6148 if test "$host_cpu" = ia64; then
6149 symcode='[ABCDEGRST]'
6153 symcode='[BCDEGRST]'
6156 symcode='[BCDEGQRST]'
6167 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6175 # If we're using GNU nm, then use its standard symbol codes.
6176 case `$NM -V 2>&1` in
6177 *GNU* | *'with BFD'*)
6178 symcode='[ABCDGIRSTW]' ;;
6181 # Transform an extracted symbol line into a proper C declaration.
6182 # Some systems (esp. on ia64) link data and code symbols differently,
6183 # so use this general approach.
6184 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6186 # Transform an extracted symbol line into symbol name and symbol address
6187 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6188 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6190 # Handle CRLF in mingw tool chain
6194 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6198 # Try without a prefix underscore, then with it.
6199 for ac_symprfx in "" "_"; do
6201 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6202 symxfrm="\\1 $ac_symprfx\\2 \\2"
6204 # Write the raw and C identifiers.
6205 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6206 # Fake it for dumpbin and say T for any non-static function
6207 # and D for any global variable.
6208 # Also find C++ and __fastcall symbols from MSVC++,
6209 # which start with @ or ?.
6210 lt_cv_sys_global_symbol_pipe="$AWK '"\
6211 " {last_section=section; section=\$ 3};"\
6212 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6213 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6214 " \$ 0!~/External *\|/{next};"\
6215 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6216 " {if(hide[section]) next};"\
6217 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6218 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6219 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6220 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6221 " ' prfx=^$ac_symprfx"
6223 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6225 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6227 # Check to see that the pipe works correctly.
6231 cat > conftest.$ac_ext <<_LT_EOF
6236 void nm_test_func(void);
6237 void nm_test_func(void){}
6241 int main(){nm_test_var='a';nm_test_func();return(0);}
6244 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6245 (eval $ac_compile) 2>&5
6247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6248 test $ac_status = 0; }; then
6249 # Now try to grab the symbols.
6251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6252 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6255 test $ac_status = 0; } && test -s "$nlist"; then
6256 # Try sorting and uniquifying the output.
6257 if sort "$nlist" | uniq > "$nlist"T; then
6258 mv -f "$nlist"T "$nlist"
6263 # Make sure that we snagged all the symbols we need.
6264 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6265 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6266 cat <<_LT_EOF > conftest.$ac_ext
6267 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6268 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6269 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6270 relocations are performed -- see ld's documentation on pseudo-relocs. */
6271 # define LT_DLSYM_CONST
6272 #elif defined(__osf__)
6273 /* This system does not cope well with relocations in const data. */
6274 # define LT_DLSYM_CONST
6276 # define LT_DLSYM_CONST const
6284 # Now generate the symbol file.
6285 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6287 cat <<_LT_EOF >> conftest.$ac_ext
6289 /* The mapping between symbol names and symbols. */
6290 LT_DLSYM_CONST struct {
6294 lt__PROGRAM__LTX_preloaded_symbols[] =
6296 { "@PROGRAM@", (void *) 0 },
6298 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6299 cat <<\_LT_EOF >> conftest.$ac_ext
6303 /* This works around a problem in FreeBSD linker */
6304 #ifdef FREEBSD_WORKAROUND
6305 static const void *lt_preloaded_setup() {
6306 return lt__PROGRAM__LTX_preloaded_symbols;
6314 # Now try linking the two files.
6315 mv conftest.$ac_objext conftstm.$ac_objext
6316 lt_globsym_save_LIBS=$LIBS
6317 lt_globsym_save_CFLAGS=$CFLAGS
6318 LIBS="conftstm.$ac_objext"
6319 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6321 (eval $ac_link) 2>&5
6323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6324 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6327 LIBS=$lt_globsym_save_LIBS
6328 CFLAGS=$lt_globsym_save_CFLAGS
6330 echo "cannot find nm_test_func in $nlist" >&5
6333 echo "cannot find nm_test_var in $nlist" >&5
6336 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6339 echo "$progname: failed program was:" >&5
6340 cat conftest.$ac_ext >&5
6342 rm -rf conftest* conftst*
6344 # Do not use the global_symbol_pipe unless it works.
6345 if test "$pipe_works" = yes; then
6348 lt_cv_sys_global_symbol_pipe=
6354 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6355 lt_cv_sys_global_symbol_to_cdecl=
6357 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6359 $as_echo "failed" >&6; }
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6362 $as_echo "ok" >&6; }
6365 # Response file support.
6366 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6367 nm_file_list_spec='@'
6368 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6369 nm_file_list_spec='@'
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6399 $as_echo_n "checking for sysroot... " >&6; }
6401 # Check whether --with-sysroot was given.
6402 if test "${with_sysroot+set}" = set; then :
6403 withval=$with_sysroot;
6410 case ${with_sysroot} in #(
6412 if test "$GCC" = yes; then
6413 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6417 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6423 $as_echo "${with_sysroot}" >&6; }
6424 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6429 $as_echo "${lt_sysroot:-no}" >&6; }
6435 # Check whether --enable-libtool-lock was given.
6436 if test "${enable_libtool_lock+set}" = set; then :
6437 enableval=$enable_libtool_lock;
6440 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6442 # Some flags need to be propagated to the compiler or linker for good
6446 # Find out which ABI we are using.
6447 echo 'int i;' > conftest.$ac_ext
6448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6449 (eval $ac_compile) 2>&5
6451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452 test $ac_status = 0; }; then
6453 case `/usr/bin/file conftest.$ac_objext` in
6465 # Find out which ABI we are using.
6466 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6467 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6468 (eval $ac_compile) 2>&5
6470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6471 test $ac_status = 0; }; then
6472 if test "$lt_cv_prog_gnu_ld" = yes; then
6473 case `/usr/bin/file conftest.$ac_objext` in
6475 LD="${LD-ld} -melf32bsmip"
6478 LD="${LD-ld} -melf32bmipn32"
6481 LD="${LD-ld} -melf64bmip"
6485 case `/usr/bin/file conftest.$ac_objext` in
6501 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6502 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6503 # Find out which ABI we are using.
6504 echo 'int i;' > conftest.$ac_ext
6505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6506 (eval $ac_compile) 2>&5
6508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6509 test $ac_status = 0; }; then
6510 case `/usr/bin/file conftest.o` in
6513 x86_64-*kfreebsd*-gnu)
6514 LD="${LD-ld} -m elf_i386_fbsd"
6517 case `/usr/bin/file conftest.o` in
6519 LD="${LD-ld} -m elf32_x86_64"
6522 LD="${LD-ld} -m elf_i386"
6527 LD="${LD-ld} -m elf32lppclinux"
6530 LD="${LD-ld} -m elf32ppclinux"
6533 LD="${LD-ld} -m elf_s390"
6536 LD="${LD-ld} -m elf32_sparc"
6542 x86_64-*kfreebsd*-gnu)
6543 LD="${LD-ld} -m elf_x86_64_fbsd"
6546 LD="${LD-ld} -m elf_x86_64"
6549 LD="${LD-ld} -m elf64lppc"
6552 LD="${LD-ld} -m elf64ppc"
6554 s390*-*linux*|s390*-*tpf*)
6555 LD="${LD-ld} -m elf64_s390"
6558 LD="${LD-ld} -m elf64_sparc"
6568 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6569 SAVE_CFLAGS="$CFLAGS"
6570 CFLAGS="$CFLAGS -belf"
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6572 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6573 if ${lt_cv_cc_needs_belf+:} false; then :
6574 $as_echo_n "(cached) " >&6
6577 ac_cpp='$CPP $CPPFLAGS'
6578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6593 if ac_fn_c_try_link "$LINENO"; then :
6594 lt_cv_cc_needs_belf=yes
6596 lt_cv_cc_needs_belf=no
6598 rm -f core conftest.err conftest.$ac_objext \
6599 conftest$ac_exeext conftest.$ac_ext
6601 ac_cpp='$CPP $CPPFLAGS'
6602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6608 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6609 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6610 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6611 CFLAGS="$SAVE_CFLAGS"
6615 # Find out which ABI we are using.
6616 echo 'int i;' > conftest.$ac_ext
6617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6618 (eval $ac_compile) 2>&5
6620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6621 test $ac_status = 0; }; then
6622 case `/usr/bin/file conftest.o` in
6624 case $lt_cv_prog_gnu_ld in
6628 LD="${LD-ld} -m elf_x86_64"
6631 LD="${LD-ld} -m elf64_sparc"
6634 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6635 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6640 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6652 need_locks="$enable_libtool_lock"
6654 if test -n "$ac_tool_prefix"; then
6655 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6656 set dummy ${ac_tool_prefix}mt; ac_word=$2
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 $as_echo_n "checking for $ac_word... " >&6; }
6659 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6660 $as_echo_n "(cached) " >&6
6662 if test -n "$MANIFEST_TOOL"; then
6663 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 test -z "$as_dir" && as_dir=.
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6682 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6683 if test -n "$MANIFEST_TOOL"; then
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6685 $as_echo "$MANIFEST_TOOL" >&6; }
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 $as_echo "no" >&6; }
6693 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6694 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6695 # Extract the first word of "mt", so it can be a program name with args.
6696 set dummy mt; ac_word=$2
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 $as_echo_n "checking for $ac_word... " >&6; }
6699 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6700 $as_echo_n "(cached) " >&6
6702 if test -n "$ac_ct_MANIFEST_TOOL"; then
6703 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709 test -z "$as_dir" && as_dir=.
6710 for ac_exec_ext in '' $ac_executable_extensions; do
6711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6712 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6723 if test -n "$ac_ct_MANIFEST_TOOL"; then
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6725 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 $as_echo "no" >&6; }
6731 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6734 case $cross_compiling:$ac_tool_warned in
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6738 ac_tool_warned=yes ;;
6740 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6743 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6746 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6748 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6749 if ${lt_cv_path_mainfest_tool+:} false; then :
6750 $as_echo_n "(cached) " >&6
6752 lt_cv_path_mainfest_tool=no
6753 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6754 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6755 cat conftest.err >&5
6756 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6757 lt_cv_path_mainfest_tool=yes
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6762 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6763 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6773 rhapsody* | darwin*)
6774 if test -n "$ac_tool_prefix"; then
6775 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6776 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6780 $as_echo_n "(cached) " >&6
6782 if test -n "$DSYMUTIL"; then
6783 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6792 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6803 if test -n "$DSYMUTIL"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6805 $as_echo "$DSYMUTIL" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6813 if test -z "$ac_cv_prog_DSYMUTIL"; then
6814 ac_ct_DSYMUTIL=$DSYMUTIL
6815 # Extract the first word of "dsymutil", so it can be a program name with args.
6816 set dummy dsymutil; ac_word=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6820 $as_echo_n "(cached) " >&6
6822 if test -n "$ac_ct_DSYMUTIL"; then
6823 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829 test -z "$as_dir" && as_dir=.
6830 for ac_exec_ext in '' $ac_executable_extensions; do
6831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6832 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6842 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6843 if test -n "$ac_ct_DSYMUTIL"; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6845 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6851 if test "x$ac_ct_DSYMUTIL" = x; then
6854 case $cross_compiling:$ac_tool_warned in
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6858 ac_tool_warned=yes ;;
6860 DSYMUTIL=$ac_ct_DSYMUTIL
6863 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6866 if test -n "$ac_tool_prefix"; then
6867 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6868 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 $as_echo_n "checking for $ac_word... " >&6; }
6871 if ${ac_cv_prog_NMEDIT+:} false; then :
6872 $as_echo_n "(cached) " >&6
6874 if test -n "$NMEDIT"; then
6875 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 test -z "$as_dir" && as_dir=.
6882 for ac_exec_ext in '' $ac_executable_extensions; do
6883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6884 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894 NMEDIT=$ac_cv_prog_NMEDIT
6895 if test -n "$NMEDIT"; then
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6897 $as_echo "$NMEDIT" >&6; }
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 $as_echo "no" >&6; }
6905 if test -z "$ac_cv_prog_NMEDIT"; then
6906 ac_ct_NMEDIT=$NMEDIT
6907 # Extract the first word of "nmedit", so it can be a program name with args.
6908 set dummy nmedit; ac_word=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6912 $as_echo_n "(cached) " >&6
6914 if test -n "$ac_ct_NMEDIT"; then
6915 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921 test -z "$as_dir" && as_dir=.
6922 for ac_exec_ext in '' $ac_executable_extensions; do
6923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6924 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6935 if test -n "$ac_ct_NMEDIT"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6937 $as_echo "$ac_ct_NMEDIT" >&6; }
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6943 if test "x$ac_ct_NMEDIT" = x; then
6946 case $cross_compiling:$ac_tool_warned in
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6950 ac_tool_warned=yes ;;
6952 NMEDIT=$ac_ct_NMEDIT
6955 NMEDIT="$ac_cv_prog_NMEDIT"
6958 if test -n "$ac_tool_prefix"; then
6959 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_LIPO+:} false; then :
6964 $as_echo_n "(cached) " >&6
6966 if test -n "$LIPO"; then
6967 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 LIPO=$ac_cv_prog_LIPO
6987 if test -n "$LIPO"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6989 $as_echo "$LIPO" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6997 if test -z "$ac_cv_prog_LIPO"; then
6999 # Extract the first word of "lipo", so it can be a program name with args.
7000 set dummy lipo; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$ac_ct_LIPO"; then
7007 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_ac_ct_LIPO="lipo"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7027 if test -n "$ac_ct_LIPO"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7029 $as_echo "$ac_ct_LIPO" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7035 if test "x$ac_ct_LIPO" = x; then
7038 case $cross_compiling:$ac_tool_warned in
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7047 LIPO="$ac_cv_prog_LIPO"
7050 if test -n "$ac_tool_prefix"; then
7051 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7052 set dummy ${ac_tool_prefix}otool; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if ${ac_cv_prog_OTOOL+:} false; then :
7056 $as_echo_n "(cached) " >&6
7058 if test -n "$OTOOL"; then
7059 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 test -z "$as_dir" && as_dir=.
7066 for ac_exec_ext in '' $ac_executable_extensions; do
7067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 OTOOL=$ac_cv_prog_OTOOL
7079 if test -n "$OTOOL"; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7081 $as_echo "$OTOOL" >&6; }
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7089 if test -z "$ac_cv_prog_OTOOL"; then
7091 # Extract the first word of "otool", so it can be a program name with args.
7092 set dummy otool; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7096 $as_echo_n "(cached) " >&6
7098 if test -n "$ac_ct_OTOOL"; then
7099 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir=.
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_ac_ct_OTOOL="otool"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7119 if test -n "$ac_ct_OTOOL"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7121 $as_echo "$ac_ct_OTOOL" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7127 if test "x$ac_ct_OTOOL" = x; then
7130 case $cross_compiling:$ac_tool_warned in
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned=yes ;;
7139 OTOOL="$ac_cv_prog_OTOOL"
7142 if test -n "$ac_tool_prefix"; then
7143 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7144 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 $as_echo_n "checking for $ac_word... " >&6; }
7147 if ${ac_cv_prog_OTOOL64+:} false; then :
7148 $as_echo_n "(cached) " >&6
7150 if test -n "$OTOOL64"; then
7151 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7157 test -z "$as_dir" && as_dir=.
7158 for ac_exec_ext in '' $ac_executable_extensions; do
7159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7160 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170 OTOOL64=$ac_cv_prog_OTOOL64
7171 if test -n "$OTOOL64"; then
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7173 $as_echo "$OTOOL64" >&6; }
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 $as_echo "no" >&6; }
7181 if test -z "$ac_cv_prog_OTOOL64"; then
7182 ac_ct_OTOOL64=$OTOOL64
7183 # Extract the first word of "otool64", so it can be a program name with args.
7184 set dummy otool64; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7188 $as_echo_n "(cached) " >&6
7190 if test -n "$ac_ct_OTOOL64"; then
7191 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_ac_ct_OTOOL64="otool64"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7211 if test -n "$ac_ct_OTOOL64"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7213 $as_echo "$ac_ct_OTOOL64" >&6; }
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7219 if test "x$ac_ct_OTOOL64" = x; then
7222 case $cross_compiling:$ac_tool_warned in
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7226 ac_tool_warned=yes ;;
7228 OTOOL64=$ac_ct_OTOOL64
7231 OTOOL64="$ac_cv_prog_OTOOL64"
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7261 $as_echo_n "checking for -single_module linker flag... " >&6; }
7262 if ${lt_cv_apple_cc_single_mod+:} false; then :
7263 $as_echo_n "(cached) " >&6
7265 lt_cv_apple_cc_single_mod=no
7266 if test -z "${LT_MULTI_MODULE}"; then
7267 # By default we will add the -single_module flag. You can override
7268 # by either setting the environment variable LT_MULTI_MODULE
7269 # non-empty at configure time, or by adding -multi_module to the
7271 rm -rf libconftest.dylib*
7272 echo "int foo(void){return 1;}" > conftest.c
7273 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7274 -dynamiclib -Wl,-single_module conftest.c" >&5
7275 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7276 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7278 # If there is a non-empty error log, and "single_module"
7279 # appears in it, assume the flag caused a linker warning
7280 if test -s conftest.err && $GREP single_module conftest.err; then
7281 cat conftest.err >&5
7282 # Otherwise, if the output was created with a 0 exit code from
7283 # the compiler, it worked.
7284 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7285 lt_cv_apple_cc_single_mod=yes
7287 cat conftest.err >&5
7289 rm -rf libconftest.dylib*
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7294 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7297 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7298 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7299 $as_echo_n "(cached) " >&6
7301 lt_cv_ld_exported_symbols_list=no
7302 save_LDFLAGS=$LDFLAGS
7303 echo "_main" > conftest.sym
7304 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306 /* end confdefs.h. */
7316 if ac_fn_c_try_link "$LINENO"; then :
7317 lt_cv_ld_exported_symbols_list=yes
7319 lt_cv_ld_exported_symbols_list=no
7321 rm -f core conftest.err conftest.$ac_objext \
7322 conftest$ac_exeext conftest.$ac_ext
7323 LDFLAGS="$save_LDFLAGS"
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7327 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7330 $as_echo_n "checking for -force_load linker flag... " >&6; }
7331 if ${lt_cv_ld_force_load+:} false; then :
7332 $as_echo_n "(cached) " >&6
7334 lt_cv_ld_force_load=no
7335 cat > conftest.c << _LT_EOF
7336 int forced_loaded() { return 2;}
7338 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7339 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7340 echo "$AR cru libconftest.a conftest.o" >&5
7341 $AR cru libconftest.a conftest.o 2>&5
7342 echo "$RANLIB libconftest.a" >&5
7343 $RANLIB libconftest.a 2>&5
7344 cat > conftest.c << _LT_EOF
7345 int main() { return 0;}
7347 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7348 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7350 if test -s conftest.err && $GREP force_load conftest.err; then
7351 cat conftest.err >&5
7352 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7353 lt_cv_ld_force_load=yes
7355 cat conftest.err >&5
7357 rm -f conftest.err libconftest.a conftest conftest.c
7358 rm -rf conftest.dSYM
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7362 $as_echo "$lt_cv_ld_force_load" >&6; }
7364 rhapsody* | darwin1.[012])
7365 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7367 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7368 darwin*) # darwin 5.x on
7369 # if running on 10.5 or later, the deployment target defaults
7370 # to the OS version, if on x86, and 10.4, the deployment
7371 # target defaults to 10.4. Don't you love it?
7372 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7373 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7374 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7376 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7378 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7382 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7383 _lt_dar_single_mod='$single_module'
7385 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7386 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7388 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7390 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7391 _lt_dsymutil='~$DSYMUTIL $lib || :'
7399 ac_cpp='$CPP $CPPFLAGS'
7400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7404 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7405 # On Suns, sometimes $CPP names a directory.
7406 if test -n "$CPP" && test -d "$CPP"; then
7409 if test -z "$CPP"; then
7410 if ${ac_cv_prog_CPP+:} false; then :
7411 $as_echo_n "(cached) " >&6
7413 # Double quotes because CPP needs to be expanded
7414 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7417 for ac_c_preproc_warn_flag in '' yes
7419 # Use a header file that comes with gcc, so configuring glibc
7420 # with a fresh cross-compiler works.
7421 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7422 # <limits.h> exists even on freestanding compilers.
7423 # On the NeXT, cc -E runs the code through the compiler's parser,
7424 # not just through cpp. "Syntax error" is here to catch this case.
7425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7426 /* end confdefs.h. */
7428 # include <limits.h>
7430 # include <assert.h>
7434 if ac_fn_c_try_cpp "$LINENO"; then :
7437 # Broken: fails on valid input.
7440 rm -f conftest.err conftest.i conftest.$ac_ext
7442 # OK, works on sane cases. Now check whether nonexistent headers
7443 # can be detected and how.
7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h. */
7446 #include <ac_nonexistent.h>
7448 if ac_fn_c_try_cpp "$LINENO"; then :
7449 # Broken: success on invalid input.
7452 # Passes both tests.
7456 rm -f conftest.err conftest.i conftest.$ac_ext
7459 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7460 rm -f conftest.i conftest.err conftest.$ac_ext
7461 if $ac_preproc_ok; then :
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7474 $as_echo "$CPP" >&6; }
7476 for ac_c_preproc_warn_flag in '' yes
7478 # Use a header file that comes with gcc, so configuring glibc
7479 # with a fresh cross-compiler works.
7480 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7481 # <limits.h> exists even on freestanding compilers.
7482 # On the NeXT, cc -E runs the code through the compiler's parser,
7483 # not just through cpp. "Syntax error" is here to catch this case.
7484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7485 /* end confdefs.h. */
7487 # include <limits.h>
7489 # include <assert.h>
7493 if ac_fn_c_try_cpp "$LINENO"; then :
7496 # Broken: fails on valid input.
7499 rm -f conftest.err conftest.i conftest.$ac_ext
7501 # OK, works on sane cases. Now check whether nonexistent headers
7502 # can be detected and how.
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7505 #include <ac_nonexistent.h>
7507 if ac_fn_c_try_cpp "$LINENO"; then :
7508 # Broken: success on invalid input.
7511 # Passes both tests.
7515 rm -f conftest.err conftest.i conftest.$ac_ext
7518 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7519 rm -f conftest.i conftest.err conftest.$ac_ext
7520 if $ac_preproc_ok; then :
7523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7525 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7526 See \`config.log' for more details" "$LINENO" 5; }
7530 ac_cpp='$CPP $CPPFLAGS'
7531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7537 $as_echo_n "checking for ANSI C header files... " >&6; }
7538 if ${ac_cv_header_stdc+:} false; then :
7539 $as_echo_n "(cached) " >&6
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7556 if ac_fn_c_try_compile "$LINENO"; then :
7557 ac_cv_header_stdc=yes
7559 ac_cv_header_stdc=no
7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7563 if test $ac_cv_header_stdc = yes; then
7564 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h. */
7570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7571 $EGREP "memchr" >/dev/null 2>&1; then :
7574 ac_cv_header_stdc=no
7580 if test $ac_cv_header_stdc = yes; then
7581 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7583 /* end confdefs.h. */
7587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7588 $EGREP "free" >/dev/null 2>&1; then :
7591 ac_cv_header_stdc=no
7597 if test $ac_cv_header_stdc = yes; then
7598 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7599 if test "$cross_compiling" = yes; then :
7602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7603 /* end confdefs.h. */
7606 #if ((' ' & 0x0FF) == 0x020)
7607 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7608 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7610 # define ISLOWER(c) \
7611 (('a' <= (c) && (c) <= 'i') \
7612 || ('j' <= (c) && (c) <= 'r') \
7613 || ('s' <= (c) && (c) <= 'z'))
7614 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7622 for (i = 0; i < 256; i++)
7623 if (XOR (islower (i), ISLOWER (i))
7624 || toupper (i) != TOUPPER (i))
7629 if ac_fn_c_try_run "$LINENO"; then :
7632 ac_cv_header_stdc=no
7634 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7635 conftest.$ac_objext conftest.beam conftest.$ac_ext
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7641 $as_echo "$ac_cv_header_stdc" >&6; }
7642 if test $ac_cv_header_stdc = yes; then
7644 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7648 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7649 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7650 inttypes.h stdint.h unistd.h
7652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7653 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7656 cat >>confdefs.h <<_ACEOF
7657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7665 for ac_header in dlfcn.h
7667 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7669 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7670 cat >>confdefs.h <<_ACEOF
7671 #define HAVE_DLFCN_H 1
7683 enable_win32_dll=yes
7686 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7687 if test -n "$ac_tool_prefix"; then
7688 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7689 set dummy ${ac_tool_prefix}as; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_prog_AS+:} false; then :
7693 $as_echo_n "(cached) " >&6
7695 if test -n "$AS"; then
7696 ac_cv_prog_AS="$AS" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705 ac_cv_prog_AS="${ac_tool_prefix}as"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716 if test -n "$AS"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7718 $as_echo "$AS" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7726 if test -z "$ac_cv_prog_AS"; then
7728 # Extract the first word of "as", so it can be a program name with args.
7729 set dummy as; ac_word=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7731 $as_echo_n "checking for $ac_word... " >&6; }
7732 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7733 $as_echo_n "(cached) " >&6
7735 if test -n "$ac_ct_AS"; then
7736 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7742 test -z "$as_dir" && as_dir=.
7743 for ac_exec_ext in '' $ac_executable_extensions; do
7744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7745 ac_cv_prog_ac_ct_AS="as"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7756 if test -n "$ac_ct_AS"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7758 $as_echo "$ac_ct_AS" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7761 $as_echo "no" >&6; }
7764 if test "x$ac_ct_AS" = x; then
7767 case $cross_compiling:$ac_tool_warned in
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7771 ac_tool_warned=yes ;;
7779 if test -n "$ac_tool_prefix"; then
7780 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7781 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7783 $as_echo_n "checking for $ac_word... " >&6; }
7784 if ${ac_cv_prog_DLLTOOL+:} false; then :
7785 $as_echo_n "(cached) " >&6
7787 if test -n "$DLLTOOL"; then
7788 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7797 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7807 DLLTOOL=$ac_cv_prog_DLLTOOL
7808 if test -n "$DLLTOOL"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7810 $as_echo "$DLLTOOL" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7813 $as_echo "no" >&6; }
7818 if test -z "$ac_cv_prog_DLLTOOL"; then
7819 ac_ct_DLLTOOL=$DLLTOOL
7820 # Extract the first word of "dlltool", so it can be a program name with args.
7821 set dummy dlltool; ac_word=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7823 $as_echo_n "checking for $ac_word... " >&6; }
7824 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7825 $as_echo_n "(cached) " >&6
7827 if test -n "$ac_ct_DLLTOOL"; then
7828 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7847 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7848 if test -n "$ac_ct_DLLTOOL"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7850 $as_echo "$ac_ct_DLLTOOL" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 $as_echo "no" >&6; }
7856 if test "x$ac_ct_DLLTOOL" = x; then
7859 case $cross_compiling:$ac_tool_warned in
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7863 ac_tool_warned=yes ;;
7865 DLLTOOL=$ac_ct_DLLTOOL
7868 DLLTOOL="$ac_cv_prog_DLLTOOL"
7871 if test -n "$ac_tool_prefix"; then
7872 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7873 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875 $as_echo_n "checking for $ac_word... " >&6; }
7876 if ${ac_cv_prog_OBJDUMP+:} false; then :
7877 $as_echo_n "(cached) " >&6
7879 if test -n "$OBJDUMP"; then
7880 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7899 OBJDUMP=$ac_cv_prog_OBJDUMP
7900 if test -n "$OBJDUMP"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7902 $as_echo "$OBJDUMP" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7910 if test -z "$ac_cv_prog_OBJDUMP"; then
7911 ac_ct_OBJDUMP=$OBJDUMP
7912 # Extract the first word of "objdump", so it can be a program name with args.
7913 set dummy objdump; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7917 $as_echo_n "(cached) " >&6
7919 if test -n "$ac_ct_OBJDUMP"; then
7920 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7940 if test -n "$ac_ct_OBJDUMP"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7942 $as_echo "$ac_ct_OBJDUMP" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7948 if test "x$ac_ct_OBJDUMP" = x; then
7951 case $cross_compiling:$ac_tool_warned in
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7955 ac_tool_warned=yes ;;
7957 OBJDUMP=$ac_ct_OBJDUMP
7960 OBJDUMP="$ac_cv_prog_OBJDUMP"
7966 test -z "$AS" && AS=as
7972 test -z "$DLLTOOL" && DLLTOOL=dlltool
7978 test -z "$OBJDUMP" && OBJDUMP=objdump
7990 # Check whether --enable-shared was given.
7991 if test "${enable_shared+set}" = set; then :
7992 enableval=$enable_shared; p=${PACKAGE-default}
7994 yes) enable_shared=yes ;;
7995 no) enable_shared=no ;;
7998 # Look at the argument we got. We use all the common list separators.
7999 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8000 for pkg in $enableval; do
8002 if test "X$pkg" = "X$p"; then
8021 # Check whether --enable-static was given.
8022 if test "${enable_static+set}" = set; then :
8023 enableval=$enable_static; p=${PACKAGE-default}
8025 yes) enable_static=yes ;;
8026 no) enable_static=no ;;
8029 # Look at the argument we got. We use all the common list separators.
8030 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8031 for pkg in $enableval; do
8033 if test "X$pkg" = "X$p"; then
8053 # Check whether --with-pic was given.
8054 if test "${with_pic+set}" = set; then :
8055 withval=$with_pic; lt_p=${PACKAGE-default}
8057 yes|no) pic_mode=$withval ;;
8060 # Look at the argument we got. We use all the common list separators.
8061 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8062 for lt_pkg in $withval; do
8064 if test "X$lt_pkg" = "X$lt_p"; then
8076 test -z "$pic_mode" && pic_mode=default
8084 # Check whether --enable-fast-install was given.
8085 if test "${enable_fast_install+set}" = set; then :
8086 enableval=$enable_fast_install; p=${PACKAGE-default}
8088 yes) enable_fast_install=yes ;;
8089 no) enable_fast_install=no ;;
8091 enable_fast_install=no
8092 # Look at the argument we got. We use all the common list separators.
8093 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8094 for pkg in $enableval; do
8096 if test "X$pkg" = "X$p"; then
8097 enable_fast_install=yes
8104 enable_fast_install=yes
8117 # This can be used to rebuild libtool when needed
8118 LIBTOOL_DEPS="$ltmain"
8120 # Always use our own libtool.
8121 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8152 test -z "$LN_S" && LN_S="ln -s"
8167 if test -n "${ZSH_VERSION+set}" ; then
8168 setopt NO_GLOB_SUBST
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8172 $as_echo_n "checking for objdir... " >&6; }
8173 if ${lt_cv_objdir+:} false; then :
8174 $as_echo_n "(cached) " >&6
8176 rm -f .libs 2>/dev/null
8177 mkdir .libs 2>/dev/null
8178 if test -d .libs; then
8181 # MS-DOS does not allow filenames that begin with a dot.
8184 rmdir .libs 2>/dev/null
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8187 $as_echo "$lt_cv_objdir" >&6; }
8188 objdir=$lt_cv_objdir
8194 cat >>confdefs.h <<_ACEOF
8195 #define LT_OBJDIR "$lt_cv_objdir/"
8203 # AIX sometimes has problems with the GCC collect2 program. For some
8204 # reason, if we set the COLLECT_NAMES environment variable, the problems
8205 # vanish in a puff of smoke.
8206 if test "X${COLLECT_NAMES+set}" != Xset; then
8208 export COLLECT_NAMES
8215 can_build_shared=yes
8217 # All known linkers require a `.a' archive for static linking (except MSVC,
8218 # which needs '.lib').
8221 with_gnu_ld="$lt_cv_prog_gnu_ld"
8224 old_CFLAGS="$CFLAGS"
8226 # Set sane defaults for various variables
8227 test -z "$CC" && CC=cc
8228 test -z "$LTCC" && LTCC=$CC
8229 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8230 test -z "$LD" && LD=ld
8231 test -z "$ac_objext" && ac_objext=o
8233 for cc_temp in $compiler""; do
8235 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8236 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8241 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8244 # Only perform the check for file, if the check method requires it
8245 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8246 case $deplibs_check_method in
8248 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8250 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8251 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8252 $as_echo_n "(cached) " >&6
8256 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8259 lt_save_MAGIC_CMD="$MAGIC_CMD"
8260 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8261 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8262 for ac_dir in $ac_dummy; do
8264 test -z "$ac_dir" && ac_dir=.
8265 if test -f $ac_dir/${ac_tool_prefix}file; then
8266 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8267 if test -n "$file_magic_test_file"; then
8268 case $deplibs_check_method in
8270 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8271 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8272 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8273 $EGREP "$file_magic_regex" > /dev/null; then
8278 *** Warning: the command libtool uses to detect shared libraries,
8279 *** $file_magic_cmd, produces output that libtool cannot recognize.
8280 *** The result is that libtool may fail to recognize shared libraries
8281 *** as such. This will affect the creation of libtool libraries that
8282 *** depend on shared libraries, but programs linked with such libtool
8283 *** libraries will work regardless of this problem. Nevertheless, you
8284 *** may want to report the problem to your system manager and/or to
8285 *** bug-libtool@gnu.org
8295 MAGIC_CMD="$lt_save_MAGIC_CMD"
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if test -n "$MAGIC_CMD"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8303 $as_echo "$MAGIC_CMD" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8313 if test -z "$lt_cv_path_MAGIC_CMD"; then
8314 if test -n "$ac_tool_prefix"; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8316 $as_echo_n "checking for file... " >&6; }
8317 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8318 $as_echo_n "(cached) " >&6
8322 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8325 lt_save_MAGIC_CMD="$MAGIC_CMD"
8326 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8327 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8328 for ac_dir in $ac_dummy; do
8330 test -z "$ac_dir" && ac_dir=.
8331 if test -f $ac_dir/file; then
8332 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8333 if test -n "$file_magic_test_file"; then
8334 case $deplibs_check_method in
8336 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8337 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8338 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8339 $EGREP "$file_magic_regex" > /dev/null; then
8344 *** Warning: the command libtool uses to detect shared libraries,
8345 *** $file_magic_cmd, produces output that libtool cannot recognize.
8346 *** The result is that libtool may fail to recognize shared libraries
8347 *** as such. This will affect the creation of libtool libraries that
8348 *** depend on shared libraries, but programs linked with such libtool
8349 *** libraries will work regardless of this problem. Nevertheless, you
8350 *** may want to report the problem to your system manager and/or to
8351 *** bug-libtool@gnu.org
8361 MAGIC_CMD="$lt_save_MAGIC_CMD"
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if test -n "$MAGIC_CMD"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8369 $as_echo "$MAGIC_CMD" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8385 # Use C for the default configuration in the libtool script
8389 ac_cpp='$CPP $CPPFLAGS'
8390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8395 # Source file extension for C test sources.
8398 # Object file extension for compiled C test sources.
8402 # Code to be used in simple compile tests
8403 lt_simple_compile_test_code="int some_variable = 0;"
8405 # Code to be used in simple link tests
8406 lt_simple_link_test_code='int main(){return(0);}'
8414 # If no C compiler was specified, use CC.
8417 # If no C compiler flags were specified, use CFLAGS.
8418 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8420 # Allow CC to be a program name with arguments.
8423 # Save the default compiler, since it gets overwritten when the other
8424 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8425 compiler_DEFAULT=$CC
8427 # save warnings/boilerplate of simple test code
8428 ac_outfile=conftest.$ac_objext
8429 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8430 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8431 _lt_compiler_boilerplate=`cat conftest.err`
8434 ac_outfile=conftest.$ac_objext
8435 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8436 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8437 _lt_linker_boilerplate=`cat conftest.err`
8442 ## There is no encapsulation within the following macros, do not change
8443 ## the running order or otherwise move them around unless you know exactly
8444 ## what you are doing...
8445 if test -n "$compiler"; then
8447 lt_prog_compiler_no_builtin_flag=
8449 if test "$GCC" = yes; then
8450 case $cc_basename in
8452 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8454 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8458 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8459 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8460 $as_echo_n "(cached) " >&6
8462 lt_cv_prog_compiler_rtti_exceptions=no
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8465 lt_compiler_flag="-fno-rtti -fno-exceptions"
8466 # Insert the option either (1) after the last *FLAGS variable, or
8467 # (2) before a word containing "conftest.", or (3) at the end.
8468 # Note that $ac_compile itself does not contain backslashes and begins
8469 # with a dollar sign (not a hyphen), so the echo should work correctly.
8470 # The option is referenced via a variable to avoid confusing sed.
8471 lt_compile=`echo "$ac_compile" | $SED \
8472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8474 -e 's:$: $lt_compiler_flag:'`
8475 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8476 (eval "$lt_compile" 2>conftest.err)
8478 cat conftest.err >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 if (exit $ac_status) && test -s "$ac_outfile"; then
8481 # The compiler can only warn and ignore the option if not recognized
8482 # So say no if there are warnings other than the usual output.
8483 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8484 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8485 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8486 lt_cv_prog_compiler_rtti_exceptions=yes
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8493 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8495 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8496 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8508 lt_prog_compiler_wl=
8509 lt_prog_compiler_pic=
8510 lt_prog_compiler_static=
8513 if test "$GCC" = yes; then
8514 lt_prog_compiler_wl='-Wl,'
8515 lt_prog_compiler_static='-static'
8519 # All AIX code is PIC.
8520 if test "$host_cpu" = ia64; then
8521 # AIX 5 now supports IA64 processor
8522 lt_prog_compiler_static='-Bstatic'
8529 # see comment about AmigaOS4 .so support
8530 lt_prog_compiler_pic='-fPIC'
8533 # FIXME: we need at least 68020 code to build shared libraries, but
8534 # adding the `-m68020' flag to GCC prevents building anything better,
8536 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8541 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8542 # PIC is the default for these OSes.
8545 mingw* | cygwin* | pw32* | os2* | cegcc*)
8546 # This hack is so that the source file can tell whether it is being
8547 # built for inclusion in a dll (and should export symbols for example).
8548 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8549 # (--disable-auto-import) libraries
8550 lt_prog_compiler_pic='-DDLL_EXPORT'
8553 darwin* | rhapsody*)
8554 # PIC is the default on this platform
8555 # Common symbols not allowed in MH_DYLIB files
8556 lt_prog_compiler_pic='-fno-common'
8560 # PIC is the default for Haiku.
8561 # The "-static" flag exists, but is broken.
8562 lt_prog_compiler_static=
8566 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8567 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8568 # sets the default TLS model and affects inlining.
8574 lt_prog_compiler_pic='-fPIC'
8580 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8581 # Instead, we relocate shared libraries at runtime.
8585 # Just because we use GCC doesn't mean we suddenly get shared libraries
8586 # on systems that don't support them.
8587 lt_prog_compiler_can_build_shared=no
8592 # QNX uses GNU C++, but need to define -shared option too, otherwise
8594 lt_prog_compiler_pic='-fPIC -shared'
8598 if test -d /usr/nec; then
8599 lt_prog_compiler_pic=-Kconform_pic
8604 lt_prog_compiler_pic='-fPIC'
8608 case $cc_basename in
8609 nvcc*) # Cuda Compiler Driver 2.2
8610 lt_prog_compiler_wl='-Xlinker '
8611 if test -n "$lt_prog_compiler_pic"; then
8612 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8617 # PORTME Check for flag to pass linker flags through the system compiler.
8620 lt_prog_compiler_wl='-Wl,'
8621 if test "$host_cpu" = ia64; then
8622 # AIX 5 now supports IA64 processor
8623 lt_prog_compiler_static='-Bstatic'
8625 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8629 mingw* | cygwin* | pw32* | os2* | cegcc*)
8630 # This hack is so that the source file can tell whether it is being
8631 # built for inclusion in a dll (and should export symbols for example).
8632 lt_prog_compiler_pic='-DDLL_EXPORT'
8635 hpux9* | hpux10* | hpux11*)
8636 lt_prog_compiler_wl='-Wl,'
8637 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8644 lt_prog_compiler_pic='+Z'
8647 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8648 lt_prog_compiler_static='${wl}-a ${wl}archive'
8651 irix5* | irix6* | nonstopux*)
8652 lt_prog_compiler_wl='-Wl,'
8653 # PIC (with -KPIC) is the default.
8654 lt_prog_compiler_static='-non_shared'
8657 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8658 case $cc_basename in
8659 # old Intel for x86_64 which still supported -KPIC.
8661 lt_prog_compiler_wl='-Wl,'
8662 lt_prog_compiler_pic='-KPIC'
8663 lt_prog_compiler_static='-static'
8665 # icc used to be incompatible with GCC.
8666 # ICC 10 doesn't accept -KPIC any more.
8668 lt_prog_compiler_wl='-Wl,'
8669 lt_prog_compiler_pic='-fPIC'
8670 lt_prog_compiler_static='-static'
8672 # Lahey Fortran 8.1.
8674 lt_prog_compiler_wl='-Wl,'
8675 lt_prog_compiler_pic='--shared'
8676 lt_prog_compiler_static='--static'
8679 # NAG Fortran compiler
8680 lt_prog_compiler_wl='-Wl,-Wl,,'
8681 lt_prog_compiler_pic='-PIC'
8682 lt_prog_compiler_static='-Bstatic'
8684 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8685 # Portland Group compilers (*not* the Pentium gcc compiler,
8686 # which looks to be a dead project)
8687 lt_prog_compiler_wl='-Wl,'
8688 lt_prog_compiler_pic='-fpic'
8689 lt_prog_compiler_static='-Bstatic'
8692 lt_prog_compiler_wl='-Wl,'
8693 # All Alpha code is PIC.
8694 lt_prog_compiler_static='-non_shared'
8696 xl* | bgxl* | bgf* | mpixl*)
8697 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-qpic'
8700 lt_prog_compiler_static='-qstaticlink'
8703 case `$CC -V 2>&1 | sed 5q` in
8704 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8705 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8706 lt_prog_compiler_pic='-KPIC'
8707 lt_prog_compiler_static='-Bstatic'
8708 lt_prog_compiler_wl=''
8710 *Sun\ F* | *Sun*Fortran*)
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8713 lt_prog_compiler_wl='-Qoption ld '
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl='-Wl,'
8721 *Intel*\ [CF]*Compiler*)
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-fPIC'
8724 lt_prog_compiler_static='-static'
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-fpic'
8729 lt_prog_compiler_static='-Bstatic'
8737 lt_prog_compiler_pic='-KPIC'
8738 lt_prog_compiler_static='-Bstatic'
8742 # QNX uses GNU C++, but need to define -shared option too, otherwise
8744 lt_prog_compiler_pic='-fPIC -shared'
8747 osf3* | osf4* | osf5*)
8748 lt_prog_compiler_wl='-Wl,'
8749 # All OSF/1 code is PIC.
8750 lt_prog_compiler_static='-non_shared'
8754 lt_prog_compiler_static='-non_shared'
8758 lt_prog_compiler_pic='-KPIC'
8759 lt_prog_compiler_static='-Bstatic'
8760 case $cc_basename in
8761 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8762 lt_prog_compiler_wl='-Qoption ld ';;
8764 lt_prog_compiler_wl='-Wl,';;
8769 lt_prog_compiler_wl='-Qoption ld '
8770 lt_prog_compiler_pic='-PIC'
8771 lt_prog_compiler_static='-Bstatic'
8774 sysv4 | sysv4.2uw2* | sysv4.3*)
8775 lt_prog_compiler_wl='-Wl,'
8776 lt_prog_compiler_pic='-KPIC'
8777 lt_prog_compiler_static='-Bstatic'
8781 if test -d /usr/nec ;then
8782 lt_prog_compiler_pic='-Kconform_pic'
8783 lt_prog_compiler_static='-Bstatic'
8787 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8788 lt_prog_compiler_wl='-Wl,'
8789 lt_prog_compiler_pic='-KPIC'
8790 lt_prog_compiler_static='-Bstatic'
8794 lt_prog_compiler_wl='-Wl,'
8795 lt_prog_compiler_can_build_shared=no
8799 lt_prog_compiler_pic='-pic'
8800 lt_prog_compiler_static='-Bstatic'
8804 lt_prog_compiler_can_build_shared=no
8810 # For platforms which do not support PIC, -DPIC is meaningless:
8812 lt_prog_compiler_pic=
8815 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8820 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8821 if ${lt_cv_prog_compiler_pic+:} false; then :
8822 $as_echo_n "(cached) " >&6
8824 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8827 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8828 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8831 # Check to make sure the PIC flag actually works.
8833 if test -n "$lt_prog_compiler_pic"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8835 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8836 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8837 $as_echo_n "(cached) " >&6
8839 lt_cv_prog_compiler_pic_works=no
8840 ac_outfile=conftest.$ac_objext
8841 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8842 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8843 # Insert the option either (1) after the last *FLAGS variable, or
8844 # (2) before a word containing "conftest.", or (3) at the end.
8845 # Note that $ac_compile itself does not contain backslashes and begins
8846 # with a dollar sign (not a hyphen), so the echo should work correctly.
8847 # The option is referenced via a variable to avoid confusing sed.
8848 lt_compile=`echo "$ac_compile" | $SED \
8849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8851 -e 's:$: $lt_compiler_flag:'`
8852 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8853 (eval "$lt_compile" 2>conftest.err)
8855 cat conftest.err >&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 if (exit $ac_status) && test -s "$ac_outfile"; then
8858 # The compiler can only warn and ignore the option if not recognized
8859 # So say no if there are warnings other than the usual output.
8860 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8861 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8862 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8863 lt_cv_prog_compiler_pic_works=yes
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8870 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8872 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8873 case $lt_prog_compiler_pic in
8875 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8878 lt_prog_compiler_pic=
8879 lt_prog_compiler_can_build_shared=no
8895 # Check to make sure the static flag actually works.
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if ${lt_cv_prog_compiler_static_works+:} false; then :
8901 $as_echo_n "(cached) " >&6
8903 lt_cv_prog_compiler_static_works=no
8904 save_LDFLAGS="$LDFLAGS"
8905 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908 # The linker can only warn and ignore the option if not recognized
8909 # So say no if there are warnings
8910 if test -s conftest.err; then
8911 # Append any errors to the config.log.
8912 cat conftest.err 1>&5
8913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915 if diff conftest.exp conftest.er2 >/dev/null; then
8916 lt_cv_prog_compiler_static_works=yes
8919 lt_cv_prog_compiler_static_works=yes
8923 LDFLAGS="$save_LDFLAGS"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8932 lt_prog_compiler_static=
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if ${lt_cv_prog_compiler_c_o+:} false; then :
8944 $as_echo_n "(cached) " >&6
8946 lt_cv_prog_compiler_c_o=no
8947 $RM -r conftest 2>/dev/null
8951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8953 lt_compiler_flag="-o out/conftest2.$ac_objext"
8954 # Insert the option either (1) after the last *FLAGS variable, or
8955 # (2) before a word containing "conftest.", or (3) at the end.
8956 # Note that $ac_compile itself does not contain backslashes and begins
8957 # with a dollar sign (not a hyphen), so the echo should work correctly.
8958 lt_compile=`echo "$ac_compile" | $SED \
8959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961 -e 's:$: $lt_compiler_flag:'`
8962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963 (eval "$lt_compile" 2>out/conftest.err)
8965 cat out/conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8969 # The compiler can only warn and ignore the option if not recognized
8970 # So say no if there are warnings
8971 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974 lt_cv_prog_compiler_c_o=yes
8979 # SGI C++ compiler will create directory out/ii_files/ for
8980 # template instantiation
8981 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982 $RM out/* && rmdir out
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if ${lt_cv_prog_compiler_c_o+:} false; then :
8999 $as_echo_n "(cached) " >&6
9001 lt_cv_prog_compiler_c_o=no
9002 $RM -r conftest 2>/dev/null
9006 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9008 lt_compiler_flag="-o out/conftest2.$ac_objext"
9009 # Insert the option either (1) after the last *FLAGS variable, or
9010 # (2) before a word containing "conftest.", or (3) at the end.
9011 # Note that $ac_compile itself does not contain backslashes and begins
9012 # with a dollar sign (not a hyphen), so the echo should work correctly.
9013 lt_compile=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>out/conftest.err)
9020 cat out/conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9024 # The compiler can only warn and ignore the option if not recognized
9025 # So say no if there are warnings
9026 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029 lt_cv_prog_compiler_c_o=yes
9034 # SGI C++ compiler will create directory out/ii_files/ for
9035 # template instantiation
9036 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037 $RM out/* && rmdir out
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051 # do not overwrite the value of need_locks provided by the user
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9056 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9058 ln conftest.a conftest.b 2>&5 || hard_links=no
9059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062 if test "$hard_links" = no; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9080 allow_undefined_flag=
9081 always_export_symbols=no
9083 archive_expsym_cmds=
9084 compiler_needs_object=no
9085 enable_shared_with_static_runtimes=no
9086 export_dynamic_flag_spec=
9087 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088 hardcode_automatic=no
9090 hardcode_direct_absolute=no
9091 hardcode_libdir_flag_spec=
9092 hardcode_libdir_separator=
9094 hardcode_shlibpath_var=unsupported
9096 link_all_deplibs=unknown
9099 old_archive_from_new_cmds=
9100 old_archive_from_expsyms_cmds=
9101 thread_safe_flag_spec=
9102 whole_archive_flag_spec=
9103 # include_expsyms should be a list of space-separated symbols to be *always*
9104 # included in the symbol list
9106 # exclude_expsyms can be an extended regexp of symbols to exclude
9107 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9108 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9109 # as well as any symbol that contains `d'.
9110 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9111 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9112 # platforms (ab)use it in PIC code, but their linkers get confused if
9113 # the symbol is explicitly referenced. Since portable code cannot
9114 # rely on this symbol name, it's probably fine to never include it in
9115 # preloaded symbol tables.
9116 # Exclude shared library initialization/finalization symbols.
9117 extract_expsyms_cmds=
9120 cygwin* | mingw* | pw32* | cegcc*)
9121 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9122 # When not using gcc, we currently assume that we are using
9123 # Microsoft Visual C++.
9124 if test "$GCC" != yes; then
9129 # we just hope/assume this is gcc and not c89 (= MSVC++)
9135 linux* | k*bsd*-gnu | gnu*)
9142 # On some targets, GNU ld is compatible enough with the native linker
9143 # that we're better off using the native interface for both.
9144 lt_use_gnu_ld_interface=no
9145 if test "$with_gnu_ld" = yes; then
9148 # The AIX port of GNU ld has always aspired to compatibility
9149 # with the native linker. However, as the warning in the GNU ld
9150 # block says, versions before 2.19.5* couldn't really create working
9151 # shared libraries, regardless of the interface used.
9152 case `$LD -v 2>&1` in
9153 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9154 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9155 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9157 lt_use_gnu_ld_interface=yes
9162 lt_use_gnu_ld_interface=yes
9167 if test "$lt_use_gnu_ld_interface" = yes; then
9168 # If archive_cmds runs LD, not CC, wlarc should be empty
9171 # Set some defaults for GNU ld with shared library support. These
9172 # are reset later if shared libraries are not supported. Putting them
9173 # here allows them to be overridden if necessary.
9174 runpath_var=LD_RUN_PATH
9175 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9176 export_dynamic_flag_spec='${wl}--export-dynamic'
9177 # ancient GNU ld didn't support --whole-archive et. al.
9178 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9179 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9181 whole_archive_flag_spec=
9183 supports_anon_versioning=no
9184 case `$LD -v 2>&1` in
9185 *GNU\ gold*) supports_anon_versioning=yes ;;
9186 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9187 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9188 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9189 *\ 2.11.*) ;; # other 2.11 versions
9190 *) supports_anon_versioning=yes ;;
9193 # See if GNU ld supports shared libraries.
9196 # On AIX/PPC, the GNU linker is very broken
9197 if test "$host_cpu" != ia64; then
9201 *** Warning: the GNU linker, at least up to release 2.19, is reported
9202 *** to be unable to reliably create shared libraries on AIX.
9203 *** Therefore, libtool is disabling shared libraries support. If you
9204 *** really care for shared libraries, you may want to install binutils
9205 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9206 *** You will then need to restart the configuration process.
9215 # see comment about AmigaOS4 .so support
9216 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217 archive_expsym_cmds=''
9220 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9221 hardcode_libdir_flag_spec='-L$libdir'
9222 hardcode_minus_L=yes
9228 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9229 allow_undefined_flag=unsupported
9230 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9231 # support --undefined. This deserves some investigation. FIXME
9232 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9238 cygwin* | mingw* | pw32* | cegcc*)
9239 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9240 # as there is no search path for DLLs.
9241 hardcode_libdir_flag_spec='-L$libdir'
9242 export_dynamic_flag_spec='${wl}--export-all-symbols'
9243 allow_undefined_flag=unsupported
9244 always_export_symbols=no
9245 enable_shared_with_static_runtimes=yes
9246 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9247 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9249 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9251 # If the export-symbols file already is a .def file (1st line
9252 # is EXPORTS), use it as is; otherwise, prepend...
9253 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9254 cp $export_symbols $output_objdir/$soname.def;
9256 echo EXPORTS > $output_objdir/$soname.def;
9257 cat $export_symbols >> $output_objdir/$soname.def;
9259 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9266 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9267 link_all_deplibs=yes
9272 hardcode_shlibpath_var=no
9273 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9274 export_dynamic_flag_spec='${wl}-E'
9275 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9276 # Instead, shared libraries are loaded at an image base (0x10000000 by
9277 # default) and relocated if they conflict, which is a slow very memory
9278 # consuming and fragmenting process. To avoid this, we pick a random,
9279 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9280 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9281 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9282 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9285 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9287 if test "$host_os" = linux-dietlibc; then
9288 case $cc_basename in
9289 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9292 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9293 && test "$tmp_diet" = no
9295 tmp_addflag=' $pic_flag'
9296 tmp_sharedflag='-shared'
9297 case $cc_basename,$host_cpu in
9298 pgcc*) # Portland Group C compiler
9299 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9300 tmp_addflag=' $pic_flag'
9302 pgf77* | pgf90* | pgf95* | pgfortran*)
9303 # Portland Group f77 and f90 compilers
9304 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9305 tmp_addflag=' $pic_flag -Mnomain' ;;
9306 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9307 tmp_addflag=' -i_dynamic' ;;
9308 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9309 tmp_addflag=' -i_dynamic -nofor_main' ;;
9310 ifc* | ifort*) # Intel Fortran compiler
9311 tmp_addflag=' -nofor_main' ;;
9312 lf95*) # Lahey Fortran 8.1
9313 whole_archive_flag_spec=
9314 tmp_sharedflag='--shared' ;;
9315 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9316 tmp_sharedflag='-qmkshrobj'
9318 nvcc*) # Cuda Compiler Driver 2.2
9319 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9320 compiler_needs_object=yes
9323 case `$CC -V 2>&1 | sed 5q` in
9324 *Sun\ C*) # Sun C 5.9
9325 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9326 compiler_needs_object=yes
9327 tmp_sharedflag='-G' ;;
9328 *Sun\ F*) # Sun Fortran 8.3
9329 tmp_sharedflag='-G' ;;
9331 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333 if test "x$supports_anon_versioning" = xyes; then
9334 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9335 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9336 echo "local: *; };" >> $output_objdir/$libname.ver~
9337 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9340 case $cc_basename in
9341 xlf* | bgf* | bgxlf* | mpixlf*)
9342 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9343 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9344 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9345 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9346 if test "x$supports_anon_versioning" = xyes; then
9347 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9348 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9349 echo "local: *; };" >> $output_objdir/$libname.ver~
9350 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9359 netbsd* | netbsdelf*-gnu)
9360 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9361 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9364 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9365 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9374 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9375 *** create shared libraries on Solaris systems. Therefore, libtool
9376 *** is disabling shared libraries support. We urge you to upgrade GNU
9377 *** binutils to release 2.9.1 or newer. Another option is to modify
9378 *** your PATH or compiler configuration so that the native linker is
9379 *** used, and then restart.
9382 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9383 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9384 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9390 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9391 case `$LD -v 2>&1` in
9392 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9396 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9397 *** reliably create shared libraries on SCO systems. Therefore, libtool
9398 *** is disabling shared libraries support. We urge you to upgrade GNU
9399 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9400 *** your PATH or compiler configuration so that the native linker is
9401 *** used, and then restart.
9406 # For security reasons, it is highly recommended that you always
9407 # use absolute paths for naming shared libraries, and exclude the
9408 # DT_RUNPATH tag from executables and libraries. But doing so
9409 # requires that you compile everything twice, which is a pain.
9410 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9411 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9412 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9413 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9422 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9425 hardcode_shlibpath_var=no
9429 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9430 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9438 if test "$ld_shlibs" = no; then
9440 hardcode_libdir_flag_spec=
9441 export_dynamic_flag_spec=
9442 whole_archive_flag_spec=
9445 # PORTME fill in a description of your system's linker (not GNU ld)
9448 allow_undefined_flag=unsupported
9449 always_export_symbols=yes
9450 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9451 # Note: this linker hardcodes the directories in LIBPATH if there
9452 # are no directories specified by -L.
9453 hardcode_minus_L=yes
9454 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9455 # Neither direct hardcoding nor static linking is supported with a
9457 hardcode_direct=unsupported
9462 if test "$host_cpu" = ia64; then
9463 # On IA64, the linker does run time linking by default, so we don't
9464 # have to do anything special.
9465 aix_use_runtimelinking=no
9466 exp_sym_flag='-Bexport'
9469 # If we're using GNU nm, then we don't want the "-C" option.
9470 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9471 # Also, AIX nm treats weak defined symbols like other global
9472 # defined symbols, whereas GNU nm marks them as "W".
9473 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9474 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9476 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9478 aix_use_runtimelinking=no
9480 # Test if we are trying to use run time linking or normal
9481 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9482 # need to do runtime linking.
9483 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9484 for ld_flag in $LDFLAGS; do
9485 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9486 aix_use_runtimelinking=yes
9493 exp_sym_flag='-bexport'
9494 no_entry_flag='-bnoentry'
9497 # When large executables or shared objects are built, AIX ld can
9498 # have problems creating the table of contents. If linking a library
9499 # or program results in "error TOC overflow" add -mminimal-toc to
9500 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9501 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9505 hardcode_direct_absolute=yes
9506 hardcode_libdir_separator=':'
9507 link_all_deplibs=yes
9508 file_list_spec='${wl}-f,'
9510 if test "$GCC" = yes; then
9511 case $host_os in aix4.[012]|aix4.[012].*)
9512 # We only want to do this on AIX 4.2 and lower, the check
9513 # below for broken collect2 doesn't work under 4.3+
9514 collect2name=`${CC} -print-prog-name=collect2`
9515 if test -f "$collect2name" &&
9516 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9518 # We have reworked collect2
9521 # We have old collect2
9522 hardcode_direct=unsupported
9523 # It fails to find uninstalled libraries when the uninstalled
9524 # path is not listed in the libpath. Setting hardcode_minus_L
9525 # to unsupported forces relinking
9526 hardcode_minus_L=yes
9527 hardcode_libdir_flag_spec='-L$libdir'
9528 hardcode_libdir_separator=
9532 shared_flag='-shared'
9533 if test "$aix_use_runtimelinking" = yes; then
9534 shared_flag="$shared_flag "'${wl}-G'
9539 if test "$host_cpu" = ia64; then
9540 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9541 # chokes on -Wl,-G. The following line is correct:
9544 if test "$aix_use_runtimelinking" = yes; then
9545 shared_flag='${wl}-G'
9547 shared_flag='${wl}-bM:SRE'
9552 export_dynamic_flag_spec='${wl}-bexpall'
9553 # It seems that -bexpall does not export symbols beginning with
9554 # underscore (_), so it is better to generate a list of symbols to export.
9555 always_export_symbols=yes
9556 if test "$aix_use_runtimelinking" = yes; then
9557 # Warning - without using the other runtime loading flags (-brtl),
9558 # -berok will link without error, but may produce a broken library.
9559 allow_undefined_flag='-berok'
9560 # Determine the default libpath from the value encoded in an
9562 if test "${lt_cv_aix_libpath+set}" = set; then
9563 aix_libpath=$lt_cv_aix_libpath
9565 if ${lt_cv_aix_libpath_+:} false; then :
9566 $as_echo_n "(cached) " >&6
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9579 if ac_fn_c_try_link "$LINENO"; then :
9581 lt_aix_libpath_sed='
9582 /Import File Strings/,/^$/ {
9584 s/^0 *\([^ ]*\) *$/\1/
9588 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 # Check for a 64-bit object if we didn't find anything.
9590 if test -z "$lt_cv_aix_libpath_"; then
9591 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 if test -z "$lt_cv_aix_libpath_"; then
9597 lt_cv_aix_libpath_="/usr/lib:/lib"
9602 aix_libpath=$lt_cv_aix_libpath_
9605 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9606 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9608 if test "$host_cpu" = ia64; then
9609 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9610 allow_undefined_flag="-z nodefs"
9611 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9613 # Determine the default libpath from the value encoded in an
9615 if test "${lt_cv_aix_libpath+set}" = set; then
9616 aix_libpath=$lt_cv_aix_libpath
9618 if ${lt_cv_aix_libpath_+:} false; then :
9619 $as_echo_n "(cached) " >&6
9621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9632 if ac_fn_c_try_link "$LINENO"; then :
9634 lt_aix_libpath_sed='
9635 /Import File Strings/,/^$/ {
9637 s/^0 *\([^ ]*\) *$/\1/
9641 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9642 # Check for a 64-bit object if we didn't find anything.
9643 if test -z "$lt_cv_aix_libpath_"; then
9644 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9647 rm -f core conftest.err conftest.$ac_objext \
9648 conftest$ac_exeext conftest.$ac_ext
9649 if test -z "$lt_cv_aix_libpath_"; then
9650 lt_cv_aix_libpath_="/usr/lib:/lib"
9655 aix_libpath=$lt_cv_aix_libpath_
9658 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9659 # Warning - without using the other run time loading flags,
9660 # -berok will link without error, but may produce a broken library.
9661 no_undefined_flag=' ${wl}-bernotok'
9662 allow_undefined_flag=' ${wl}-berok'
9663 if test "$with_gnu_ld" = yes; then
9664 # We only use this code for GNU lds that support --whole-archive.
9665 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9667 # Exported symbols can be pulled into shared objects from archives
9668 whole_archive_flag_spec='$convenience'
9670 archive_cmds_need_lc=yes
9671 # This is similar to how AIX traditionally builds its shared libraries.
9672 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9680 # see comment about AmigaOS4 .so support
9681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9682 archive_expsym_cmds=''
9685 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9686 hardcode_libdir_flag_spec='-L$libdir'
9687 hardcode_minus_L=yes
9693 export_dynamic_flag_spec=-rdynamic
9696 cygwin* | mingw* | pw32* | cegcc*)
9697 # When not using gcc, we currently assume that we are using
9698 # Microsoft Visual C++.
9699 # hardcode_libdir_flag_spec is actually meaningless, as there is
9700 # no search path for DLLs.
9701 case $cc_basename in
9704 hardcode_libdir_flag_spec=' '
9705 allow_undefined_flag=unsupported
9706 always_export_symbols=yes
9708 # Tell ltmain to make .lib files, not .a files.
9710 # Tell ltmain to make .dll files, not .so files.
9712 # FIXME: Setting linknames here is a bad hack.
9713 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9714 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9715 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9717 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9719 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9721 # The linker will not automatically build a static lib if we build a DLL.
9722 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9723 enable_shared_with_static_runtimes=yes
9724 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9725 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9727 old_postinstall_cmds='chmod 644 $oldlib'
9728 postlink_cmds='lt_outputfile="@OUTPUT@"~
9729 lt_tool_outputfile="@TOOL_OUTPUT@"~
9730 case $lt_outputfile in
9733 lt_outputfile="$lt_outputfile.exe"
9734 lt_tool_outputfile="$lt_tool_outputfile.exe"
9737 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9738 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9739 $RM "$lt_outputfile.manifest";
9743 # Assume MSVC wrapper
9744 hardcode_libdir_flag_spec=' '
9745 allow_undefined_flag=unsupported
9746 # Tell ltmain to make .lib files, not .a files.
9748 # Tell ltmain to make .dll files, not .so files.
9750 # FIXME: Setting linknames here is a bad hack.
9751 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9752 # The linker will automatically build a .lib file if we build a DLL.
9753 old_archive_from_new_cmds='true'
9754 # FIXME: Should let the user specify the lib program.
9755 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9756 enable_shared_with_static_runtimes=yes
9761 darwin* | rhapsody*)
9764 archive_cmds_need_lc=no
9766 hardcode_automatic=yes
9767 hardcode_shlibpath_var=unsupported
9768 if test "$lt_cv_ld_force_load" = "yes"; then
9769 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9772 whole_archive_flag_spec=''
9774 link_all_deplibs=yes
9775 allow_undefined_flag="$_lt_dar_allow_undefined"
9776 case $cc_basename in
9777 ifort*) _lt_dar_can_shared=yes ;;
9778 *) _lt_dar_can_shared=$GCC ;;
9780 if test "$_lt_dar_can_shared" = "yes"; then
9781 output_verbose_link_cmd=func_echo_all
9782 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9783 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9784 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9785 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_shlibpath_var=no
9799 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800 # support. Future versions do this automatically, but an explicit c++rt0.o
9801 # does not break anything, and helps significantly (at the cost of a little
9804 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805 hardcode_libdir_flag_spec='-R$libdir'
9807 hardcode_shlibpath_var=no
9810 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9812 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9814 hardcode_minus_L=yes
9815 hardcode_shlibpath_var=no
9818 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819 freebsd* | dragonfly*)
9820 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9821 hardcode_libdir_flag_spec='-R$libdir'
9823 hardcode_shlibpath_var=no
9827 if test "$GCC" = yes; then
9828 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9830 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833 hardcode_libdir_separator=:
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L=yes
9839 export_dynamic_flag_spec='${wl}-E'
9843 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9844 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9848 if test "$with_gnu_ld" = no; then
9849 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9850 hardcode_libdir_separator=:
9852 hardcode_direct_absolute=yes
9853 export_dynamic_flag_spec='${wl}-E'
9854 # hardcode_minus_L: Not really in the search PATH,
9855 # but as the default location of the library.
9856 hardcode_minus_L=yes
9861 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9864 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9867 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9870 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9876 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9883 # Older versions of the 11.00 compiler do not understand -b yet
9884 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9886 $as_echo_n "checking if $CC understands -b... " >&6; }
9887 if ${lt_cv_prog_compiler__b+:} false; then :
9888 $as_echo_n "(cached) " >&6
9890 lt_cv_prog_compiler__b=no
9891 save_LDFLAGS="$LDFLAGS"
9892 LDFLAGS="$LDFLAGS -b"
9893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9895 # The linker can only warn and ignore the option if not recognized
9896 # So say no if there are warnings
9897 if test -s conftest.err; then
9898 # Append any errors to the config.log.
9899 cat conftest.err 1>&5
9900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9902 if diff conftest.exp conftest.er2 >/dev/null; then
9903 lt_cv_prog_compiler__b=yes
9906 lt_cv_prog_compiler__b=yes
9910 LDFLAGS="$save_LDFLAGS"
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9914 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9916 if test x"$lt_cv_prog_compiler__b" = xyes; then
9917 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9925 if test "$with_gnu_ld" = no; then
9926 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9927 hardcode_libdir_separator=:
9932 hardcode_shlibpath_var=no
9936 hardcode_direct_absolute=yes
9937 export_dynamic_flag_spec='${wl}-E'
9939 # hardcode_minus_L: Not really in the search PATH,
9940 # but as the default location of the library.
9941 hardcode_minus_L=yes
9947 irix5* | irix6* | nonstopux*)
9948 if test "$GCC" = yes; then
9949 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9950 # Try to use the -exported_symbol ld option, if it does not
9951 # work, assume that -exports_file does not work either and
9952 # implicitly export all symbols.
9953 # This should be the same for all languages, so no per-tag cache variable.
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9955 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9956 if ${lt_cv_irix_exported_symbol+:} false; then :
9957 $as_echo_n "(cached) " >&6
9959 save_LDFLAGS="$LDFLAGS"
9960 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int foo (void) { return 0; }
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 lt_cv_irix_exported_symbol=yes
9968 lt_cv_irix_exported_symbol=no
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 LDFLAGS="$save_LDFLAGS"
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9975 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9976 if test "$lt_cv_irix_exported_symbol" = yes; then
9977 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9980 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9981 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9983 archive_cmds_need_lc='no'
9984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985 hardcode_libdir_separator=:
9987 link_all_deplibs=yes
9990 netbsd* | netbsdelf*-gnu)
9991 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9992 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9994 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9996 hardcode_libdir_flag_spec='-R$libdir'
9998 hardcode_shlibpath_var=no
10002 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10003 hardcode_direct=yes
10004 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10005 hardcode_libdir_separator=:
10006 hardcode_shlibpath_var=no
10013 if test -f /usr/libexec/ld.so; then
10014 hardcode_direct=yes
10015 hardcode_shlibpath_var=no
10016 hardcode_direct_absolute=yes
10017 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10018 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10020 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10021 export_dynamic_flag_spec='${wl}-E'
10024 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10025 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10026 hardcode_libdir_flag_spec='-R$libdir'
10029 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10030 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10040 hardcode_libdir_flag_spec='-L$libdir'
10041 hardcode_minus_L=yes
10042 allow_undefined_flag=unsupported
10043 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10044 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10048 if test "$GCC" = yes; then
10049 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10050 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10052 allow_undefined_flag=' -expect_unresolved \*'
10053 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10055 archive_cmds_need_lc='no'
10056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10057 hardcode_libdir_separator=:
10060 osf4* | osf5*) # as osf3* with the addition of -msym flag
10061 if test "$GCC" = yes; then
10062 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10063 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10064 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10066 allow_undefined_flag=' -expect_unresolved \*'
10067 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10068 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10069 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10071 # Both c and cxx compiler support -rpath directly
10072 hardcode_libdir_flag_spec='-rpath $libdir'
10074 archive_cmds_need_lc='no'
10075 hardcode_libdir_separator=:
10079 no_undefined_flag=' -z defs'
10080 if test "$GCC" = yes; then
10082 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10083 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10086 case `$CC -V 2>&1` in
10089 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10090 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10091 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10095 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10096 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10097 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10101 hardcode_libdir_flag_spec='-R$libdir'
10102 hardcode_shlibpath_var=no
10104 solaris2.[0-5] | solaris2.[0-5].*) ;;
10106 # The compiler driver will combine and reorder linker options,
10107 # but understands `-z linker_flag'. GCC discards it without `$wl',
10108 # but is careful enough not to reorder.
10109 # Supported since Solaris 2.6 (maybe 2.5.1?)
10110 if test "$GCC" = yes; then
10111 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10113 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10117 link_all_deplibs=yes
10121 if test "x$host_vendor" = xsequent; then
10122 # Use $CC to link under sequent, because it throws in some extra .o
10123 # files that make .init and .fini sections work.
10124 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10128 hardcode_libdir_flag_spec='-L$libdir'
10129 hardcode_direct=yes
10130 hardcode_minus_L=yes
10131 hardcode_shlibpath_var=no
10135 case $host_vendor in
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_direct=yes # is this really true???
10141 ## LD is ld it makes a PLAMLIB
10142 ## CC just makes a GrossModule.
10143 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10144 reload_cmds='$CC -r -o $output$reload_objs'
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10152 runpath_var='LD_RUN_PATH'
10153 hardcode_shlibpath_var=no
10157 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10158 hardcode_shlibpath_var=no
10159 export_dynamic_flag_spec='-Bexport'
10163 if test -d /usr/nec; then
10164 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10165 hardcode_shlibpath_var=no
10166 runpath_var=LD_RUN_PATH
10167 hardcode_runpath_var=yes
10172 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10173 no_undefined_flag='${wl}-z,text'
10174 archive_cmds_need_lc=no
10175 hardcode_shlibpath_var=no
10176 runpath_var='LD_RUN_PATH'
10178 if test "$GCC" = yes; then
10179 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10182 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10183 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 sysv5* | sco3.2v5* | sco5v6*)
10188 # Note: We can NOT use -z defs as we might desire, because we do not
10189 # link with -lc, and that would cause any symbols used from libc to
10190 # always be unresolved, which means just about no library would
10191 # ever link correctly. If we're not using GNU ld we use -z text
10192 # though, which does catch some bad symbols but isn't as heavy-handed
10194 no_undefined_flag='${wl}-z,text'
10195 allow_undefined_flag='${wl}-z,nodefs'
10196 archive_cmds_need_lc=no
10197 hardcode_shlibpath_var=no
10198 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10199 hardcode_libdir_separator=':'
10200 link_all_deplibs=yes
10201 export_dynamic_flag_spec='${wl}-Bexport'
10202 runpath_var='LD_RUN_PATH'
10204 if test "$GCC" = yes; then
10205 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10208 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10209 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10215 hardcode_libdir_flag_spec='-L$libdir'
10216 hardcode_shlibpath_var=no
10224 if test x$host_vendor = xsni; then
10226 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10227 export_dynamic_flag_spec='${wl}-Blargedynsym'
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10234 $as_echo "$ld_shlibs" >&6; }
10235 test "$ld_shlibs" = no && can_build_shared=no
10237 with_gnu_ld=$with_gnu_ld
10254 # Do we need to explicitly link libc?
10256 case "x$archive_cmds_need_lc" in
10258 # Assume -lc should be added
10259 archive_cmds_need_lc=yes
10261 if test "$enable_shared" = yes && test "$GCC" = yes; then
10262 case $archive_cmds in
10264 # FIXME: we may have to deal with multi-command sequences.
10267 # Test whether the compiler implicitly links with -lc since on some
10268 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10269 # to ld, don't add -lc before -lgcc.
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10271 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10272 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10273 $as_echo_n "(cached) " >&6
10276 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10279 (eval $ac_compile) 2>&5
10281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10282 test $ac_status = 0; } 2>conftest.err; then
10285 libobjs=conftest.$ac_objext
10287 wl=$lt_prog_compiler_wl
10288 pic_flag=$lt_prog_compiler_pic
10294 lt_save_allow_undefined_flag=$allow_undefined_flag
10295 allow_undefined_flag=
10296 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10297 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10300 test $ac_status = 0; }
10302 lt_cv_archive_cmds_need_lc=no
10304 lt_cv_archive_cmds_need_lc=yes
10306 allow_undefined_flag=$lt_save_allow_undefined_flag
10308 cat conftest.err 1>&5
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10314 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10315 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10474 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10476 if test "$GCC" = yes; then
10478 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10479 *) lt_awk_arg="/^libraries:/" ;;
10482 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10483 *) lt_sed_strip_eq="s,=/,/,g" ;;
10485 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10486 case $lt_search_path_spec in
10488 # if the path contains ";" then we assume it to be the separator
10489 # otherwise default to the standard path separator (i.e. ":") - it is
10490 # assumed that no part of a normal pathname contains ";" but that should
10491 # okay in the real world where ";" in dirpaths is itself problematic.
10492 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10495 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10498 # Ok, now we have the path, separated by spaces, we can step through it
10499 # and add multilib dir if necessary.
10500 lt_tmp_lt_search_path_spec=
10501 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10502 for lt_sys_path in $lt_search_path_spec; do
10503 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10504 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10506 test -d "$lt_sys_path" && \
10507 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10510 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10511 BEGIN {RS=" "; FS="/|\n";} {
10514 for (lt_i = NF; lt_i > 0; lt_i--) {
10515 if ($lt_i != "" && $lt_i != ".") {
10516 if ($lt_i == "..") {
10519 if (lt_count == 0) {
10520 lt_foo="/" $lt_i lt_foo;
10527 if (lt_foo != "") { lt_freq[lt_foo]++; }
10528 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10530 # AWK program above erroneously prepends '/' to C:/dos/paths
10533 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10534 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10536 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10538 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10540 library_names_spec=
10541 libname_spec='lib$name'
10545 postuninstall_cmds=
10549 shlibpath_overrides_runpath=unknown
10551 dynamic_linker="$host_os ld.so"
10552 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10553 need_lib_prefix=unknown
10554 hardcode_into_libs=no
10556 # when you set need_version to no, make sure it does not cause -set_version
10557 # flags to be left without arguments
10558 need_version=unknown
10562 version_type=linux # correct to gnu/linux during the next big refactor
10563 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10564 shlibpath_var=LIBPATH
10566 # AIX 3 has no versioning support, so we append a major version to the name.
10567 soname_spec='${libname}${release}${shared_ext}$major'
10571 version_type=linux # correct to gnu/linux during the next big refactor
10574 hardcode_into_libs=yes
10575 if test "$host_cpu" = ia64; then
10576 # AIX 5 supports IA64
10577 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10578 shlibpath_var=LD_LIBRARY_PATH
10580 # With GCC up to 2.95.x, collect2 would create an import file
10581 # for dependence libraries. The import file would start with
10582 # the line `#! .'. This would cause the generated library to
10583 # depend on `.', always an invalid library. This was fixed in
10584 # development snapshots of GCC prior to 3.0.
10586 aix4 | aix4.[01] | aix4.[01].*)
10587 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10589 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10592 can_build_shared=no
10596 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10597 # soname into executable. Probably we can add versioning support to
10598 # collect2, so additional links can be useful in future.
10599 if test "$aix_use_runtimelinking" = yes; then
10600 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10601 # instead of lib<name>.a to let people know that these are not
10602 # typical AIX shared libraries.
10603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10605 # We preserve .a as extension for shared libraries through AIX4.2
10606 # and later when we are not doing run time linking.
10607 library_names_spec='${libname}${release}.a $libname.a'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10610 shlibpath_var=LIBPATH
10617 # Since July 2007 AmigaOS4 officially supports .so libraries.
10618 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10622 library_names_spec='$libname.ixlibrary $libname.a'
10623 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10624 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10630 library_names_spec='${libname}${shared_ext}'
10631 dynamic_linker="$host_os ld.so"
10632 shlibpath_var=LIBRARY_PATH
10636 version_type=linux # correct to gnu/linux during the next big refactor
10638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 soname_spec='${libname}${release}${shared_ext}$major'
10640 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10641 shlibpath_var=LD_LIBRARY_PATH
10642 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10643 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10644 # the default ld.so.conf also contains /usr/contrib/lib and
10645 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10646 # libtool to hard-code these into programs
10649 cygwin* | mingw* | pw32* | cegcc*)
10650 version_type=windows
10655 case $GCC,$cc_basename in
10658 library_names_spec='$libname.dll.a'
10659 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10660 postinstall_cmds='base_file=`basename \${file}`~
10661 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10662 dldir=$destdir/`dirname \$dlpath`~
10663 test -d \$dldir || mkdir -p \$dldir~
10664 $install_prog $dir/$dlname \$dldir/$dlname~
10665 chmod a+x \$dldir/$dlname~
10666 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10667 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10669 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10670 dlpath=$dir/\$dldll~
10672 shlibpath_overrides_runpath=yes
10676 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10677 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10679 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10682 # MinGW DLLs use traditional 'lib' prefix
10683 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686 # pw32 DLLs use 'pw' prefix rather than 'lib'
10687 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10690 dynamic_linker='Win32 ld.exe'
10695 libname_spec='$name'
10696 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10697 library_names_spec='${libname}.dll.lib'
10701 sys_lib_search_path_spec=
10704 for lt_path in $LIB
10707 # Let DOS variable expansion print the short 8.3 style file name.
10708 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10709 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10712 # Convert to MSYS style.
10713 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10716 # Convert to unix form, then to dos form, then back to unix form
10717 # but this time dos style (no spaces!) so that the unix form looks
10718 # like /cygdrive/c/PROGRA~1:/cygdr...
10719 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10720 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10721 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10724 sys_lib_search_path_spec="$LIB"
10725 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10726 # It is most probably a Windows format PATH.
10727 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10729 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10731 # FIXME: find the short name or the path components, as spaces are
10732 # common. (e.g. "Program Files" -> "PROGRA~1")
10736 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10737 postinstall_cmds='base_file=`basename \${file}`~
10738 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10739 dldir=$destdir/`dirname \$dlpath`~
10740 test -d \$dldir || mkdir -p \$dldir~
10741 $install_prog $dir/$dlname \$dldir/$dlname'
10742 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10743 dlpath=$dir/\$dldll~
10745 shlibpath_overrides_runpath=yes
10746 dynamic_linker='Win32 link.exe'
10750 # Assume MSVC wrapper
10751 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10752 dynamic_linker='Win32 ld.exe'
10755 # FIXME: first we should search . and the directory the executable is in
10759 darwin* | rhapsody*)
10760 dynamic_linker="$host_os dyld"
10761 version_type=darwin
10764 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10765 soname_spec='${libname}${release}${major}$shared_ext'
10766 shlibpath_overrides_runpath=yes
10767 shlibpath_var=DYLD_LIBRARY_PATH
10768 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10770 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10771 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10775 version_type=linux # correct to gnu/linux during the next big refactor
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10779 soname_spec='${libname}${release}${shared_ext}$major'
10780 shlibpath_var=LD_LIBRARY_PATH
10783 freebsd* | dragonfly*)
10784 # DragonFly does not have aout. When/if they implement a new
10785 # versioning mechanism, adjust this.
10786 if test -x /usr/bin/objformat; then
10787 objformat=`/usr/bin/objformat`
10790 freebsd[23].*) objformat=aout ;;
10791 *) objformat=elf ;;
10794 version_type=freebsd-$objformat
10795 case $version_type in
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10806 shlibpath_var=LD_LIBRARY_PATH
10809 shlibpath_overrides_runpath=yes
10811 freebsd3.[01]* | freebsdelf3.[01]*)
10812 shlibpath_overrides_runpath=yes
10813 hardcode_into_libs=yes
10815 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10816 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10817 shlibpath_overrides_runpath=no
10818 hardcode_into_libs=yes
10820 *) # from 4.6 on, and DragonFly
10821 shlibpath_overrides_runpath=yes
10822 hardcode_into_libs=yes
10828 version_type=linux # correct to gnu/linux during the next big refactor
10831 dynamic_linker="$host_os runtime_loader"
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10834 shlibpath_var=LIBRARY_PATH
10835 shlibpath_overrides_runpath=yes
10836 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10837 hardcode_into_libs=yes
10840 hpux9* | hpux10* | hpux11*)
10841 # Give a soname corresponding to the major version so that dld.sl refuses to
10842 # link against other versions.
10849 hardcode_into_libs=yes
10850 dynamic_linker="$host_os dld.so"
10851 shlibpath_var=LD_LIBRARY_PATH
10852 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854 soname_spec='${libname}${release}${shared_ext}$major'
10855 if test "X$HPUX_IA64_MODE" = X32; then
10856 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10858 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10860 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10864 hardcode_into_libs=yes
10865 dynamic_linker="$host_os dld.sl"
10866 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10867 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 soname_spec='${libname}${release}${shared_ext}$major'
10870 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10871 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10875 dynamic_linker="$host_os dld.sl"
10876 shlibpath_var=SHLIB_PATH
10877 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10879 soname_spec='${libname}${release}${shared_ext}$major'
10882 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10883 postinstall_cmds='chmod 555 $lib'
10884 # or fails outright, so override atomically:
10885 install_override_mode=555
10889 version_type=linux # correct to gnu/linux during the next big refactor
10892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10893 soname_spec='${libname}${release}${shared_ext}$major'
10894 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10895 shlibpath_var=LD_LIBRARY_PATH
10896 shlibpath_overrides_runpath=no
10897 hardcode_into_libs=yes
10900 irix5* | irix6* | nonstopux*)
10902 nonstopux*) version_type=nonstopux ;;
10904 if test "$lt_cv_prog_gnu_ld" = yes; then
10905 version_type=linux # correct to gnu/linux during the next big refactor
10912 soname_spec='${libname}${release}${shared_ext}$major'
10913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10915 irix5* | nonstopux*)
10916 libsuff= shlibsuff=
10919 case $LD in # libtool.m4 will add one of these switches to LD
10920 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10921 libsuff= shlibsuff= libmagic=32-bit;;
10922 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10923 libsuff=32 shlibsuff=N32 libmagic=N32;;
10924 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10925 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10926 *) libsuff= shlibsuff= libmagic=never-match;;
10930 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10931 shlibpath_overrides_runpath=no
10932 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10933 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10934 hardcode_into_libs=yes
10937 # No shared lib support for Linux oldld, aout, or coff.
10938 linux*oldld* | linux*aout* | linux*coff*)
10942 # This must be glibc/ELF.
10943 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10944 version_type=linux # correct to gnu/linux during the next big refactor
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948 soname_spec='${libname}${release}${shared_ext}$major'
10949 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 shlibpath_overrides_runpath=no
10953 # Some binutils ld are patched to set DT_RUNPATH
10954 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10955 $as_echo_n "(cached) " >&6
10957 lt_cv_shlibpath_overrides_runpath=no
10958 save_LDFLAGS=$LDFLAGS
10959 save_libdir=$libdir
10960 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10961 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10973 if ac_fn_c_try_link "$LINENO"; then :
10974 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10975 lt_cv_shlibpath_overrides_runpath=yes
10978 rm -f core conftest.err conftest.$ac_objext \
10979 conftest$ac_exeext conftest.$ac_ext
10980 LDFLAGS=$save_LDFLAGS
10981 libdir=$save_libdir
10985 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10987 # This implies no fast_install, which is unacceptable.
10988 # Some rework will be needed to allow for fast_install
10989 # before this can be enabled.
10990 hardcode_into_libs=yes
10992 # Append ld.so.conf contents to the search path
10993 if test -f /etc/ld.so.conf; then
10994 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10995 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10998 # We used to test for /lib/ld.so.1 and disable shared libraries on
10999 # powerpc, because MkLinux only supported shared libraries with the
11000 # GNU dynamic linker. Since this was broken with cross compilers,
11001 # most powerpc-linux boxes support dynamic linking these days and
11002 # people can always --disable-shared, the test was removed, and we
11003 # assume the GNU/Linux dynamic linker is in use.
11004 dynamic_linker='GNU/Linux ld.so'
11011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11012 soname_spec='${libname}${release}${shared_ext}$major'
11013 shlibpath_var=LD_LIBRARY_PATH
11014 shlibpath_overrides_runpath=no
11015 hardcode_into_libs=yes
11016 dynamic_linker='NetBSD ld.elf_so'
11023 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11025 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11026 dynamic_linker='NetBSD (a.out) ld.so'
11028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11029 soname_spec='${libname}${release}${shared_ext}$major'
11030 dynamic_linker='NetBSD ld.elf_so'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath=yes
11034 hardcode_into_libs=yes
11038 version_type=linux # correct to gnu/linux during the next big refactor
11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040 shlibpath_var=LD_LIBRARY_PATH
11041 shlibpath_overrides_runpath=yes
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=no
11052 hardcode_into_libs=yes
11053 dynamic_linker='ldqnx.so'
11058 sys_lib_dlsearch_path_spec="/usr/lib"
11060 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11062 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11063 *) need_version=no ;;
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11066 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11067 shlibpath_var=LD_LIBRARY_PATH
11068 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11070 openbsd2.[89] | openbsd2.[89].*)
11071 shlibpath_overrides_runpath=no
11074 shlibpath_overrides_runpath=yes
11078 shlibpath_overrides_runpath=yes
11083 libname_spec='$name'
11086 library_names_spec='$libname${shared_ext} $libname.a'
11087 dynamic_linker='OS/2 ld.exe'
11088 shlibpath_var=LIBPATH
11091 osf3* | osf4* | osf5*)
11095 soname_spec='${libname}${release}${shared_ext}$major'
11096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11099 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11107 version_type=linux # correct to gnu/linux during the next big refactor
11110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 soname_spec='${libname}${release}${shared_ext}$major'
11112 shlibpath_var=LD_LIBRARY_PATH
11113 shlibpath_overrides_runpath=yes
11114 hardcode_into_libs=yes
11115 # ldd complains unless libraries are executable
11116 postinstall_cmds='chmod +x $lib'
11121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11122 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11123 shlibpath_var=LD_LIBRARY_PATH
11124 shlibpath_overrides_runpath=yes
11125 if test "$with_gnu_ld" = yes; then
11132 version_type=linux # correct to gnu/linux during the next big refactor
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134 soname_spec='${libname}${release}${shared_ext}$major'
11135 shlibpath_var=LD_LIBRARY_PATH
11136 case $host_vendor in
11138 shlibpath_overrides_runpath=no
11140 runpath_var=LD_RUN_PATH
11148 shlibpath_overrides_runpath=no
11149 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11155 if test -d /usr/nec ;then
11156 version_type=linux # correct to gnu/linux during the next big refactor
11157 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11158 soname_spec='$libname${shared_ext}.$major'
11159 shlibpath_var=LD_LIBRARY_PATH
11163 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11164 version_type=freebsd-elf
11167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11168 soname_spec='${libname}${release}${shared_ext}$major'
11169 shlibpath_var=LD_LIBRARY_PATH
11170 shlibpath_overrides_runpath=yes
11171 hardcode_into_libs=yes
11172 if test "$with_gnu_ld" = yes; then
11173 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11175 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11178 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11182 sys_lib_dlsearch_path_spec='/usr/lib'
11186 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11187 version_type=linux # correct to gnu/linux during the next big refactor
11190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11191 shlibpath_var=LD_LIBRARY_PATH
11192 shlibpath_overrides_runpath=no
11193 hardcode_into_libs=yes
11197 version_type=linux # correct to gnu/linux during the next big refactor
11198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11199 soname_spec='${libname}${release}${shared_ext}$major'
11200 shlibpath_var=LD_LIBRARY_PATH
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11208 $as_echo "$dynamic_linker" >&6; }
11209 test "$dynamic_linker" = no && can_build_shared=no
11211 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11212 if test "$GCC" = yes; then
11213 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11216 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11217 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11219 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11220 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11315 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11317 if test -n "$hardcode_libdir_flag_spec" ||
11318 test -n "$runpath_var" ||
11319 test "X$hardcode_automatic" = "Xyes" ; then
11321 # We can hardcode non-existent directories.
11322 if test "$hardcode_direct" != no &&
11323 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11324 # have to relink, otherwise we might link with an installed library
11325 # when we should be linking with a yet-to-be-installed one
11326 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11327 test "$hardcode_minus_L" != no; then
11328 # Linking always hardcodes the temporary library directory.
11329 hardcode_action=relink
11331 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11332 hardcode_action=immediate
11335 # We cannot hardcode anything, or else we can only hardcode existing
11337 hardcode_action=unsupported
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11340 $as_echo "$hardcode_action" >&6; }
11342 if test "$hardcode_action" = relink ||
11343 test "$inherit_rpath" = yes; then
11344 # Fast installation is not supported
11345 enable_fast_install=no
11346 elif test "$shlibpath_overrides_runpath" = yes ||
11347 test "$enable_shared" = no; then
11348 # Fast installation is not necessary
11349 enable_fast_install=needless
11357 if test "x$enable_dlopen" != xyes; then
11358 enable_dlopen=unknown
11359 enable_dlopen_self=unknown
11360 enable_dlopen_self_static=unknown
11367 lt_cv_dlopen="load_add_on"
11369 lt_cv_dlopen_self=yes
11372 mingw* | pw32* | cegcc*)
11373 lt_cv_dlopen="LoadLibrary"
11378 lt_cv_dlopen="dlopen"
11383 # if libdl is installed we need to link against it
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11385 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11386 if ${ac_cv_lib_dl_dlopen+:} false; then :
11387 $as_echo_n "(cached) " >&6
11389 ac_check_lib_save_LIBS=$LIBS
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 ac_cv_lib_dl_dlopen=yes
11412 ac_cv_lib_dl_dlopen=no
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11419 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11420 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11421 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11424 lt_cv_dlopen="dyld"
11426 lt_cv_dlopen_self=yes
11433 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11434 if test "x$ac_cv_func_shl_load" = xyes; then :
11435 lt_cv_dlopen="shl_load"
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11438 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11439 if ${ac_cv_lib_dld_shl_load+:} false; then :
11440 $as_echo_n "(cached) " >&6
11442 ac_check_lib_save_LIBS=$LIBS
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11457 return shl_load ();
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_dld_shl_load=yes
11465 ac_cv_lib_dld_shl_load=no
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11472 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11473 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11474 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11476 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11477 if test "x$ac_cv_func_dlopen" = xyes; then :
11478 lt_cv_dlopen="dlopen"
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11481 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11482 if ${ac_cv_lib_dl_dlopen+:} false; then :
11483 $as_echo_n "(cached) " >&6
11485 ac_check_lib_save_LIBS=$LIBS
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11505 if ac_fn_c_try_link "$LINENO"; then :
11506 ac_cv_lib_dl_dlopen=yes
11508 ac_cv_lib_dl_dlopen=no
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_lib_save_LIBS
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11515 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11516 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11517 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11520 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11521 if ${ac_cv_lib_svld_dlopen+:} false; then :
11522 $as_echo_n "(cached) " >&6
11524 ac_check_lib_save_LIBS=$LIBS
11525 LIBS="-lsvld $LIBS"
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11544 if ac_fn_c_try_link "$LINENO"; then :
11545 ac_cv_lib_svld_dlopen=yes
11547 ac_cv_lib_svld_dlopen=no
11549 rm -f core conftest.err conftest.$ac_objext \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_lib_save_LIBS
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11554 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11555 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11556 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11559 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11560 if ${ac_cv_lib_dld_dld_link+:} false; then :
11561 $as_echo_n "(cached) " >&6
11563 ac_check_lib_save_LIBS=$LIBS
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11568 /* Override any GCC internal prototype to avoid an error.
11569 Use char because int might match the return type of a GCC
11570 builtin and then its argument prototype would still apply. */
11578 return dld_link ();
11583 if ac_fn_c_try_link "$LINENO"; then :
11584 ac_cv_lib_dld_dld_link=yes
11586 ac_cv_lib_dld_dld_link=no
11588 rm -f core conftest.err conftest.$ac_objext \
11589 conftest$ac_exeext conftest.$ac_ext
11590 LIBS=$ac_check_lib_save_LIBS
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11593 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11594 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11595 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11616 if test "x$lt_cv_dlopen" != xno; then
11622 case $lt_cv_dlopen in
11624 save_CPPFLAGS="$CPPFLAGS"
11625 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11627 save_LDFLAGS="$LDFLAGS"
11628 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11631 LIBS="$lt_cv_dlopen_libs $LIBS"
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11634 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11635 if ${lt_cv_dlopen_self+:} false; then :
11636 $as_echo_n "(cached) " >&6
11638 if test "$cross_compiling" = yes; then :
11639 lt_cv_dlopen_self=cross
11641 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11642 lt_status=$lt_dlunknown
11643 cat > conftest.$ac_ext <<_LT_EOF
11644 #line $LINENO "configure"
11645 #include "confdefs.h"
11654 # define LT_DLGLOBAL RTLD_GLOBAL
11657 # define LT_DLGLOBAL DL_GLOBAL
11659 # define LT_DLGLOBAL 0
11663 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11664 find out it does not work in some platform. */
11665 #ifndef LT_DLLAZY_OR_NOW
11667 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11670 # define LT_DLLAZY_OR_NOW DL_LAZY
11673 # define LT_DLLAZY_OR_NOW RTLD_NOW
11676 # define LT_DLLAZY_OR_NOW DL_NOW
11678 # define LT_DLLAZY_OR_NOW 0
11685 /* When -fvisbility=hidden is used, assume the code has been annotated
11686 correspondingly for the symbols needed. */
11687 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11688 int fnord () __attribute__((visibility("default")));
11691 int fnord () { return 42; }
11694 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11695 int status = $lt_dlunknown;
11699 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11702 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11703 else puts (dlerror ());
11705 /* dlclose (self); */
11713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11714 (eval $ac_link) 2>&5
11716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11717 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11718 (./conftest; exit; ) >&5 2>/dev/null
11720 case x$lt_status in
11721 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11722 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11723 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11726 # compilation failed
11727 lt_cv_dlopen_self=no
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11735 $as_echo "$lt_cv_dlopen_self" >&6; }
11737 if test "x$lt_cv_dlopen_self" = xyes; then
11738 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11740 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11741 if ${lt_cv_dlopen_self_static+:} false; then :
11742 $as_echo_n "(cached) " >&6
11744 if test "$cross_compiling" = yes; then :
11745 lt_cv_dlopen_self_static=cross
11747 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11748 lt_status=$lt_dlunknown
11749 cat > conftest.$ac_ext <<_LT_EOF
11750 #line $LINENO "configure"
11751 #include "confdefs.h"
11760 # define LT_DLGLOBAL RTLD_GLOBAL
11763 # define LT_DLGLOBAL DL_GLOBAL
11765 # define LT_DLGLOBAL 0
11769 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11770 find out it does not work in some platform. */
11771 #ifndef LT_DLLAZY_OR_NOW
11773 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11776 # define LT_DLLAZY_OR_NOW DL_LAZY
11779 # define LT_DLLAZY_OR_NOW RTLD_NOW
11782 # define LT_DLLAZY_OR_NOW DL_NOW
11784 # define LT_DLLAZY_OR_NOW 0
11791 /* When -fvisbility=hidden is used, assume the code has been annotated
11792 correspondingly for the symbols needed. */
11793 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11794 int fnord () __attribute__((visibility("default")));
11797 int fnord () { return 42; }
11800 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11801 int status = $lt_dlunknown;
11805 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11808 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11809 else puts (dlerror ());
11811 /* dlclose (self); */
11819 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11820 (eval $ac_link) 2>&5
11822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11823 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11824 (./conftest; exit; ) >&5 2>/dev/null
11826 case x$lt_status in
11827 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11828 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11829 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11832 # compilation failed
11833 lt_cv_dlopen_self_static=no
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11841 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11844 CPPFLAGS="$save_CPPFLAGS"
11845 LDFLAGS="$save_LDFLAGS"
11850 case $lt_cv_dlopen_self in
11851 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11852 *) enable_dlopen_self=unknown ;;
11855 case $lt_cv_dlopen_self_static in
11856 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11857 *) enable_dlopen_self_static=unknown ;;
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11880 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11881 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11882 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11883 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11885 $as_echo "yes" >&6; }
11887 # FIXME - insert some real tests, host_os isn't really good enough
11890 if test -n "$STRIP" ; then
11891 striplib="$STRIP -x"
11892 old_striplib="$STRIP -S"
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11894 $as_echo "yes" >&6; }
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897 $as_echo "no" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11918 # Report which library types will actually be built
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11920 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11922 $as_echo "$can_build_shared" >&6; }
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11925 $as_echo_n "checking whether to build shared libraries... " >&6; }
11926 test "$can_build_shared" = "no" && enable_shared=no
11928 # On AIX, shared libraries and static libraries use the same namespace, and
11929 # are all built from PIC.
11932 test "$enable_shared" = yes && enable_static=no
11933 if test -n "$RANLIB"; then
11934 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11935 postinstall_cmds='$RANLIB $lib'
11940 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11941 test "$enable_shared" = yes && enable_static=no
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11946 $as_echo "$enable_shared" >&6; }
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11949 $as_echo_n "checking whether to build static libraries... " >&6; }
11950 # Make sure either enable_shared or enable_static is yes.
11951 test "$enable_shared" = yes || enable_static=yes
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11953 $as_echo "$enable_static" >&6; }
11960 ac_cpp='$CPP $CPPFLAGS'
11961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11981 ac_config_commands="$ac_config_commands libtool"
11986 # Only expand once:
11992 for ac_func in $ac_func_list
11994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11996 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11997 cat >>confdefs.h <<_ACEOF
11998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12010 # Checks for programs.
12018 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12019 if test -n "$ac_tool_prefix"; then
12020 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12021 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12023 $as_echo_n "checking for $ac_word... " >&6; }
12024 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12025 $as_echo_n "(cached) " >&6
12027 case $PKG_CONFIG in
12029 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12033 for as_dir in $PATH
12036 test -z "$as_dir" && as_dir=.
12037 for ac_exec_ext in '' $ac_executable_extensions; do
12038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12039 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12050 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12051 if test -n "$PKG_CONFIG"; then
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12053 $as_echo "$PKG_CONFIG" >&6; }
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12056 $as_echo "no" >&6; }
12061 if test -z "$ac_cv_path_PKG_CONFIG"; then
12062 ac_pt_PKG_CONFIG=$PKG_CONFIG
12063 # Extract the first word of "pkg-config", so it can be a program name with args.
12064 set dummy pkg-config; ac_word=$2
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12066 $as_echo_n "checking for $ac_word... " >&6; }
12067 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12068 $as_echo_n "(cached) " >&6
12070 case $ac_pt_PKG_CONFIG in
12072 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12076 for as_dir in $PATH
12079 test -z "$as_dir" && as_dir=.
12080 for ac_exec_ext in '' $ac_executable_extensions; do
12081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12082 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12093 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12094 if test -n "$ac_pt_PKG_CONFIG"; then
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12096 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12099 $as_echo "no" >&6; }
12102 if test "x$ac_pt_PKG_CONFIG" = x; then
12105 case $cross_compiling:$ac_tool_warned in
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12109 ac_tool_warned=yes ;;
12111 PKG_CONFIG=$ac_pt_PKG_CONFIG
12114 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12118 if test -n "$PKG_CONFIG"; then
12119 _pkg_min_version=0.23
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12121 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12122 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12124 $as_echo "yes" >&6; }
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12127 $as_echo "no" >&6; }
12132 ac_cpp='$CPP $CPPFLAGS'
12133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12136 if test -n "$ac_tool_prefix"; then
12137 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12138 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12140 $as_echo_n "checking for $ac_word... " >&6; }
12141 if ${ac_cv_prog_CC+:} false; then :
12142 $as_echo_n "(cached) " >&6
12144 if test -n "$CC"; then
12145 ac_cv_prog_CC="$CC" # Let the user override the test.
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12151 test -z "$as_dir" && as_dir=.
12152 for ac_exec_ext in '' $ac_executable_extensions; do
12153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12154 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12165 if test -n "$CC"; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12167 $as_echo "$CC" >&6; }
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12170 $as_echo "no" >&6; }
12175 if test -z "$ac_cv_prog_CC"; then
12177 # Extract the first word of "gcc", so it can be a program name with args.
12178 set dummy gcc; ac_word=$2
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12180 $as_echo_n "checking for $ac_word... " >&6; }
12181 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12182 $as_echo_n "(cached) " >&6
12184 if test -n "$ac_ct_CC"; then
12185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12188 for as_dir in $PATH
12191 test -z "$as_dir" && as_dir=.
12192 for ac_exec_ext in '' $ac_executable_extensions; do
12193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12194 ac_cv_prog_ac_ct_CC="gcc"
12195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12204 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12205 if test -n "$ac_ct_CC"; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12207 $as_echo "$ac_ct_CC" >&6; }
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12213 if test "x$ac_ct_CC" = x; then
12216 case $cross_compiling:$ac_tool_warned in
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12220 ac_tool_warned=yes ;;
12225 CC="$ac_cv_prog_CC"
12228 if test -z "$CC"; then
12229 if test -n "$ac_tool_prefix"; then
12230 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12231 set dummy ${ac_tool_prefix}cc; ac_word=$2
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12233 $as_echo_n "checking for $ac_word... " >&6; }
12234 if ${ac_cv_prog_CC+:} false; then :
12235 $as_echo_n "(cached) " >&6
12237 if test -n "$CC"; then
12238 ac_cv_prog_CC="$CC" # Let the user override the test.
12240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12241 for as_dir in $PATH
12244 test -z "$as_dir" && as_dir=.
12245 for ac_exec_ext in '' $ac_executable_extensions; do
12246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12247 ac_cv_prog_CC="${ac_tool_prefix}cc"
12248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12258 if test -n "$CC"; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12260 $as_echo "$CC" >&6; }
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12263 $as_echo "no" >&6; }
12269 if test -z "$CC"; then
12270 # Extract the first word of "cc", so it can be a program name with args.
12271 set dummy cc; ac_word=$2
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12273 $as_echo_n "checking for $ac_word... " >&6; }
12274 if ${ac_cv_prog_CC+:} false; then :
12275 $as_echo_n "(cached) " >&6
12277 if test -n "$CC"; then
12278 ac_cv_prog_CC="$CC" # Let the user override the test.
12280 ac_prog_rejected=no
12281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12282 for as_dir in $PATH
12285 test -z "$as_dir" && as_dir=.
12286 for ac_exec_ext in '' $ac_executable_extensions; do
12287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12288 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12289 ac_prog_rejected=yes
12293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12300 if test $ac_prog_rejected = yes; then
12301 # We found a bogon in the path, so make sure we never use it.
12302 set dummy $ac_cv_prog_CC
12304 if test $# != 0; then
12305 # We chose a different compiler from the bogus one.
12306 # However, it has the same basename, so the bogon will be chosen
12307 # first if we set CC to just the basename; use the full file name.
12309 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12315 if test -n "$CC"; then
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12317 $as_echo "$CC" >&6; }
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320 $as_echo "no" >&6; }
12325 if test -z "$CC"; then
12326 if test -n "$ac_tool_prefix"; then
12327 for ac_prog in cl.exe
12329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12332 $as_echo_n "checking for $ac_word... " >&6; }
12333 if ${ac_cv_prog_CC+:} false; then :
12334 $as_echo_n "(cached) " >&6
12336 if test -n "$CC"; then
12337 ac_cv_prog_CC="$CC" # Let the user override the test.
12339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12340 for as_dir in $PATH
12343 test -z "$as_dir" && as_dir=.
12344 for ac_exec_ext in '' $ac_executable_extensions; do
12345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12346 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12357 if test -n "$CC"; then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12359 $as_echo "$CC" >&6; }
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12362 $as_echo "no" >&6; }
12366 test -n "$CC" && break
12369 if test -z "$CC"; then
12371 for ac_prog in cl.exe
12373 # Extract the first word of "$ac_prog", so it can be a program name with args.
12374 set dummy $ac_prog; ac_word=$2
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12376 $as_echo_n "checking for $ac_word... " >&6; }
12377 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12378 $as_echo_n "(cached) " >&6
12380 if test -n "$ac_ct_CC"; then
12381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12384 for as_dir in $PATH
12387 test -z "$as_dir" && as_dir=.
12388 for ac_exec_ext in '' $ac_executable_extensions; do
12389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12390 ac_cv_prog_ac_ct_CC="$ac_prog"
12391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12401 if test -n "$ac_ct_CC"; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12403 $as_echo "$ac_ct_CC" >&6; }
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12406 $as_echo "no" >&6; }
12410 test -n "$ac_ct_CC" && break
12413 if test "x$ac_ct_CC" = x; then
12416 case $cross_compiling:$ac_tool_warned in
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12420 ac_tool_warned=yes ;;
12429 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12431 as_fn_error $? "no acceptable C compiler found in \$PATH
12432 See \`config.log' for more details" "$LINENO" 5; }
12434 # Provide some information about the compiler.
12435 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12438 for ac_option in --version -v -V -qversion; do
12439 { { ac_try="$ac_compiler $ac_option >&5"
12440 case "(($ac_try" in
12441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12442 *) ac_try_echo=$ac_try;;
12444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12445 $as_echo "$ac_try_echo"; } >&5
12446 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12448 if test -s conftest.err; then
12450 ... rest of stderr output deleted ...
12451 10q' conftest.err >conftest.er1
12452 cat conftest.er1 >&5
12454 rm -f conftest.er1 conftest.err
12455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12456 test $ac_status = 0; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12460 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12461 if ${ac_cv_c_compiler_gnu+:} false; then :
12462 $as_echo_n "(cached) " >&6
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12478 if ac_fn_c_try_compile "$LINENO"; then :
12479 ac_compiler_gnu=yes
12483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12484 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12488 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12489 if test $ac_compiler_gnu = yes; then
12494 ac_test_CFLAGS=${CFLAGS+set}
12495 ac_save_CFLAGS=$CFLAGS
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12497 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12498 if ${ac_cv_prog_cc_g+:} false; then :
12499 $as_echo_n "(cached) " >&6
12501 ac_save_c_werror_flag=$ac_c_werror_flag
12502 ac_c_werror_flag=yes
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12516 if ac_fn_c_try_compile "$LINENO"; then :
12517 ac_cv_prog_cc_g=yes
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12531 if ac_fn_c_try_compile "$LINENO"; then :
12534 ac_c_werror_flag=$ac_save_c_werror_flag
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12547 if ac_fn_c_try_compile "$LINENO"; then :
12548 ac_cv_prog_cc_g=yes
12550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12555 ac_c_werror_flag=$ac_save_c_werror_flag
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12558 $as_echo "$ac_cv_prog_cc_g" >&6; }
12559 if test "$ac_test_CFLAGS" = set; then
12560 CFLAGS=$ac_save_CFLAGS
12561 elif test $ac_cv_prog_cc_g = yes; then
12562 if test "$GCC" = yes; then
12568 if test "$GCC" = yes; then
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12575 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12576 if ${ac_cv_prog_cc_c89+:} false; then :
12577 $as_echo_n "(cached) " >&6
12579 ac_cv_prog_cc_c89=no
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12583 #include <stdarg.h>
12586 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12587 struct buf { int x; };
12588 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12589 static char *e (p, i)
12595 static char *f (char * (*g) (char **, int), char **p, ...)
12600 s = g (p, va_arg (v,int));
12605 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12606 function prototypes and stuff, but not '\xHH' hex character constants.
12607 These don't provoke an error unfortunately, instead are silently treated
12608 as 'x'. The following induces an error, until -std is added to get
12609 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12610 array size at least. It's necessary to write '\x00'==0 to get something
12611 that's true only with -std. */
12612 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12614 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12615 inside strings and character constants. */
12617 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12619 int test (int i, double x);
12620 struct s1 {int (*f) (int a);};
12621 struct s2 {int (*f) (double a);};
12622 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12628 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12633 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12634 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12636 CC="$ac_save_CC $ac_arg"
12637 if ac_fn_c_try_compile "$LINENO"; then :
12638 ac_cv_prog_cc_c89=$ac_arg
12640 rm -f core conftest.err conftest.$ac_objext
12641 test "x$ac_cv_prog_cc_c89" != "xno" && break
12643 rm -f conftest.$ac_ext
12648 case "x$ac_cv_prog_cc_c89" in
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12651 $as_echo "none needed" >&6; } ;;
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12654 $as_echo "unsupported" >&6; } ;;
12656 CC="$CC $ac_cv_prog_cc_c89"
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12658 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12660 if test "x$ac_cv_prog_cc_c89" != xno; then :
12665 ac_cpp='$CPP $CPPFLAGS'
12666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12671 ac_cpp='$CPP $CPPFLAGS'
12672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12676 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12677 if ${am_cv_prog_cc_c_o+:} false; then :
12678 $as_echo_n "(cached) " >&6
12680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12691 # Make sure it works both with $CC and with simple cc.
12692 # Following AC_PROG_CC_C_O, we do the test twice because some
12693 # compilers refuse to overwrite an existing .o file with -o,
12694 # though they will create one.
12695 am_cv_prog_cc_c_o=yes
12696 for am_i in 1 2; do
12697 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12698 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } \
12702 && test -f conftest2.$ac_objext; then
12705 am_cv_prog_cc_c_o=no
12709 rm -f core conftest*
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12713 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12714 if test "$am_cv_prog_cc_c_o" != yes; then
12715 # Losing compiler, so override with the script.
12716 # FIXME: It is wrong to rewrite CC.
12717 # But if we don't then we get into trouble of one sort or another.
12718 # A longer-term fix would be to have automake use am__CC in this case,
12719 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12720 CC="$am_aux_dir/compile $CC"
12723 ac_cpp='$CPP $CPPFLAGS'
12724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12729 depcc="$CC" am_compiler_list=
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12732 $as_echo_n "checking dependency style of $depcc... " >&6; }
12733 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12734 $as_echo_n "(cached) " >&6
12736 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12737 # We make a subdir and do the tests there. Otherwise we can end up
12738 # making bogus files that we don't know about and never remove. For
12739 # instance it was reported that on HP-UX the gcc test will end up
12740 # making a dummy file named 'D' -- because '-MD' means "put the output
12742 rm -rf conftest.dir
12744 # Copy depcomp to subdir because otherwise we won't find it if we're
12745 # using a relative directory.
12746 cp "$am_depcomp" conftest.dir
12748 # We will build objects and dependencies in a subdirectory because
12749 # it helps to detect inapplicable dependency modes. For instance
12750 # both Tru64's cc and ICC support -MD to output dependencies as a
12751 # side effect of compilation, but ICC will put the dependencies in
12752 # the current directory while Tru64 will put them in the object
12756 am_cv_CC_dependencies_compiler_type=none
12757 if test "$am_compiler_list" = ""; then
12758 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12760 am__universal=false
12761 case " $depcc " in #(
12762 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12765 for depmode in $am_compiler_list; do
12766 # Setup a source with many dependencies, because some compilers
12767 # like to wrap large dependency lists on column 80 (with \), and
12768 # we should not choose a depcomp mode which is confused by this.
12770 # We need to recreate these files for each test, as the compiler may
12771 # overwrite some of them when testing with obscure command lines.
12772 # This happens at least with the AIX C compiler.
12774 for i in 1 2 3 4 5 6; do
12775 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12776 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12777 # Solaris 10 /bin/sh.
12778 echo '/* dummy */' > sub/conftst$i.h
12780 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12782 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12783 # mode. It turns out that the SunPro C++ compiler does not properly
12784 # handle '-M -o', and we need to detect this. Also, some Intel
12785 # versions had trouble with output in subdirs.
12786 am__obj=sub/conftest.${OBJEXT-o}
12787 am__minus_obj="-o $am__obj"
12790 # This depmode causes a compiler race in universal mode.
12791 test "$am__universal" = false || continue
12794 # After this tag, mechanisms are not by side-effect, so they'll
12795 # only be used when explicitly requested.
12796 if test "x$enable_dependency_tracking" = xyes; then
12802 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12803 # This compiler won't grok '-c -o', but also, the minuso test has
12804 # not run yet. These depmodes are late enough in the game, and
12805 # so weak that their functioning should not be impacted.
12806 am__obj=conftest.${OBJEXT-o}
12811 if depmode=$depmode \
12812 source=sub/conftest.c object=$am__obj \
12813 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12814 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12815 >/dev/null 2>conftest.err &&
12816 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12817 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12818 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12819 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12820 # icc doesn't choke on unknown options, it will just issue warnings
12821 # or remarks (even with -Werror). So we grep stderr for any message
12822 # that says an option was ignored or not supported.
12823 # When given -MP, icc 7.0 and 7.1 complain thusly:
12824 # icc: Command line warning: ignoring option '-M'; no argument required
12825 # The diagnosis changed in icc 8.0:
12826 # icc: Command line remark: option '-MP' not supported
12827 if (grep 'ignoring option' conftest.err ||
12828 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12829 am_cv_CC_dependencies_compiler_type=$depmode
12836 rm -rf conftest.dir
12838 am_cv_CC_dependencies_compiler_type=none
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12843 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12844 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12847 test "x$enable_dependency_tracking" != xno \
12848 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12849 am__fastdepCC_TRUE=
12850 am__fastdepCC_FALSE='#'
12852 am__fastdepCC_TRUE='#'
12853 am__fastdepCC_FALSE=
12858 # Extract the first word of "valac", so it can be a program name with args.
12859 set dummy valac; ac_word=$2
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12861 $as_echo_n "checking for $ac_word... " >&6; }
12862 if ${ac_cv_path_VALAC+:} false; then :
12863 $as_echo_n "(cached) " >&6
12867 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
12870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12871 for as_dir in $PATH
12874 test -z "$as_dir" && as_dir=.
12875 for ac_exec_ext in '' $ac_executable_extensions; do
12876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12877 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
12878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12885 test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
12889 VALAC=$ac_cv_path_VALAC
12890 if test -n "$VALAC"; then
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
12892 $as_echo "$VALAC" >&6; }
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12895 $as_echo "no" >&6; }
12899 if test "$VALAC" != valac && test -n "0.9"; then :
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.9" >&5
12901 $as_echo_n "checking whether $VALAC is at least version 0.9... " >&6; }
12902 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
12904 as_arg_v2="$am__vala_version"
12905 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12909 $as_echo "yes" >&6; } ;; #(
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12912 $as_echo "yes" >&6; } ;; #(
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12915 $as_echo "no" >&6; }
12921 if test "$VALAC" = valac; then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
12923 $as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
12925 $as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
12938 SERVER_IPC_MODULE="msrpc-glib2-1.0"
12939 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12943 $as_echo_n "checking for GTK... " >&6; }
12945 if test -n "$GTK_CFLAGS"; then
12946 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12947 elif test -n "$PKG_CONFIG"; then
12948 if test -n "$PKG_CONFIG" && \
12949 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12950 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12953 test $ac_status = 0; }; then
12954 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12955 test "x$?" != "x0" && pkg_failed=yes
12962 if test -n "$GTK_LIBS"; then
12963 pkg_cv_GTK_LIBS="$GTK_LIBS"
12964 elif test -n "$PKG_CONFIG"; then
12965 if test -n "$PKG_CONFIG" && \
12966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12967 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12970 test $ac_status = 0; }; then
12971 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12972 test "x$?" != "x0" && pkg_failed=yes
12982 if test $pkg_failed = yes; then
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12984 $as_echo "no" >&6; }
12986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12987 _pkg_short_errors_supported=yes
12989 _pkg_short_errors_supported=no
12991 if test $_pkg_short_errors_supported = yes; then
12992 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12994 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12996 # Put the nasty error message in config.log where it belongs
12997 echo "$GTK_PKG_ERRORS" >&5
12999 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13003 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13004 installed software in a non-standard prefix.
13006 Alternatively, you may set the environment variables GTK_CFLAGS
13007 and GTK_LIBS to avoid the need to call pkg-config.
13008 See the pkg-config man page for more details." "$LINENO" 5
13009 elif test $pkg_failed = untried; then
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13011 $as_echo "no" >&6; }
13012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13014 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13015 is in your PATH or set the PKG_CONFIG environment variable to the full
13016 path to pkg-config.
13018 Alternatively, you may set the environment variables GTK_CFLAGS
13019 and GTK_LIBS to avoid the need to call pkg-config.
13020 See the pkg-config man page for more details.
13022 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13023 See \`config.log' for more details" "$LINENO" 5; }
13025 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13026 GTK_LIBS=$pkg_cv_GTK_LIBS
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13028 $as_echo "yes" >&6; }
13029 GTK_VERSION="gtk+-2.0"
13039 # We require dbus-glib for the client library even if we are using GDBus
13040 # in the server. The reason we can't always use dbus-glib in the server is
13041 # because Vala drops support for it, but as it ships with DBus there is very
13042 # little danger of it being dropped by distros any time soon.
13043 CLIENT_IPC_MODULE="dbus-glib-1"
13044 SERVER_IPC_MODULE="dbus-glib-1"
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
13049 $as_echo_n "checking for MAC... " >&6; }
13051 if test -n "$MAC_CFLAGS"; then
13052 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
13053 elif test -n "$PKG_CONFIG"; then
13054 if test -n "$PKG_CONFIG" && \
13055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13057 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13061 test $ac_status = 0; }; then
13062 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
13064 test "x$?" != "x0" && pkg_failed=yes
13071 if test -n "$MAC_LIBS"; then
13072 pkg_cv_MAC_LIBS="$MAC_LIBS"
13073 elif test -n "$PKG_CONFIG"; then
13074 if test -n "$PKG_CONFIG" && \
13075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13077 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13081 test $ac_status = 0; }; then
13082 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
13084 test "x$?" != "x0" && pkg_failed=yes
13094 if test $pkg_failed = yes; then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13096 $as_echo "no" >&6; }
13098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13099 _pkg_short_errors_supported=yes
13101 _pkg_short_errors_supported=no
13103 if test $_pkg_short_errors_supported = yes; then
13104 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13107 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13110 # Put the nasty error message in config.log where it belongs
13111 echo "$MAC_PKG_ERRORS" >&5
13113 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
13118 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13119 installed software in a non-standard prefix.
13121 Alternatively, you may set the environment variables MAC_CFLAGS
13122 and MAC_LIBS to avoid the need to call pkg-config.
13123 See the pkg-config man page for more details." "$LINENO" 5
13124 elif test $pkg_failed = untried; then
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13126 $as_echo "no" >&6; }
13127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13129 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13130 is in your PATH or set the PKG_CONFIG environment variable to the full
13131 path to pkg-config.
13133 Alternatively, you may set the environment variables MAC_CFLAGS
13134 and MAC_LIBS to avoid the need to call pkg-config.
13135 See the pkg-config man page for more details.
13137 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13138 See \`config.log' for more details" "$LINENO" 5; }
13140 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
13141 MAC_LIBS=$pkg_cv_MAC_LIBS
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13143 $as_echo "yes" >&6; }
13147 # TODO: Move to GTK+-3
13148 # [gtk+-3.0 >= 2.0],
13149 # [GTK_VERSION="gtk+-3.0"]
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13153 $as_echo_n "checking for GTK... " >&6; }
13155 if test -n "$GTK_CFLAGS"; then
13156 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13157 elif test -n "$PKG_CONFIG"; then
13158 if test -n "$PKG_CONFIG" && \
13159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13160 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13163 test $ac_status = 0; }; then
13164 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13165 test "x$?" != "x0" && pkg_failed=yes
13172 if test -n "$GTK_LIBS"; then
13173 pkg_cv_GTK_LIBS="$GTK_LIBS"
13174 elif test -n "$PKG_CONFIG"; then
13175 if test -n "$PKG_CONFIG" && \
13176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13177 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13180 test $ac_status = 0; }; then
13181 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13182 test "x$?" != "x0" && pkg_failed=yes
13192 if test $pkg_failed = yes; then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13194 $as_echo "no" >&6; }
13196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13197 _pkg_short_errors_supported=yes
13199 _pkg_short_errors_supported=no
13201 if test $_pkg_short_errors_supported = yes; then
13202 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13204 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13206 # Put the nasty error message in config.log where it belongs
13207 echo "$GTK_PKG_ERRORS" >&5
13209 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13213 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13214 installed software in a non-standard prefix.
13216 Alternatively, you may set the environment variables GTK_CFLAGS
13217 and GTK_LIBS to avoid the need to call pkg-config.
13218 See the pkg-config man page for more details." "$LINENO" 5
13219 elif test $pkg_failed = untried; then
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13221 $as_echo "no" >&6; }
13222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13224 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13225 is in your PATH or set the PKG_CONFIG environment variable to the full
13226 path to pkg-config.
13228 Alternatively, you may set the environment variables GTK_CFLAGS
13229 and GTK_LIBS to avoid the need to call pkg-config.
13230 See the pkg-config man page for more details.
13232 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13233 See \`config.log' for more details" "$LINENO" 5; }
13235 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13236 GTK_LIBS=$pkg_cv_GTK_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13238 $as_echo "yes" >&6; }
13239 GTK_VERSION="gtk+-2.0"
13249 # We require dbus-glib for the client library even if we are using GDBus
13250 # in the server. The reason we can't always use dbus-glib in the server is
13251 # because Vala drops support for it, but as it ships with DBus there is very
13252 # little danger of it being dropped by distros any time soon.
13253 CLIENT_IPC_MODULE="dbus-glib-1"
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
13257 $as_echo_n "checking for GDBUS... " >&6; }
13259 if test -n "$GDBUS_CFLAGS"; then
13260 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
13261 elif test -n "$PKG_CONFIG"; then
13262 if test -n "$PKG_CONFIG" && \
13263 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13264 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 test $ac_status = 0; }; then
13268 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
13269 test "x$?" != "x0" && pkg_failed=yes
13276 if test -n "$GDBUS_LIBS"; then
13277 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
13278 elif test -n "$PKG_CONFIG"; then
13279 if test -n "$PKG_CONFIG" && \
13280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13281 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13284 test $ac_status = 0; }; then
13285 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
13286 test "x$?" != "x0" && pkg_failed=yes
13296 if test $pkg_failed = yes; then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13298 $as_echo "no" >&6; }
13300 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13301 _pkg_short_errors_supported=yes
13303 _pkg_short_errors_supported=no
13305 if test $_pkg_short_errors_supported = yes; then
13306 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13308 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13310 # Put the nasty error message in config.log where it belongs
13311 echo "$GDBUS_PKG_ERRORS" >&5
13313 SERVER_IPC_MODULE="dbus-glib-1"
13315 elif test $pkg_failed = untried; then
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13317 $as_echo "no" >&6; }
13318 SERVER_IPC_MODULE="dbus-glib-1"
13321 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
13322 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13324 $as_echo "yes" >&6; }
13325 SERVER_IPC_MODULE="gio-2.0"
13327 # TODO: Move to GTK+-3
13328 # [gtk+-3.0 >= 2.0],
13329 # [GTK_VERSION="gtk+-3.0"]
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13333 $as_echo_n "checking for GTK... " >&6; }
13335 if test -n "$GTK_CFLAGS"; then
13336 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13337 elif test -n "$PKG_CONFIG"; then
13338 if test -n "$PKG_CONFIG" && \
13339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13340 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13343 test $ac_status = 0; }; then
13344 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13345 test "x$?" != "x0" && pkg_failed=yes
13352 if test -n "$GTK_LIBS"; then
13353 pkg_cv_GTK_LIBS="$GTK_LIBS"
13354 elif test -n "$PKG_CONFIG"; then
13355 if test -n "$PKG_CONFIG" && \
13356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13357 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13360 test $ac_status = 0; }; then
13361 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13362 test "x$?" != "x0" && pkg_failed=yes
13372 if test $pkg_failed = yes; then
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13374 $as_echo "no" >&6; }
13376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13377 _pkg_short_errors_supported=yes
13379 _pkg_short_errors_supported=no
13381 if test $_pkg_short_errors_supported = yes; then
13382 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13384 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13386 # Put the nasty error message in config.log where it belongs
13387 echo "$GTK_PKG_ERRORS" >&5
13389 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13393 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13394 installed software in a non-standard prefix.
13396 Alternatively, you may set the environment variables GTK_CFLAGS
13397 and GTK_LIBS to avoid the need to call pkg-config.
13398 See the pkg-config man page for more details." "$LINENO" 5
13399 elif test $pkg_failed = untried; then
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13401 $as_echo "no" >&6; }
13402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13404 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13405 is in your PATH or set the PKG_CONFIG environment variable to the full
13406 path to pkg-config.
13408 Alternatively, you may set the environment variables GTK_CFLAGS
13409 and GTK_LIBS to avoid the need to call pkg-config.
13410 See the pkg-config man page for more details.
13412 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13413 See \`config.log' for more details" "$LINENO" 5; }
13415 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13416 GTK_LIBS=$pkg_cv_GTK_LIBS
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13418 $as_echo "yes" >&6; }
13419 GTK_VERSION="gtk+-2.0"
13426 if test "$linux" = "yes"; then
13434 if test "$win32" = "yes"; then
13442 if test "$macos" = "yes"; then
13451 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13453 IPC_MSRPC_FALSE='#'
13459 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
13467 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13468 IPC_DBUS_GLIB_TRUE=
13469 IPC_DBUS_GLIB_FALSE='#'
13471 IPC_DBUS_GLIB_TRUE='#'
13472 IPC_DBUS_GLIB_FALSE=
13475 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
13477 IPC_GDBUS_FALSE='#'
13484 vala_version=`$VALAC --version | sed 's/Vala *//'`
13485 as_arg_v1="$vala_version"
13487 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13490 gio_vapi_uses_arrays="no" ;; #(
13492 gio_vapi_uses_arrays="yes" ;; #(
13494 gio_vapi_uses_arrays="yes" ;; #(
13498 if test "$gio_vapi_uses_arrays" = "yes"; then
13499 GIO_VAPI_USES_ARRAYS_TRUE=
13500 GIO_VAPI_USES_ARRAYS_FALSE='#'
13502 GIO_VAPI_USES_ARRAYS_TRUE='#'
13503 GIO_VAPI_USES_ARRAYS_FALSE=
13506 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
13508 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
13510 as_arg_v2="$vala_version"
13511 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13514 vala_supports_dbus_glib="no" ;; #(
13516 vala_supports_dbus_glib="no" ;; #(
13518 vala_supports_dbus_glib="yes" ;; #(
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
13524 $as_echo "$vala_supports_dbus_glib" >&6; }
13525 if test "$vala_supports_dbus_glib" = "no"; then
13527 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
13528 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
13532 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13535 pkg_config_args="msrpc-mingw-1.0"
13544 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13545 if test -n "$ac_tool_prefix"; then
13546 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13547 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13549 $as_echo_n "checking for $ac_word... " >&6; }
13550 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13551 $as_echo_n "(cached) " >&6
13553 case $PKG_CONFIG in
13555 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13559 for as_dir in $PATH
13562 test -z "$as_dir" && as_dir=.
13563 for ac_exec_ext in '' $ac_executable_extensions; do
13564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13565 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13576 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13577 if test -n "$PKG_CONFIG"; then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13579 $as_echo "$PKG_CONFIG" >&6; }
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13582 $as_echo "no" >&6; }
13587 if test -z "$ac_cv_path_PKG_CONFIG"; then
13588 ac_pt_PKG_CONFIG=$PKG_CONFIG
13589 # Extract the first word of "pkg-config", so it can be a program name with args.
13590 set dummy pkg-config; ac_word=$2
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13592 $as_echo_n "checking for $ac_word... " >&6; }
13593 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13594 $as_echo_n "(cached) " >&6
13596 case $ac_pt_PKG_CONFIG in
13598 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13602 for as_dir in $PATH
13605 test -z "$as_dir" && as_dir=.
13606 for ac_exec_ext in '' $ac_executable_extensions; do
13607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13608 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13619 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13620 if test -n "$ac_pt_PKG_CONFIG"; then
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13622 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13625 $as_echo "no" >&6; }
13628 if test "x$ac_pt_PKG_CONFIG" = x; then
13631 case $cross_compiling:$ac_tool_warned in
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13635 ac_tool_warned=yes ;;
13637 PKG_CONFIG=$ac_pt_PKG_CONFIG
13640 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13644 if test -n "$PKG_CONFIG"; then
13645 _pkg_min_version=0.16
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13647 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13648 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13650 $as_echo "yes" >&6; }
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13653 $as_echo "no" >&6; }
13660 if test "x$PKG_CONFIG" = x ; then
13665 min_msrpc_mingw_version=0.1.0
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
13667 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
13669 if test x$PKG_CONFIG != xno ; then
13670 if $PKG_CONFIG --uninstalled $pkg_config_args; then
13671 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
13674 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
13681 if test x"$no_msrpc" = x ; then
13682 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
13683 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13684 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13687 if test "x$no_msrpc" = x ; then
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13689 $as_echo "yes" >&6; }
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13693 $as_echo "no" >&6; }
13694 if test "$PKG_CONFIG" = "no" ; then
13695 echo "*** A new enough version of pkg-config was not found."
13696 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13704 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
13711 # Extract the first word of "midl", so it can be a program name with args.
13712 set dummy midl; ac_word=$2
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13714 $as_echo_n "checking for $ac_word... " >&6; }
13715 if ${ac_cv_path_MIDL+:} false; then :
13716 $as_echo_n "(cached) " >&6
13720 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
13723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13724 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
13727 test -z "$as_dir" && as_dir=.
13728 for ac_exec_ext in '' $ac_executable_extensions; do
13729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13730 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
13731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13738 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
13742 MIDL=$ac_cv_path_MIDL
13743 if test -n "$MIDL"; then
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
13745 $as_echo "$MIDL" >&6; }
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13748 $as_echo "no" >&6; }
13752 if test "$MIDL" = "no"; then
13754 *** Could not find the Microsoft interface compiler MIDL.EXE.
13755 *** This program is available as part of the MS Windows SDK, in
13756 *** the Win32 Development Tools package. If it is not in the PATH
13757 *** or its default location you may set the 'MIDL' environment
13758 *** variable to point to its location and rerun configure." "$LINENO" 5
13762 if test "$win32" = "yes"; then
13763 # Other Windows-specific tools
13765 # LIB.EXE from MSVC to build an MSVC-compatible import library.
13766 # Extract the first word of "lib", so it can be a program name with args.
13767 set dummy lib; ac_word=$2
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13769 $as_echo_n "checking for $ac_word... " >&6; }
13770 if ${ac_cv_path_MSVC_LIB+:} false; then :
13771 $as_echo_n "(cached) " >&6
13775 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
13778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13779 for as_dir in /c/Program\ Files/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR$PATH
13782 test -z "$as_dir" && as_dir=.
13783 for ac_exec_ext in '' $ac_executable_extensions; do
13784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13785 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
13786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13793 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
13797 MSVC_LIB=$ac_cv_path_MSVC_LIB
13798 if test -n "$MSVC_LIB"; then
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
13800 $as_echo "$MSVC_LIB" >&6; }
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13803 $as_echo "no" >&6; }
13808 if test "$MSVC_LIB" = "no"; then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13810 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13811 *** to build the Visual C import library for libmoonshot. Use the
13812 *** MSVC_LIB environment variable to pass its location if this is
13813 *** outside the PATH." >&5
13814 $as_echo "$as_me: WARNING:
13815 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13816 *** to build the Visual C import library for libmoonshot. Use the
13817 *** MSVC_LIB environment variable to pass its location if this is
13818 *** outside the PATH." >&2;}
13822 # ImageMagick for the 'make icons' target. Note that
13823 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
13824 # Extract the first word of "convert", so it can be a program name with args.
13825 set dummy convert; ac_word=$2
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13827 $as_echo_n "checking for $ac_word... " >&6; }
13828 if ${ac_cv_path_IMAGEMAGICK_CONVERT+:} false; then :
13829 $as_echo_n "(cached) " >&6
13831 case $IMAGEMAGICK_CONVERT in
13833 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
13836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13837 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
13840 test -z "$as_dir" && as_dir=.
13841 for ac_exec_ext in '' $ac_executable_extensions; do
13842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13843 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
13844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13851 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
13855 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
13856 if test -n "$IMAGEMAGICK_CONVERT"; then
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
13858 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13861 $as_echo "no" >&6; }
13866 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13868 *** Could not find ImageMagick convert.exe. This is required for the
13869 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13870 *** variable to pass its location if this is outside the PATH." >&5
13871 $as_echo "$as_me: WARNING:
13872 *** Could not find ImageMagick convert.exe. This is required for the
13873 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13874 *** variable to pass its location if this is outside the PATH." >&2;}
13878 # Windows Installer XML tools
13879 # Extract the first word of "candle", so it can be a program name with args.
13880 set dummy candle; ac_word=$2
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13882 $as_echo_n "checking for $ac_word... " >&6; }
13883 if ${ac_cv_path_WIX_CANDLE+:} false; then :
13884 $as_echo_n "(cached) " >&6
13886 case $WIX_CANDLE in
13888 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
13891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13892 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
13895 test -z "$as_dir" && as_dir=.
13896 for ac_exec_ext in '' $ac_executable_extensions; do
13897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13898 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
13899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13906 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
13910 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
13911 if test -n "$WIX_CANDLE"; then
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
13913 $as_echo "$WIX_CANDLE" >&6; }
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13916 $as_echo "no" >&6; }
13920 # Extract the first word of "light", so it can be a program name with args.
13921 set dummy light; ac_word=$2
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13923 $as_echo_n "checking for $ac_word... " >&6; }
13924 if ${ac_cv_path_WIX_LIGHT+:} false; then :
13925 $as_echo_n "(cached) " >&6
13929 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
13932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13933 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
13936 test -z "$as_dir" && as_dir=.
13937 for ac_exec_ext in '' $ac_executable_extensions; do
13938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13939 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
13940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13947 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
13951 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
13952 if test -n "$WIX_LIGHT"; then
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
13954 $as_echo "$WIX_LIGHT" >&6; }
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13957 $as_echo "no" >&6; }
13962 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13964 *** Could not find the Windows Installer XML tools. These are required
13965 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13966 *** environment variables to pass their locations if they are outside
13968 $as_echo "$as_me: WARNING:
13969 *** Could not find the Windows Installer XML tools. These are required
13970 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13971 *** environment variables to pass their locations if they are outside
13972 *** the PATH." >&2;}
13976 if test "$linux" = "yes"; then
13977 # Extract the first word of "update-mime-database", so it can be a program name with args.
13978 set dummy update-mime-database; ac_word=$2
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13980 $as_echo_n "checking for $ac_word... " >&6; }
13981 if ${ac_cv_path_UPDATE_MIME_DATABASE+:} false; then :
13982 $as_echo_n "(cached) " >&6
13984 case $UPDATE_MIME_DATABASE in
13986 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
13989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13990 for as_dir in $PATH
13993 test -z "$as_dir" && as_dir=.
13994 for ac_exec_ext in '' $ac_executable_extensions; do
13995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13996 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14004 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
14008 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
14009 if test -n "$UPDATE_MIME_DATABASE"; then
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
14011 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14014 $as_echo "no" >&6; }
14018 if test "$UPDATE_MIME_DATABASE" = "no"; then
14020 *** Could not find the Freedesktop.org mime database update tool.
14021 *** Web provisioning files could not be automatically installed." "$LINENO" 5
14023 # Extract the first word of "update-desktop-database", so it can be a program name with args.
14024 set dummy update-desktop-database; ac_word=$2
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14026 $as_echo_n "checking for $ac_word... " >&6; }
14027 if ${ac_cv_path_UPDATE_DESKTOP_DATABASE+:} false; then :
14028 $as_echo_n "(cached) " >&6
14030 case $UPDATE_DESKTOP_DATABASE in
14032 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
14035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14036 for as_dir in $PATH
14039 test -z "$as_dir" && as_dir=.
14040 for ac_exec_ext in '' $ac_executable_extensions; do
14041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14042 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14050 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
14054 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
14055 if test -n "$UPDATE_DESKTOP_DATABASE"; then
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
14057 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14060 $as_echo "no" >&6; }
14064 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
14066 *** Could not find the Freedesktop.org desktop entry database update
14067 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
14071 MOONSHOT_APP="$bindir/moonshot"
14072 MOONSHOT_WEBP="$bindir/moonshot-webp"
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
14088 $as_echo_n "checking for moonshot... " >&6; }
14090 if test -n "$moonshot_CFLAGS"; then
14091 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
14092 elif test -n "$PKG_CONFIG"; then
14093 if test -n "$PKG_CONFIG" && \
14094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14097 gobject-2.0 >= 2.22
14100 \$SERVER_IPC_MODULE
14103 ($PKG_CONFIG --exists --print-errors "
14106 gobject-2.0 >= 2.22
14113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14114 test $ac_status = 0; }; then
14115 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
14118 gobject-2.0 >= 2.22
14124 test "x$?" != "x0" && pkg_failed=yes
14131 if test -n "$moonshot_LIBS"; then
14132 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
14133 elif test -n "$PKG_CONFIG"; then
14134 if test -n "$PKG_CONFIG" && \
14135 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14138 gobject-2.0 >= 2.22
14141 \$SERVER_IPC_MODULE
14144 ($PKG_CONFIG --exists --print-errors "
14147 gobject-2.0 >= 2.22
14154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14155 test $ac_status = 0; }; then
14156 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
14159 gobject-2.0 >= 2.22
14165 test "x$?" != "x0" && pkg_failed=yes
14175 if test $pkg_failed = yes; then
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14177 $as_echo "no" >&6; }
14179 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14180 _pkg_short_errors_supported=yes
14182 _pkg_short_errors_supported=no
14184 if test $_pkg_short_errors_supported = yes; then
14185 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14188 gobject-2.0 >= 2.22
14195 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14198 gobject-2.0 >= 2.22
14205 # Put the nasty error message in config.log where it belongs
14206 echo "$moonshot_PKG_ERRORS" >&5
14208 as_fn_error $? "Package requirements (
14211 gobject-2.0 >= 2.22
14218 $moonshot_PKG_ERRORS
14220 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14221 installed software in a non-standard prefix.
14223 Alternatively, you may set the environment variables moonshot_CFLAGS
14224 and moonshot_LIBS to avoid the need to call pkg-config.
14225 See the pkg-config man page for more details." "$LINENO" 5
14226 elif test $pkg_failed = untried; then
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14228 $as_echo "no" >&6; }
14229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14231 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14232 is in your PATH or set the PKG_CONFIG environment variable to the full
14233 path to pkg-config.
14235 Alternatively, you may set the environment variables moonshot_CFLAGS
14236 and moonshot_LIBS to avoid the need to call pkg-config.
14237 See the pkg-config man page for more details.
14239 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14240 See \`config.log' for more details" "$LINENO" 5; }
14242 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
14243 moonshot_LIBS=$pkg_cv_moonshot_LIBS
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14245 $as_echo "yes" >&6; }
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
14252 $as_echo_n "checking for libmoonshot... " >&6; }
14254 if test -n "$libmoonshot_CFLAGS"; then
14255 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
14256 elif test -n "$PKG_CONFIG"; then
14257 if test -n "$PKG_CONFIG" && \
14258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14259 \$CLIENT_IPC_MODULE
14261 ($PKG_CONFIG --exists --print-errors "
14265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14266 test $ac_status = 0; }; then
14267 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
14270 test "x$?" != "x0" && pkg_failed=yes
14277 if test -n "$libmoonshot_LIBS"; then
14278 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
14279 elif test -n "$PKG_CONFIG"; then
14280 if test -n "$PKG_CONFIG" && \
14281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14282 \$CLIENT_IPC_MODULE
14284 ($PKG_CONFIG --exists --print-errors "
14288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14289 test $ac_status = 0; }; then
14290 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
14293 test "x$?" != "x0" && pkg_failed=yes
14303 if test $pkg_failed = yes; then
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14305 $as_echo "no" >&6; }
14307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14308 _pkg_short_errors_supported=yes
14310 _pkg_short_errors_supported=no
14312 if test $_pkg_short_errors_supported = yes; then
14313 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14317 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14321 # Put the nasty error message in config.log where it belongs
14322 echo "$libmoonshot_PKG_ERRORS" >&5
14324 as_fn_error $? "Package requirements (
14328 $libmoonshot_PKG_ERRORS
14330 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14331 installed software in a non-standard prefix.
14333 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14334 and libmoonshot_LIBS to avoid the need to call pkg-config.
14335 See the pkg-config man page for more details." "$LINENO" 5
14336 elif test $pkg_failed = untried; then
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14338 $as_echo "no" >&6; }
14339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14341 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14342 is in your PATH or set the PKG_CONFIG environment variable to the full
14343 path to pkg-config.
14345 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14346 and libmoonshot_LIBS to avoid the need to call pkg-config.
14347 See the pkg-config man page for more details.
14349 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14350 See \`config.log' for more details" "$LINENO" 5; }
14352 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
14353 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14355 $as_echo "yes" >&6; }
14363 [\\/$]* | ?:[\\/]*) ;;
14364 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14369 $as_echo_n "checking whether NLS is requested... " >&6; }
14370 # Check whether --enable-nls was given.
14371 if test "${enable_nls+set}" = set; then :
14372 enableval=$enable_nls; USE_NLS=$enableval
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14378 $as_echo "$USE_NLS" >&6; }
14383 GETTEXT_MACRO_VERSION=0.18
14388 # Prepare PATH_SEPARATOR.
14389 # The user is always right.
14390 if test "${PATH_SEPARATOR+set}" != set; then
14391 echo "#! /bin/sh" >conf$$.sh
14392 echo "exit 0" >>conf$$.sh
14394 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14402 # Find out how to test for executable files. Don't use a zero-byte file,
14403 # as systems may use methods other than mode bits to determine executability.
14404 cat >conf$$.file <<_ASEOF
14408 chmod +x conf$$.file
14409 if test -x conf$$.file >/dev/null 2>&1; then
14410 ac_executable_p="test -x"
14412 ac_executable_p="test -f"
14416 # Extract the first word of "msgfmt", so it can be a program name with args.
14417 set dummy msgfmt; ac_word=$2
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14419 $as_echo_n "checking for $ac_word... " >&6; }
14420 if ${ac_cv_path_MSGFMT+:} false; then :
14421 $as_echo_n "(cached) " >&6
14425 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14428 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14429 for ac_dir in $PATH; do
14431 test -z "$ac_dir" && ac_dir=.
14432 for ac_exec_ext in '' $ac_executable_extensions; do
14433 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14434 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14435 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14436 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14437 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14444 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14448 MSGFMT="$ac_cv_path_MSGFMT"
14449 if test "$MSGFMT" != ":"; then
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14451 $as_echo "$MSGFMT" >&6; }
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14454 $as_echo "no" >&6; }
14457 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14458 set dummy gmsgfmt; ac_word=$2
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14460 $as_echo_n "checking for $ac_word... " >&6; }
14461 if ${ac_cv_path_GMSGFMT+:} false; then :
14462 $as_echo_n "(cached) " >&6
14466 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14470 for as_dir in $PATH
14473 test -z "$as_dir" && as_dir=.
14474 for ac_exec_ext in '' $ac_executable_extensions; do
14475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14476 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14484 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14488 GMSGFMT=$ac_cv_path_GMSGFMT
14489 if test -n "$GMSGFMT"; then
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14491 $as_echo "$GMSGFMT" >&6; }
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14494 $as_echo "no" >&6; }
14499 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14500 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14501 *) MSGFMT_015=$MSGFMT ;;
14504 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14505 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14506 *) GMSGFMT_015=$GMSGFMT ;;
14511 # Prepare PATH_SEPARATOR.
14512 # The user is always right.
14513 if test "${PATH_SEPARATOR+set}" != set; then
14514 echo "#! /bin/sh" >conf$$.sh
14515 echo "exit 0" >>conf$$.sh
14517 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14525 # Find out how to test for executable files. Don't use a zero-byte file,
14526 # as systems may use methods other than mode bits to determine executability.
14527 cat >conf$$.file <<_ASEOF
14531 chmod +x conf$$.file
14532 if test -x conf$$.file >/dev/null 2>&1; then
14533 ac_executable_p="test -x"
14535 ac_executable_p="test -f"
14539 # Extract the first word of "xgettext", so it can be a program name with args.
14540 set dummy xgettext; ac_word=$2
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14542 $as_echo_n "checking for $ac_word... " >&6; }
14543 if ${ac_cv_path_XGETTEXT+:} false; then :
14544 $as_echo_n "(cached) " >&6
14546 case "$XGETTEXT" in
14548 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14551 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14552 for ac_dir in $PATH; do
14554 test -z "$ac_dir" && ac_dir=.
14555 for ac_exec_ext in '' $ac_executable_extensions; do
14556 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14557 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14558 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14559 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14560 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14567 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14571 XGETTEXT="$ac_cv_path_XGETTEXT"
14572 if test "$XGETTEXT" != ":"; then
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14574 $as_echo "$XGETTEXT" >&6; }
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14577 $as_echo "no" >&6; }
14582 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14583 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14584 *) XGETTEXT_015=$XGETTEXT ;;
14589 # Prepare PATH_SEPARATOR.
14590 # The user is always right.
14591 if test "${PATH_SEPARATOR+set}" != set; then
14592 echo "#! /bin/sh" >conf$$.sh
14593 echo "exit 0" >>conf$$.sh
14595 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14603 # Find out how to test for executable files. Don't use a zero-byte file,
14604 # as systems may use methods other than mode bits to determine executability.
14605 cat >conf$$.file <<_ASEOF
14609 chmod +x conf$$.file
14610 if test -x conf$$.file >/dev/null 2>&1; then
14611 ac_executable_p="test -x"
14613 ac_executable_p="test -f"
14617 # Extract the first word of "msgmerge", so it can be a program name with args.
14618 set dummy msgmerge; ac_word=$2
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14620 $as_echo_n "checking for $ac_word... " >&6; }
14621 if ${ac_cv_path_MSGMERGE+:} false; then :
14622 $as_echo_n "(cached) " >&6
14624 case "$MSGMERGE" in
14626 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14629 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14630 for ac_dir in $PATH; do
14632 test -z "$ac_dir" && ac_dir=.
14633 for ac_exec_ext in '' $ac_executable_extensions; do
14634 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14635 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14636 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14637 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14644 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14648 MSGMERGE="$ac_cv_path_MSGMERGE"
14649 if test "$MSGMERGE" != ":"; then
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14651 $as_echo "$MSGMERGE" >&6; }
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14654 $as_echo "no" >&6; }
14658 test -n "$localedir" || localedir='${datadir}/locale'
14661 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14664 ac_config_commands="$ac_config_commands po-directories"
14668 if test "X$prefix" = "XNONE"; then
14669 acl_final_prefix="$ac_default_prefix"
14671 acl_final_prefix="$prefix"
14673 if test "X$exec_prefix" = "XNONE"; then
14674 acl_final_exec_prefix='${prefix}'
14676 acl_final_exec_prefix="$exec_prefix"
14678 acl_save_prefix="$prefix"
14679 prefix="$acl_final_prefix"
14680 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14681 prefix="$acl_save_prefix"
14684 # Check whether --with-gnu-ld was given.
14685 if test "${with_gnu_ld+set}" = set; then :
14686 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14691 # Prepare PATH_SEPARATOR.
14692 # The user is always right.
14693 if test "${PATH_SEPARATOR+set}" != set; then
14694 echo "#! /bin/sh" >conf$$.sh
14695 echo "exit 0" >>conf$$.sh
14697 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14705 if test "$GCC" = yes; then
14706 # Check if gcc -print-prog-name=ld gives a path.
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14708 $as_echo_n "checking for ld used by GCC... " >&6; }
14711 # gcc leaves a trailing carriage return which upsets mingw
14712 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14714 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14717 # Accept absolute paths.
14718 [\\/]* | [A-Za-z]:[\\/]*)
14719 re_direlt='/[^/][^/]*/\.\./'
14720 # Canonicalize the path of ld
14721 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14722 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14723 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14725 test -z "$LD" && LD="$ac_prog"
14728 # If it fails, then pretend we aren't using GCC.
14732 # If it is relative, then search for the first ld in PATH.
14733 with_gnu_ld=unknown
14736 elif test "$with_gnu_ld" = yes; then
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14738 $as_echo_n "checking for GNU ld... " >&6; }
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14741 $as_echo_n "checking for non-GNU ld... " >&6; }
14743 if ${acl_cv_path_LD+:} false; then :
14744 $as_echo_n "(cached) " >&6
14746 if test -z "$LD"; then
14747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14748 for ac_dir in $PATH; do
14749 test -z "$ac_dir" && ac_dir=.
14750 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14751 acl_cv_path_LD="$ac_dir/$ac_prog"
14752 # Check to see if the program is GNU ld. I'd rather use --version,
14753 # but apparently some GNU ld's only accept -v.
14754 # Break only if it was the GNU/non-GNU ld that we prefer.
14755 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14756 *GNU* | *'with BFD'*)
14757 test "$with_gnu_ld" != no && break ;;
14759 test "$with_gnu_ld" != yes && break ;;
14765 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14769 LD="$acl_cv_path_LD"
14770 if test -n "$LD"; then
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14772 $as_echo "$LD" >&6; }
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14775 $as_echo "no" >&6; }
14777 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14779 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14780 if ${acl_cv_prog_gnu_ld+:} false; then :
14781 $as_echo_n "(cached) " >&6
14783 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14784 case `$LD -v 2>&1 </dev/null` in
14785 *GNU* | *'with BFD'*)
14786 acl_cv_prog_gnu_ld=yes ;;
14788 acl_cv_prog_gnu_ld=no ;;
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14792 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14793 with_gnu_ld=$acl_cv_prog_gnu_ld
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14799 $as_echo_n "checking for shared library run path origin... " >&6; }
14800 if ${acl_cv_rpath+:} false; then :
14801 $as_echo_n "(cached) " >&6
14804 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14805 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14807 rm -f ./conftest.sh
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14812 $as_echo "$acl_cv_rpath" >&6; }
14814 acl_libext="$acl_cv_libext"
14815 acl_shlibext="$acl_cv_shlibext"
14816 acl_libname_spec="$acl_cv_libname_spec"
14817 acl_library_names_spec="$acl_cv_library_names_spec"
14818 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14819 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14820 acl_hardcode_direct="$acl_cv_hardcode_direct"
14821 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14822 # Check whether --enable-rpath was given.
14823 if test "${enable_rpath+set}" = set; then :
14824 enableval=$enable_rpath; :
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
14837 $as_echo_n "checking for 64-bit host... " >&6; }
14838 if ${gl_cv_solaris_64bit+:} false; then :
14839 $as_echo_n "(cached) " >&6
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14850 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
14851 gl_cv_solaris_64bit=yes
14853 gl_cv_solaris_64bit=no
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
14860 $as_echo "$gl_cv_solaris_64bit" >&6; }
14861 if test $gl_cv_solaris_64bit = yes; then
14862 acl_libdirstem=lib/64
14863 case "$host_cpu" in
14864 sparc*) acl_libdirstem2=lib/sparcv9 ;;
14865 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
14870 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14871 if test -n "$searchpath"; then
14872 acl_save_IFS="${IFS= }"; IFS=":"
14873 for searchdir in $searchpath; do
14874 if test -d "$searchdir"; then
14875 case "$searchdir" in
14876 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14878 # Better ignore directories of this form. They are misleading.
14880 *) searchdir=`cd "$searchdir" && pwd`
14881 case "$searchdir" in
14882 */lib64 ) acl_libdirstem=lib64 ;;
14887 IFS="$acl_save_IFS"
14891 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
14906 acl_save_prefix="$prefix"
14907 prefix="$acl_final_prefix"
14908 acl_save_exec_prefix="$exec_prefix"
14909 exec_prefix="$acl_final_exec_prefix"
14911 eval additional_includedir=\"$includedir\"
14912 eval additional_libdir=\"$libdir\"
14914 exec_prefix="$acl_save_exec_prefix"
14915 prefix="$acl_save_prefix"
14918 # Check whether --with-libiconv-prefix was given.
14919 if test "${with_libiconv_prefix+set}" = set; then :
14920 withval=$with_libiconv_prefix;
14921 if test "X$withval" = "Xno"; then
14924 if test "X$withval" = "X"; then
14926 acl_save_prefix="$prefix"
14927 prefix="$acl_final_prefix"
14928 acl_save_exec_prefix="$exec_prefix"
14929 exec_prefix="$acl_final_exec_prefix"
14931 eval additional_includedir=\"$includedir\"
14932 eval additional_libdir=\"$libdir\"
14934 exec_prefix="$acl_save_exec_prefix"
14935 prefix="$acl_save_prefix"
14938 additional_includedir="$withval/include"
14939 additional_libdir="$withval/$acl_libdirstem"
14940 if test "$acl_libdirstem2" != "$acl_libdirstem" \
14941 && ! test -d "$withval/$acl_libdirstem"; then
14942 additional_libdir="$withval/$acl_libdirstem2"
14956 names_already_handled=
14957 names_next_round='iconv '
14958 while test -n "$names_next_round"; do
14959 names_this_round="$names_next_round"
14961 for name in $names_this_round; do
14963 for n in $names_already_handled; do
14964 if test "$n" = "$name"; then
14965 already_handled=yes
14969 if test -z "$already_handled"; then
14970 names_already_handled="$names_already_handled $name"
14971 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14972 eval value=\"\$HAVE_LIB$uppername\"
14973 if test -n "$value"; then
14974 if test "$value" = yes; then
14975 eval value=\"\$LIB$uppername\"
14976 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14977 eval value=\"\$LTLIB$uppername\"
14978 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14987 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14988 if test -n "$acl_shlibext"; then
14989 shrext=".$acl_shlibext" # typically: shrext=.so
14993 if test $use_additional = yes; then
14994 dir="$additional_libdir"
14995 if test -n "$acl_shlibext"; then
14996 if test -f "$dir/$libname$shrext"; then
14998 found_so="$dir/$libname$shrext"
15000 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15001 ver=`(cd "$dir" && \
15002 for f in "$libname$shrext".*; do echo "$f"; done \
15003 | sed -e "s,^$libname$shrext\\\\.,," \
15004 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15005 | sed 1q ) 2>/dev/null`
15006 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15008 found_so="$dir/$libname$shrext.$ver"
15011 eval library_names=\"$acl_library_names_spec\"
15012 for f in $library_names; do
15013 if test -f "$dir/$f"; then
15022 if test "X$found_dir" = "X"; then
15023 if test -f "$dir/$libname.$acl_libext"; then
15025 found_a="$dir/$libname.$acl_libext"
15028 if test "X$found_dir" != "X"; then
15029 if test -f "$dir/$libname.la"; then
15030 found_la="$dir/$libname.la"
15034 if test "X$found_dir" = "X"; then
15035 for x in $LDFLAGS $LTLIBICONV; do
15037 acl_save_prefix="$prefix"
15038 prefix="$acl_final_prefix"
15039 acl_save_exec_prefix="$exec_prefix"
15040 exec_prefix="$acl_final_exec_prefix"
15042 exec_prefix="$acl_save_exec_prefix"
15043 prefix="$acl_save_prefix"
15047 dir=`echo "X$x" | sed -e 's/^X-L//'`
15048 if test -n "$acl_shlibext"; then
15049 if test -f "$dir/$libname$shrext"; then
15051 found_so="$dir/$libname$shrext"
15053 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15054 ver=`(cd "$dir" && \
15055 for f in "$libname$shrext".*; do echo "$f"; done \
15056 | sed -e "s,^$libname$shrext\\\\.,," \
15057 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15058 | sed 1q ) 2>/dev/null`
15059 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15061 found_so="$dir/$libname$shrext.$ver"
15064 eval library_names=\"$acl_library_names_spec\"
15065 for f in $library_names; do
15066 if test -f "$dir/$f"; then
15075 if test "X$found_dir" = "X"; then
15076 if test -f "$dir/$libname.$acl_libext"; then
15078 found_a="$dir/$libname.$acl_libext"
15081 if test "X$found_dir" != "X"; then
15082 if test -f "$dir/$libname.la"; then
15083 found_la="$dir/$libname.la"
15088 if test "X$found_dir" != "X"; then
15093 if test "X$found_dir" != "X"; then
15094 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15095 if test "X$found_so" != "X"; then
15096 if test "$enable_rpath" = no \
15097 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
15098 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
15099 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15102 for x in $ltrpathdirs; do
15103 if test "X$x" = "X$found_dir"; then
15108 if test -z "$haveit"; then
15109 ltrpathdirs="$ltrpathdirs $found_dir"
15111 if test "$acl_hardcode_direct" = yes; then
15112 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15114 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15115 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15117 for x in $rpathdirs; do
15118 if test "X$x" = "X$found_dir"; then
15123 if test -z "$haveit"; then
15124 rpathdirs="$rpathdirs $found_dir"
15128 for x in $LDFLAGS $LIBICONV; do
15130 acl_save_prefix="$prefix"
15131 prefix="$acl_final_prefix"
15132 acl_save_exec_prefix="$exec_prefix"
15133 exec_prefix="$acl_final_exec_prefix"
15135 exec_prefix="$acl_save_exec_prefix"
15136 prefix="$acl_save_prefix"
15138 if test "X$x" = "X-L$found_dir"; then
15143 if test -z "$haveit"; then
15144 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15146 if test "$acl_hardcode_minus_L" != no; then
15147 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15149 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15155 if test "X$found_a" != "X"; then
15156 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15158 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15161 additional_includedir=
15162 case "$found_dir" in
15163 */$acl_libdirstem | */$acl_libdirstem/)
15164 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15165 if test "$name" = 'iconv'; then
15166 LIBICONV_PREFIX="$basedir"
15168 additional_includedir="$basedir/include"
15170 */$acl_libdirstem2 | */$acl_libdirstem2/)
15171 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15172 if test "$name" = 'iconv'; then
15173 LIBICONV_PREFIX="$basedir"
15175 additional_includedir="$basedir/include"
15178 if test "X$additional_includedir" != "X"; then
15179 if test "X$additional_includedir" != "X/usr/include"; then
15181 if test "X$additional_includedir" = "X/usr/local/include"; then
15182 if test -n "$GCC"; then
15184 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15188 if test -z "$haveit"; then
15189 for x in $CPPFLAGS $INCICONV; do
15191 acl_save_prefix="$prefix"
15192 prefix="$acl_final_prefix"
15193 acl_save_exec_prefix="$exec_prefix"
15194 exec_prefix="$acl_final_exec_prefix"
15196 exec_prefix="$acl_save_exec_prefix"
15197 prefix="$acl_save_prefix"
15199 if test "X$x" = "X-I$additional_includedir"; then
15204 if test -z "$haveit"; then
15205 if test -d "$additional_includedir"; then
15206 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15212 if test -n "$found_la"; then
15213 save_libdir="$libdir"
15214 case "$found_la" in
15215 */* | *\\*) . "$found_la" ;;
15216 *) . "./$found_la" ;;
15218 libdir="$save_libdir"
15219 for dep in $dependency_libs; do
15222 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15223 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15224 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15226 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15227 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15228 if test -n "$GCC"; then
15230 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15234 if test -z "$haveit"; then
15236 for x in $LDFLAGS $LIBICONV; do
15238 acl_save_prefix="$prefix"
15239 prefix="$acl_final_prefix"
15240 acl_save_exec_prefix="$exec_prefix"
15241 exec_prefix="$acl_final_exec_prefix"
15243 exec_prefix="$acl_save_exec_prefix"
15244 prefix="$acl_save_prefix"
15246 if test "X$x" = "X-L$additional_libdir"; then
15251 if test -z "$haveit"; then
15252 if test -d "$additional_libdir"; then
15253 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15257 for x in $LDFLAGS $LTLIBICONV; do
15259 acl_save_prefix="$prefix"
15260 prefix="$acl_final_prefix"
15261 acl_save_exec_prefix="$exec_prefix"
15262 exec_prefix="$acl_final_exec_prefix"
15264 exec_prefix="$acl_save_exec_prefix"
15265 prefix="$acl_save_prefix"
15267 if test "X$x" = "X-L$additional_libdir"; then
15272 if test -z "$haveit"; then
15273 if test -d "$additional_libdir"; then
15274 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15281 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15282 if test "$enable_rpath" != no; then
15284 for x in $rpathdirs; do
15285 if test "X$x" = "X$dir"; then
15290 if test -z "$haveit"; then
15291 rpathdirs="$rpathdirs $dir"
15294 for x in $ltrpathdirs; do
15295 if test "X$x" = "X$dir"; then
15300 if test -z "$haveit"; then
15301 ltrpathdirs="$ltrpathdirs $dir"
15306 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15309 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15312 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15313 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15319 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15320 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15326 if test "X$rpathdirs" != "X"; then
15327 if test -n "$acl_hardcode_libdir_separator"; then
15329 for found_dir in $rpathdirs; do
15330 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15332 acl_save_libdir="$libdir"
15334 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15335 libdir="$acl_save_libdir"
15336 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15338 for found_dir in $rpathdirs; do
15339 acl_save_libdir="$libdir"
15340 libdir="$found_dir"
15341 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15342 libdir="$acl_save_libdir"
15343 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15347 if test "X$ltrpathdirs" != "X"; then
15348 for found_dir in $ltrpathdirs; do
15349 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15384 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15385 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15386 $as_echo_n "(cached) " >&6
15388 gt_save_LIBS="$LIBS"
15389 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15391 /* end confdefs.h. */
15392 #include <CoreFoundation/CFPreferences.h>
15396 CFPreferencesCopyAppValue(NULL, NULL)
15401 if ac_fn_c_try_link "$LINENO"; then :
15402 gt_cv_func_CFPreferencesCopyAppValue=yes
15404 gt_cv_func_CFPreferencesCopyAppValue=no
15406 rm -f core conftest.err conftest.$ac_objext \
15407 conftest$ac_exeext conftest.$ac_ext
15408 LIBS="$gt_save_LIBS"
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15411 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15412 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15414 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15418 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15419 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15420 $as_echo_n "(cached) " >&6
15422 gt_save_LIBS="$LIBS"
15423 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15425 /* end confdefs.h. */
15426 #include <CoreFoundation/CFLocale.h>
15430 CFLocaleCopyCurrent();
15435 if ac_fn_c_try_link "$LINENO"; then :
15436 gt_cv_func_CFLocaleCopyCurrent=yes
15438 gt_cv_func_CFLocaleCopyCurrent=no
15440 rm -f core conftest.err conftest.$ac_objext \
15441 conftest$ac_exeext conftest.$ac_ext
15442 LIBS="$gt_save_LIBS"
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15445 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15446 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15448 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15452 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15453 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15465 case " $gt_needs " in
15466 *" need-formatstring-macros "*) gt_api_version=3 ;;
15467 *" need-ngettext "*) gt_api_version=2 ;;
15468 *) gt_api_version=1 ;;
15470 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15471 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15473 if test "$USE_NLS" = "yes"; then
15474 gt_use_preinstalled_gnugettext=no
15477 if test $gt_api_version -ge 3; then
15478 gt_revision_test_code='
15479 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15480 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15482 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15485 gt_revision_test_code=
15487 if test $gt_api_version -ge 2; then
15488 gt_expression_test_code=' + * ngettext ("", "", 0)'
15490 gt_expression_test_code=
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15494 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15495 if eval \${$gt_func_gnugettext_libc+:} false; then :
15496 $as_echo_n "(cached) " >&6
15498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h. */
15500 #include <libintl.h>
15501 $gt_revision_test_code
15502 extern int _nl_msg_cat_cntr;
15503 extern int *_nl_domain_bindings;
15507 bindtextdomain ("", "");
15508 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15513 if ac_fn_c_try_link "$LINENO"; then :
15514 eval "$gt_func_gnugettext_libc=yes"
15516 eval "$gt_func_gnugettext_libc=no"
15518 rm -f core conftest.err conftest.$ac_objext \
15519 conftest$ac_exeext conftest.$ac_ext
15521 eval ac_res=\$$gt_func_gnugettext_libc
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15523 $as_echo "$ac_res" >&6; }
15525 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15531 am_save_CPPFLAGS="$CPPFLAGS"
15533 for element in $INCICONV; do
15535 for x in $CPPFLAGS; do
15537 acl_save_prefix="$prefix"
15538 prefix="$acl_final_prefix"
15539 acl_save_exec_prefix="$exec_prefix"
15540 exec_prefix="$acl_final_exec_prefix"
15542 exec_prefix="$acl_save_exec_prefix"
15543 prefix="$acl_save_prefix"
15545 if test "X$x" = "X$element"; then
15550 if test -z "$haveit"; then
15551 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15557 $as_echo_n "checking for iconv... " >&6; }
15558 if ${am_cv_func_iconv+:} false; then :
15559 $as_echo_n "(cached) " >&6
15562 am_cv_func_iconv="no, consider installing GNU libiconv"
15564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15565 /* end confdefs.h. */
15566 #include <stdlib.h>
15571 iconv_t cd = iconv_open("","");
15572 iconv(cd,NULL,NULL,NULL,NULL);
15578 if ac_fn_c_try_link "$LINENO"; then :
15579 am_cv_func_iconv=yes
15581 rm -f core conftest.err conftest.$ac_objext \
15582 conftest$ac_exeext conftest.$ac_ext
15583 if test "$am_cv_func_iconv" != yes; then
15584 am_save_LIBS="$LIBS"
15585 LIBS="$LIBS $LIBICONV"
15586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15587 /* end confdefs.h. */
15588 #include <stdlib.h>
15593 iconv_t cd = iconv_open("","");
15594 iconv(cd,NULL,NULL,NULL,NULL);
15600 if ac_fn_c_try_link "$LINENO"; then :
15601 am_cv_lib_iconv=yes
15602 am_cv_func_iconv=yes
15604 rm -f core conftest.err conftest.$ac_objext \
15605 conftest$ac_exeext conftest.$ac_ext
15606 LIBS="$am_save_LIBS"
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15611 $as_echo "$am_cv_func_iconv" >&6; }
15612 if test "$am_cv_func_iconv" = yes; then
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15614 $as_echo_n "checking for working iconv... " >&6; }
15615 if ${am_cv_func_iconv_works+:} false; then :
15616 $as_echo_n "(cached) " >&6
15619 am_save_LIBS="$LIBS"
15620 if test $am_cv_lib_iconv = yes; then
15621 LIBS="$LIBS $LIBICONV"
15623 if test "$cross_compiling" = yes; then :
15625 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15626 *) am_cv_func_iconv_works="guessing yes" ;;
15629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15630 /* end confdefs.h. */
15633 #include <string.h>
15636 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15639 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15640 if (cd_utf8_to_88591 != (iconv_t)(-1))
15642 static const char input[] = "\342\202\254"; /* EURO SIGN */
15644 const char *inptr = input;
15645 size_t inbytesleft = strlen (input);
15646 char *outptr = buf;
15647 size_t outbytesleft = sizeof (buf);
15648 size_t res = iconv (cd_utf8_to_88591,
15649 (char **) &inptr, &inbytesleft,
15650 &outptr, &outbytesleft);
15655 /* Test against Solaris 10 bug: Failures are not distinguishable from
15656 successful returns. */
15658 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
15659 if (cd_ascii_to_88591 != (iconv_t)(-1))
15661 static const char input[] = "\263";
15663 const char *inptr = input;
15664 size_t inbytesleft = strlen (input);
15665 char *outptr = buf;
15666 size_t outbytesleft = sizeof (buf);
15667 size_t res = iconv (cd_ascii_to_88591,
15668 (char **) &inptr, &inbytesleft,
15669 &outptr, &outbytesleft);
15674 #if 0 /* This bug could be worked around by the caller. */
15675 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15677 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15678 if (cd_88591_to_utf8 != (iconv_t)(-1))
15680 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15682 const char *inptr = input;
15683 size_t inbytesleft = strlen (input);
15684 char *outptr = buf;
15685 size_t outbytesleft = sizeof (buf);
15686 size_t res = iconv (cd_88591_to_utf8,
15687 (char **) &inptr, &inbytesleft,
15688 &outptr, &outbytesleft);
15694 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15696 if (/* Try standardized names. */
15697 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15698 /* Try IRIX, OSF/1 names. */
15699 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15700 /* Try AIX names. */
15701 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15702 /* Try HP-UX names. */
15703 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15708 if ac_fn_c_try_run "$LINENO"; then :
15709 am_cv_func_iconv_works=yes
15711 am_cv_func_iconv_works=no
15713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15714 conftest.$ac_objext conftest.beam conftest.$ac_ext
15717 LIBS="$am_save_LIBS"
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15721 $as_echo "$am_cv_func_iconv_works" >&6; }
15722 case "$am_cv_func_iconv_works" in
15723 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15724 *) am_func_iconv=yes ;;
15727 am_func_iconv=no am_cv_lib_iconv=no
15729 if test "$am_func_iconv" = yes; then
15731 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15734 if test "$am_cv_lib_iconv" = yes; then
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15736 $as_echo_n "checking how to link with libiconv... " >&6; }
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15738 $as_echo "$LIBICONV" >&6; }
15740 CPPFLAGS="$am_save_CPPFLAGS"
15757 acl_save_prefix="$prefix"
15758 prefix="$acl_final_prefix"
15759 acl_save_exec_prefix="$exec_prefix"
15760 exec_prefix="$acl_final_exec_prefix"
15762 eval additional_includedir=\"$includedir\"
15763 eval additional_libdir=\"$libdir\"
15765 exec_prefix="$acl_save_exec_prefix"
15766 prefix="$acl_save_prefix"
15769 # Check whether --with-libintl-prefix was given.
15770 if test "${with_libintl_prefix+set}" = set; then :
15771 withval=$with_libintl_prefix;
15772 if test "X$withval" = "Xno"; then
15775 if test "X$withval" = "X"; then
15777 acl_save_prefix="$prefix"
15778 prefix="$acl_final_prefix"
15779 acl_save_exec_prefix="$exec_prefix"
15780 exec_prefix="$acl_final_exec_prefix"
15782 eval additional_includedir=\"$includedir\"
15783 eval additional_libdir=\"$libdir\"
15785 exec_prefix="$acl_save_exec_prefix"
15786 prefix="$acl_save_prefix"
15789 additional_includedir="$withval/include"
15790 additional_libdir="$withval/$acl_libdirstem"
15791 if test "$acl_libdirstem2" != "$acl_libdirstem" \
15792 && ! test -d "$withval/$acl_libdirstem"; then
15793 additional_libdir="$withval/$acl_libdirstem2"
15807 names_already_handled=
15808 names_next_round='intl '
15809 while test -n "$names_next_round"; do
15810 names_this_round="$names_next_round"
15812 for name in $names_this_round; do
15814 for n in $names_already_handled; do
15815 if test "$n" = "$name"; then
15816 already_handled=yes
15820 if test -z "$already_handled"; then
15821 names_already_handled="$names_already_handled $name"
15822 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15823 eval value=\"\$HAVE_LIB$uppername\"
15824 if test -n "$value"; then
15825 if test "$value" = yes; then
15826 eval value=\"\$LIB$uppername\"
15827 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15828 eval value=\"\$LTLIB$uppername\"
15829 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15838 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15839 if test -n "$acl_shlibext"; then
15840 shrext=".$acl_shlibext" # typically: shrext=.so
15844 if test $use_additional = yes; then
15845 dir="$additional_libdir"
15846 if test -n "$acl_shlibext"; then
15847 if test -f "$dir/$libname$shrext"; then
15849 found_so="$dir/$libname$shrext"
15851 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15852 ver=`(cd "$dir" && \
15853 for f in "$libname$shrext".*; do echo "$f"; done \
15854 | sed -e "s,^$libname$shrext\\\\.,," \
15855 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15856 | sed 1q ) 2>/dev/null`
15857 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15859 found_so="$dir/$libname$shrext.$ver"
15862 eval library_names=\"$acl_library_names_spec\"
15863 for f in $library_names; do
15864 if test -f "$dir/$f"; then
15873 if test "X$found_dir" = "X"; then
15874 if test -f "$dir/$libname.$acl_libext"; then
15876 found_a="$dir/$libname.$acl_libext"
15879 if test "X$found_dir" != "X"; then
15880 if test -f "$dir/$libname.la"; then
15881 found_la="$dir/$libname.la"
15885 if test "X$found_dir" = "X"; then
15886 for x in $LDFLAGS $LTLIBINTL; do
15888 acl_save_prefix="$prefix"
15889 prefix="$acl_final_prefix"
15890 acl_save_exec_prefix="$exec_prefix"
15891 exec_prefix="$acl_final_exec_prefix"
15893 exec_prefix="$acl_save_exec_prefix"
15894 prefix="$acl_save_prefix"
15898 dir=`echo "X$x" | sed -e 's/^X-L//'`
15899 if test -n "$acl_shlibext"; then
15900 if test -f "$dir/$libname$shrext"; then
15902 found_so="$dir/$libname$shrext"
15904 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15905 ver=`(cd "$dir" && \
15906 for f in "$libname$shrext".*; do echo "$f"; done \
15907 | sed -e "s,^$libname$shrext\\\\.,," \
15908 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15909 | sed 1q ) 2>/dev/null`
15910 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15912 found_so="$dir/$libname$shrext.$ver"
15915 eval library_names=\"$acl_library_names_spec\"
15916 for f in $library_names; do
15917 if test -f "$dir/$f"; then
15926 if test "X$found_dir" = "X"; then
15927 if test -f "$dir/$libname.$acl_libext"; then
15929 found_a="$dir/$libname.$acl_libext"
15932 if test "X$found_dir" != "X"; then
15933 if test -f "$dir/$libname.la"; then
15934 found_la="$dir/$libname.la"
15939 if test "X$found_dir" != "X"; then
15944 if test "X$found_dir" != "X"; then
15945 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15946 if test "X$found_so" != "X"; then
15947 if test "$enable_rpath" = no \
15948 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
15949 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
15950 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15953 for x in $ltrpathdirs; do
15954 if test "X$x" = "X$found_dir"; then
15959 if test -z "$haveit"; then
15960 ltrpathdirs="$ltrpathdirs $found_dir"
15962 if test "$acl_hardcode_direct" = yes; then
15963 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15965 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15966 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15968 for x in $rpathdirs; do
15969 if test "X$x" = "X$found_dir"; then
15974 if test -z "$haveit"; then
15975 rpathdirs="$rpathdirs $found_dir"
15979 for x in $LDFLAGS $LIBINTL; do
15981 acl_save_prefix="$prefix"
15982 prefix="$acl_final_prefix"
15983 acl_save_exec_prefix="$exec_prefix"
15984 exec_prefix="$acl_final_exec_prefix"
15986 exec_prefix="$acl_save_exec_prefix"
15987 prefix="$acl_save_prefix"
15989 if test "X$x" = "X-L$found_dir"; then
15994 if test -z "$haveit"; then
15995 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15997 if test "$acl_hardcode_minus_L" != no; then
15998 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16000 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16006 if test "X$found_a" != "X"; then
16007 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
16009 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
16012 additional_includedir=
16013 case "$found_dir" in
16014 */$acl_libdirstem | */$acl_libdirstem/)
16015 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16016 if test "$name" = 'intl'; then
16017 LIBINTL_PREFIX="$basedir"
16019 additional_includedir="$basedir/include"
16021 */$acl_libdirstem2 | */$acl_libdirstem2/)
16022 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16023 if test "$name" = 'intl'; then
16024 LIBINTL_PREFIX="$basedir"
16026 additional_includedir="$basedir/include"
16029 if test "X$additional_includedir" != "X"; then
16030 if test "X$additional_includedir" != "X/usr/include"; then
16032 if test "X$additional_includedir" = "X/usr/local/include"; then
16033 if test -n "$GCC"; then
16035 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16039 if test -z "$haveit"; then
16040 for x in $CPPFLAGS $INCINTL; do
16042 acl_save_prefix="$prefix"
16043 prefix="$acl_final_prefix"
16044 acl_save_exec_prefix="$exec_prefix"
16045 exec_prefix="$acl_final_exec_prefix"
16047 exec_prefix="$acl_save_exec_prefix"
16048 prefix="$acl_save_prefix"
16050 if test "X$x" = "X-I$additional_includedir"; then
16055 if test -z "$haveit"; then
16056 if test -d "$additional_includedir"; then
16057 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
16063 if test -n "$found_la"; then
16064 save_libdir="$libdir"
16065 case "$found_la" in
16066 */* | *\\*) . "$found_la" ;;
16067 *) . "./$found_la" ;;
16069 libdir="$save_libdir"
16070 for dep in $dependency_libs; do
16073 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16074 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16075 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16077 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16078 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16079 if test -n "$GCC"; then
16081 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16085 if test -z "$haveit"; then
16087 for x in $LDFLAGS $LIBINTL; do
16089 acl_save_prefix="$prefix"
16090 prefix="$acl_final_prefix"
16091 acl_save_exec_prefix="$exec_prefix"
16092 exec_prefix="$acl_final_exec_prefix"
16094 exec_prefix="$acl_save_exec_prefix"
16095 prefix="$acl_save_prefix"
16097 if test "X$x" = "X-L$additional_libdir"; then
16102 if test -z "$haveit"; then
16103 if test -d "$additional_libdir"; then
16104 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
16108 for x in $LDFLAGS $LTLIBINTL; do
16110 acl_save_prefix="$prefix"
16111 prefix="$acl_final_prefix"
16112 acl_save_exec_prefix="$exec_prefix"
16113 exec_prefix="$acl_final_exec_prefix"
16115 exec_prefix="$acl_save_exec_prefix"
16116 prefix="$acl_save_prefix"
16118 if test "X$x" = "X-L$additional_libdir"; then
16123 if test -z "$haveit"; then
16124 if test -d "$additional_libdir"; then
16125 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
16132 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16133 if test "$enable_rpath" != no; then
16135 for x in $rpathdirs; do
16136 if test "X$x" = "X$dir"; then
16141 if test -z "$haveit"; then
16142 rpathdirs="$rpathdirs $dir"
16145 for x in $ltrpathdirs; do
16146 if test "X$x" = "X$dir"; then
16151 if test -z "$haveit"; then
16152 ltrpathdirs="$ltrpathdirs $dir"
16157 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16160 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16163 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
16164 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
16170 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16171 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
16177 if test "X$rpathdirs" != "X"; then
16178 if test -n "$acl_hardcode_libdir_separator"; then
16180 for found_dir in $rpathdirs; do
16181 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16183 acl_save_libdir="$libdir"
16185 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16186 libdir="$acl_save_libdir"
16187 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16189 for found_dir in $rpathdirs; do
16190 acl_save_libdir="$libdir"
16191 libdir="$found_dir"
16192 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16193 libdir="$acl_save_libdir"
16194 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16198 if test "X$ltrpathdirs" != "X"; then
16199 for found_dir in $ltrpathdirs; do
16200 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16210 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16211 if eval \${$gt_func_gnugettext_libintl+:} false; then :
16212 $as_echo_n "(cached) " >&6
16214 gt_save_CPPFLAGS="$CPPFLAGS"
16215 CPPFLAGS="$CPPFLAGS $INCINTL"
16216 gt_save_LIBS="$LIBS"
16217 LIBS="$LIBS $LIBINTL"
16218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219 /* end confdefs.h. */
16220 #include <libintl.h>
16221 $gt_revision_test_code
16222 extern int _nl_msg_cat_cntr;
16227 const char *_nl_expand_alias (const char *);
16231 bindtextdomain ("", "");
16232 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16237 if ac_fn_c_try_link "$LINENO"; then :
16238 eval "$gt_func_gnugettext_libintl=yes"
16240 eval "$gt_func_gnugettext_libintl=no"
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16244 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16245 LIBS="$LIBS $LIBICONV"
16246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247 /* end confdefs.h. */
16248 #include <libintl.h>
16249 $gt_revision_test_code
16250 extern int _nl_msg_cat_cntr;
16255 const char *_nl_expand_alias (const char *);
16259 bindtextdomain ("", "");
16260 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16265 if ac_fn_c_try_link "$LINENO"; then :
16266 LIBINTL="$LIBINTL $LIBICONV"
16267 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16268 eval "$gt_func_gnugettext_libintl=yes"
16271 rm -f core conftest.err conftest.$ac_objext \
16272 conftest$ac_exeext conftest.$ac_ext
16274 CPPFLAGS="$gt_save_CPPFLAGS"
16275 LIBS="$gt_save_LIBS"
16277 eval ac_res=\$$gt_func_gnugettext_libintl
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16279 $as_echo "$ac_res" >&6; }
16282 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16283 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16284 && test "$PACKAGE" != gettext-runtime \
16285 && test "$PACKAGE" != gettext-tools; }; then
16286 gt_use_preinstalled_gnugettext=yes
16295 if test -n "$INTL_MACOSX_LIBS"; then
16296 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16297 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16298 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16299 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16303 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16304 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16306 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16314 $as_echo_n "checking whether to use NLS... " >&6; }
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16316 $as_echo "$USE_NLS" >&6; }
16317 if test "$USE_NLS" = "yes"; then
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16319 $as_echo_n "checking where the gettext function comes from... " >&6; }
16320 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16321 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16322 gt_source="external libintl"
16327 gt_source="included intl directory"
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16330 $as_echo "$gt_source" >&6; }
16333 if test "$USE_NLS" = "yes"; then
16335 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16336 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16338 $as_echo_n "checking how to link with libintl... " >&6; }
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16340 $as_echo "$LIBINTL" >&6; }
16342 for element in $INCINTL; do
16344 for x in $CPPFLAGS; do
16346 acl_save_prefix="$prefix"
16347 prefix="$acl_final_prefix"
16348 acl_save_exec_prefix="$exec_prefix"
16349 exec_prefix="$acl_final_exec_prefix"
16351 exec_prefix="$acl_save_exec_prefix"
16352 prefix="$acl_save_prefix"
16354 if test "X$x" = "X$element"; then
16359 if test -z "$haveit"; then
16360 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16367 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16370 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16379 INTLLIBS="$LIBINTL"
16388 GETTEXT_PACKAGE=PACKAGE_TARNAME
16391 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
16394 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
16397 cat >confcache <<\_ACEOF
16398 # This file is a shell script that caches the results of configure
16399 # tests run on this system so they can be shared between configure
16400 # scripts and configure runs, see configure's option --config-cache.
16401 # It is not useful on other systems. If it contains results you don't
16402 # want to keep, you may remove or edit it.
16404 # config.status only pays attention to the cache file if you give it
16405 # the --recheck option to rerun configure.
16407 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16408 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16409 # following values.
16413 # The following way of writing the cache mishandles newlines in values,
16414 # but we know of no workaround that is simple, portable, and efficient.
16415 # So, we kill variables containing newlines.
16416 # Ultrix sh set writes to stderr and can't be redirected directly,
16417 # and sets the high bit in the cache file unless we assign to the vars.
16419 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16420 eval ac_val=\$$ac_var
16424 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16425 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16428 _ | IFS | as_nl) ;; #(
16429 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16430 *) { eval $ac_var=; unset $ac_var;} ;;
16436 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16437 *${as_nl}ac_space=\ *)
16438 # `set' does not quote correctly, so add quotes: double-quote
16439 # substitution turns \\\\ into \\, and sed turns \\ into \.
16442 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16445 # `set' quotes correctly as required by POSIX, so do not add quotes.
16446 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16455 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16457 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16459 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16460 if test -w "$cache_file"; then
16461 if test "x$cache_file" != "x/dev/null"; then
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16463 $as_echo "$as_me: updating cache $cache_file" >&6;}
16464 if test ! -f "$cache_file" || test -h "$cache_file"; then
16465 cat confcache >"$cache_file"
16467 case $cache_file in #(
16469 mv -f confcache "$cache_file"$$ &&
16470 mv -f "$cache_file"$$ "$cache_file" ;; #(
16472 mv -f confcache "$cache_file" ;;
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16478 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16483 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16484 # Let make expand exec_prefix.
16485 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16487 DEFS=-DHAVE_CONFIG_H
16492 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16493 # 1. Remove the extension, and $U if already installed.
16494 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16495 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16496 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16497 # will be set to the directory where LIBOBJS objects are built.
16498 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16499 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16501 LIBOBJS=$ac_libobjs
16503 LTLIBOBJS=$ac_ltlibobjs
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16507 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16508 if test -n "$am_sleep_pid"; then
16509 # Hide warnings about reused PIDs.
16510 wait $am_sleep_pid 2>/dev/null
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16513 $as_echo "done" >&6; }
16514 if test -n "$EXEEXT"; then
16516 am__EXEEXT_FALSE='#'
16518 am__EXEEXT_TRUE='#'
16522 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16523 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16526 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16527 as_fn_error $? "conditional \"AMDEP\" was never defined.
16528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16530 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16531 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16534 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16535 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16538 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
16539 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
16540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16542 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16543 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16546 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
16547 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
16548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16550 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
16551 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
16552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16554 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
16555 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
16556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16558 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
16559 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
16560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16562 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
16563 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
16564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16566 if test -z "${GIO_VAPI_USES_ARRAYS_TRUE}" && test -z "${GIO_VAPI_USES_ARRAYS_FALSE}"; then
16567 as_fn_error $? "conditional \"GIO_VAPI_USES_ARRAYS\" was never defined.
16568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16571 : "${CONFIG_STATUS=./config.status}"
16573 ac_clean_files_save=$ac_clean_files
16574 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16576 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16578 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16580 # Generated by $as_me.
16581 # Run this file to recreate the current configuration.
16582 # Compiler output produced by configure, useful for debugging
16583 # configure, is in config.log if it exists.
16586 ac_cs_recheck=false
16589 SHELL=\${CONFIG_SHELL-$SHELL}
16592 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16593 ## -------------------- ##
16594 ## M4sh Initialization. ##
16595 ## -------------------- ##
16597 # Be more Bourne compatible
16598 DUALCASE=1; export DUALCASE # for MKS sh
16599 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16602 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16603 # is contrary to our usage. Disable this feature.
16604 alias -g '${1+"$@"}'='"$@"'
16605 setopt NO_GLOB_SUBST
16607 case `(set -o) 2>/dev/null` in #(
16619 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16620 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16621 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16622 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16623 # Prefer a ksh shell builtin over an external printf program on Solaris,
16624 # but without wasting forks for bash or zsh.
16625 if test -z "$BASH_VERSION$ZSH_VERSION" \
16626 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16627 as_echo='print -r --'
16628 as_echo_n='print -rn --'
16629 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16630 as_echo='printf %s\n'
16631 as_echo_n='printf %s'
16633 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16634 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16635 as_echo_n='/usr/ucb/echo -n'
16637 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16638 as_echo_n_body='eval
16642 expr "X$arg" : "X\\(.*\\)$as_nl";
16643 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16645 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16647 export as_echo_n_body
16648 as_echo_n='sh -c $as_echo_n_body as_echo'
16650 export as_echo_body
16651 as_echo='sh -c $as_echo_body as_echo'
16654 # The user is always right.
16655 if test "${PATH_SEPARATOR+set}" != set; then
16657 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16658 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16665 # We need space, tab and new line, in precisely that order. Quoting is
16666 # there to prevent editors from complaining about space-tab.
16667 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16668 # splitting by setting IFS to empty value.)
16671 # Find who we are. Look in the path if we contain no directory separator.
16674 *[\\/]* ) as_myself=$0 ;;
16675 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16676 for as_dir in $PATH
16679 test -z "$as_dir" && as_dir=.
16680 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16686 # We did not find ourselves, most probably we were run as `sh COMMAND'
16687 # in which case we are not to be found in the path.
16688 if test "x$as_myself" = x; then
16691 if test ! -f "$as_myself"; then
16692 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16696 # Unset variables that we do not need and which cause bugs (e.g. in
16697 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16698 # suppresses any "Segmentation fault" message there. '((' could
16699 # trigger a bug in pdksh 5.2.14.
16700 for as_var in BASH_ENV ENV MAIL MAILPATH
16701 do eval test x\${$as_var+set} = xset \
16702 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16715 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16718 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16719 # ----------------------------------------
16720 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16721 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16722 # script with STATUS, using 1 if that was 0.
16725 as_status=$1; test $as_status -eq 0 && as_status=1
16727 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16728 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16730 $as_echo "$as_me: error: $2" >&2
16731 as_fn_exit $as_status
16735 # as_fn_set_status STATUS
16736 # -----------------------
16737 # Set $? to STATUS, without forking.
16738 as_fn_set_status ()
16741 } # as_fn_set_status
16743 # as_fn_exit STATUS
16744 # -----------------
16745 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16749 as_fn_set_status $1
16755 # Portably unset VAR.
16758 { eval $1=; unset $1;}
16760 as_unset=as_fn_unset
16761 # as_fn_append VAR VALUE
16762 # ----------------------
16763 # Append the text in VALUE to the end of the definition contained in VAR. Take
16764 # advantage of any shell optimizations that allow amortized linear growth over
16765 # repeated appends, instead of the typical quadratic growth present in naive
16767 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16768 eval 'as_fn_append ()
16779 # as_fn_arith ARG...
16780 # ------------------
16781 # Perform arithmetic evaluation on the ARGs, and store the result in the
16782 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16783 # must be portable across $(()) and expr.
16784 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16785 eval 'as_fn_arith ()
16792 as_val=`expr "$@" || test $? -eq 1`
16797 if expr a : '\(a\)' >/dev/null 2>&1 &&
16798 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16804 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16805 as_basename=basename
16810 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16816 as_me=`$as_basename -- "$0" ||
16817 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16818 X"$0" : 'X\(//\)$' \| \
16819 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16821 sed '/^.*\/\([^/][^/]*\)\/*$/{
16835 # Avoid depending upon Character Ranges.
16836 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16837 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16838 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16839 as_cr_digits='0123456789'
16840 as_cr_alnum=$as_cr_Letters$as_cr_digits
16842 ECHO_C= ECHO_N= ECHO_T=
16843 case `echo -n x` in #(((((
16845 case `echo 'xy\c'` in
16846 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16848 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16855 rm -f conf$$ conf$$.exe conf$$.file
16856 if test -d conf$$.dir; then
16857 rm -f conf$$.dir/conf$$.file
16860 mkdir conf$$.dir 2>/dev/null
16862 if (echo >conf$$.file) 2>/dev/null; then
16863 if ln -s conf$$.file conf$$ 2>/dev/null; then
16865 # ... but there are two gotchas:
16866 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16867 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16868 # In both cases, we have to default to `cp -pR'.
16869 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16871 elif ln conf$$.file conf$$ 2>/dev/null; then
16879 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16880 rmdir conf$$.dir 2>/dev/null
16885 # Create "$as_dir" as a directory, including parents if necessary.
16890 -*) as_dir=./$as_dir;;
16892 test -d "$as_dir" || eval $as_mkdir_p || {
16896 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16897 *) as_qdir=$as_dir;;
16899 as_dirs="'$as_qdir' $as_dirs"
16900 as_dir=`$as_dirname -- "$as_dir" ||
16901 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16902 X"$as_dir" : 'X\(//\)[^/]' \| \
16903 X"$as_dir" : 'X\(//\)$' \| \
16904 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16905 $as_echo X"$as_dir" |
16906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16910 /^X\(\/\/\)[^/].*/{
16923 test -d "$as_dir" && break
16925 test -z "$as_dirs" || eval "mkdir $as_dirs"
16926 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16930 if mkdir -p . 2>/dev/null; then
16931 as_mkdir_p='mkdir -p "$as_dir"'
16933 test -d ./-p && rmdir ./-p
16938 # as_fn_executable_p FILE
16939 # -----------------------
16940 # Test if FILE is an executable regular file.
16941 as_fn_executable_p ()
16943 test -f "$1" && test -x "$1"
16944 } # as_fn_executable_p
16945 as_test_x='test -x'
16946 as_executable_p=as_fn_executable_p
16948 # Sed expression to map a string onto a valid CPP name.
16949 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16951 # Sed expression to map a string onto a valid variable name.
16952 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16956 ## ----------------------------------- ##
16957 ## Main body of $CONFIG_STATUS script. ##
16958 ## ----------------------------------- ##
16960 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16963 # Save the log message, to keep $0 and so on meaningful, and to
16964 # report actual input values of CONFIG_FILES etc. instead of their
16965 # values after options handling.
16967 This file was extended by Moonshot-ui $as_me 0.7.2, which was
16968 generated by GNU Autoconf 2.69. Invocation command line was
16970 CONFIG_FILES = $CONFIG_FILES
16971 CONFIG_HEADERS = $CONFIG_HEADERS
16972 CONFIG_LINKS = $CONFIG_LINKS
16973 CONFIG_COMMANDS = $CONFIG_COMMANDS
16976 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16981 case $ac_config_files in *"
16982 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16985 case $ac_config_headers in *"
16986 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16991 # Files that config.status was made for.
16992 config_files="$ac_config_files"
16993 config_headers="$ac_config_headers"
16994 config_commands="$ac_config_commands"
16998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17000 \`$as_me' instantiates files and other configuration actions
17001 from templates according to the current configuration. Unless the files
17002 and actions are specified as TAGs, all are instantiated by default.
17004 Usage: $0 [OPTION]... [TAG]...
17006 -h, --help print this help, then exit
17007 -V, --version print version number and configuration settings, then exit
17008 --config print configuration, then exit
17009 -q, --quiet, --silent
17010 do not print progress messages
17011 -d, --debug don't remove temporary files
17012 --recheck update $as_me by reconfiguring in the same conditions
17013 --file=FILE[:TEMPLATE]
17014 instantiate the configuration file FILE
17015 --header=FILE[:TEMPLATE]
17016 instantiate the configuration header FILE
17018 Configuration files:
17021 Configuration headers:
17024 Configuration commands:
17027 Report bugs to <moonshot-community@jiscmail.ac.uk>.
17028 Moonshot-ui home page: <http://www.project-moonshot.org/>."
17031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17032 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17034 Moonshot-ui config.status 0.7.2
17035 configured by $0, generated by GNU Autoconf 2.69,
17036 with options \\"\$ac_cs_config\\"
17038 Copyright (C) 2012 Free Software Foundation, Inc.
17039 This config.status script is free software; the Free Software Foundation
17040 gives unlimited permission to copy, distribute and modify it."
17047 test -n "\$AWK" || AWK=awk
17050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17051 # The default lists apply if the user does not specify any file.
17057 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17058 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17062 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17074 # Handling of the options.
17075 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17077 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17078 $as_echo "$ac_cs_version"; exit ;;
17079 --config | --confi | --conf | --con | --co | --c )
17080 $as_echo "$ac_cs_config"; exit ;;
17081 --debug | --debu | --deb | --de | --d | -d )
17083 --file | --fil | --fi | --f )
17086 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17087 '') as_fn_error $? "missing file argument" ;;
17089 as_fn_append CONFIG_FILES " '$ac_optarg'"
17090 ac_need_defaults=false;;
17091 --header | --heade | --head | --hea )
17094 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17096 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17097 ac_need_defaults=false;;
17099 # Conflict between --help and --header
17100 as_fn_error $? "ambiguous option: \`$1'
17101 Try \`$0 --help' for more information.";;
17102 --help | --hel | -h )
17103 $as_echo "$ac_cs_usage"; exit ;;
17104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17105 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17108 # This is an error.
17109 -*) as_fn_error $? "unrecognized option: \`$1'
17110 Try \`$0 --help' for more information." ;;
17112 *) as_fn_append ac_config_targets " $1"
17113 ac_need_defaults=false ;;
17119 ac_configure_extra_args=
17121 if $ac_cs_silent; then
17123 ac_configure_extra_args="$ac_configure_extra_args --silent"
17127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17128 if \$ac_cs_recheck; then
17129 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17131 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17132 CONFIG_SHELL='$SHELL'
17133 export CONFIG_SHELL
17138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17142 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17143 ## Running $as_me. ##
17149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17153 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17156 # The HP-UX ksh and POSIX shell print the target directory to stdout
17157 # if CDPATH is set.
17158 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17160 sed_quote_subst='$sed_quote_subst'
17161 double_quote_subst='$double_quote_subst'
17162 delay_variable_subst='$delay_variable_subst'
17163 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17164 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17165 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17166 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17167 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17168 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17169 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17170 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17171 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17172 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17173 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17174 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17175 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17176 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17177 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17178 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17179 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17180 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17181 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17182 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17183 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17184 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17185 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17186 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17187 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17188 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17189 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17190 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17191 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17192 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17193 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17194 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17195 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17196 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17197 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17198 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17199 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17200 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17201 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17202 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17203 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17204 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17205 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17206 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17207 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17208 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17209 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17210 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17211 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17212 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17213 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17214 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17215 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17216 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17217 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17218 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17219 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17220 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"`'
17221 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17222 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17223 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17224 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17225 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17226 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17227 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17228 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17229 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17230 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17231 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17232 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17233 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17234 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17235 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17236 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17237 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17238 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17239 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17240 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17241 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17242 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17243 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17244 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17245 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17246 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17247 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17248 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17249 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17250 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17251 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17252 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17253 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17254 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17255 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17256 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17257 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17258 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17259 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17260 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17261 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17262 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17263 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17264 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17265 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17266 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17267 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17268 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17269 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17270 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17271 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17272 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17273 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17274 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17275 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17276 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17277 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17278 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17279 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17280 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17281 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17282 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17283 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17284 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17285 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17286 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17287 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17288 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17289 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17290 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17291 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17292 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17293 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17296 LTCFLAGS='$LTCFLAGS'
17297 compiler='$compiler_DEFAULT'
17299 # A function that is used when there is no print builtin or printf.
17300 func_fallback_echo ()
17302 eval 'cat <<_LTECHO_EOF
17307 # Quote evaled strings.
17324 deplibs_check_method \
17328 sharedlib_from_linklib_cmd \
17331 archiver_list_spec \
17337 lt_cv_sys_global_symbol_pipe \
17338 lt_cv_sys_global_symbol_to_cdecl \
17339 lt_cv_sys_global_symbol_to_c_name_address \
17340 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17341 nm_file_list_spec \
17342 lt_prog_compiler_no_builtin_flag \
17343 lt_prog_compiler_pic \
17344 lt_prog_compiler_wl \
17345 lt_prog_compiler_static \
17346 lt_cv_prog_compiler_c_o \
17355 export_dynamic_flag_spec \
17356 whole_archive_flag_spec \
17357 compiler_needs_object \
17359 allow_undefined_flag \
17360 no_undefined_flag \
17361 hardcode_libdir_flag_spec \
17362 hardcode_libdir_separator \
17366 variables_saved_for_relink \
17368 library_names_spec \
17370 install_override_mode \
17374 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17375 *[\\\\\\\`\\"\\\$]*)
17376 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17379 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17384 # Double-quote double-evaled strings.
17385 for var in reload_cmds \
17386 old_postinstall_cmds \
17387 old_postuninstall_cmds \
17389 extract_expsyms_cmds \
17390 old_archive_from_new_cmds \
17391 old_archive_from_expsyms_cmds \
17393 archive_expsym_cmds \
17395 module_expsym_cmds \
17396 export_symbols_cmds \
17400 postuninstall_cmds \
17402 sys_lib_search_path_spec \
17403 sys_lib_dlsearch_path_spec; do
17404 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17405 *[\\\\\\\`\\"\\\$]*)
17406 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17409 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17414 ac_aux_dir='$ac_aux_dir'
17415 xsi_shell='$xsi_shell'
17416 lt_shell_append='$lt_shell_append'
17418 # See if we are running on zsh, and set the options which allow our
17419 # commands through without removal of \ escapes INIT.
17420 if test -n "\${ZSH_VERSION+set}" ; then
17421 setopt NO_GLOB_SUBST
17427 TIMESTAMP='$TIMESTAMP'
17433 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17434 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17435 # from automake < 1.5.
17436 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17437 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17438 LINGUAS="${LINGUAS-%UNSET%}"
17443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17445 # Handling of arguments.
17446 for ac_config_target in $ac_config_targets
17448 case $ac_config_target in
17449 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17450 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17451 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17452 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17453 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17454 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17455 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
17456 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
17457 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
17459 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17464 # If the user did not use the arguments to specify the items to instantiate,
17465 # then the envvar interface is used. Set only those that are not.
17466 # We use the long form for the default assignment because of an extremely
17467 # bizarre bug on SunOS 4.1.3.
17468 if $ac_need_defaults; then
17469 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17470 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17471 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17474 # Have a temporary directory for convenience. Make it in the build tree
17475 # simply because there is no reason against having it here, and in addition,
17476 # creating and moving files from /tmp can sometimes cause problems.
17477 # Hook for its removal unless debugging.
17478 # Note that there is a small window in which the directory will not be cleaned:
17479 # after its creation but before its name has been assigned to `$tmp'.
17483 trap 'exit_status=$?
17484 : "${ac_tmp:=$tmp}"
17485 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17487 trap 'as_fn_exit 1' 1 2 13 15
17489 # Create a (secure) tmp directory for tmp files.
17492 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17496 tmp=./conf$$-$RANDOM
17497 (umask 077 && mkdir "$tmp")
17498 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17501 # Set up the scripts for CONFIG_FILES section.
17502 # No need to generate them if there are no CONFIG_FILES.
17503 # This happens for instance with `./config.status config.h'.
17504 if test -n "$CONFIG_FILES"; then
17507 ac_cr=`echo X | tr X '\015'`
17508 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17509 # But we know of no other shell where ac_cr would be empty at this
17510 # point, so we can use a bashism as a fallback.
17511 if test "x$ac_cr" = x; then
17512 eval ac_cr=\$\'\\r\'
17514 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17515 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17518 ac_cs_awk_cr=$ac_cr
17521 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17526 echo "cat >conf$$subs.awk <<_ACEOF" &&
17527 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17529 } >conf$$subs.sh ||
17530 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17531 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17533 for ac_last_try in false false false false false :; do
17534 . ./conf$$subs.sh ||
17535 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17537 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17538 if test $ac_delim_n = $ac_delim_num; then
17540 elif $ac_last_try; then
17541 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17543 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17546 rm -f conf$$subs.sh
17548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17549 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17553 s/^/S["/; s/!.*/"]=/
17563 s/\(.\{148\}\)..*/\1/
17565 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17570 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17577 s/\(.\{148\}\)..*/\1/
17579 s/["\\]/\\&/g; s/^/"/; s/$/"/
17583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17588 ' <conf$$subs.awk | sed '
17593 ' >>$CONFIG_STATUS || ac_write_fail=1
17594 rm -f conf$$subs.awk
17595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17597 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17598 for (key in S) S_is_set[key] = 1
17604 nfields = split(line, field, "@")
17606 len = length(field[1])
17607 for (i = 2; i < nfields; i++) {
17609 keylen = length(key)
17610 if (S_is_set[key]) {
17612 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17613 len += length(value) + length(field[++i])
17624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17625 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17626 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17629 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17630 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17633 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17634 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17635 # trailing colons and then remove the whole line if VPATH becomes empty
17636 # (actually we leave an empty line to preserve line numbers).
17637 if test "x$srcdir" = x.; then
17638 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17657 fi # test -n "$CONFIG_FILES"
17659 # Set up the scripts for CONFIG_HEADERS section.
17660 # No need to generate them if there are no CONFIG_HEADERS.
17661 # This happens for instance with `./config.status Makefile'.
17662 if test -n "$CONFIG_HEADERS"; then
17663 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17667 # Transform confdefs.h into an awk script `defines.awk', embedded as
17668 # here-document in config.status, that substitutes the proper values into
17669 # config.h.in to produce config.h.
17671 # Create a delimiter string that does not exist in confdefs.h, to ease
17672 # handling of long lines.
17674 for ac_last_try in false false :; do
17675 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17676 if test -z "$ac_tt"; then
17678 elif $ac_last_try; then
17679 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17681 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17685 # For the awk script, D is an array of macro values keyed by name,
17686 # likewise P contains macro parameters if any. Preserve backslash
17687 # newline sequences.
17689 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17691 s/.\{148\}/&'"$ac_delim"'/g
17694 s/^[ ]*#[ ]*define[ ][ ]*/ /
17701 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17703 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17707 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17708 D["\1"]=" \3\\\\\\n"\\/p
17710 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17715 s/.\{148\}/&'"$ac_delim"'/g
17720 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17723 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17725 ' <confdefs.h | sed '
17726 s/'"$ac_delim"'/"\\\
17727 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17730 for (key in D) D_is_set[key] = 1
17733 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17735 split(line, arg, " ")
17736 if (arg[1] == "#") {
17740 defundef = substr(arg[1], 2)
17743 split(mac1, mac2, "(") #)
17745 prefix = substr(line, 1, index(line, defundef) - 1)
17746 if (D_is_set[macro]) {
17747 # Preserve the white space surrounding the "#".
17748 print prefix "define", macro P[macro] D[macro]
17751 # Replace #undef with comments. This is necessary, for example,
17752 # in the case of _POSIX_SOURCE, which is predefined and required
17753 # on some systems where configure will not decide to define it.
17754 if (defundef == "undef") {
17755 print "/*", prefix defundef, macro, "*/"
17763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17764 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17765 fi # test -n "$CONFIG_HEADERS"
17768 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17773 :[FHLC]) ac_mode=$ac_tag; continue;;
17775 case $ac_mode$ac_tag in
17777 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17778 :[FH]-) ac_tag=-:-;;
17779 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17796 -) ac_f="$ac_tmp/stdin";;
17797 *) # Look for the file first in the build tree, then in the source tree
17798 # (if the path is not absolute). The absolute path cannot be DOS-style,
17799 # because $ac_f cannot contain `:'.
17803 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17805 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17807 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17808 as_fn_append ac_file_inputs " '$ac_f'"
17811 # Let's still pretend it is `configure' which instantiates (i.e., don't
17812 # use $as_me), people would be surprised to read:
17813 # /* config.h. Generated by config.status. */
17814 configure_input='Generated from '`
17815 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17817 if test x"$ac_file" != x-; then
17818 configure_input="$ac_file. $configure_input"
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17820 $as_echo "$as_me: creating $ac_file" >&6;}
17822 # Neutralize special characters interpreted by sed in replacement strings.
17823 case $configure_input in #(
17824 *\&* | *\|* | *\\* )
17825 ac_sed_conf_input=`$as_echo "$configure_input" |
17826 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17827 *) ac_sed_conf_input=$configure_input;;
17831 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17837 ac_dir=`$as_dirname -- "$ac_file" ||
17838 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17839 X"$ac_file" : 'X\(//\)[^/]' \| \
17840 X"$ac_file" : 'X\(//\)$' \| \
17841 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17842 $as_echo X"$ac_file" |
17843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17847 /^X\(\/\/\)[^/].*/{
17860 as_dir="$ac_dir"; as_fn_mkdir_p
17864 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17866 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17867 # A ".." for each directory in $ac_dir_suffix.
17868 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17869 case $ac_top_builddir_sub in
17870 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17871 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17874 ac_abs_top_builddir=$ac_pwd
17875 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17876 # for backward compatibility:
17877 ac_top_builddir=$ac_top_build_prefix
17880 .) # We are building in place.
17882 ac_top_srcdir=$ac_top_builddir_sub
17883 ac_abs_top_srcdir=$ac_pwd ;;
17884 [\\/]* | ?:[\\/]* ) # Absolute name.
17885 ac_srcdir=$srcdir$ac_dir_suffix;
17886 ac_top_srcdir=$srcdir
17887 ac_abs_top_srcdir=$srcdir ;;
17888 *) # Relative name.
17889 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17890 ac_top_srcdir=$ac_top_build_prefix$srcdir
17891 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17893 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17903 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17904 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17906 ac_MKDIR_P=$MKDIR_P
17908 [\\/$]* | ?:[\\/]* ) ;;
17909 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17914 # If the template does not know about datarootdir, expand it.
17915 # FIXME: This hack should be removed a few years after 2.60.
17916 ac_datarootdir_hack=; ac_datarootdir_seen=
17927 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17928 *datarootdir*) ac_datarootdir_seen=yes;;
17929 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17931 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17934 ac_datarootdir_hack='
17935 s&@datadir@&$datadir&g
17936 s&@docdir@&$docdir&g
17937 s&@infodir@&$infodir&g
17938 s&@localedir@&$localedir&g
17939 s&@mandir@&$mandir&g
17940 s&\\\${datarootdir}&$datarootdir&g' ;;
17944 # Neutralize VPATH when `$srcdir' = `.'.
17945 # Shell code in configure.ac might set extrasub.
17946 # FIXME: do we really want to maintain this feature?
17947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17948 ac_sed_extra="$ac_vpsub
17951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17953 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17954 s|@configure_input@|$ac_sed_conf_input|;t t
17955 s&@top_builddir@&$ac_top_builddir_sub&;t t
17956 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17957 s&@srcdir@&$ac_srcdir&;t t
17958 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17959 s&@top_srcdir@&$ac_top_srcdir&;t t
17960 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17961 s&@builddir@&$ac_builddir&;t t
17962 s&@abs_builddir@&$ac_abs_builddir&;t t
17963 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17964 s&@INSTALL@&$ac_INSTALL&;t t
17965 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17966 $ac_datarootdir_hack
17968 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17969 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17971 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17972 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17973 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17974 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17976 which seems to be undefined. Please make sure it is defined" >&5
17977 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17978 which seems to be undefined. Please make sure it is defined" >&2;}
17980 rm -f "$ac_tmp/stdin"
17982 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17983 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17985 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17991 if test x"$ac_file" != x-; then
17993 $as_echo "/* $configure_input */" \
17994 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17995 } >"$ac_tmp/config.h" \
17996 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17997 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17999 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18002 mv "$ac_tmp/config.h" "$ac_file" \
18003 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18006 $as_echo "/* $configure_input */" \
18007 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18008 || as_fn_error $? "could not create -" "$LINENO" 5
18010 # Compute "$ac_file"'s index in $config_headers.
18013 for _am_header in $config_headers :; do
18014 case $_am_header in
18015 $_am_arg | $_am_arg:* )
18018 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18021 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18022 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18023 X"$_am_arg" : 'X\(//\)[^/]' \| \
18024 X"$_am_arg" : 'X\(//\)$' \| \
18025 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18026 $as_echo X"$_am_arg" |
18027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18031 /^X\(\/\/\)[^/].*/{
18043 s/.*/./; q'`/stamp-h$_am_stamp_count
18046 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18047 $as_echo "$as_me: executing $ac_file commands" >&6;}
18052 case $ac_file$ac_mode in
18053 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18054 # Older Autoconf quotes --file arguments for eval, but not when files
18055 # are listed without --file. Let's play safe and only enable the eval
18056 # if we detect the quoting.
18057 case $CONFIG_FILES in
18058 *\'*) eval set x "$CONFIG_FILES" ;;
18059 *) set x $CONFIG_FILES ;;
18064 # Strip MF so we end up with the name of the file.
18065 mf=`echo "$mf" | sed -e 's/:.*$//'`
18066 # Check whether this is an Automake generated Makefile or not.
18067 # We used to match only the files named 'Makefile.in', but
18068 # some people rename them; so instead we look at the file content.
18069 # Grep'ing the first line is not enough: some people post-process
18070 # each Makefile.in and add a new line on top of each file to say so.
18071 # Grep'ing the whole file is not good either: AIX grep has a line
18072 # limit of 2048, but all sed's we know have understand at least 4000.
18073 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18074 dirpart=`$as_dirname -- "$mf" ||
18075 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18076 X"$mf" : 'X\(//\)[^/]' \| \
18077 X"$mf" : 'X\(//\)$' \| \
18078 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18084 /^X\(\/\/\)[^/].*/{
18100 # Extract the definition of DEPDIR, am__include, and am__quote
18101 # from the Makefile without running 'make'.
18102 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18103 test -z "$DEPDIR" && continue
18104 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18105 test -z "$am__include" && continue
18106 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18107 # Find all dependency output files, they are included files with
18108 # $(DEPDIR) in their names. We invoke sed twice because it is the
18109 # simplest approach to changing $(DEPDIR) to its actual value in the
18111 for file in `sed -n "
18112 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18113 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18114 # Make sure the directory exists.
18115 test -f "$dirpart/$file" && continue
18116 fdir=`$as_dirname -- "$file" ||
18117 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18118 X"$file" : 'X\(//\)[^/]' \| \
18119 X"$file" : 'X\(//\)$' \| \
18120 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18121 $as_echo X"$file" |
18122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18126 /^X\(\/\/\)[^/].*/{
18139 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18140 # echo "creating $dirpart/$file"
18141 echo '# dummy' > "$dirpart/$file"
18148 # See if we are running on zsh, and set the options which allow our
18149 # commands through without removal of \ escapes.
18150 if test -n "${ZSH_VERSION+set}" ; then
18151 setopt NO_GLOB_SUBST
18154 cfgfile="${ofile}T"
18155 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18158 cat <<_LT_EOF >> "$cfgfile"
18161 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18162 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18163 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18164 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18166 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18167 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18169 # Written by Gordon Matzigkeit, 1996
18171 # This file is part of GNU Libtool.
18173 # GNU Libtool is free software; you can redistribute it and/or
18174 # modify it under the terms of the GNU General Public License as
18175 # published by the Free Software Foundation; either version 2 of
18176 # the License, or (at your option) any later version.
18178 # As a special exception to the GNU General Public License,
18179 # if you distribute this file as part of a program or library that
18180 # is built using GNU Libtool, you may include this file under the
18181 # same distribution terms that you use for the rest of that program.
18183 # GNU Libtool is distributed in the hope that it will be useful,
18184 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18185 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18186 # GNU General Public License for more details.
18188 # You should have received a copy of the GNU General Public License
18189 # along with GNU Libtool; see the file COPYING. If not, a copy
18190 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18191 # obtained by writing to the Free Software Foundation, Inc.,
18192 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18195 # The names of the tagged configurations supported by this script.
18198 # ### BEGIN LIBTOOL CONFIG
18200 # Which release of libtool.m4 was used?
18201 macro_version=$macro_version
18202 macro_revision=$macro_revision
18204 # Assembler program.
18207 # DLL creation program.
18208 DLLTOOL=$lt_DLLTOOL
18210 # Object dumper program.
18211 OBJDUMP=$lt_OBJDUMP
18213 # Whether or not to build shared libraries.
18214 build_libtool_libs=$enable_shared
18216 # Whether or not to build static libraries.
18217 build_old_libs=$enable_static
18219 # What type of objects to build.
18222 # Whether or not to optimize for fast installation.
18223 fast_install=$enable_fast_install
18225 # Shell to use when invoking shell scripts.
18228 # An echo program that protects backslashes.
18231 # The PATH separator for the build system.
18232 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18235 host_alias=$host_alias
18239 # The build system.
18240 build_alias=$build_alias
18244 # A sed program that does not truncate output.
18247 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18248 Xsed="\$SED -e 1s/^X//"
18250 # A grep program that handles long lines.
18256 # A literal string matcher.
18259 # A BSD- or MS-compatible name lister.
18262 # Whether we need soft or hard links.
18265 # What is the maximum length of a command?
18266 max_cmd_len=$max_cmd_len
18268 # Object file suffix (normally "o").
18271 # Executable file suffix (normally "").
18274 # whether the shell understands "unset".
18277 # turn spaces into newlines.
18280 # turn newlines into spaces.
18283 # convert \$build file names to \$host format.
18284 to_host_file_cmd=$lt_cv_to_host_file_cmd
18286 # convert \$build files to toolchain format.
18287 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18289 # Method to check whether dependent libraries are shared objects.
18290 deplibs_check_method=$lt_deplibs_check_method
18292 # Command to use when deplibs_check_method = "file_magic".
18293 file_magic_cmd=$lt_file_magic_cmd
18295 # How to find potential files when deplibs_check_method = "file_magic".
18296 file_magic_glob=$lt_file_magic_glob
18298 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18299 want_nocaseglob=$lt_want_nocaseglob
18301 # Command to associate shared and link libraries.
18302 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18307 # Flags to create an archive.
18308 AR_FLAGS=$lt_AR_FLAGS
18310 # How to feed a file listing to the archiver.
18311 archiver_list_spec=$lt_archiver_list_spec
18313 # A symbol stripping program.
18316 # Commands used to install an old-style archive.
18318 old_postinstall_cmds=$lt_old_postinstall_cmds
18319 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18321 # Whether to use a lock for old archive extraction.
18322 lock_old_archive_extraction=$lock_old_archive_extraction
18327 # LTCC compiler flags.
18328 LTCFLAGS=$lt_CFLAGS
18330 # Take the output of nm and produce a listing of raw symbols and C names.
18331 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18333 # Transform the output of nm in a proper C declaration.
18334 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18336 # Transform the output of nm in a C name address pair.
18337 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18339 # Transform the output of nm in a C name address pair when lib prefix is needed.
18340 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18342 # Specify filename containing input files for \$NM.
18343 nm_file_list_spec=$lt_nm_file_list_spec
18345 # The root where to search for dependent libraries,and in which our libraries should be installed.
18346 lt_sysroot=$lt_sysroot
18348 # The name of the directory that contains temporary libtool files.
18351 # Used to examine libraries when file_magic_cmd begins with "file".
18352 MAGIC_CMD=$MAGIC_CMD
18354 # Must we lock files when doing compilation?
18355 need_locks=$lt_need_locks
18358 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18360 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18361 DSYMUTIL=$lt_DSYMUTIL
18363 # Tool to change global to local symbols on Mac OS X.
18366 # Tool to manipulate fat objects and archives on Mac OS X.
18369 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18372 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18373 OTOOL64=$lt_OTOOL64
18375 # Old archive suffix (normally "a").
18378 # Shared library suffix (normally ".so").
18379 shrext_cmds=$lt_shrext_cmds
18381 # The commands to extract the exported symbol list from a shared archive.
18382 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18384 # Variables whose values should be saved in libtool wrapper scripts and
18385 # restored at link time.
18386 variables_saved_for_relink=$lt_variables_saved_for_relink
18388 # Do we need the "lib" prefix for modules?
18389 need_lib_prefix=$need_lib_prefix
18391 # Do we need a version for libraries?
18392 need_version=$need_version
18394 # Library versioning type.
18395 version_type=$version_type
18397 # Shared library runtime path variable.
18398 runpath_var=$runpath_var
18400 # Shared library path variable.
18401 shlibpath_var=$shlibpath_var
18403 # Is shlibpath searched before the hard-coded library search path?
18404 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18406 # Format of library name prefix.
18407 libname_spec=$lt_libname_spec
18409 # List of archive names. First name is the real one, the rest are links.
18410 # The last name is the one that the linker finds with -lNAME
18411 library_names_spec=$lt_library_names_spec
18413 # The coded name of the library, if different from the real name.
18414 soname_spec=$lt_soname_spec
18416 # Permission mode override for installation of shared libraries.
18417 install_override_mode=$lt_install_override_mode
18419 # Command to use after installation of a shared archive.
18420 postinstall_cmds=$lt_postinstall_cmds
18422 # Command to use after uninstallation of a shared archive.
18423 postuninstall_cmds=$lt_postuninstall_cmds
18425 # Commands used to finish a libtool library installation in a directory.
18426 finish_cmds=$lt_finish_cmds
18428 # As "finish_cmds", except a single script fragment to be evaled but
18430 finish_eval=$lt_finish_eval
18432 # Whether we should hardcode library paths into libraries.
18433 hardcode_into_libs=$hardcode_into_libs
18435 # Compile-time system search path for libraries.
18436 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18438 # Run-time system search path for libraries.
18439 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18441 # Whether dlopen is supported.
18442 dlopen_support=$enable_dlopen
18444 # Whether dlopen of programs is supported.
18445 dlopen_self=$enable_dlopen_self
18447 # Whether dlopen of statically linked programs is supported.
18448 dlopen_self_static=$enable_dlopen_self_static
18450 # Commands to strip libraries.
18451 old_striplib=$lt_old_striplib
18452 striplib=$lt_striplib
18455 # The linker used to build libraries.
18458 # How to create reloadable object files.
18459 reload_flag=$lt_reload_flag
18460 reload_cmds=$lt_reload_cmds
18462 # Commands used to build an old-style archive.
18463 old_archive_cmds=$lt_old_archive_cmds
18465 # A language specific compiler.
18468 # Is the compiler the GNU compiler?
18471 # Compiler flag to turn off builtin functions.
18472 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18474 # Additional compiler flags for building library objects.
18475 pic_flag=$lt_lt_prog_compiler_pic
18477 # How to pass a linker flag through the compiler.
18478 wl=$lt_lt_prog_compiler_wl
18480 # Compiler flag to prevent dynamic linking.
18481 link_static_flag=$lt_lt_prog_compiler_static
18483 # Does compiler simultaneously support -c and -o options?
18484 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18486 # Whether or not to add -lc for building shared libraries.
18487 build_libtool_need_lc=$archive_cmds_need_lc
18489 # Whether or not to disallow shared libs when runtime libs are static.
18490 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18492 # Compiler flag to allow reflexive dlopens.
18493 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18495 # Compiler flag to generate shared objects directly from archives.
18496 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18498 # Whether the compiler copes with passing no objects directly.
18499 compiler_needs_object=$lt_compiler_needs_object
18501 # Create an old-style archive from a shared archive.
18502 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18504 # Create a temporary old-style archive to link instead of a shared archive.
18505 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18507 # Commands used to build a shared archive.
18508 archive_cmds=$lt_archive_cmds
18509 archive_expsym_cmds=$lt_archive_expsym_cmds
18511 # Commands used to build a loadable module if different from building
18512 # a shared archive.
18513 module_cmds=$lt_module_cmds
18514 module_expsym_cmds=$lt_module_expsym_cmds
18516 # Whether we are building with GNU ld or not.
18517 with_gnu_ld=$lt_with_gnu_ld
18519 # Flag that allows shared libraries with undefined symbols to be built.
18520 allow_undefined_flag=$lt_allow_undefined_flag
18522 # Flag that enforces no undefined symbols.
18523 no_undefined_flag=$lt_no_undefined_flag
18525 # Flag to hardcode \$libdir into a binary during linking.
18526 # This must work even if \$libdir does not exist
18527 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18529 # Whether we need a single "-rpath" flag with a separated argument.
18530 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18532 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18533 # DIR into the resulting binary.
18534 hardcode_direct=$hardcode_direct
18536 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18537 # DIR into the resulting binary and the resulting library dependency is
18538 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18539 # library is relocated.
18540 hardcode_direct_absolute=$hardcode_direct_absolute
18542 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18543 # into the resulting binary.
18544 hardcode_minus_L=$hardcode_minus_L
18546 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18547 # into the resulting binary.
18548 hardcode_shlibpath_var=$hardcode_shlibpath_var
18550 # Set to "yes" if building a shared library automatically hardcodes DIR
18551 # into the library and all subsequent libraries and executables linked
18553 hardcode_automatic=$hardcode_automatic
18555 # Set to yes if linker adds runtime paths of dependent libraries
18556 # to runtime path list.
18557 inherit_rpath=$inherit_rpath
18559 # Whether libtool must link a program against all its dependency libraries.
18560 link_all_deplibs=$link_all_deplibs
18562 # Set to "yes" if exported symbols are required.
18563 always_export_symbols=$always_export_symbols
18565 # The commands to list exported symbols.
18566 export_symbols_cmds=$lt_export_symbols_cmds
18568 # Symbols that should not be listed in the preloaded symbols.
18569 exclude_expsyms=$lt_exclude_expsyms
18571 # Symbols that must always be exported.
18572 include_expsyms=$lt_include_expsyms
18574 # Commands necessary for linking programs (against libraries) with templates.
18575 prelink_cmds=$lt_prelink_cmds
18577 # Commands necessary for finishing linking programs.
18578 postlink_cmds=$lt_postlink_cmds
18580 # Specify filename containing input files.
18581 file_list_spec=$lt_file_list_spec
18583 # How to hardcode a shared library path into an executable.
18584 hardcode_action=$hardcode_action
18586 # ### END LIBTOOL CONFIG
18592 cat <<\_LT_EOF >> "$cfgfile"
18593 # AIX sometimes has problems with the GCC collect2 program. For some
18594 # reason, if we set the COLLECT_NAMES environment variable, the problems
18595 # vanish in a puff of smoke.
18596 if test "X${COLLECT_NAMES+set}" != Xset; then
18598 export COLLECT_NAMES
18605 ltmain="$ac_aux_dir/ltmain.sh"
18608 # We use sed instead of cat because bash on DJGPP gets confused if
18609 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18610 # text mode, it properly converts lines to CR/LF. This bash problem
18611 # is reportedly fixed, but why not run on old versions too?
18612 sed '$q' "$ltmain" >> "$cfgfile" \
18613 || (rm -f "$cfgfile"; exit 1)
18615 if test x"$xsi_shell" = xyes; then
18616 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18620 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18621 \ * ) func_dirname_result="${3}" ;;\
18623 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18624 && mv -f "$cfgfile.tmp" "$cfgfile" \
18625 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18626 test 0 -eq $? || _lt_function_replace_fail=:
18629 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18632 \ func_basename_result="${1##*/}"\
18633 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18634 && mv -f "$cfgfile.tmp" "$cfgfile" \
18635 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18636 test 0 -eq $? || _lt_function_replace_fail=:
18639 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18640 func_dirname_and_basename ()\
18643 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18644 \ * ) func_dirname_result="${3}" ;;\
18646 \ func_basename_result="${1##*/}"\
18647 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18648 && mv -f "$cfgfile.tmp" "$cfgfile" \
18649 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18650 test 0 -eq $? || _lt_function_replace_fail=:
18653 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18656 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18657 \ # positional parameters, so assign one to ordinary parameter first.\
18658 \ func_stripname_result=${3}\
18659 \ func_stripname_result=${func_stripname_result#"${1}"}\
18660 \ func_stripname_result=${func_stripname_result%"${2}"}\
18661 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18662 && mv -f "$cfgfile.tmp" "$cfgfile" \
18663 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18664 test 0 -eq $? || _lt_function_replace_fail=:
18667 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18668 func_split_long_opt ()\
18670 \ func_split_long_opt_name=${1%%=*}\
18671 \ func_split_long_opt_arg=${1#*=}\
18672 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18673 && mv -f "$cfgfile.tmp" "$cfgfile" \
18674 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18675 test 0 -eq $? || _lt_function_replace_fail=:
18678 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18679 func_split_short_opt ()\
18681 \ func_split_short_opt_arg=${1#??}\
18682 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18683 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18684 && mv -f "$cfgfile.tmp" "$cfgfile" \
18685 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18686 test 0 -eq $? || _lt_function_replace_fail=:
18689 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18693 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18694 \ *) func_lo2o_result=${1} ;;\
18696 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18697 && mv -f "$cfgfile.tmp" "$cfgfile" \
18698 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18699 test 0 -eq $? || _lt_function_replace_fail=:
18702 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18705 func_xform_result=${1%.*}.lo\
18706 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18707 && mv -f "$cfgfile.tmp" "$cfgfile" \
18708 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18709 test 0 -eq $? || _lt_function_replace_fail=:
18712 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18715 func_arith_result=$(( $* ))\
18716 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18717 && mv -f "$cfgfile.tmp" "$cfgfile" \
18718 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18719 test 0 -eq $? || _lt_function_replace_fail=:
18722 sed -e '/^func_len ()$/,/^} # func_len /c\
18725 func_len_result=${#1}\
18726 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18727 && mv -f "$cfgfile.tmp" "$cfgfile" \
18728 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18729 test 0 -eq $? || _lt_function_replace_fail=:
18733 if test x"$lt_shell_append" = xyes; then
18734 sed -e '/^func_append ()$/,/^} # func_append /c\
18737 eval "${1}+=\\${2}"\
18738 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18739 && mv -f "$cfgfile.tmp" "$cfgfile" \
18740 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18741 test 0 -eq $? || _lt_function_replace_fail=:
18744 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18745 func_append_quoted ()\
18747 \ func_quote_for_eval "${2}"\
18748 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18749 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18750 && mv -f "$cfgfile.tmp" "$cfgfile" \
18751 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18752 test 0 -eq $? || _lt_function_replace_fail=:
18755 # Save a `func_append' function call where possible by direct use of '+='
18756 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18757 && mv -f "$cfgfile.tmp" "$cfgfile" \
18758 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18759 test 0 -eq $? || _lt_function_replace_fail=:
18761 # Save a `func_append' function call even when '+=' is not available
18762 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18763 && mv -f "$cfgfile.tmp" "$cfgfile" \
18764 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18765 test 0 -eq $? || _lt_function_replace_fail=:
18768 if test x"$_lt_function_replace_fail" = x":"; then
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18770 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18774 mv -f "$cfgfile" "$ofile" ||
18775 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18779 "po-directories":C)
18780 for ac_file in $CONFIG_FILES; do
18781 # Support "outfile[:infile[:infile...]]"
18783 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18785 # PO directories have a Makefile.in generated from Makefile.in.in.
18786 case "$ac_file" in */Makefile.in)
18787 # Adjust a relative srcdir.
18788 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18789 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18790 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18791 # In autoconf-2.13 it is called $ac_given_srcdir.
18792 # In autoconf-2.50 it is called $srcdir.
18793 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18794 case "$ac_given_srcdir" in
18795 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18796 /*) top_srcdir="$ac_given_srcdir" ;;
18797 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18799 # Treat a directory as a PO directory if and only if it has a
18800 # POTFILES.in file. This allows packages to have multiple PO
18801 # directories under different names or in different locations.
18802 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18803 rm -f "$ac_dir/POTFILES"
18804 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18805 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18806 POMAKEFILEDEPS="POTFILES.in"
18807 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18808 # on $ac_dir but don't depend on user-specified configuration
18810 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18811 # The LINGUAS file contains the set of available languages.
18812 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18813 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18815 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18816 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18817 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18818 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18820 # The set of available languages was given in configure.in.
18821 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18822 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18825 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18826 # Compute UPDATEPOFILES
18827 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18828 # Compute DUMMYPOFILES
18829 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18831 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18832 case "$ac_given_srcdir" in
18834 *) srcdirpre='$(srcdir)/' ;;
18840 for lang in $ALL_LINGUAS; do
18841 POFILES="$POFILES $srcdirpre$lang.po"
18842 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18843 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18844 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18846 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18847 # environment variable.
18849 if test -n "$ALL_LINGUAS"; then
18850 for presentlang in $ALL_LINGUAS; do
18852 if test "%UNSET%" != "$LINGUAS"; then
18853 desiredlanguages="$LINGUAS"
18855 desiredlanguages="$ALL_LINGUAS"
18857 for desiredlang in $desiredlanguages; do
18858 # Use the presentlang catalog if desiredlang is
18859 # a. equal to presentlang, or
18860 # b. a variant of presentlang (because in this case,
18861 # presentlang can be used as a fallback for messages
18862 # which are not translated in the desiredlang catalog).
18863 case "$desiredlang" in
18864 "$presentlang"*) useit=yes;;
18867 if test $useit = yes; then
18868 INST_LINGUAS="$INST_LINGUAS $presentlang"
18873 if test -n "$INST_LINGUAS"; then
18874 for lang in $INST_LINGUAS; do
18875 CATALOGS="$CATALOGS $lang.gmo"
18878 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18879 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"
18880 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18881 if test -f "$f"; then
18883 *.orig | *.bak | *~) ;;
18884 *) cat "$f" >> "$ac_dir/Makefile" ;;
18899 ac_clean_files=$ac_clean_files_save
18901 test $ac_write_fail = 0 ||
18902 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18905 # configure is writing to config.log, and then calls config.status.
18906 # config.status does its own redirection, appending to config.log.
18907 # Unfortunately, on DOS this fails, as config.log is still kept open
18908 # by configure, so config.status won't be able to write to it; its
18909 # output is simply discarded. So we exec the FD to /dev/null,
18910 # effectively closing config.log, so it can be properly (re)opened and
18911 # appended to by config.status. When coming back to configure, we
18912 # need to make the FD available again.
18913 if test "$no_create" != yes; then
18915 ac_config_status_args=
18916 test "$silent" = yes &&
18917 ac_config_status_args="$ac_config_status_args --quiet"
18919 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18921 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18922 # would make configure fail if this is the last instruction.
18923 $ac_cs_success || as_fn_exit 1
18925 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18927 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}