2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gpgme 1.5.1.
5 # Report bugs to <http://bugs.gnupg.org>.
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
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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: http://bugs.gnupg.org about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: 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 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
592 PACKAGE_TARNAME='gpgme'
593 PACKAGE_VERSION='1.5.1'
594 PACKAGE_STRING='gpgme 1.5.1'
595 PACKAGE_BUGREPORT='http://bugs.gnupg.org'
598 ac_unique_file="src/gpgme.h.in"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
639 emacs_local_vars_read_only
640 emacs_local_vars_begin
645 GPGME_CONFIG_API_VERSION
648 USE_DESCRIPTOR_PASSING_FALSE
649 USE_DESCRIPTOR_PASSING_TRUE
660 INSERT__TYPEDEFS_FOR_GPGME_H
661 NEED__FILE_OFFSET_BITS
664 RUN_GPGSM_TESTS_FALSE
668 RUN_GPGCONF_TESTS_FALSE
669 RUN_GPGCONF_TESTS_TRUE
679 HAVE_ANDROID_SYSTEM_FALSE
680 HAVE_ANDROID_SYSTEM_TRUE
681 HAVE_W32CE_SYSTEM_FALSE
682 HAVE_W32CE_SYSTEM_TRUE
683 HAVE_W64_SYSTEM_FALSE
685 HAVE_W32_SYSTEM_FALSE
687 HAVE_DOSISH_SYSTEM_FALSE
688 HAVE_DOSISH_SYSTEM_TRUE
697 HAVE_LD_VERSION_SCRIPT_FALSE
698 HAVE_LD_VERSION_SCRIPT_TRUE
765 MAINTAINER_MODE_FALSE
775 INSTALL_STRIP_PROGRAM
817 program_transform_name
830 enable_option_checking
831 enable_maintainer_mode
833 enable_dependency_tracking
850 with_libgpg_error_prefix
851 with_gpg_error_prefix
852 with_libassuan_prefix
855 ac_precious_vars='build_alias
870 # Initialize some variables set by options.
872 ac_init_version=false
873 ac_unrecognized_opts=
875 # The variables have the same names as the options, with
876 # dashes changed to underlines.
884 program_transform_name=s,x,x,
892 # Installation directory options.
893 # These are left unexpanded so users can "make install exec_prefix=/foo"
894 # and all the variables that are supposed to be based on exec_prefix
895 # by default will actually change.
896 # Use braces instead of parens because sh, perl, etc. also accept them.
897 # (The list follows the same order as the GNU Coding Standards.)
898 bindir='${exec_prefix}/bin'
899 sbindir='${exec_prefix}/sbin'
900 libexecdir='${exec_prefix}/libexec'
901 datarootdir='${prefix}/share'
902 datadir='${datarootdir}'
903 sysconfdir='${prefix}/etc'
904 sharedstatedir='${prefix}/com'
905 localstatedir='${prefix}/var'
906 includedir='${prefix}/include'
907 oldincludedir='/usr/include'
908 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
909 infodir='${datarootdir}/info'
914 libdir='${exec_prefix}/lib'
915 localedir='${datarootdir}/locale'
916 mandir='${datarootdir}/man'
922 # If the previous option needs an argument, assign it.
923 if test -n "$ac_prev"; then
924 eval $ac_prev=\$ac_option
930 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
935 # Accept the important Cygnus configure options, so we can diagnose typos.
937 case $ac_dashdash$ac_option in
941 -bindir | --bindir | --bindi | --bind | --bin | --bi)
943 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
946 -build | --build | --buil | --bui | --bu)
947 ac_prev=build_alias ;;
948 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
949 build_alias=$ac_optarg ;;
951 -cache-file | --cache-file | --cache-fil | --cache-fi \
952 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
953 ac_prev=cache_file ;;
954 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
955 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
956 cache_file=$ac_optarg ;;
959 cache_file=config.cache ;;
961 -datadir | --datadir | --datadi | --datad)
963 -datadir=* | --datadir=* | --datadi=* | --datad=*)
964 datadir=$ac_optarg ;;
966 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
967 | --dataroo | --dataro | --datar)
968 ac_prev=datarootdir ;;
969 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
970 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
971 datarootdir=$ac_optarg ;;
973 -disable-* | --disable-*)
974 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977 as_fn_error $? "invalid feature name: $ac_useropt"
978 ac_useropt_orig=$ac_useropt
979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
985 ac_unrecognized_sep=', ';;
987 eval enable_$ac_useropt=no ;;
989 -docdir | --docdir | --docdi | --doc | --do)
991 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
994 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
996 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
999 -enable-* | --enable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error $? "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1008 "enable_$ac_useropt"
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1013 eval enable_$ac_useropt=\$ac_optarg ;;
1015 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1016 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1017 | --exec | --exe | --ex)
1018 ac_prev=exec_prefix ;;
1019 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1020 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1021 | --exec=* | --exe=* | --ex=*)
1022 exec_prefix=$ac_optarg ;;
1024 -gas | --gas | --ga | --g)
1025 # Obsolete; use --with-gas.
1028 -help | --help | --hel | --he | -h)
1029 ac_init_help=long ;;
1030 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1031 ac_init_help=recursive ;;
1032 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1033 ac_init_help=short ;;
1035 -host | --host | --hos | --ho)
1036 ac_prev=host_alias ;;
1037 -host=* | --host=* | --hos=* | --ho=*)
1038 host_alias=$ac_optarg ;;
1040 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1042 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1044 htmldir=$ac_optarg ;;
1046 -includedir | --includedir | --includedi | --included | --include \
1047 | --includ | --inclu | --incl | --inc)
1048 ac_prev=includedir ;;
1049 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1050 | --includ=* | --inclu=* | --incl=* | --inc=*)
1051 includedir=$ac_optarg ;;
1053 -infodir | --infodir | --infodi | --infod | --info | --inf)
1055 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1056 infodir=$ac_optarg ;;
1058 -libdir | --libdir | --libdi | --libd)
1060 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1061 libdir=$ac_optarg ;;
1063 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1064 | --libexe | --libex | --libe)
1065 ac_prev=libexecdir ;;
1066 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1067 | --libexe=* | --libex=* | --libe=*)
1068 libexecdir=$ac_optarg ;;
1070 -localedir | --localedir | --localedi | --localed | --locale)
1071 ac_prev=localedir ;;
1072 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1073 localedir=$ac_optarg ;;
1075 -localstatedir | --localstatedir | --localstatedi | --localstated \
1076 | --localstate | --localstat | --localsta | --localst | --locals)
1077 ac_prev=localstatedir ;;
1078 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1079 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1080 localstatedir=$ac_optarg ;;
1082 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1084 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1085 mandir=$ac_optarg ;;
1087 -nfp | --nfp | --nf)
1088 # Obsolete; use --without-fp.
1091 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1092 | --no-cr | --no-c | -n)
1095 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1096 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1099 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1100 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1101 | --oldin | --oldi | --old | --ol | --o)
1102 ac_prev=oldincludedir ;;
1103 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1104 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1105 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1106 oldincludedir=$ac_optarg ;;
1108 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1110 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1111 prefix=$ac_optarg ;;
1113 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1114 | --program-pre | --program-pr | --program-p)
1115 ac_prev=program_prefix ;;
1116 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1117 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1118 program_prefix=$ac_optarg ;;
1120 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1121 | --program-suf | --program-su | --program-s)
1122 ac_prev=program_suffix ;;
1123 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1124 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1125 program_suffix=$ac_optarg ;;
1127 -program-transform-name | --program-transform-name \
1128 | --program-transform-nam | --program-transform-na \
1129 | --program-transform-n | --program-transform- \
1130 | --program-transform | --program-transfor \
1131 | --program-transfo | --program-transf \
1132 | --program-trans | --program-tran \
1133 | --progr-tra | --program-tr | --program-t)
1134 ac_prev=program_transform_name ;;
1135 -program-transform-name=* | --program-transform-name=* \
1136 | --program-transform-nam=* | --program-transform-na=* \
1137 | --program-transform-n=* | --program-transform-=* \
1138 | --program-transform=* | --program-transfor=* \
1139 | --program-transfo=* | --program-transf=* \
1140 | --program-trans=* | --program-tran=* \
1141 | --progr-tra=* | --program-tr=* | --program-t=*)
1142 program_transform_name=$ac_optarg ;;
1144 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1146 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1147 pdfdir=$ac_optarg ;;
1149 -psdir | --psdir | --psdi | --psd | --ps)
1151 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1154 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1155 | -silent | --silent | --silen | --sile | --sil)
1158 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1160 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1162 sbindir=$ac_optarg ;;
1164 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1165 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1166 | --sharedst | --shareds | --shared | --share | --shar \
1168 ac_prev=sharedstatedir ;;
1169 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1170 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1171 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1173 sharedstatedir=$ac_optarg ;;
1175 -site | --site | --sit)
1177 -site=* | --site=* | --sit=*)
1180 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1182 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1183 srcdir=$ac_optarg ;;
1185 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1186 | --syscon | --sysco | --sysc | --sys | --sy)
1187 ac_prev=sysconfdir ;;
1188 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1189 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1190 sysconfdir=$ac_optarg ;;
1192 -target | --target | --targe | --targ | --tar | --ta | --t)
1193 ac_prev=target_alias ;;
1194 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1195 target_alias=$ac_optarg ;;
1197 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1200 -version | --version | --versio | --versi | --vers | -V)
1201 ac_init_version=: ;;
1204 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1207 as_fn_error $? "invalid package name: $ac_useropt"
1208 ac_useropt_orig=$ac_useropt
1209 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210 case $ac_user_opts in
1214 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1215 ac_unrecognized_sep=', ';;
1217 eval with_$ac_useropt=\$ac_optarg ;;
1219 -without-* | --without-*)
1220 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223 as_fn_error $? "invalid package name: $ac_useropt"
1224 ac_useropt_orig=$ac_useropt
1225 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1231 ac_unrecognized_sep=', ';;
1233 eval with_$ac_useropt=no ;;
1236 # Obsolete; use --with-x.
1239 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1240 | --x-incl | --x-inc | --x-in | --x-i)
1241 ac_prev=x_includes ;;
1242 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1243 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1244 x_includes=$ac_optarg ;;
1246 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1247 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1248 ac_prev=x_libraries ;;
1249 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1250 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1251 x_libraries=$ac_optarg ;;
1253 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1254 Try \`$0 --help' for more information"
1258 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1259 # Reject names that are not valid shell variable names.
1260 case $ac_envvar in #(
1261 '' | [0-9]* | *[!_$as_cr_alnum]* )
1262 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1264 eval $ac_envvar=\$ac_optarg
1265 export $ac_envvar ;;
1268 # FIXME: should be removed in autoconf 3.0.
1269 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1270 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1271 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1272 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1278 if test -n "$ac_prev"; then
1279 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1280 as_fn_error $? "missing argument to $ac_option"
1283 if test -n "$ac_unrecognized_opts"; then
1284 case $enable_option_checking in
1286 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1287 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1291 # Check all directory arguments for consistency.
1292 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1293 datadir sysconfdir sharedstatedir localstatedir includedir \
1294 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1295 libdir localedir mandir
1297 eval ac_val=\$$ac_var
1298 # Remove trailing slashes.
1301 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1302 eval $ac_var=\$ac_val;;
1304 # Be sure to have absolute directory names.
1306 [\\/$]* | ?:[\\/]* ) continue;;
1307 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1309 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1312 # There might be people who depend on the old broken behavior: `$host'
1313 # used to hold the argument of --host etc.
1314 # FIXME: To remove some day.
1317 target=$target_alias
1319 # FIXME: To remove some day.
1320 if test "x$host_alias" != x; then
1321 if test "x$build_alias" = x; then
1322 cross_compiling=maybe
1323 elif test "x$build_alias" != "x$host_alias"; then
1329 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1331 test "$silent" = yes && exec 6>/dev/null
1334 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1335 ac_ls_di=`ls -di .` &&
1336 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1337 as_fn_error $? "working directory cannot be determined"
1338 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1339 as_fn_error $? "pwd does not report name of working directory"
1342 # Find the source files, if location was not specified.
1343 if test -z "$srcdir"; then
1344 ac_srcdir_defaulted=yes
1345 # Try the directory containing this script, then the parent directory.
1346 ac_confdir=`$as_dirname -- "$as_myself" ||
1347 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1348 X"$as_myself" : 'X\(//\)[^/]' \| \
1349 X"$as_myself" : 'X\(//\)$' \| \
1350 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1351 $as_echo X"$as_myself" |
1352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1374 ac_srcdir_defaulted=no
1376 if test ! -r "$srcdir/$ac_unique_file"; then
1377 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1378 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1380 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1382 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1384 # When building in place, set srcdir=.
1385 if test "$ac_abs_confdir" = "$ac_pwd"; then
1388 # Remove unnecessary trailing slashes from srcdir.
1389 # Double slashes in file names in object file debugging info
1390 # mess up M-x gdb in Emacs.
1392 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1394 for ac_var in $ac_precious_vars; do
1395 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1396 eval ac_env_${ac_var}_value=\$${ac_var}
1397 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1398 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1402 # Report the --help message.
1404 if test "$ac_init_help" = "long"; then
1405 # Omit some internal or obsolete options to make the list less imposing.
1406 # This message is too long to be a string in the A/UX 3.1 sh.
1408 \`configure' configures gpgme 1.5.1 to adapt to many kinds of systems.
1410 Usage: $0 [OPTION]... [VAR=VALUE]...
1412 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1413 VAR=VALUE. See below for descriptions of some of the useful variables.
1415 Defaults for the options are specified in brackets.
1418 -h, --help display this help and exit
1419 --help=short display options specific to this package
1420 --help=recursive display the short help of all the included packages
1421 -V, --version display version information and exit
1422 -q, --quiet, --silent do not print \`checking ...' messages
1423 --cache-file=FILE cache test results in FILE [disabled]
1424 -C, --config-cache alias for \`--cache-file=config.cache'
1425 -n, --no-create do not create output files
1426 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1428 Installation directories:
1429 --prefix=PREFIX install architecture-independent files in PREFIX
1430 [$ac_default_prefix]
1431 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1434 By default, \`make install' will install all the files in
1435 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1436 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1437 for instance \`--prefix=\$HOME'.
1439 For better control, use the options below.
1441 Fine tuning of the installation directories:
1442 --bindir=DIR user executables [EPREFIX/bin]
1443 --sbindir=DIR system admin executables [EPREFIX/sbin]
1444 --libexecdir=DIR program executables [EPREFIX/libexec]
1445 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1446 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1447 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1448 --libdir=DIR object code libraries [EPREFIX/lib]
1449 --includedir=DIR C header files [PREFIX/include]
1450 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1451 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1452 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1453 --infodir=DIR info documentation [DATAROOTDIR/info]
1454 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1455 --mandir=DIR man documentation [DATAROOTDIR/man]
1456 --docdir=DIR documentation root [DATAROOTDIR/doc/gpgme]
1457 --htmldir=DIR html documentation [DOCDIR]
1458 --dvidir=DIR dvi documentation [DOCDIR]
1459 --pdfdir=DIR pdf documentation [DOCDIR]
1460 --psdir=DIR ps documentation [DOCDIR]
1466 --program-prefix=PREFIX prepend PREFIX to installed program names
1467 --program-suffix=SUFFIX append SUFFIX to installed program names
1468 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1471 --build=BUILD configure for building on BUILD [guessed]
1472 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1476 if test -n "$ac_init_help"; then
1477 case $ac_init_help in
1478 short | recursive ) echo "Configuration of gpgme 1.5.1:";;
1483 --disable-option-checking ignore unrecognized --enable/--with options
1484 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1485 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1486 --enable-maintainer-mode enable make rules and dependencies not useful
1487 (and sometimes confusing) to the casual installer
1488 --enable-silent-rules less verbose build output (undo: `make V=1')
1489 --disable-silent-rules verbose build output (undo: `make V=0')
1490 --disable-dependency-tracking speeds up one-time build
1491 --enable-dependency-tracking do not reject slow dependency extractors
1492 --enable-static[=PKGS] build static libraries [default=no]
1493 --enable-shared[=PKGS] build shared libraries [default=yes]
1494 --enable-fast-install[=PKGS]
1495 optimize for fast installation [default=yes]
1496 --disable-libtool-lock avoid locking (might break parallel builds)
1497 --disable-glibtest do not try to compile and run a test GLIB program
1498 --enable-w32-glib build GPGME Glib for W32
1499 --enable-w32-qt build GPGME Qt for W32
1500 --enable-fixed-path=PATH
1501 locate binaries only via this PATH
1502 --disable-gpgconf-test disable GPGCONF regression test
1503 --disable-gpg-test disable GPG regression test
1504 --disable-gpgsm-test disable GPGSM regression test
1505 --disable-g13-test disable G13 regression test
1506 --disable-largefile omit support for large files
1507 --disable-fd-passing do not use FD passing
1510 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1511 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1512 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1514 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1515 --with-sysroot=DIR Search for dependent libraries within DIR
1516 (or the compiler's sysroot if not specified).
1517 --with-libgpg-error-prefix=PFX
1518 prefix where GPG Error is installed (optional)
1520 --with-libassuan-prefix=PFX
1521 prefix where LIBASSUAN is installed (optional)
1523 Some influential environment variables:
1524 CC C compiler command
1525 CFLAGS C compiler flags
1526 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1527 nonstandard directory <lib dir>
1528 LIBS libraries to pass to the linker, e.g. -l<library>
1529 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1530 you have headers in a nonstandard directory <include dir>
1532 CXX C++ compiler command
1533 CXXFLAGS C++ compiler flags
1534 CXXCPP C++ preprocessor
1536 Use these variables to override the choices made by `configure' or to help
1537 it to find libraries and programs with nonstandard names/locations.
1539 Report bugs to <http://bugs.gnupg.org>.
1544 if test "$ac_init_help" = "recursive"; then
1545 # If there are subdirs, report their specific --help.
1546 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547 test -d "$ac_dir" ||
1548 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1556 # A ".." for each directory in $ac_dir_suffix.
1557 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1558 case $ac_top_builddir_sub in
1559 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1563 ac_abs_top_builddir=$ac_pwd
1564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1565 # for backward compatibility:
1566 ac_top_builddir=$ac_top_build_prefix
1569 .) # We are building in place.
1571 ac_top_srcdir=$ac_top_builddir_sub
1572 ac_abs_top_srcdir=$ac_pwd ;;
1573 [\\/]* | ?:[\\/]* ) # Absolute name.
1574 ac_srcdir=$srcdir$ac_dir_suffix;
1575 ac_top_srcdir=$srcdir
1576 ac_abs_top_srcdir=$srcdir ;;
1578 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1579 ac_top_srcdir=$ac_top_build_prefix$srcdir
1580 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1584 cd "$ac_dir" || { ac_status=$?; continue; }
1585 # Check for guested configure.
1586 if test -f "$ac_srcdir/configure.gnu"; then
1588 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1589 elif test -f "$ac_srcdir/configure"; then
1591 $SHELL "$ac_srcdir/configure" --help=recursive
1593 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1595 cd "$ac_pwd" || { ac_status=$?; break; }
1599 test -n "$ac_init_help" && exit $ac_status
1600 if $ac_init_version; then
1602 gpgme configure 1.5.1
1603 generated by GNU Autoconf 2.69
1605 Copyright (C) 2012 Free Software Foundation, Inc.
1606 This configure script is free software; the Free Software Foundation
1607 gives unlimited permission to copy, distribute and modify it.
1612 ## ------------------------ ##
1613 ## Autoconf initialization. ##
1614 ## ------------------------ ##
1616 # ac_fn_c_try_compile LINENO
1617 # --------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_compile ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 rm -f conftest.$ac_objext
1623 if { { ac_try="$ac_compile"
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_compile") 2>conftest.err
1632 if test -s conftest.err; then
1633 grep -v '^ *+' conftest.err >conftest.er1
1634 cat conftest.er1 >&5
1635 mv -f conftest.er1 conftest.err
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && {
1639 test -z "$ac_c_werror_flag" ||
1640 test ! -s conftest.err
1641 } && test -s conftest.$ac_objext; then :
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1652 } # ac_fn_c_try_compile
1654 # ac_fn_c_try_cpp LINENO
1655 # ----------------------
1656 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 if { { ac_try="$ac_cpp conftest.$ac_ext"
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } > conftest.i && {
1676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 as_fn_set_status $ac_retval
1691 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1692 # -------------------------------------------------------
1693 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1694 # the include files in INCLUDES and setting the cache variable VAR
1696 ac_fn_c_check_header_mongrel ()
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 if eval \${$3+:} false; then :
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701 $as_echo_n "checking for $2... " >&6; }
1702 if eval \${$3+:} false; then :
1703 $as_echo_n "(cached) " >&6
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1707 $as_echo "$ac_res" >&6; }
1709 # Is the header compilable?
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1711 $as_echo_n "checking $2 usability... " >&6; }
1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h. */
1717 if ac_fn_c_try_compile "$LINENO"; then :
1718 ac_header_compiler=yes
1720 ac_header_compiler=no
1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1724 $as_echo "$ac_header_compiler" >&6; }
1726 # Is the header present?
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1728 $as_echo_n "checking $2 presence... " >&6; }
1729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1730 /* end confdefs.h. */
1733 if ac_fn_c_try_cpp "$LINENO"; then :
1734 ac_header_preproc=yes
1736 ac_header_preproc=no
1738 rm -f conftest.err conftest.i conftest.$ac_ext
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1740 $as_echo "$ac_header_preproc" >&6; }
1742 # So? What about this header?
1743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1746 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1748 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1752 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1754 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1756 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1758 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1760 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1761 ( $as_echo "## ------------------------------------ ##
1762 ## Report this to http://bugs.gnupg.org ##
1763 ## ------------------------------------ ##"
1764 ) | sed "s/^/$as_me: WARNING: /" >&2
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768 $as_echo_n "checking for $2... " >&6; }
1769 if eval \${$3+:} false; then :
1770 $as_echo_n "(cached) " >&6
1772 eval "$3=\$ac_header_compiler"
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776 $as_echo "$ac_res" >&6; }
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 } # ac_fn_c_check_header_mongrel
1782 # ac_fn_c_try_run LINENO
1783 # ----------------------
1784 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1785 # that executables *can* be run.
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 if { { ac_try="$ac_link"
1791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_link") 2>&5
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1800 { { case "(($ac_try" in
1801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802 *) ac_try_echo=$ac_try;;
1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_try") 2>&5
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; }; }; then :
1812 $as_echo "$as_me: program exited with status $ac_status" >&5
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1816 ac_retval=$ac_status
1818 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 as_fn_set_status $ac_retval
1824 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1825 # -------------------------------------------------------
1826 # Tests whether HEADER exists and can be compiled using the include files in
1827 # INCLUDES, setting the cache variable VAR accordingly.
1828 ac_fn_c_check_header_compile ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if eval \${$3+:} false; then :
1834 $as_echo_n "(cached) " >&6
1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h. */
1841 if ac_fn_c_try_compile "$LINENO"; then :
1846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850 $as_echo "$ac_res" >&6; }
1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 } # ac_fn_c_check_header_compile
1855 # ac_fn_cxx_try_compile LINENO
1856 # ----------------------------
1857 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1858 ac_fn_cxx_try_compile ()
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 rm -f conftest.$ac_objext
1862 if { { ac_try="$ac_compile"
1864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_compile") 2>conftest.err
1871 if test -s conftest.err; then
1872 grep -v '^ *+' conftest.err >conftest.er1
1873 cat conftest.er1 >&5
1874 mv -f conftest.er1 conftest.err
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; } && {
1878 test -z "$ac_cxx_werror_flag" ||
1879 test ! -s conftest.err
1880 } && test -s conftest.$ac_objext; then :
1883 $as_echo "$as_me: failed program was:" >&5
1884 sed 's/^/| /' conftest.$ac_ext >&5
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 as_fn_set_status $ac_retval
1891 } # ac_fn_cxx_try_compile
1893 # ac_fn_c_try_link LINENO
1894 # -----------------------
1895 # Try to link conftest.$ac_ext, and return whether this succeeded.
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 rm -f conftest.$ac_objext conftest$ac_exeext
1900 if { { ac_try="$ac_link"
1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1903 *) ac_try_echo=$ac_try;;
1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_link") 2>conftest.err
1909 if test -s conftest.err; then
1910 grep -v '^ *+' conftest.err >conftest.er1
1911 cat conftest.er1 >&5
1912 mv -f conftest.er1 conftest.err
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; } && {
1916 test -z "$ac_c_werror_flag" ||
1917 test ! -s conftest.err
1918 } && test -s conftest$ac_exeext && {
1919 test "$cross_compiling" = yes ||
1920 test -x conftest$ac_exeext
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.$ac_ext >&5
1929 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1930 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1931 # interfere with the next link command; also delete a directory that is
1932 # left behind by Apple's compiler. We do this before executing the actions.
1933 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 as_fn_set_status $ac_retval
1937 } # ac_fn_c_try_link
1939 # ac_fn_c_check_func LINENO FUNC VAR
1940 # ----------------------------------
1941 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1942 ac_fn_c_check_func ()
1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1946 $as_echo_n "checking for $2... " >&6; }
1947 if eval \${$3+:} false; then :
1948 $as_echo_n "(cached) " >&6
1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h. */
1952 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1954 #define $2 innocuous_$2
1956 /* System header to define __stub macros and hopefully few prototypes,
1957 which can conflict with char $2 (); below.
1958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1959 <limits.h> exists even on freestanding compilers. */
1962 # include <limits.h>
1964 # include <assert.h>
1969 /* Override any GCC internal prototype to avoid an error.
1970 Use char because int might match the return type of a GCC
1971 builtin and then its argument prototype would still apply. */
1976 /* The GNU C library defines this for functions which it implements
1977 to always fail with ENOSYS. Some functions are actually named
1978 something starting with __ and the normal name is an alias. */
1979 #if defined __stub_$2 || defined __stub___$2
1991 if ac_fn_c_try_link "$LINENO"; then :
1996 rm -f core conftest.err conftest.$ac_objext \
1997 conftest$ac_exeext conftest.$ac_ext
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 } # ac_fn_c_check_func
2006 # ac_fn_cxx_try_cpp LINENO
2007 # ------------------------
2008 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2009 ac_fn_cxx_try_cpp ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 if { { ac_try="$ac_cpp conftest.$ac_ext"
2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2015 *) ac_try_echo=$ac_try;;
2017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2018 $as_echo "$ac_try_echo"; } >&5
2019 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2021 if test -s conftest.err; then
2022 grep -v '^ *+' conftest.err >conftest.er1
2023 cat conftest.er1 >&5
2024 mv -f conftest.er1 conftest.err
2026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2027 test $ac_status = 0; } > conftest.i && {
2028 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2029 test ! -s conftest.err
2033 $as_echo "$as_me: failed program was:" >&5
2034 sed 's/^/| /' conftest.$ac_ext >&5
2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2039 as_fn_set_status $ac_retval
2041 } # ac_fn_cxx_try_cpp
2043 # ac_fn_cxx_try_link LINENO
2044 # -------------------------
2045 # Try to link conftest.$ac_ext, and return whether this succeeded.
2046 ac_fn_cxx_try_link ()
2048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2049 rm -f conftest.$ac_objext conftest$ac_exeext
2050 if { { ac_try="$ac_link"
2052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2053 *) ac_try_echo=$ac_try;;
2055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2056 $as_echo "$ac_try_echo"; } >&5
2057 (eval "$ac_link") 2>conftest.err
2059 if test -s conftest.err; then
2060 grep -v '^ *+' conftest.err >conftest.er1
2061 cat conftest.er1 >&5
2062 mv -f conftest.er1 conftest.err
2064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2065 test $ac_status = 0; } && {
2066 test -z "$ac_cxx_werror_flag" ||
2067 test ! -s conftest.err
2068 } && test -s conftest$ac_exeext && {
2069 test "$cross_compiling" = yes ||
2070 test -x conftest$ac_exeext
2074 $as_echo "$as_me: failed program was:" >&5
2075 sed 's/^/| /' conftest.$ac_ext >&5
2079 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2080 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2081 # interfere with the next link command; also delete a directory that is
2082 # left behind by Apple's compiler. We do this before executing the actions.
2083 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2085 as_fn_set_status $ac_retval
2087 } # ac_fn_cxx_try_link
2089 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2090 # --------------------------------------------
2091 # Tries to find the compile-time value of EXPR in a program that includes
2092 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2094 ac_fn_c_compute_int ()
2096 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2097 if test "$cross_compiling" = yes; then
2098 # Depending upon the size, compute the lo and hi bounds.
2099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2100 /* end confdefs.h. */
2105 static int test_array [1 - 2 * !(($2) >= 0)];
2107 return test_array [0];
2113 if ac_fn_c_try_compile "$LINENO"; then :
2116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2117 /* end confdefs.h. */
2122 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2124 return test_array [0];
2130 if ac_fn_c_try_compile "$LINENO"; then :
2131 ac_hi=$ac_mid; break
2133 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2134 if test $ac_lo -le $ac_mid; then
2138 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2149 static int test_array [1 - 2 * !(($2) < 0)];
2151 return test_array [0];
2157 if ac_fn_c_try_compile "$LINENO"; then :
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2166 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2168 return test_array [0];
2174 if ac_fn_c_try_compile "$LINENO"; then :
2175 ac_lo=$ac_mid; break
2177 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2178 if test $ac_mid -le $ac_hi; then
2182 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2192 # Binary search between lo and hi bounds.
2193 while test "x$ac_lo" != "x$ac_hi"; do
2194 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2196 /* end confdefs.h. */
2201 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2203 return test_array [0];
2209 if ac_fn_c_try_compile "$LINENO"; then :
2212 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2217 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2224 static long int longval () { return $2; }
2225 static unsigned long int ulongval () { return $2; }
2232 FILE *f = fopen ("conftest.val", "w");
2237 long int i = longval ();
2240 fprintf (f, "%ld", i);
2244 unsigned long int i = ulongval ();
2247 fprintf (f, "%lu", i);
2249 /* Do not output a trailing newline, as this causes \r\n confusion
2250 on some platforms. */
2251 return ferror (f) || fclose (f) != 0;
2257 if ac_fn_c_try_run "$LINENO"; then :
2258 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2263 conftest.$ac_objext conftest.beam conftest.$ac_ext
2267 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2268 as_fn_set_status $ac_retval
2270 } # ac_fn_c_compute_int
2272 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2273 # -------------------------------------------
2274 # Tests whether TYPE exists after having included INCLUDES, setting cache
2275 # variable VAR accordingly.
2276 ac_fn_c_check_type ()
2278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2280 $as_echo_n "checking for $2... " >&6; }
2281 if eval \${$3+:} false; then :
2282 $as_echo_n "(cached) " >&6
2285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299 /* end confdefs.h. */
2310 if ac_fn_c_try_compile "$LINENO"; then :
2315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2321 $as_echo "$ac_res" >&6; }
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 } # ac_fn_c_check_type
2326 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2327 # ---------------------------------------------
2328 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2330 ac_fn_c_check_decl ()
2332 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2333 as_decl_name=`echo $2|sed 's/ *(.*//'`
2334 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2336 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2337 if eval \${$3+:} false; then :
2338 $as_echo_n "(cached) " >&6
2340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341 /* end confdefs.h. */
2346 #ifndef $as_decl_name
2348 (void) $as_decl_use;
2350 (void) $as_decl_name;
2358 if ac_fn_c_try_compile "$LINENO"; then :
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2367 $as_echo "$ac_res" >&6; }
2368 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2370 } # ac_fn_c_check_decl
2372 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2373 # ----------------------------------------------------
2374 # Tries to find if the field MEMBER exists in type AGGR, after including
2375 # INCLUDES, setting cache variable VAR accordingly.
2376 ac_fn_c_check_member ()
2378 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2380 $as_echo_n "checking for $2.$3... " >&6; }
2381 if eval \${$4+:} false; then :
2382 $as_echo_n "(cached) " >&6
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2397 if ac_fn_c_try_compile "$LINENO"; then :
2400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h. */
2407 if (sizeof ac_aggr.$3)
2413 if ac_fn_c_try_compile "$LINENO"; then :
2418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2424 $as_echo "$ac_res" >&6; }
2425 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2427 } # ac_fn_c_check_member
2428 cat >config.log <<_ACEOF
2429 This file contains any messages produced by compilers while
2430 running configure, to aid debugging if configure makes a mistake.
2432 It was created by gpgme $as_me 1.5.1, which was
2433 generated by GNU Autoconf 2.69. Invocation command line was
2445 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2446 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2447 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2448 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2449 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2451 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2452 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2454 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2455 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2456 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2457 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2458 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2459 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2460 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir=.
2469 $as_echo "PATH: $as_dir"
2485 # Keep a trace of the command line.
2486 # Strip out --no-create and --no-recursion so they do not pile up.
2487 # Strip out --silent because we don't want to record it for future runs.
2488 # Also quote any args containing shell meta-characters.
2489 # Make two passes to allow for proper duplicate-argument suppression.
2493 ac_must_keep_next=false
2499 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2501 | -silent | --silent | --silen | --sile | --sil)
2504 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2507 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2509 as_fn_append ac_configure_args1 " '$ac_arg'"
2510 if test $ac_must_keep_next = true; then
2511 ac_must_keep_next=false # Got value, back to normal.
2514 *=* | --config-cache | -C | -disable-* | --disable-* \
2515 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2516 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2517 | -with-* | --with-* | -without-* | --without-* | --x)
2518 case "$ac_configure_args0 " in
2519 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2522 -* ) ac_must_keep_next=true ;;
2525 as_fn_append ac_configure_args " '$ac_arg'"
2530 { ac_configure_args0=; unset ac_configure_args0;}
2531 { ac_configure_args1=; unset ac_configure_args1;}
2533 # When interrupted or exit'd, cleanup temporary files, and complete
2534 # config.log. We remove comments because anyway the quotes in there
2535 # would cause problems or look ugly.
2536 # WARNING: Use '\'' to represent an apostrophe within the trap.
2537 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2538 trap 'exit_status=$?
2539 # Save into config.log some information that might help in debugging.
2543 $as_echo "## ---------------- ##
2544 ## Cache variables. ##
2545 ## ---------------- ##"
2547 # The following way of writing the cache mishandles newlines in values,
2549 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2550 eval ac_val=\$$ac_var
2554 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2555 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2558 _ | IFS | as_nl) ;; #(
2559 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2560 *) { eval $ac_var=; unset $ac_var;} ;;
2565 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2566 *${as_nl}ac_space=\ *)
2568 "s/'\''/'\''\\\\'\'''\''/g;
2569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2572 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2579 $as_echo "## ----------------- ##
2580 ## Output variables. ##
2581 ## ----------------- ##"
2583 for ac_var in $ac_subst_vars
2585 eval ac_val=\$$ac_var
2587 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2589 $as_echo "$ac_var='\''$ac_val'\''"
2593 if test -n "$ac_subst_files"; then
2594 $as_echo "## ------------------- ##
2595 ## File substitutions. ##
2596 ## ------------------- ##"
2598 for ac_var in $ac_subst_files
2600 eval ac_val=\$$ac_var
2602 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2604 $as_echo "$ac_var='\''$ac_val'\''"
2609 if test -s confdefs.h; then
2610 $as_echo "## ----------- ##
2617 test "$ac_signal" != 0 &&
2618 $as_echo "$as_me: caught signal $ac_signal"
2619 $as_echo "$as_me: exit $exit_status"
2621 rm -f core *.core core.conftest.* &&
2622 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2625 for ac_signal in 1 2 13 15; do
2626 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2630 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2631 rm -f -r conftest* confdefs.h
2633 $as_echo "/* confdefs.h */" > confdefs.h
2635 # Predefined preprocessor variables.
2637 cat >>confdefs.h <<_ACEOF
2638 #define PACKAGE_NAME "$PACKAGE_NAME"
2641 cat >>confdefs.h <<_ACEOF
2642 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2645 cat >>confdefs.h <<_ACEOF
2646 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2649 cat >>confdefs.h <<_ACEOF
2650 #define PACKAGE_STRING "$PACKAGE_STRING"
2653 cat >>confdefs.h <<_ACEOF
2654 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2657 cat >>confdefs.h <<_ACEOF
2658 #define PACKAGE_URL "$PACKAGE_URL"
2662 # Let the site file select an alternate cache file if it wants to.
2663 # Prefer an explicitly selected file to automatically selected ones.
2666 if test -n "$CONFIG_SITE"; then
2667 # We do not want a PATH search for config.site.
2668 case $CONFIG_SITE in #((
2669 -*) ac_site_file1=./$CONFIG_SITE;;
2670 */*) ac_site_file1=$CONFIG_SITE;;
2671 *) ac_site_file1=./$CONFIG_SITE;;
2673 elif test "x$prefix" != xNONE; then
2674 ac_site_file1=$prefix/share/config.site
2675 ac_site_file2=$prefix/etc/config.site
2677 ac_site_file1=$ac_default_prefix/share/config.site
2678 ac_site_file2=$ac_default_prefix/etc/config.site
2680 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2682 test "x$ac_site_file" = xNONE && continue
2683 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2685 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2686 sed 's/^/| /' "$ac_site_file" >&5
2688 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2690 as_fn_error $? "failed to load site script $ac_site_file
2691 See \`config.log' for more details" "$LINENO" 5; }
2695 if test -r "$cache_file"; then
2696 # Some versions of bash will fail to source /dev/null (special files
2697 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2698 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2700 $as_echo "$as_me: loading cache $cache_file" >&6;}
2702 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2703 *) . "./$cache_file";;
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2708 $as_echo "$as_me: creating cache $cache_file" >&6;}
2712 as_fn_append ac_header_list " locale.h"
2713 as_fn_append ac_header_list " sys/select.h"
2714 as_fn_append ac_header_list " sys/uio.h"
2715 as_fn_append ac_header_list " argp.h"
2716 as_fn_append ac_header_list " unistd.h"
2717 as_fn_append ac_header_list " sys/time.h"
2718 as_fn_append ac_header_list " sys/types.h"
2719 as_fn_append ac_header_list " sys/stat.h"
2720 # Check that the precious variables saved in the cache have kept the same
2722 ac_cache_corrupted=false
2723 for ac_var in $ac_precious_vars; do
2724 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2725 eval ac_new_set=\$ac_env_${ac_var}_set
2726 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2727 eval ac_new_val=\$ac_env_${ac_var}_value
2728 case $ac_old_set,$ac_new_set in
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2731 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2732 ac_cache_corrupted=: ;;
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2735 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2736 ac_cache_corrupted=: ;;
2739 if test "x$ac_old_val" != "x$ac_new_val"; then
2740 # differences in whitespace do not lead to failure.
2741 ac_old_val_w=`echo x $ac_old_val`
2742 ac_new_val_w=`echo x $ac_new_val`
2743 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2745 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2746 ac_cache_corrupted=:
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2749 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2750 eval $ac_var=\$ac_old_val
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2753 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2755 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2758 # Pass precious variables to config.status.
2759 if test "$ac_new_set" = set; then
2761 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2762 *) ac_arg=$ac_var=$ac_new_val ;;
2764 case " $ac_configure_args " in
2765 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2766 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2770 if $ac_cache_corrupted; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2774 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2775 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2777 ## -------------------- ##
2778 ## Main body of script. ##
2779 ## -------------------- ##
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2789 # LT Version numbers, remember to change them just *before* a release.
2790 # (Code changed: REVISION++)
2791 # (Interfaces added/removed/changed: CURRENT++, REVISION=0)
2792 # (Interfaces added: AGE++)
2793 # (Interfaces removed/changed: AGE=0)
2795 LIBGPGME_LT_CURRENT=24
2796 # Subtract 2 from this value if you want to make the LFS transition an
2797 # ABI break. [Note to self: Remove this comment with the next regular break.]
2799 LIBGPGME_LT_REVISION=0
2801 # If the API is changed in an incompatible way: increment the next counter.
2802 GPGME_CONFIG_API_VERSION=1
2803 ##############################################
2805 NEED_GPG_ERROR_VERSION=1.11
2806 NEED_LIBASSUAN_API=2
2807 NEED_LIBASSUAN_VERSION=2.0.2
2810 PACKAGE=$PACKAGE_NAME
2811 VERSION=$PACKAGE_VERSION
2814 for ac_dir in build-aux "$srcdir"/build-aux; do
2815 if test -f "$ac_dir/install-sh"; then
2817 ac_install_sh="$ac_aux_dir/install-sh -c"
2819 elif test -f "$ac_dir/install.sh"; then
2821 ac_install_sh="$ac_aux_dir/install.sh -c"
2823 elif test -f "$ac_dir/shtool"; then
2825 ac_install_sh="$ac_aux_dir/shtool install -c"
2829 if test -z "$ac_aux_dir"; then
2830 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2833 # These three variables are undocumented and unsupported,
2834 # and are intended to be withdrawn in a future Autoconf release.
2835 # They can cause serious problems if a builder's source tree is in a directory
2836 # whose full name contains unusual characters.
2837 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2838 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2839 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2844 ac_config_headers="$ac_config_headers config.h"
2846 # Note: For automake 1.13 add the option
2848 am__api_version='1.11'
2850 # Find a good install program. We prefer a C program (faster),
2851 # so one script is as good as another. But avoid the broken or
2852 # incompatible versions:
2853 # SysV /etc/install, /usr/sbin/install
2854 # SunOS /usr/etc/install
2855 # IRIX /sbin/install
2857 # AmigaOS /C/install, which installs bootblocks on floppy discs
2858 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2859 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2860 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2861 # OS/2's system install, which has a completely different semantic
2862 # ./install, which can be erroneously created by make from ./install.sh.
2863 # Reject install programs that cannot install multiple files.
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2865 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2866 if test -z "$INSTALL"; then
2867 if ${ac_cv_path_install+:} false; then :
2868 $as_echo_n "(cached) " >&6
2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874 test -z "$as_dir" && as_dir=.
2875 # Account for people who put trailing slashes in PATH elements.
2876 case $as_dir/ in #((
2877 ./ | .// | /[cC]/* | \
2878 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2879 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2882 # OSF1 and SCO ODT 3.0 have their own names for install.
2883 # Don't use installbsd from OSF since it installs stuff as root
2885 for ac_prog in ginstall scoinst install; do
2886 for ac_exec_ext in '' $ac_executable_extensions; do
2887 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2888 if test $ac_prog = install &&
2889 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2890 # AIX install. It has an incompatible calling convention.
2892 elif test $ac_prog = install &&
2893 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2894 # program-specific install script used by HP pwplus--don't use.
2897 rm -rf conftest.one conftest.two conftest.dir
2898 echo one > conftest.one
2899 echo two > conftest.two
2901 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2902 test -s conftest.one && test -s conftest.two &&
2903 test -s conftest.dir/conftest.one &&
2904 test -s conftest.dir/conftest.two
2906 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2919 rm -rf conftest.one conftest.two conftest.dir
2922 if test "${ac_cv_path_install+set}" = set; then
2923 INSTALL=$ac_cv_path_install
2925 # As a last resort, use the slow shell script. Don't cache a
2926 # value for INSTALL within a source directory, because that will
2927 # break other packages using the cache if that directory is
2928 # removed, or if the value is a relative name.
2929 INSTALL=$ac_install_sh
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2933 $as_echo "$INSTALL" >&6; }
2935 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2936 # It thinks the first close brace ends the variable substitution.
2937 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2939 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2941 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2944 $as_echo_n "checking whether build environment is sane... " >&6; }
2947 echo timestamp > conftest.file
2948 # Reject unsafe characters in $srcdir or the absolute working directory
2949 # name. Accept space and tab only in the latter.
2953 *[\\\"\#\$\&\'\`$am_lf]*)
2954 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2957 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2958 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2961 # Do `set' in a subshell so we don't clobber the current shell's
2962 # arguments. Must try -L first in case configure is actually a
2963 # symlink; some systems play weird games with the mod time of symlinks
2964 # (eg FreeBSD returns the mod time of the symlink's containing
2967 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2968 if test "$*" = "X"; then
2970 set X `ls -t "$srcdir/configure" conftest.file`
2973 if test "$*" != "X $srcdir/configure conftest.file" \
2974 && test "$*" != "X conftest.file $srcdir/configure"; then
2976 # If neither matched, then we have a broken ls. This can happen
2977 # if, for instance, CONFIG_SHELL is bash and it inherits a
2978 # broken ls alias from the environment. This has actually
2979 # happened. Such a system could not be considered "sane".
2980 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2981 alias in your environment" "$LINENO" 5
2984 test "$2" = conftest.file
2990 as_fn_error $? "newly created file is older than distributed files!
2991 Check your system clock" "$LINENO" 5
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2994 $as_echo "yes" >&6; }
2995 test "$program_prefix" != NONE &&
2996 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2997 # Use a double $ so make ignores it.
2998 test "$program_suffix" != NONE &&
2999 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3000 # Double any \ or $.
3001 # By default was `s,x,x', remove it if useless.
3002 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3003 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3005 # expand $ac_aux_dir to an absolute path
3006 am_aux_dir=`cd $ac_aux_dir && pwd`
3008 if test x"${MISSING+set}" != xset; then
3011 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3013 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3016 # Use eval to expand $SHELL
3017 if eval "$MISSING --run true"; then
3018 am_missing_run="$MISSING --run "
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3022 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3025 if test x"${install_sh}" != xset; then
3028 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3030 install_sh="\${SHELL} $am_aux_dir/install-sh"
3034 # Installed binaries are usually stripped using `strip' when the user
3035 # run `make install-strip'. However `strip' might not be the right
3036 # tool to use in cross-compilation environments, therefore Automake
3037 # will honor the `STRIP' environment variable to overrule this program.
3038 if test "$cross_compiling" != no; then
3039 if test -n "$ac_tool_prefix"; then
3040 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3041 set dummy ${ac_tool_prefix}strip; ac_word=$2
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043 $as_echo_n "checking for $ac_word... " >&6; }
3044 if ${ac_cv_prog_STRIP+:} false; then :
3045 $as_echo_n "(cached) " >&6
3047 if test -n "$STRIP"; then
3048 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 test -z "$as_dir" && as_dir=.
3055 for ac_exec_ext in '' $ac_executable_extensions; do
3056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3057 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3067 STRIP=$ac_cv_prog_STRIP
3068 if test -n "$STRIP"; then
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3070 $as_echo "$STRIP" >&6; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3078 if test -z "$ac_cv_prog_STRIP"; then
3080 # Extract the first word of "strip", so it can be a program name with args.
3081 set dummy strip; ac_word=$2
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083 $as_echo_n "checking for $ac_word... " >&6; }
3084 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3085 $as_echo_n "(cached) " >&6
3087 if test -n "$ac_ct_STRIP"; then
3088 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 test -z "$as_dir" && as_dir=.
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3097 ac_cv_prog_ac_ct_STRIP="strip"
3098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3108 if test -n "$ac_ct_STRIP"; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3110 $as_echo "$ac_ct_STRIP" >&6; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113 $as_echo "no" >&6; }
3116 if test "x$ac_ct_STRIP" = x; then
3119 case $cross_compiling:$ac_tool_warned in
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3123 ac_tool_warned=yes ;;
3128 STRIP="$ac_cv_prog_STRIP"
3132 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3135 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3136 if test -z "$MKDIR_P"; then
3137 if ${ac_cv_path_mkdir+:} false; then :
3138 $as_echo_n "(cached) " >&6
3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3144 test -z "$as_dir" && as_dir=.
3145 for ac_prog in mkdir gmkdir; do
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3148 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3149 'mkdir (GNU coreutils) '* | \
3150 'mkdir (coreutils) '* | \
3151 'mkdir (fileutils) '4.1*)
3152 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3162 test -d ./--version && rmdir ./--version
3163 if test "${ac_cv_path_mkdir+set}" = set; then
3164 MKDIR_P="$ac_cv_path_mkdir -p"
3166 # As a last resort, use the slow shell script. Don't cache a
3167 # value for MKDIR_P within a source directory, because that will
3168 # break other packages using the cache if that directory is
3169 # removed, or if the value is a relative name.
3170 MKDIR_P="$ac_install_sh -d"
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3174 $as_echo "$MKDIR_P" >&6; }
3178 [\\/$]* | ?:[\\/]*) ;;
3179 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3182 for ac_prog in gawk mawk nawk awk
3184 # Extract the first word of "$ac_prog", so it can be a program name with args.
3185 set dummy $ac_prog; ac_word=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if ${ac_cv_prog_AWK+:} false; then :
3189 $as_echo_n "(cached) " >&6
3191 if test -n "$AWK"; then
3192 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir=.
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3201 ac_cv_prog_AWK="$ac_prog"
3202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 if test -n "$AWK"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3214 $as_echo "$AWK" >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3221 test -n "$AWK" && break
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3225 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3227 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3228 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3229 $as_echo_n "(cached) " >&6
3231 cat >conftest.make <<\_ACEOF
3234 @echo '@@@%%%=$(MAKE)=@@@%%%'
3236 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3237 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3239 eval ac_cv_prog_make_${ac_make}_set=yes;;
3241 eval ac_cv_prog_make_${ac_make}_set=no;;
3245 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3247 $as_echo "yes" >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3252 SET_MAKE="MAKE=${MAKE-make}"
3255 rm -rf .tst 2>/dev/null
3256 mkdir .tst 2>/dev/null
3257 if test -d .tst; then
3262 rmdir .tst 2>/dev/null
3264 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3265 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3266 # is not polluted with repeated "-I."
3267 am__isrc=' -I$(srcdir)'
3268 # test to see if srcdir already configured
3269 if test -f $srcdir/config.status; then
3270 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3274 # test whether we have cygpath
3275 if test -z "$CYGPATH_W"; then
3276 if (cygpath --version) >/dev/null 2>/dev/null; then
3277 CYGPATH_W='cygpath -w'
3284 # Define the identity of the package.
3289 cat >>confdefs.h <<_ACEOF
3290 #define PACKAGE "$PACKAGE"
3294 cat >>confdefs.h <<_ACEOF
3295 #define VERSION "$VERSION"
3298 # Some tools Automake needs.
3300 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3303 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3306 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3309 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3312 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3314 # We need awk for the "check" target. The system "awk" is bad on
3316 # Always define AMTAR for backward compatibility. Yes, it's still used
3317 # in the wild :-( We should find a proper way to deprecate it ...
3320 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3328 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3329 # Check whether --enable-maintainer-mode was given.
3330 if test "${enable_maintainer_mode+set}" = set; then :
3331 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3333 USE_MAINTAINER_MODE=no
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3337 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3338 if test $USE_MAINTAINER_MODE = yes; then
3339 MAINTAINER_MODE_TRUE=
3340 MAINTAINER_MODE_FALSE='#'
3342 MAINTAINER_MODE_TRUE='#'
3343 MAINTAINER_MODE_FALSE=
3346 MAINT=$MAINTAINER_MODE_TRUE
3349 # Make sure we can run config.sub.
3350 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3351 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3354 $as_echo_n "checking build system type... " >&6; }
3355 if ${ac_cv_build+:} false; then :
3356 $as_echo_n "(cached) " >&6
3358 ac_build_alias=$build_alias
3359 test "x$ac_build_alias" = x &&
3360 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3361 test "x$ac_build_alias" = x &&
3362 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3363 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3364 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3368 $as_echo "$ac_cv_build" >&6; }
3369 case $ac_cv_build in
3371 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3374 ac_save_IFS=$IFS; IFS='-'
3380 # Remember, the first character of IFS is used to create $*,
3381 # except with old shells:
3384 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3388 $as_echo_n "checking host system type... " >&6; }
3389 if ${ac_cv_host+:} false; then :
3390 $as_echo_n "(cached) " >&6
3392 if test "x$host_alias" = x; then
3393 ac_cv_host=$ac_cv_build
3395 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3396 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3401 $as_echo "$ac_cv_host" >&6; }
3404 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3407 ac_save_IFS=$IFS; IFS='-'
3413 # Remember, the first character of IFS is used to create $*,
3414 # except with old shells:
3417 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3420 # Check whether --enable-silent-rules was given.
3421 if test "${enable_silent_rules+set}" = set; then :
3422 enableval=$enable_silent_rules;
3425 case $enable_silent_rules in
3426 yes) AM_DEFAULT_VERBOSITY=0;;
3427 no) AM_DEFAULT_VERBOSITY=1;;
3428 *) AM_DEFAULT_VERBOSITY=1;;
3430 am_make=${MAKE-make}
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3432 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3433 if ${am_cv_make_support_nested_variables+:} false; then :
3434 $as_echo_n "(cached) " >&6
3436 if $as_echo 'TRUE=$(BAR$(V))
3442 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3443 am_cv_make_support_nested_variables=yes
3445 am_cv_make_support_nested_variables=no
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3449 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3450 if test $am_cv_make_support_nested_variables = yes; then
3452 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3454 AM_V=$AM_DEFAULT_VERBOSITY
3455 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3460 # Enable GNU extensions on systems that have them.
3461 DEPDIR="${am__leading_dot}deps"
3463 ac_config_commands="$ac_config_commands depfiles"
3466 am_make=${MAKE-make}
3467 cat > confinc << 'END'
3469 @echo this is the am__doit target
3472 # If we don't find an include directive, just comment out the code.
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3474 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3478 # First try GNU make style include.
3479 echo "include confinc" > confmf
3480 # Ignore all kinds of additional output from `make'.
3481 case `$am_make -s -f confmf 2> /dev/null` in #(
3482 *the\ am__doit\ target*)
3488 # Now try BSD make style include.
3489 if test "$am__include" = "#"; then
3490 echo '.include "confinc"' > confmf
3491 case `$am_make -s -f confmf 2> /dev/null` in #(
3492 *the\ am__doit\ target*)
3493 am__include=.include
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3502 $as_echo "$_am_result" >&6; }
3503 rm -f confinc confmf
3505 # Check whether --enable-dependency-tracking was given.
3506 if test "${enable_dependency_tracking+set}" = set; then :
3507 enableval=$enable_dependency_tracking;
3510 if test "x$enable_dependency_tracking" != xno; then
3511 am_depcomp="$ac_aux_dir/depcomp"
3515 if test "x$enable_dependency_tracking" != xno; then
3525 ac_cpp='$CPP $CPPFLAGS'
3526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3529 if test -n "$ac_tool_prefix"; then
3530 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3531 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3533 $as_echo_n "checking for $ac_word... " >&6; }
3534 if ${ac_cv_prog_CC+:} false; then :
3535 $as_echo_n "(cached) " >&6
3537 if test -n "$CC"; then
3538 ac_cv_prog_CC="$CC" # Let the user override the test.
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 if test -n "$CC"; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3560 $as_echo "$CC" >&6; }
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3568 if test -z "$ac_cv_prog_CC"; then
3570 # Extract the first word of "gcc", so it can be a program name with args.
3571 set dummy gcc; ac_word=$2
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3575 $as_echo_n "(cached) " >&6
3577 if test -n "$ac_ct_CC"; then
3578 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3587 ac_cv_prog_ac_ct_CC="gcc"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3598 if test -n "$ac_ct_CC"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3600 $as_echo "$ac_ct_CC" >&6; }
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3606 if test "x$ac_ct_CC" = x; then
3609 case $cross_compiling:$ac_tool_warned in
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3613 ac_tool_warned=yes ;;
3621 if test -z "$CC"; then
3622 if test -n "$ac_tool_prefix"; then
3623 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3624 set dummy ${ac_tool_prefix}cc; ac_word=$2
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if ${ac_cv_prog_CC+:} false; then :
3628 $as_echo_n "(cached) " >&6
3630 if test -n "$CC"; then
3631 ac_cv_prog_CC="$CC" # Let the user override the test.
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3640 ac_cv_prog_CC="${ac_tool_prefix}cc"
3641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 if test -n "$CC"; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3653 $as_echo "$CC" >&6; }
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 $as_echo "no" >&6; }
3662 if test -z "$CC"; then
3663 # Extract the first word of "cc", so it can be a program name with args.
3664 set dummy cc; ac_word=$2
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3666 $as_echo_n "checking for $ac_word... " >&6; }
3667 if ${ac_cv_prog_CC+:} false; then :
3668 $as_echo_n "(cached) " >&6
3670 if test -n "$CC"; then
3671 ac_cv_prog_CC="$CC" # Let the user override the test.
3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678 test -z "$as_dir" && as_dir=.
3679 for ac_exec_ext in '' $ac_executable_extensions; do
3680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3681 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3682 ac_prog_rejected=yes
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 if test $ac_prog_rejected = yes; then
3694 # We found a bogon in the path, so make sure we never use it.
3695 set dummy $ac_cv_prog_CC
3697 if test $# != 0; then
3698 # We chose a different compiler from the bogus one.
3699 # However, it has the same basename, so the bogon will be chosen
3700 # first if we set CC to just the basename; use the full file name.
3702 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3708 if test -n "$CC"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3710 $as_echo "$CC" >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3718 if test -z "$CC"; then
3719 if test -n "$ac_tool_prefix"; then
3720 for ac_prog in cl.exe
3722 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3723 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3725 $as_echo_n "checking for $ac_word... " >&6; }
3726 if ${ac_cv_prog_CC+:} false; then :
3727 $as_echo_n "(cached) " >&6
3729 if test -n "$CC"; then
3730 ac_cv_prog_CC="$CC" # Let the user override the test.
3732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 test -z "$as_dir" && as_dir=.
3737 for ac_exec_ext in '' $ac_executable_extensions; do
3738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3739 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 if test -n "$CC"; then
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3752 $as_echo "$CC" >&6; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755 $as_echo "no" >&6; }
3759 test -n "$CC" && break
3762 if test -z "$CC"; then
3764 for ac_prog in cl.exe
3766 # Extract the first word of "$ac_prog", so it can be a program name with args.
3767 set dummy $ac_prog; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$ac_ct_CC"; then
3774 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783 ac_cv_prog_ac_ct_CC="$ac_prog"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3794 if test -n "$ac_ct_CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3796 $as_echo "$ac_ct_CC" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3803 test -n "$ac_ct_CC" && break
3806 if test "x$ac_ct_CC" = x; then
3809 case $cross_compiling:$ac_tool_warned in
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3813 ac_tool_warned=yes ;;
3822 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3824 as_fn_error $? "no acceptable C compiler found in \$PATH
3825 See \`config.log' for more details" "$LINENO" 5; }
3827 # Provide some information about the compiler.
3828 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3831 for ac_option in --version -v -V -qversion; do
3832 { { ac_try="$ac_compiler $ac_option >&5"
3834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3835 *) ac_try_echo=$ac_try;;
3837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3838 $as_echo "$ac_try_echo"; } >&5
3839 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3841 if test -s conftest.err; then
3843 ... rest of stderr output deleted ...
3844 10q' conftest.err >conftest.er1
3845 cat conftest.er1 >&5
3847 rm -f conftest.er1 conftest.err
3848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3849 test $ac_status = 0; }
3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3863 ac_clean_files_save=$ac_clean_files
3864 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3865 # Try to create an executable without -o first, disregard a.out.
3866 # It will help us diagnose broken compilers, and finding out an intuition
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3869 $as_echo_n "checking whether the C compiler works... " >&6; }
3870 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3872 # The possible output files:
3873 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3876 for ac_file in $ac_files
3879 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3880 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3885 if { { ac_try="$ac_link_default"
3887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888 *) ac_try_echo=$ac_try;;
3890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3891 $as_echo "$ac_try_echo"; } >&5
3892 (eval "$ac_link_default") 2>&5
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; then :
3896 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3897 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3898 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3899 # so that the user can short-circuit this test for compilers unknown to
3901 for ac_file in $ac_files ''
3903 test -f "$ac_file" || continue
3905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3908 # We found the default executable, but exeext='' is most
3912 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3914 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3916 # We set ac_cv_exeext here because the later test for it is not
3917 # safe: cross compilers may not add the suffix if given an `-o'
3918 # argument, so we may need to know it at that point already.
3919 # Even if this section looks crufty: it has the advantage of
3926 test "$ac_cv_exeext" = no && ac_cv_exeext=
3931 if test -z "$ac_file"; then :
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3933 $as_echo "no" >&6; }
3934 $as_echo "$as_me: failed program was:" >&5
3935 sed 's/^/| /' conftest.$ac_ext >&5
3937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error 77 "C compiler cannot create executables
3940 See \`config.log' for more details" "$LINENO" 5; }
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3943 $as_echo "yes" >&6; }
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3946 $as_echo_n "checking for C compiler default output file name... " >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3948 $as_echo "$ac_file" >&6; }
3949 ac_exeext=$ac_cv_exeext
3951 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3952 ac_clean_files=$ac_clean_files_save
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3954 $as_echo_n "checking for suffix of executables... " >&6; }
3955 if { { ac_try="$ac_link"
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962 (eval "$ac_link") 2>&5
3964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965 test $ac_status = 0; }; then :
3966 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3967 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3968 # work properly (i.e., refer to `conftest.exe'), while it won't with
3970 for ac_file in conftest.exe conftest conftest.*; do
3971 test -f "$ac_file" || continue
3973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3974 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3983 See \`config.log' for more details" "$LINENO" 5; }
3985 rm -f conftest conftest$ac_cv_exeext
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3987 $as_echo "$ac_cv_exeext" >&6; }
3989 rm -f conftest.$ac_ext
3990 EXEEXT=$ac_cv_exeext
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h. */
3998 FILE *f = fopen ("conftest.out", "w");
3999 return ferror (f) || fclose (f) != 0;
4005 ac_clean_files="$ac_clean_files conftest.out"
4006 # Check that the compiler produces executables we can run. If not, either
4007 # the compiler is broken, or we cross compile.
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4009 $as_echo_n "checking whether we are cross compiling... " >&6; }
4010 if test "$cross_compiling" != yes; then
4011 { { ac_try="$ac_link"
4013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014 *) ac_try_echo=$ac_try;;
4016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4017 $as_echo "$ac_try_echo"; } >&5
4018 (eval "$ac_link") 2>&5
4020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4021 test $ac_status = 0; }
4022 if { ac_try='./conftest$ac_cv_exeext'
4023 { { case "(($ac_try" in
4024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028 $as_echo "$ac_try_echo"; } >&5
4029 (eval "$ac_try") 2>&5
4031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032 test $ac_status = 0; }; }; then
4035 if test "$cross_compiling" = maybe; then
4038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4040 as_fn_error $? "cannot run C compiled programs.
4041 If you meant to cross compile, use \`--host'.
4042 See \`config.log' for more details" "$LINENO" 5; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4047 $as_echo "$cross_compiling" >&6; }
4049 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4050 ac_clean_files=$ac_clean_files_save
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4052 $as_echo_n "checking for suffix of object files... " >&6; }
4053 if ${ac_cv_objext+:} false; then :
4054 $as_echo_n "(cached) " >&6
4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4067 rm -f conftest.o conftest.obj
4068 if { { ac_try="$ac_compile"
4070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4074 $as_echo "$ac_try_echo"; } >&5
4075 (eval "$ac_compile") 2>&5
4077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078 test $ac_status = 0; }; then :
4079 for ac_file in conftest.o conftest.obj conftest.*; do
4080 test -f "$ac_file" || continue;
4082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4083 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4088 $as_echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.$ac_ext >&5
4091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4093 as_fn_error $? "cannot compute suffix of object files: cannot compile
4094 See \`config.log' for more details" "$LINENO" 5; }
4096 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4099 $as_echo "$ac_cv_objext" >&6; }
4100 OBJEXT=$ac_cv_objext
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4103 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4104 if ${ac_cv_c_compiler_gnu+:} false; then :
4105 $as_echo_n "(cached) " >&6
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4121 if ac_fn_c_try_compile "$LINENO"; then :
4126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4127 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4131 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4132 if test $ac_compiler_gnu = yes; then
4137 ac_test_CFLAGS=${CFLAGS+set}
4138 ac_save_CFLAGS=$CFLAGS
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4140 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4141 if ${ac_cv_prog_cc_g+:} false; then :
4142 $as_echo_n "(cached) " >&6
4144 ac_save_c_werror_flag=$ac_c_werror_flag
4145 ac_c_werror_flag=yes
4148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4159 if ac_fn_c_try_compile "$LINENO"; then :
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4174 if ac_fn_c_try_compile "$LINENO"; then :
4177 ac_c_werror_flag=$ac_save_c_werror_flag
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4190 if ac_fn_c_try_compile "$LINENO"; then :
4193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198 ac_c_werror_flag=$ac_save_c_werror_flag
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4201 $as_echo "$ac_cv_prog_cc_g" >&6; }
4202 if test "$ac_test_CFLAGS" = set; then
4203 CFLAGS=$ac_save_CFLAGS
4204 elif test $ac_cv_prog_cc_g = yes; then
4205 if test "$GCC" = yes; then
4211 if test "$GCC" = yes; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4218 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4219 if ${ac_cv_prog_cc_c89+:} false; then :
4220 $as_echo_n "(cached) " >&6
4222 ac_cv_prog_cc_c89=no
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4229 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4230 struct buf { int x; };
4231 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4232 static char *e (p, i)
4238 static char *f (char * (*g) (char **, int), char **p, ...)
4243 s = g (p, va_arg (v,int));
4248 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4249 function prototypes and stuff, but not '\xHH' hex character constants.
4250 These don't provoke an error unfortunately, instead are silently treated
4251 as 'x'. The following induces an error, until -std is added to get
4252 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4253 array size at least. It's necessary to write '\x00'==0 to get something
4254 that's true only with -std. */
4255 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4257 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4258 inside strings and character constants. */
4260 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4262 int test (int i, double x);
4263 struct s1 {int (*f) (int a);};
4264 struct s2 {int (*f) (double a);};
4265 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4271 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4276 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4277 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4279 CC="$ac_save_CC $ac_arg"
4280 if ac_fn_c_try_compile "$LINENO"; then :
4281 ac_cv_prog_cc_c89=$ac_arg
4283 rm -f core conftest.err conftest.$ac_objext
4284 test "x$ac_cv_prog_cc_c89" != "xno" && break
4286 rm -f conftest.$ac_ext
4291 case "x$ac_cv_prog_cc_c89" in
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4294 $as_echo "none needed" >&6; } ;;
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4297 $as_echo "unsupported" >&6; } ;;
4299 CC="$CC $ac_cv_prog_cc_c89"
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4301 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4303 if test "x$ac_cv_prog_cc_c89" != xno; then :
4308 ac_cpp='$CPP $CPPFLAGS'
4309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4313 depcc="$CC" am_compiler_list=
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4316 $as_echo_n "checking dependency style of $depcc... " >&6; }
4317 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4318 $as_echo_n "(cached) " >&6
4320 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4321 # We make a subdir and do the tests there. Otherwise we can end up
4322 # making bogus files that we don't know about and never remove. For
4323 # instance it was reported that on HP-UX the gcc test will end up
4324 # making a dummy file named `D' -- because `-MD' means `put the output
4328 # Copy depcomp to subdir because otherwise we won't find it if we're
4329 # using a relative directory.
4330 cp "$am_depcomp" conftest.dir
4332 # We will build objects and dependencies in a subdirectory because
4333 # it helps to detect inapplicable dependency modes. For instance
4334 # both Tru64's cc and ICC support -MD to output dependencies as a
4335 # side effect of compilation, but ICC will put the dependencies in
4336 # the current directory while Tru64 will put them in the object
4340 am_cv_CC_dependencies_compiler_type=none
4341 if test "$am_compiler_list" = ""; then
4342 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4345 case " $depcc " in #(
4346 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4349 for depmode in $am_compiler_list; do
4350 # Setup a source with many dependencies, because some compilers
4351 # like to wrap large dependency lists on column 80 (with \), and
4352 # we should not choose a depcomp mode which is confused by this.
4354 # We need to recreate these files for each test, as the compiler may
4355 # overwrite some of them when testing with obscure command lines.
4356 # This happens at least with the AIX C compiler.
4358 for i in 1 2 3 4 5 6; do
4359 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4360 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4361 # Solaris 8's {/usr,}/bin/sh.
4362 touch sub/conftst$i.h
4364 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4366 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4367 # mode. It turns out that the SunPro C++ compiler does not properly
4368 # handle `-M -o', and we need to detect this. Also, some Intel
4369 # versions had trouble with output in subdirs
4370 am__obj=sub/conftest.${OBJEXT-o}
4371 am__minus_obj="-o $am__obj"
4374 # This depmode causes a compiler race in universal mode.
4375 test "$am__universal" = false || continue
4378 # after this tag, mechanisms are not by side-effect, so they'll
4379 # only be used when explicitly requested
4380 if test "x$enable_dependency_tracking" = xyes; then
4386 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4387 # This compiler won't grok `-c -o', but also, the minuso test has
4388 # not run yet. These depmodes are late enough in the game, and
4389 # so weak that their functioning should not be impacted.
4390 am__obj=conftest.${OBJEXT-o}
4395 if depmode=$depmode \
4396 source=sub/conftest.c object=$am__obj \
4397 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4398 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4399 >/dev/null 2>conftest.err &&
4400 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4401 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4402 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4403 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4404 # icc doesn't choke on unknown options, it will just issue warnings
4405 # or remarks (even with -Werror). So we grep stderr for any message
4406 # that says an option was ignored or not supported.
4407 # When given -MP, icc 7.0 and 7.1 complain thusly:
4408 # icc: Command line warning: ignoring option '-M'; no argument required
4409 # The diagnosis changed in icc 8.0:
4410 # icc: Command line remark: option '-MP' not supported
4411 if (grep 'ignoring option' conftest.err ||
4412 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4413 am_cv_CC_dependencies_compiler_type=$depmode
4422 am_cv_CC_dependencies_compiler_type=none
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4427 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4428 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4431 test "x$enable_dependency_tracking" != xno \
4432 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4434 am__fastdepCC_FALSE='#'
4436 am__fastdepCC_TRUE='#'
4437 am__fastdepCC_FALSE=
4443 ac_cpp='$CPP $CPPFLAGS'
4444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4448 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4449 # On Suns, sometimes $CPP names a directory.
4450 if test -n "$CPP" && test -d "$CPP"; then
4453 if test -z "$CPP"; then
4454 if ${ac_cv_prog_CPP+:} false; then :
4455 $as_echo_n "(cached) " >&6
4457 # Double quotes because CPP needs to be expanded
4458 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4461 for ac_c_preproc_warn_flag in '' yes
4463 # Use a header file that comes with gcc, so configuring glibc
4464 # with a fresh cross-compiler works.
4465 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4466 # <limits.h> exists even on freestanding compilers.
4467 # On the NeXT, cc -E runs the code through the compiler's parser,
4468 # not just through cpp. "Syntax error" is here to catch this case.
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4472 # include <limits.h>
4474 # include <assert.h>
4478 if ac_fn_c_try_cpp "$LINENO"; then :
4481 # Broken: fails on valid input.
4484 rm -f conftest.err conftest.i conftest.$ac_ext
4486 # OK, works on sane cases. Now check whether nonexistent headers
4487 # can be detected and how.
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4490 #include <ac_nonexistent.h>
4492 if ac_fn_c_try_cpp "$LINENO"; then :
4493 # Broken: success on invalid input.
4496 # Passes both tests.
4500 rm -f conftest.err conftest.i conftest.$ac_ext
4503 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4504 rm -f conftest.i conftest.err conftest.$ac_ext
4505 if $ac_preproc_ok; then :
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4518 $as_echo "$CPP" >&6; }
4520 for ac_c_preproc_warn_flag in '' yes
4522 # Use a header file that comes with gcc, so configuring glibc
4523 # with a fresh cross-compiler works.
4524 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4525 # <limits.h> exists even on freestanding compilers.
4526 # On the NeXT, cc -E runs the code through the compiler's parser,
4527 # not just through cpp. "Syntax error" is here to catch this case.
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4531 # include <limits.h>
4533 # include <assert.h>
4537 if ac_fn_c_try_cpp "$LINENO"; then :
4540 # Broken: fails on valid input.
4543 rm -f conftest.err conftest.i conftest.$ac_ext
4545 # OK, works on sane cases. Now check whether nonexistent headers
4546 # can be detected and how.
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4549 #include <ac_nonexistent.h>
4551 if ac_fn_c_try_cpp "$LINENO"; then :
4552 # Broken: success on invalid input.
4555 # Passes both tests.
4559 rm -f conftest.err conftest.i conftest.$ac_ext
4562 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4563 rm -f conftest.i conftest.err conftest.$ac_ext
4564 if $ac_preproc_ok; then :
4567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4569 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4570 See \`config.log' for more details" "$LINENO" 5; }
4574 ac_cpp='$CPP $CPPFLAGS'
4575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4581 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4582 if ${ac_cv_path_GREP+:} false; then :
4583 $as_echo_n "(cached) " >&6
4585 if test -z "$GREP"; then
4586 ac_path_GREP_found=false
4587 # Loop through the user's path and test for each of PROGNAME-LIST
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4592 test -z "$as_dir" && as_dir=.
4593 for ac_prog in grep ggrep; do
4594 for ac_exec_ext in '' $ac_executable_extensions; do
4595 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4596 as_fn_executable_p "$ac_path_GREP" || continue
4597 # Check for GNU ac_path_GREP and select it if it is found.
4598 # Check for GNU $ac_path_GREP
4599 case `"$ac_path_GREP" --version 2>&1` in
4601 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4604 $as_echo_n 0123456789 >"conftest.in"
4607 cat "conftest.in" "conftest.in" >"conftest.tmp"
4608 mv "conftest.tmp" "conftest.in"
4609 cp "conftest.in" "conftest.nl"
4610 $as_echo 'GREP' >> "conftest.nl"
4611 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4612 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4613 as_fn_arith $ac_count + 1 && ac_count=$as_val
4614 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4615 # Best one so far, save it but keep looking for a better one
4616 ac_cv_path_GREP="$ac_path_GREP"
4617 ac_path_GREP_max=$ac_count
4619 # 10*(2^10) chars as input seems more than enough
4620 test $ac_count -gt 10 && break
4622 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4625 $ac_path_GREP_found && break 3
4630 if test -z "$ac_cv_path_GREP"; then
4631 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4634 ac_cv_path_GREP=$GREP
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4639 $as_echo "$ac_cv_path_GREP" >&6; }
4640 GREP="$ac_cv_path_GREP"
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4644 $as_echo_n "checking for egrep... " >&6; }
4645 if ${ac_cv_path_EGREP+:} false; then :
4646 $as_echo_n "(cached) " >&6
4648 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4649 then ac_cv_path_EGREP="$GREP -E"
4651 if test -z "$EGREP"; then
4652 ac_path_EGREP_found=false
4653 # Loop through the user's path and test for each of PROGNAME-LIST
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4658 test -z "$as_dir" && as_dir=.
4659 for ac_prog in egrep; do
4660 for ac_exec_ext in '' $ac_executable_extensions; do
4661 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4662 as_fn_executable_p "$ac_path_EGREP" || continue
4663 # Check for GNU ac_path_EGREP and select it if it is found.
4664 # Check for GNU $ac_path_EGREP
4665 case `"$ac_path_EGREP" --version 2>&1` in
4667 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4670 $as_echo_n 0123456789 >"conftest.in"
4673 cat "conftest.in" "conftest.in" >"conftest.tmp"
4674 mv "conftest.tmp" "conftest.in"
4675 cp "conftest.in" "conftest.nl"
4676 $as_echo 'EGREP' >> "conftest.nl"
4677 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4678 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4679 as_fn_arith $ac_count + 1 && ac_count=$as_val
4680 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4681 # Best one so far, save it but keep looking for a better one
4682 ac_cv_path_EGREP="$ac_path_EGREP"
4683 ac_path_EGREP_max=$ac_count
4685 # 10*(2^10) chars as input seems more than enough
4686 test $ac_count -gt 10 && break
4688 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4691 $ac_path_EGREP_found && break 3
4696 if test -z "$ac_cv_path_EGREP"; then
4697 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4700 ac_cv_path_EGREP=$EGREP
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4706 $as_echo "$ac_cv_path_EGREP" >&6; }
4707 EGREP="$ac_cv_path_EGREP"
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4711 $as_echo_n "checking for ANSI C header files... " >&6; }
4712 if ${ac_cv_header_stdc+:} false; then :
4713 $as_echo_n "(cached) " >&6
4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4730 if ac_fn_c_try_compile "$LINENO"; then :
4731 ac_cv_header_stdc=yes
4733 ac_cv_header_stdc=no
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 if test $ac_cv_header_stdc = yes; then
4738 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4745 $EGREP "memchr" >/dev/null 2>&1; then :
4748 ac_cv_header_stdc=no
4754 if test $ac_cv_header_stdc = yes; then
4755 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4762 $EGREP "free" >/dev/null 2>&1; then :
4765 ac_cv_header_stdc=no
4771 if test $ac_cv_header_stdc = yes; then
4772 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4773 if test "$cross_compiling" = yes; then :
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4780 #if ((' ' & 0x0FF) == 0x020)
4781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4784 # define ISLOWER(c) \
4785 (('a' <= (c) && (c) <= 'i') \
4786 || ('j' <= (c) && (c) <= 'r') \
4787 || ('s' <= (c) && (c) <= 'z'))
4788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4796 for (i = 0; i < 256; i++)
4797 if (XOR (islower (i), ISLOWER (i))
4798 || toupper (i) != TOUPPER (i))
4803 if ac_fn_c_try_run "$LINENO"; then :
4806 ac_cv_header_stdc=no
4808 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4809 conftest.$ac_objext conftest.beam conftest.$ac_ext
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4815 $as_echo "$ac_cv_header_stdc" >&6; }
4816 if test $ac_cv_header_stdc = yes; then
4818 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4822 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4823 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4824 inttypes.h stdint.h unistd.h
4826 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4827 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4829 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4830 cat >>confdefs.h <<_ACEOF
4831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4840 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4841 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4848 if test "$MINIX" = yes; then
4850 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4853 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4856 $as_echo "#define _MINIX 1" >>confdefs.h
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4862 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4863 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4864 $as_echo_n "(cached) " >&6
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4869 # define __EXTENSIONS__ 1
4870 $ac_includes_default
4879 if ac_fn_c_try_compile "$LINENO"; then :
4880 ac_cv_safe_to_define___extensions__=yes
4882 ac_cv_safe_to_define___extensions__=no
4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4887 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4888 test $ac_cv_safe_to_define___extensions__ = yes &&
4889 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4891 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4893 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4895 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4897 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4905 ac_cpp='$CPP $CPPFLAGS'
4906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4909 if test -n "$ac_tool_prefix"; then
4910 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4911 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_CC+:} false; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$CC"; then
4918 ac_cv_prog_CC="$CC" # Let the user override the test.
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 if test -n "$CC"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4940 $as_echo "$CC" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4948 if test -z "$ac_cv_prog_CC"; then
4950 # Extract the first word of "gcc", so it can be a program name with args.
4951 set dummy gcc; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$ac_ct_CC"; then
4958 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir=.
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_ac_ct_CC="gcc"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4978 if test -n "$ac_ct_CC"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4980 $as_echo "$ac_ct_CC" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4986 if test "x$ac_ct_CC" = x; then
4989 case $cross_compiling:$ac_tool_warned in
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4993 ac_tool_warned=yes ;;
5001 if test -z "$CC"; then
5002 if test -n "$ac_tool_prefix"; then
5003 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5004 set dummy ${ac_tool_prefix}cc; ac_word=$2
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006 $as_echo_n "checking for $ac_word... " >&6; }
5007 if ${ac_cv_prog_CC+:} false; then :
5008 $as_echo_n "(cached) " >&6
5010 if test -n "$CC"; then
5011 ac_cv_prog_CC="$CC" # Let the user override the test.
5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 test -z "$as_dir" && as_dir=.
5018 for ac_exec_ext in '' $ac_executable_extensions; do
5019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020 ac_cv_prog_CC="${ac_tool_prefix}cc"
5021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 if test -n "$CC"; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5033 $as_echo "$CC" >&6; }
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 $as_echo "no" >&6; }
5042 if test -z "$CC"; then
5043 # Extract the first word of "cc", so it can be a program name with args.
5044 set dummy cc; ac_word=$2
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if ${ac_cv_prog_CC+:} false; then :
5048 $as_echo_n "(cached) " >&6
5050 if test -n "$CC"; then
5051 ac_cv_prog_CC="$CC" # Let the user override the test.
5054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir=.
5059 for ac_exec_ext in '' $ac_executable_extensions; do
5060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5061 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5062 ac_prog_rejected=yes
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 if test $ac_prog_rejected = yes; then
5074 # We found a bogon in the path, so make sure we never use it.
5075 set dummy $ac_cv_prog_CC
5077 if test $# != 0; then
5078 # We chose a different compiler from the bogus one.
5079 # However, it has the same basename, so the bogon will be chosen
5080 # first if we set CC to just the basename; use the full file name.
5082 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5088 if test -n "$CC"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5090 $as_echo "$CC" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5098 if test -z "$CC"; then
5099 if test -n "$ac_tool_prefix"; then
5100 for ac_prog in cl.exe
5102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5103 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105 $as_echo_n "checking for $ac_word... " >&6; }
5106 if ${ac_cv_prog_CC+:} false; then :
5107 $as_echo_n "(cached) " >&6
5109 if test -n "$CC"; then
5110 ac_cv_prog_CC="$CC" # Let the user override the test.
5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 test -z "$as_dir" && as_dir=.
5117 for ac_exec_ext in '' $ac_executable_extensions; do
5118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5119 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 if test -n "$CC"; then
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5132 $as_echo "$CC" >&6; }
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5139 test -n "$CC" && break
5142 if test -z "$CC"; then
5144 for ac_prog in cl.exe
5146 # Extract the first word of "$ac_prog", so it can be a program name with args.
5147 set dummy $ac_prog; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5151 $as_echo_n "(cached) " >&6
5153 if test -n "$ac_ct_CC"; then
5154 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_ac_ct_CC="$ac_prog"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5174 if test -n "$ac_ct_CC"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5176 $as_echo "$ac_ct_CC" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 test -n "$ac_ct_CC" && break
5186 if test "x$ac_ct_CC" = x; then
5189 case $cross_compiling:$ac_tool_warned in
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5193 ac_tool_warned=yes ;;
5202 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5204 as_fn_error $? "no acceptable C compiler found in \$PATH
5205 See \`config.log' for more details" "$LINENO" 5; }
5207 # Provide some information about the compiler.
5208 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5211 for ac_option in --version -v -V -qversion; do
5212 { { ac_try="$ac_compiler $ac_option >&5"
5214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5215 *) ac_try_echo=$ac_try;;
5217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5218 $as_echo "$ac_try_echo"; } >&5
5219 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5221 if test -s conftest.err; then
5223 ... rest of stderr output deleted ...
5224 10q' conftest.err >conftest.er1
5225 cat conftest.er1 >&5
5227 rm -f conftest.er1 conftest.err
5228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5229 test $ac_status = 0; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5233 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5234 if ${ac_cv_c_compiler_gnu+:} false; then :
5235 $as_echo_n "(cached) " >&6
5237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5238 /* end confdefs.h. */
5251 if ac_fn_c_try_compile "$LINENO"; then :
5256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5257 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5261 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5262 if test $ac_compiler_gnu = yes; then
5267 ac_test_CFLAGS=${CFLAGS+set}
5268 ac_save_CFLAGS=$CFLAGS
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5270 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5271 if ${ac_cv_prog_cc_g+:} false; then :
5272 $as_echo_n "(cached) " >&6
5274 ac_save_c_werror_flag=$ac_c_werror_flag
5275 ac_c_werror_flag=yes
5278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5279 /* end confdefs.h. */
5289 if ac_fn_c_try_compile "$LINENO"; then :
5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5304 if ac_fn_c_try_compile "$LINENO"; then :
5307 ac_c_werror_flag=$ac_save_c_werror_flag
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5320 if ac_fn_c_try_compile "$LINENO"; then :
5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5328 ac_c_werror_flag=$ac_save_c_werror_flag
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5331 $as_echo "$ac_cv_prog_cc_g" >&6; }
5332 if test "$ac_test_CFLAGS" = set; then
5333 CFLAGS=$ac_save_CFLAGS
5334 elif test $ac_cv_prog_cc_g = yes; then
5335 if test "$GCC" = yes; then
5341 if test "$GCC" = yes; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5348 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5349 if ${ac_cv_prog_cc_c89+:} false; then :
5350 $as_echo_n "(cached) " >&6
5352 ac_cv_prog_cc_c89=no
5354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5355 /* end confdefs.h. */
5359 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5360 struct buf { int x; };
5361 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5362 static char *e (p, i)
5368 static char *f (char * (*g) (char **, int), char **p, ...)
5373 s = g (p, va_arg (v,int));
5378 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5379 function prototypes and stuff, but not '\xHH' hex character constants.
5380 These don't provoke an error unfortunately, instead are silently treated
5381 as 'x'. The following induces an error, until -std is added to get
5382 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5383 array size at least. It's necessary to write '\x00'==0 to get something
5384 that's true only with -std. */
5385 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5387 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5388 inside strings and character constants. */
5390 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5392 int test (int i, double x);
5393 struct s1 {int (*f) (int a);};
5394 struct s2 {int (*f) (double a);};
5395 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5401 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5406 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5407 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5409 CC="$ac_save_CC $ac_arg"
5410 if ac_fn_c_try_compile "$LINENO"; then :
5411 ac_cv_prog_cc_c89=$ac_arg
5413 rm -f core conftest.err conftest.$ac_objext
5414 test "x$ac_cv_prog_cc_c89" != "xno" && break
5416 rm -f conftest.$ac_ext
5421 case "x$ac_cv_prog_cc_c89" in
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5424 $as_echo "none needed" >&6; } ;;
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5427 $as_echo "unsupported" >&6; } ;;
5429 CC="$CC $ac_cv_prog_cc_c89"
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5431 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5433 if test "x$ac_cv_prog_cc_c89" != xno; then :
5438 ac_cpp='$CPP $CPPFLAGS'
5439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5443 depcc="$CC" am_compiler_list=
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5446 $as_echo_n "checking dependency style of $depcc... " >&6; }
5447 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5448 $as_echo_n "(cached) " >&6
5450 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5451 # We make a subdir and do the tests there. Otherwise we can end up
5452 # making bogus files that we don't know about and never remove. For
5453 # instance it was reported that on HP-UX the gcc test will end up
5454 # making a dummy file named `D' -- because `-MD' means `put the output
5458 # Copy depcomp to subdir because otherwise we won't find it if we're
5459 # using a relative directory.
5460 cp "$am_depcomp" conftest.dir
5462 # We will build objects and dependencies in a subdirectory because
5463 # it helps to detect inapplicable dependency modes. For instance
5464 # both Tru64's cc and ICC support -MD to output dependencies as a
5465 # side effect of compilation, but ICC will put the dependencies in
5466 # the current directory while Tru64 will put them in the object
5470 am_cv_CC_dependencies_compiler_type=none
5471 if test "$am_compiler_list" = ""; then
5472 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5475 case " $depcc " in #(
5476 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5479 for depmode in $am_compiler_list; do
5480 # Setup a source with many dependencies, because some compilers
5481 # like to wrap large dependency lists on column 80 (with \), and
5482 # we should not choose a depcomp mode which is confused by this.
5484 # We need to recreate these files for each test, as the compiler may
5485 # overwrite some of them when testing with obscure command lines.
5486 # This happens at least with the AIX C compiler.
5488 for i in 1 2 3 4 5 6; do
5489 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5490 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5491 # Solaris 8's {/usr,}/bin/sh.
5492 touch sub/conftst$i.h
5494 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5496 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5497 # mode. It turns out that the SunPro C++ compiler does not properly
5498 # handle `-M -o', and we need to detect this. Also, some Intel
5499 # versions had trouble with output in subdirs
5500 am__obj=sub/conftest.${OBJEXT-o}
5501 am__minus_obj="-o $am__obj"
5504 # This depmode causes a compiler race in universal mode.
5505 test "$am__universal" = false || continue
5508 # after this tag, mechanisms are not by side-effect, so they'll
5509 # only be used when explicitly requested
5510 if test "x$enable_dependency_tracking" = xyes; then
5516 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5517 # This compiler won't grok `-c -o', but also, the minuso test has
5518 # not run yet. These depmodes are late enough in the game, and
5519 # so weak that their functioning should not be impacted.
5520 am__obj=conftest.${OBJEXT-o}
5525 if depmode=$depmode \
5526 source=sub/conftest.c object=$am__obj \
5527 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5528 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5529 >/dev/null 2>conftest.err &&
5530 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5531 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5532 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5533 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5534 # icc doesn't choke on unknown options, it will just issue warnings
5535 # or remarks (even with -Werror). So we grep stderr for any message
5536 # that says an option was ignored or not supported.
5537 # When given -MP, icc 7.0 and 7.1 complain thusly:
5538 # icc: Command line warning: ignoring option '-M'; no argument required
5539 # The diagnosis changed in icc 8.0:
5540 # icc: Command line remark: option '-MP' not supported
5541 if (grep 'ignoring option' conftest.err ||
5542 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5543 am_cv_CC_dependencies_compiler_type=$depmode
5552 am_cv_CC_dependencies_compiler_type=none
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5557 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5558 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5561 test "x$enable_dependency_tracking" != xno \
5562 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5564 am__fastdepCC_FALSE='#'
5566 am__fastdepCC_TRUE='#'
5567 am__fastdepCC_FALSE=
5572 ac_cpp='$CXXCPP $CPPFLAGS'
5573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5576 if test -z "$CXX"; then
5577 if test -n "$CCC"; then
5580 if test -n "$ac_tool_prefix"; then
5581 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5583 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5584 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_CXX+:} false; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$CXX"; then
5591 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 if test -n "$CXX"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5613 $as_echo "$CXX" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5620 test -n "$CXX" && break
5623 if test -z "$CXX"; then
5625 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5627 # Extract the first word of "$ac_prog", so it can be a program name with args.
5628 set dummy $ac_prog; ac_word=$2
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 $as_echo_n "checking for $ac_word... " >&6; }
5631 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5632 $as_echo_n "(cached) " >&6
5634 if test -n "$ac_ct_CXX"; then
5635 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644 ac_cv_prog_ac_ct_CXX="$ac_prog"
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5655 if test -n "$ac_ct_CXX"; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5657 $as_echo "$ac_ct_CXX" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }
5664 test -n "$ac_ct_CXX" && break
5667 if test "x$ac_ct_CXX" = x; then
5670 case $cross_compiling:$ac_tool_warned in
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5674 ac_tool_warned=yes ;;
5682 # Provide some information about the compiler.
5683 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5686 for ac_option in --version -v -V -qversion; do
5687 { { ac_try="$ac_compiler $ac_option >&5"
5689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5690 *) ac_try_echo=$ac_try;;
5692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5693 $as_echo "$ac_try_echo"; } >&5
5694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5696 if test -s conftest.err; then
5698 ... rest of stderr output deleted ...
5699 10q' conftest.err >conftest.er1
5700 cat conftest.er1 >&5
5702 rm -f conftest.er1 conftest.err
5703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5704 test $ac_status = 0; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5708 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5709 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5710 $as_echo_n "(cached) " >&6
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5726 if ac_fn_cxx_try_compile "$LINENO"; then :
5731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5732 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5736 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5737 if test $ac_compiler_gnu = yes; then
5742 ac_test_CXXFLAGS=${CXXFLAGS+set}
5743 ac_save_CXXFLAGS=$CXXFLAGS
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5745 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5746 if ${ac_cv_prog_cxx_g+:} false; then :
5747 $as_echo_n "(cached) " >&6
5749 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5750 ac_cxx_werror_flag=yes
5753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5754 /* end confdefs.h. */
5764 if ac_fn_cxx_try_compile "$LINENO"; then :
5765 ac_cv_prog_cxx_g=yes
5768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5769 /* end confdefs.h. */
5779 if ac_fn_cxx_try_compile "$LINENO"; then :
5782 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5785 /* end confdefs.h. */
5795 if ac_fn_cxx_try_compile "$LINENO"; then :
5796 ac_cv_prog_cxx_g=yes
5798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5803 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5806 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5807 if test "$ac_test_CXXFLAGS" = set; then
5808 CXXFLAGS=$ac_save_CXXFLAGS
5809 elif test $ac_cv_prog_cxx_g = yes; then
5810 if test "$GXX" = yes; then
5816 if test "$GXX" = yes; then
5823 ac_cpp='$CPP $CPPFLAGS'
5824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5828 depcc="$CXX" am_compiler_list=
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5831 $as_echo_n "checking dependency style of $depcc... " >&6; }
5832 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5833 $as_echo_n "(cached) " >&6
5835 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5836 # We make a subdir and do the tests there. Otherwise we can end up
5837 # making bogus files that we don't know about and never remove. For
5838 # instance it was reported that on HP-UX the gcc test will end up
5839 # making a dummy file named `D' -- because `-MD' means `put the output
5843 # Copy depcomp to subdir because otherwise we won't find it if we're
5844 # using a relative directory.
5845 cp "$am_depcomp" conftest.dir
5847 # We will build objects and dependencies in a subdirectory because
5848 # it helps to detect inapplicable dependency modes. For instance
5849 # both Tru64's cc and ICC support -MD to output dependencies as a
5850 # side effect of compilation, but ICC will put the dependencies in
5851 # the current directory while Tru64 will put them in the object
5855 am_cv_CXX_dependencies_compiler_type=none
5856 if test "$am_compiler_list" = ""; then
5857 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5860 case " $depcc " in #(
5861 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5864 for depmode in $am_compiler_list; do
5865 # Setup a source with many dependencies, because some compilers
5866 # like to wrap large dependency lists on column 80 (with \), and
5867 # we should not choose a depcomp mode which is confused by this.
5869 # We need to recreate these files for each test, as the compiler may
5870 # overwrite some of them when testing with obscure command lines.
5871 # This happens at least with the AIX C compiler.
5873 for i in 1 2 3 4 5 6; do
5874 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5875 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5876 # Solaris 8's {/usr,}/bin/sh.
5877 touch sub/conftst$i.h
5879 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5881 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5882 # mode. It turns out that the SunPro C++ compiler does not properly
5883 # handle `-M -o', and we need to detect this. Also, some Intel
5884 # versions had trouble with output in subdirs
5885 am__obj=sub/conftest.${OBJEXT-o}
5886 am__minus_obj="-o $am__obj"
5889 # This depmode causes a compiler race in universal mode.
5890 test "$am__universal" = false || continue
5893 # after this tag, mechanisms are not by side-effect, so they'll
5894 # only be used when explicitly requested
5895 if test "x$enable_dependency_tracking" = xyes; then
5901 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5902 # This compiler won't grok `-c -o', but also, the minuso test has
5903 # not run yet. These depmodes are late enough in the game, and
5904 # so weak that their functioning should not be impacted.
5905 am__obj=conftest.${OBJEXT-o}
5910 if depmode=$depmode \
5911 source=sub/conftest.c object=$am__obj \
5912 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5913 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5914 >/dev/null 2>conftest.err &&
5915 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5916 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5917 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5918 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5919 # icc doesn't choke on unknown options, it will just issue warnings
5920 # or remarks (even with -Werror). So we grep stderr for any message
5921 # that says an option was ignored or not supported.
5922 # When given -MP, icc 7.0 and 7.1 complain thusly:
5923 # icc: Command line warning: ignoring option '-M'; no argument required
5924 # The diagnosis changed in icc 8.0:
5925 # icc: Command line remark: option '-MP' not supported
5926 if (grep 'ignoring option' conftest.err ||
5927 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5928 am_cv_CXX_dependencies_compiler_type=$depmode
5937 am_cv_CXX_dependencies_compiler_type=none
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5942 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5943 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5946 test "x$enable_dependency_tracking" != xno \
5947 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5948 am__fastdepCXX_TRUE=
5949 am__fastdepCXX_FALSE='#'
5951 am__fastdepCXX_TRUE='#'
5952 am__fastdepCXX_FALSE=
5957 # Note: A suitable gitlog-to-changelog script can be found in GnuPG master.
5958 for ac_prog in gitlog-to-changelog
5960 # Extract the first word of "$ac_prog", so it can be a program name with args.
5961 set dummy $ac_prog; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_GITLOG_TO_CHANGELOG+:} false; then :
5965 $as_echo_n "(cached) " >&6
5967 if test -n "$GITLOG_TO_CHANGELOG"; then
5968 ac_cv_prog_GITLOG_TO_CHANGELOG="$GITLOG_TO_CHANGELOG" # Let the user override the test.
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_GITLOG_TO_CHANGELOG="$ac_prog"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987 GITLOG_TO_CHANGELOG=$ac_cv_prog_GITLOG_TO_CHANGELOG
5988 if test -n "$GITLOG_TO_CHANGELOG"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GITLOG_TO_CHANGELOG" >&5
5990 $as_echo "$GITLOG_TO_CHANGELOG" >&6; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5997 test -n "$GITLOG_TO_CHANGELOG" && break
5999 test -n "$GITLOG_TO_CHANGELOG" || GITLOG_TO_CHANGELOG="gitlog-to-changelog"
6009 cat >>confdefs.h <<_ACEOF
6010 #define PACKAGE "$PACKAGE"
6014 cat >>confdefs.h <<_ACEOF
6015 #define VERSION "$VERSION"
6018 VERSION_NUMBER=0x010501
6021 # Don't default to build static libs.
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6026 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6031 macro_version='2.4.2'
6032 macro_revision='1.3337'
6046 ltmain="$ac_aux_dir/ltmain.sh"
6048 # Backslashify metacharacters that are still active within
6049 # double-quoted strings.
6050 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6052 # Same as above, but do not quote variable references.
6053 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6055 # Sed substitution to delay expansion of an escaped shell variable in a
6056 # double_quote_subst'ed string.
6057 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6059 # Sed substitution to delay expansion of an escaped single quote.
6060 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6062 # Sed substitution to avoid accidental globbing in evaled expressions
6063 no_glob_subst='s/\*/\\\*/g'
6065 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6066 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6067 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6070 $as_echo_n "checking how to print strings... " >&6; }
6071 # Test print first, because it will be a builtin if present.
6072 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6073 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6075 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6078 # Use this function as a fallback that always works.
6079 func_fallback_echo ()
6081 eval 'cat <<_LTECHO_EOF
6085 ECHO='func_fallback_echo'
6088 # func_echo_all arg...
6089 # Invoke $ECHO with all args, space-separated.
6096 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6097 $as_echo "printf" >&6; } ;;
6098 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6099 $as_echo "print -r" >&6; } ;;
6100 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6101 $as_echo "cat" >&6; } ;;
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6118 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6119 if ${ac_cv_path_SED+:} false; then :
6120 $as_echo_n "(cached) " >&6
6122 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6123 for ac_i in 1 2 3 4 5 6 7; do
6124 ac_script="$ac_script$as_nl$ac_script"
6126 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6127 { ac_script=; unset ac_script;}
6128 if test -z "$SED"; then
6129 ac_path_SED_found=false
6130 # Loop through the user's path and test for each of PROGNAME-LIST
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 test -z "$as_dir" && as_dir=.
6136 for ac_prog in sed gsed; do
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6139 as_fn_executable_p "$ac_path_SED" || continue
6140 # Check for GNU ac_path_SED and select it if it is found.
6141 # Check for GNU $ac_path_SED
6142 case `"$ac_path_SED" --version 2>&1` in
6144 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6147 $as_echo_n 0123456789 >"conftest.in"
6150 cat "conftest.in" "conftest.in" >"conftest.tmp"
6151 mv "conftest.tmp" "conftest.in"
6152 cp "conftest.in" "conftest.nl"
6153 $as_echo '' >> "conftest.nl"
6154 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6155 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6156 as_fn_arith $ac_count + 1 && ac_count=$as_val
6157 if test $ac_count -gt ${ac_path_SED_max-0}; then
6158 # Best one so far, save it but keep looking for a better one
6159 ac_cv_path_SED="$ac_path_SED"
6160 ac_path_SED_max=$ac_count
6162 # 10*(2^10) chars as input seems more than enough
6163 test $ac_count -gt 10 && break
6165 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6168 $ac_path_SED_found && break 3
6173 if test -z "$ac_cv_path_SED"; then
6174 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6182 $as_echo "$ac_cv_path_SED" >&6; }
6183 SED="$ac_cv_path_SED"
6186 test -z "$SED" && SED=sed
6187 Xsed="$SED -e 1s/^X//"
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6200 $as_echo_n "checking for fgrep... " >&6; }
6201 if ${ac_cv_path_FGREP+:} false; then :
6202 $as_echo_n "(cached) " >&6
6204 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6205 then ac_cv_path_FGREP="$GREP -F"
6207 if test -z "$FGREP"; then
6208 ac_path_FGREP_found=false
6209 # Loop through the user's path and test for each of PROGNAME-LIST
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6214 test -z "$as_dir" && as_dir=.
6215 for ac_prog in fgrep; do
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6218 as_fn_executable_p "$ac_path_FGREP" || continue
6219 # Check for GNU ac_path_FGREP and select it if it is found.
6220 # Check for GNU $ac_path_FGREP
6221 case `"$ac_path_FGREP" --version 2>&1` in
6223 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6226 $as_echo_n 0123456789 >"conftest.in"
6229 cat "conftest.in" "conftest.in" >"conftest.tmp"
6230 mv "conftest.tmp" "conftest.in"
6231 cp "conftest.in" "conftest.nl"
6232 $as_echo 'FGREP' >> "conftest.nl"
6233 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6234 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6235 as_fn_arith $ac_count + 1 && ac_count=$as_val
6236 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6237 # Best one so far, save it but keep looking for a better one
6238 ac_cv_path_FGREP="$ac_path_FGREP"
6239 ac_path_FGREP_max=$ac_count
6241 # 10*(2^10) chars as input seems more than enough
6242 test $ac_count -gt 10 && break
6244 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6247 $ac_path_FGREP_found && break 3
6252 if test -z "$ac_cv_path_FGREP"; then
6253 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6256 ac_cv_path_FGREP=$FGREP
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6262 $as_echo "$ac_cv_path_FGREP" >&6; }
6263 FGREP="$ac_cv_path_FGREP"
6266 test -z "$GREP" && GREP=grep
6286 # Check whether --with-gnu-ld was given.
6287 if test "${with_gnu_ld+set}" = set; then :
6288 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6294 if test "$GCC" = yes; then
6295 # Check if gcc -print-prog-name=ld gives a path.
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6297 $as_echo_n "checking for ld used by $CC... " >&6; }
6300 # gcc leaves a trailing carriage return which upsets mingw
6301 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6303 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6306 # Accept absolute paths.
6308 re_direlt='/[^/][^/]*/\.\./'
6309 # Canonicalize the pathname of ld
6310 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6311 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6312 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6314 test -z "$LD" && LD="$ac_prog"
6317 # If it fails, then pretend we aren't using GCC.
6321 # If it is relative, then search for the first ld in PATH.
6325 elif test "$with_gnu_ld" = yes; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6327 $as_echo_n "checking for GNU ld... " >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6330 $as_echo_n "checking for non-GNU ld... " >&6; }
6332 if ${lt_cv_path_LD+:} false; then :
6333 $as_echo_n "(cached) " >&6
6335 if test -z "$LD"; then
6336 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6337 for ac_dir in $PATH; do
6339 test -z "$ac_dir" && ac_dir=.
6340 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6341 lt_cv_path_LD="$ac_dir/$ac_prog"
6342 # Check to see if the program is GNU ld. I'd rather use --version,
6343 # but apparently some variants of GNU ld only accept -v.
6344 # Break only if it was the GNU/non-GNU ld that we prefer.
6345 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6346 *GNU* | *'with BFD'*)
6347 test "$with_gnu_ld" != no && break
6350 test "$with_gnu_ld" != yes && break
6357 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6362 if test -n "$LD"; then
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6364 $as_echo "$LD" >&6; }
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367 $as_echo "no" >&6; }
6369 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6371 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6372 if ${lt_cv_prog_gnu_ld+:} false; then :
6373 $as_echo_n "(cached) " >&6
6375 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6376 case `$LD -v 2>&1 </dev/null` in
6377 *GNU* | *'with BFD'*)
6378 lt_cv_prog_gnu_ld=yes
6381 lt_cv_prog_gnu_ld=no
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6386 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6387 with_gnu_ld=$lt_cv_prog_gnu_ld
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6398 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6399 if ${lt_cv_path_NM+:} false; then :
6400 $as_echo_n "(cached) " >&6
6402 if test -n "$NM"; then
6403 # Let the user override the test.
6406 lt_nm_to_check="${ac_tool_prefix}nm"
6407 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6408 lt_nm_to_check="$lt_nm_to_check nm"
6410 for lt_tmp_nm in $lt_nm_to_check; do
6411 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6412 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6414 test -z "$ac_dir" && ac_dir=.
6415 tmp_nm="$ac_dir/$lt_tmp_nm"
6416 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6417 # Check to see if the nm accepts a BSD-compat flag.
6418 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6419 # nm: unknown option "B" ignored
6420 # Tru64's nm complains that /dev/null is an invalid object file
6421 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6422 */dev/null* | *'Invalid file or object type'*)
6423 lt_cv_path_NM="$tmp_nm -B"
6427 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6429 lt_cv_path_NM="$tmp_nm -p"
6433 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6434 continue # so that we can try to find one that supports BSD flags
6443 : ${lt_cv_path_NM=no}
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6447 $as_echo "$lt_cv_path_NM" >&6; }
6448 if test "$lt_cv_path_NM" != "no"; then
6451 # Didn't find any BSD compatible name lister, look for dumpbin.
6452 if test -n "$DUMPBIN"; then :
6453 # Let the user override the test.
6455 if test -n "$ac_tool_prefix"; then
6456 for ac_prog in dumpbin "link -dump"
6458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6459 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 $as_echo_n "checking for $ac_word... " >&6; }
6462 if ${ac_cv_prog_DUMPBIN+:} false; then :
6463 $as_echo_n "(cached) " >&6
6465 if test -n "$DUMPBIN"; then
6466 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 test -z "$as_dir" && as_dir=.
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6475 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 DUMPBIN=$ac_cv_prog_DUMPBIN
6486 if test -n "$DUMPBIN"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6488 $as_echo "$DUMPBIN" >&6; }
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 $as_echo "no" >&6; }
6495 test -n "$DUMPBIN" && break
6498 if test -z "$DUMPBIN"; then
6499 ac_ct_DUMPBIN=$DUMPBIN
6500 for ac_prog in dumpbin "link -dump"
6502 # Extract the first word of "$ac_prog", so it can be a program name with args.
6503 set dummy $ac_prog; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6507 $as_echo_n "(cached) " >&6
6509 if test -n "$ac_ct_DUMPBIN"; then
6510 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6519 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6530 if test -n "$ac_ct_DUMPBIN"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6532 $as_echo "$ac_ct_DUMPBIN" >&6; }
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6539 test -n "$ac_ct_DUMPBIN" && break
6542 if test "x$ac_ct_DUMPBIN" = x; then
6545 case $cross_compiling:$ac_tool_warned in
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6549 ac_tool_warned=yes ;;
6551 DUMPBIN=$ac_ct_DUMPBIN
6555 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6557 DUMPBIN="$DUMPBIN -symbols"
6565 if test "$DUMPBIN" != ":"; then
6569 test -z "$NM" && NM=nm
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6577 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6578 if ${lt_cv_nm_interface+:} false; then :
6579 $as_echo_n "(cached) " >&6
6581 lt_cv_nm_interface="BSD nm"
6582 echo "int some_variable = 0;" > conftest.$ac_ext
6583 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6584 (eval "$ac_compile" 2>conftest.err)
6585 cat conftest.err >&5
6586 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6587 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6588 cat conftest.err >&5
6589 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6590 cat conftest.out >&5
6591 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6592 lt_cv_nm_interface="MS dumpbin"
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6597 $as_echo "$lt_cv_nm_interface" >&6; }
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6600 $as_echo_n "checking whether ln -s works... " >&6; }
6602 if test "$LN_S" = "ln -s"; then
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6604 $as_echo "yes" >&6; }
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6607 $as_echo "no, using $LN_S" >&6; }
6610 # find the maximum length of command line arguments
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6612 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6613 if ${lt_cv_sys_max_cmd_len+:} false; then :
6614 $as_echo_n "(cached) " >&6
6621 # On DJGPP, this test can blow up pretty badly due to problems in libc
6622 # (any single argument exceeding 2000 bytes causes a buffer overrun
6623 # during glob expansion). Even if it were fixed, the result of this
6624 # check would be larger than it should be.
6625 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6629 # Under GNU Hurd, this test is not required because there is
6630 # no limit to the length of command line arguments.
6631 # Libtool will interpret -1 as no limit whatsoever
6632 lt_cv_sys_max_cmd_len=-1;
6635 cygwin* | mingw* | cegcc*)
6636 # On Win9x/ME, this test blows up -- it succeeds, but takes
6637 # about 5 minutes as the teststring grows exponentially.
6638 # Worse, since 9x/ME are not pre-emptively multitasking,
6639 # you end up with a "frozen" computer, even though with patience
6640 # the test eventually succeeds (with a max line length of 256k).
6641 # Instead, let's just punt: use the minimum linelength reported by
6642 # all of the supported platforms: 8192 (on NT/2K/XP).
6643 lt_cv_sys_max_cmd_len=8192;
6647 # On MiNT this can take a long time and run out of memory.
6648 lt_cv_sys_max_cmd_len=8192;
6652 # On AmigaOS with pdksh, this test takes hours, literally.
6653 # So we just punt and use a minimum line length of 8192.
6654 lt_cv_sys_max_cmd_len=8192;
6657 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6658 # This has been around since 386BSD, at least. Likely further.
6659 if test -x /sbin/sysctl; then
6660 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6661 elif test -x /usr/sbin/sysctl; then
6662 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6664 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6666 # And add a safety zone
6667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6668 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6672 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6673 lt_cv_sys_max_cmd_len=196608
6677 # The test takes a long time on OS/2.
6678 lt_cv_sys_max_cmd_len=8192
6682 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6683 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6684 # nice to cause kernel panics so lets avoid the loop below.
6685 # First set a reasonable default.
6686 lt_cv_sys_max_cmd_len=16384
6688 if test -x /sbin/sysconfig; then
6689 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6690 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6695 lt_cv_sys_max_cmd_len=102400
6697 sysv5* | sco5v6* | sysv4.2uw2*)
6698 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6699 if test -n "$kargmax"; then
6700 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6702 lt_cv_sys_max_cmd_len=32768
6706 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6707 if test -n "$lt_cv_sys_max_cmd_len"; then
6708 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6709 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6711 # Make teststring a little bigger before we do anything with it.
6712 # a 1K string should be a reasonable start.
6713 for i in 1 2 3 4 5 6 7 8 ; do
6714 teststring=$teststring$teststring
6716 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6717 # If test is not a shell built-in, we'll probably end up computing a
6718 # maximum length that is only half of the actual maximum length, but
6720 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6721 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6722 test $i != 17 # 1/2 MB should be enough
6725 teststring=$teststring$teststring
6727 # Only check the string length outside the loop.
6728 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6730 # Add a significant safety factor because C++ compilers can tack on
6731 # massive amounts of additional arguments before passing them to the
6732 # linker. It appears as though 1/2 is a usable value.
6733 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6740 if test -n $lt_cv_sys_max_cmd_len ; then
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6742 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6745 $as_echo "none" >&6; }
6747 max_cmd_len=$lt_cv_sys_max_cmd_len
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6759 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6760 # Try some XSI features
6763 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6765 && eval 'test $(( 1 + 1 )) -eq 2 \
6766 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6769 $as_echo "$xsi_shell" >&6; }
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6773 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6775 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6777 && lt_shell_append=yes
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6779 $as_echo "$lt_shell_append" >&6; }
6782 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6792 # test EBCDIC or ASCII
6793 case `echo X|tr X '\101'` in
6794 A) # ASCII based system
6795 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6796 lt_SP2NL='tr \040 \012'
6797 lt_NL2SP='tr \015\012 \040\040'
6799 *) # EBCDIC based system
6800 lt_SP2NL='tr \100 \n'
6801 lt_NL2SP='tr \r\n \100\100'
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6814 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6815 if ${lt_cv_to_host_file_cmd+:} false; then :
6816 $as_echo_n "(cached) " >&6
6821 *-*-mingw* ) # actually msys
6822 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6825 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6827 * ) # otherwise, assume *nix
6828 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6834 *-*-mingw* ) # actually msys
6835 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6838 lt_cv_to_host_file_cmd=func_convert_file_noop
6840 * ) # otherwise, assume *nix
6841 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6845 * ) # unhandled hosts (and "normal" native builds)
6846 lt_cv_to_host_file_cmd=func_convert_file_noop
6852 to_host_file_cmd=$lt_cv_to_host_file_cmd
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6854 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6861 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6862 if ${lt_cv_to_tool_file_cmd+:} false; then :
6863 $as_echo_n "(cached) " >&6
6865 #assume ordinary cross tools, or native build.
6866 lt_cv_to_tool_file_cmd=func_convert_file_noop
6870 *-*-mingw* ) # actually msys
6871 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6879 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6881 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6888 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6889 if ${lt_cv_ld_reload_flag+:} false; then :
6890 $as_echo_n "(cached) " >&6
6892 lt_cv_ld_reload_flag='-r'
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6895 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6896 reload_flag=$lt_cv_ld_reload_flag
6897 case $reload_flag in
6899 *) reload_flag=" $reload_flag" ;;
6901 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6903 cygwin* | mingw* | pw32* | cegcc*)
6904 if test "$GCC" != yes; then
6909 if test "$GCC" = yes; then
6910 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6912 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6925 if test -n "$ac_tool_prefix"; then
6926 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6927 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6929 $as_echo_n "checking for $ac_word... " >&6; }
6930 if ${ac_cv_prog_OBJDUMP+:} false; then :
6931 $as_echo_n "(cached) " >&6
6933 if test -n "$OBJDUMP"; then
6934 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940 test -z "$as_dir" && as_dir=.
6941 for ac_exec_ext in '' $ac_executable_extensions; do
6942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6943 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6953 OBJDUMP=$ac_cv_prog_OBJDUMP
6954 if test -n "$OBJDUMP"; then
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6956 $as_echo "$OBJDUMP" >&6; }
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6959 $as_echo "no" >&6; }
6964 if test -z "$ac_cv_prog_OBJDUMP"; then
6965 ac_ct_OBJDUMP=$OBJDUMP
6966 # Extract the first word of "objdump", so it can be a program name with args.
6967 set dummy objdump; ac_word=$2
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6969 $as_echo_n "checking for $ac_word... " >&6; }
6970 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6971 $as_echo_n "(cached) " >&6
6973 if test -n "$ac_ct_OBJDUMP"; then
6974 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 test -z "$as_dir" && as_dir=.
6981 for ac_exec_ext in '' $ac_executable_extensions; do
6982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6983 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6993 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6994 if test -n "$ac_ct_OBJDUMP"; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6996 $as_echo "$ac_ct_OBJDUMP" >&6; }
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6999 $as_echo "no" >&6; }
7002 if test "x$ac_ct_OBJDUMP" = x; then
7005 case $cross_compiling:$ac_tool_warned in
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7009 ac_tool_warned=yes ;;
7011 OBJDUMP=$ac_ct_OBJDUMP
7014 OBJDUMP="$ac_cv_prog_OBJDUMP"
7017 test -z "$OBJDUMP" && OBJDUMP=objdump
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7025 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7026 if ${lt_cv_deplibs_check_method+:} false; then :
7027 $as_echo_n "(cached) " >&6
7029 lt_cv_file_magic_cmd='$MAGIC_CMD'
7030 lt_cv_file_magic_test_file=
7031 lt_cv_deplibs_check_method='unknown'
7032 # Need to set the preceding variable on all platforms that support
7033 # interlibrary dependencies.
7034 # 'none' -- dependencies not supported.
7035 # `unknown' -- same as none, but documents that we really don't know.
7036 # 'pass_all' -- all dependencies passed with no checks.
7037 # 'test_compile' -- check by making test program.
7038 # 'file_magic [[regex]]' -- check by looking for files in library path
7039 # which responds to the $file_magic_cmd with a given extended regex.
7040 # If you have `file' or equivalent on your system and you're not sure
7041 # whether `pass_all' will *always* work, you probably want this one.
7045 lt_cv_deplibs_check_method=pass_all
7049 lt_cv_deplibs_check_method=pass_all
7053 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7054 lt_cv_file_magic_cmd='/usr/bin/file -L'
7055 lt_cv_file_magic_test_file=/shlib/libc.so
7059 # func_win32_libid is a shell function defined in ltmain.sh
7060 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7061 lt_cv_file_magic_cmd='func_win32_libid'
7065 # Base MSYS/MinGW do not provide the 'file' command needed by
7066 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7067 # unless we find 'file', for example because we are cross-compiling.
7068 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7069 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7070 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7071 lt_cv_file_magic_cmd='func_win32_libid'
7073 # Keep this pattern in sync with the one in func_win32_libid.
7074 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7075 lt_cv_file_magic_cmd='$OBJDUMP -f'
7080 # use the weaker test based on 'objdump'. See mingw*.
7081 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7082 lt_cv_file_magic_cmd='$OBJDUMP -f'
7085 darwin* | rhapsody*)
7086 lt_cv_deplibs_check_method=pass_all
7089 freebsd* | dragonfly*)
7090 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7093 # Not sure whether the presence of OpenBSD here was a mistake.
7094 # Let's accept both of them until this is cleared up.
7095 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7096 lt_cv_file_magic_cmd=/usr/bin/file
7097 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7101 lt_cv_deplibs_check_method=pass_all
7106 lt_cv_deplibs_check_method=pass_all
7110 lt_cv_deplibs_check_method=pass_all
7113 hpux10.20* | hpux11*)
7114 lt_cv_file_magic_cmd=/usr/bin/file
7117 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7118 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7121 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]'
7122 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7125 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7126 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7132 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7133 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7136 irix5* | irix6* | nonstopux*)
7138 *-32|*"-32 ") libmagic=32-bit;;
7139 *-n32|*"-n32 ") libmagic=N32;;
7140 *-64|*"-64 ") libmagic=64-bit;;
7141 *) libmagic=never-match;;
7143 lt_cv_deplibs_check_method=pass_all
7146 # This must be glibc/ELF.
7147 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7148 lt_cv_deplibs_check_method=pass_all
7151 netbsd* | netbsdelf*-gnu)
7152 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7153 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7155 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7160 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7161 lt_cv_file_magic_cmd=/usr/bin/file
7162 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7166 lt_cv_deplibs_check_method=pass_all
7170 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7171 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7173 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7177 osf3* | osf4* | osf5*)
7178 lt_cv_deplibs_check_method=pass_all
7182 lt_cv_deplibs_check_method=pass_all
7186 lt_cv_deplibs_check_method=pass_all
7189 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7190 lt_cv_deplibs_check_method=pass_all
7194 case $host_vendor in
7196 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]'
7197 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7200 lt_cv_deplibs_check_method=pass_all
7203 lt_cv_file_magic_cmd='/bin/file'
7204 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7207 lt_cv_file_magic_cmd='/bin/file'
7208 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7209 lt_cv_file_magic_test_file=/lib/libc.so
7212 lt_cv_deplibs_check_method=pass_all
7215 lt_cv_deplibs_check_method=pass_all
7221 lt_cv_deplibs_check_method=pass_all
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7227 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7231 if test "$build" = "$host"; then
7234 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7237 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7243 file_magic_cmd=$lt_cv_file_magic_cmd
7244 deplibs_check_method=$lt_cv_deplibs_check_method
7245 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7268 if test -n "$ac_tool_prefix"; then
7269 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_DLLTOOL+:} false; then :
7274 $as_echo_n "(cached) " >&6
7276 if test -n "$DLLTOOL"; then
7277 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 DLLTOOL=$ac_cv_prog_DLLTOOL
7297 if test -n "$DLLTOOL"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7299 $as_echo "$DLLTOOL" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7307 if test -z "$ac_cv_prog_DLLTOOL"; then
7308 ac_ct_DLLTOOL=$DLLTOOL
7309 # Extract the first word of "dlltool", so it can be a program name with args.
7310 set dummy dlltool; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7314 $as_echo_n "(cached) " >&6
7316 if test -n "$ac_ct_DLLTOOL"; then
7317 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7337 if test -n "$ac_ct_DLLTOOL"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7339 $as_echo "$ac_ct_DLLTOOL" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 if test "x$ac_ct_DLLTOOL" = x; then
7348 case $cross_compiling:$ac_tool_warned in
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7354 DLLTOOL=$ac_ct_DLLTOOL
7357 DLLTOOL="$ac_cv_prog_DLLTOOL"
7360 test -z "$DLLTOOL" && DLLTOOL=dlltool
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7369 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7370 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7371 $as_echo_n "(cached) " >&6
7373 lt_cv_sharedlib_from_linklib_cmd='unknown'
7376 cygwin* | mingw* | pw32* | cegcc*)
7377 # two different shell functions defined in ltmain.sh
7378 # decide which to use based on capabilities of $DLLTOOL
7379 case `$DLLTOOL --help 2>&1` in
7380 *--identify-strict*)
7381 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7384 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7389 # fallback: assume linklib IS sharedlib
7390 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7396 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7397 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7398 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7406 if test -n "$ac_tool_prefix"; then
7409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if ${ac_cv_prog_AR+:} false; then :
7414 $as_echo_n "(cached) " >&6
7416 if test -n "$AR"; then
7417 ac_cv_prog_AR="$AR" # Let the user override the test.
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437 if test -n "$AR"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7439 $as_echo "$AR" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7446 test -n "$AR" && break
7449 if test -z "$AR"; then
7453 # Extract the first word of "$ac_prog", so it can be a program name with args.
7454 set dummy $ac_prog; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7458 $as_echo_n "(cached) " >&6
7460 if test -n "$ac_ct_AR"; then
7461 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7470 ac_cv_prog_ac_ct_AR="$ac_prog"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7481 if test -n "$ac_ct_AR"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7483 $as_echo "$ac_ct_AR" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7490 test -n "$ac_ct_AR" && break
7493 if test "x$ac_ct_AR" = x; then
7496 case $cross_compiling:$ac_tool_warned in
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7500 ac_tool_warned=yes ;;
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7520 $as_echo_n "checking for archiver @FILE support... " >&6; }
7521 if ${lt_cv_ar_at_file+:} false; then :
7522 $as_echo_n "(cached) " >&6
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7536 if ac_fn_c_try_compile "$LINENO"; then :
7537 echo conftest.$ac_objext > conftest.lst
7538 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7539 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7540 (eval $lt_ar_try) 2>&5
7542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7543 test $ac_status = 0; }
7544 if test "$ac_status" -eq 0; then
7545 # Ensure the archiver fails upon bogus file names.
7546 rm -f conftest.$ac_objext libconftest.a
7547 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7548 (eval $lt_ar_try) 2>&5
7550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7551 test $ac_status = 0; }
7552 if test "$ac_status" -ne 0; then
7556 rm -f conftest.* libconftest.a
7559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7563 $as_echo "$lt_cv_ar_at_file" >&6; }
7565 if test "x$lt_cv_ar_at_file" = xno; then
7568 archiver_list_spec=$lt_cv_ar_at_file
7577 if test -n "$ac_tool_prefix"; then
7578 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7579 set dummy ${ac_tool_prefix}strip; ac_word=$2
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7581 $as_echo_n "checking for $ac_word... " >&6; }
7582 if ${ac_cv_prog_STRIP+:} false; then :
7583 $as_echo_n "(cached) " >&6
7585 if test -n "$STRIP"; then
7586 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 test -z "$as_dir" && as_dir=.
7593 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7595 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7605 STRIP=$ac_cv_prog_STRIP
7606 if test -n "$STRIP"; then
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7608 $as_echo "$STRIP" >&6; }
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611 $as_echo "no" >&6; }
7616 if test -z "$ac_cv_prog_STRIP"; then
7618 # Extract the first word of "strip", so it can be a program name with args.
7619 set dummy strip; ac_word=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7623 $as_echo_n "(cached) " >&6
7625 if test -n "$ac_ct_STRIP"; then
7626 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 test -z "$as_dir" && as_dir=.
7633 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7635 ac_cv_prog_ac_ct_STRIP="strip"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7646 if test -n "$ac_ct_STRIP"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7648 $as_echo "$ac_ct_STRIP" >&6; }
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7654 if test "x$ac_ct_STRIP" = x; then
7657 case $cross_compiling:$ac_tool_warned in
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7661 ac_tool_warned=yes ;;
7666 STRIP="$ac_cv_prog_STRIP"
7669 test -z "$STRIP" && STRIP=:
7676 if test -n "$ac_tool_prefix"; then
7677 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7678 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7680 $as_echo_n "checking for $ac_word... " >&6; }
7681 if ${ac_cv_prog_RANLIB+:} false; then :
7682 $as_echo_n "(cached) " >&6
7684 if test -n "$RANLIB"; then
7685 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 test -z "$as_dir" && as_dir=.
7692 for ac_exec_ext in '' $ac_executable_extensions; do
7693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7694 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704 RANLIB=$ac_cv_prog_RANLIB
7705 if test -n "$RANLIB"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7707 $as_echo "$RANLIB" >&6; }
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7715 if test -z "$ac_cv_prog_RANLIB"; then
7716 ac_ct_RANLIB=$RANLIB
7717 # Extract the first word of "ranlib", so it can be a program name with args.
7718 set dummy ranlib; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7722 $as_echo_n "(cached) " >&6
7724 if test -n "$ac_ct_RANLIB"; then
7725 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7734 ac_cv_prog_ac_ct_RANLIB="ranlib"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7744 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7745 if test -n "$ac_ct_RANLIB"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7747 $as_echo "$ac_ct_RANLIB" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7753 if test "x$ac_ct_RANLIB" = x; then
7756 case $cross_compiling:$ac_tool_warned in
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7760 ac_tool_warned=yes ;;
7762 RANLIB=$ac_ct_RANLIB
7765 RANLIB="$ac_cv_prog_RANLIB"
7768 test -z "$RANLIB" && RANLIB=:
7775 # Determine commands to create old-style static archives.
7776 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7777 old_postinstall_cmds='chmod 644 $oldlib'
7778 old_postuninstall_cmds=
7780 if test -n "$RANLIB"; then
7783 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7786 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7789 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7794 lock_old_archive_extraction=yes ;;
7796 lock_old_archive_extraction=no ;;
7837 # If no C compiler was specified, use CC.
7840 # If no C compiler flags were specified, use CFLAGS.
7841 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7843 # Allow CC to be a program name with arguments.
7847 # Check for command to grab the raw symbol name followed by C symbol from nm.
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7849 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7850 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7851 $as_echo_n "(cached) " >&6
7854 # These are sane defaults that work on at least a few old systems.
7855 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7857 # Character class describing NM global symbol codes.
7858 symcode='[BCDEGRST]'
7860 # Regexp to match symbols that can be accessed directly from C.
7861 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7863 # Define system-specific variables.
7868 cygwin* | mingw* | pw32* | cegcc*)
7869 symcode='[ABCDGISTW]'
7872 if test "$host_cpu" = ia64; then
7873 symcode='[ABCDEGRST]'
7877 symcode='[BCDEGRST]'
7880 symcode='[BCDEGQRST]'
7891 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7899 # If we're using GNU nm, then use its standard symbol codes.
7900 case `$NM -V 2>&1` in
7901 *GNU* | *'with BFD'*)
7902 symcode='[ABCDGIRSTW]' ;;
7905 # Transform an extracted symbol line into a proper C declaration.
7906 # Some systems (esp. on ia64) link data and code symbols differently,
7907 # so use this general approach.
7908 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7910 # Transform an extracted symbol line into symbol name and symbol address
7911 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7912 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'"
7914 # Handle CRLF in mingw tool chain
7918 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7922 # Try without a prefix underscore, then with it.
7923 for ac_symprfx in "" "_"; do
7925 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7926 symxfrm="\\1 $ac_symprfx\\2 \\2"
7928 # Write the raw and C identifiers.
7929 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7930 # Fake it for dumpbin and say T for any non-static function
7931 # and D for any global variable.
7932 # Also find C++ and __fastcall symbols from MSVC++,
7933 # which start with @ or ?.
7934 lt_cv_sys_global_symbol_pipe="$AWK '"\
7935 " {last_section=section; section=\$ 3};"\
7936 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7937 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7938 " \$ 0!~/External *\|/{next};"\
7939 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7940 " {if(hide[section]) next};"\
7941 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7942 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7943 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7944 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7945 " ' prfx=^$ac_symprfx"
7947 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7949 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7951 # Check to see that the pipe works correctly.
7955 cat > conftest.$ac_ext <<_LT_EOF
7960 void nm_test_func(void);
7961 void nm_test_func(void){}
7965 int main(){nm_test_var='a';nm_test_func();return(0);}
7968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7969 (eval $ac_compile) 2>&5
7971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7972 test $ac_status = 0; }; then
7973 # Now try to grab the symbols.
7975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7976 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7979 test $ac_status = 0; } && test -s "$nlist"; then
7980 # Try sorting and uniquifying the output.
7981 if sort "$nlist" | uniq > "$nlist"T; then
7982 mv -f "$nlist"T "$nlist"
7987 # Make sure that we snagged all the symbols we need.
7988 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7989 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7990 cat <<_LT_EOF > conftest.$ac_ext
7991 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7992 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7993 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7994 relocations are performed -- see ld's documentation on pseudo-relocs. */
7995 # define LT_DLSYM_CONST
7996 #elif defined(__osf__)
7997 /* This system does not cope well with relocations in const data. */
7998 # define LT_DLSYM_CONST
8000 # define LT_DLSYM_CONST const
8008 # Now generate the symbol file.
8009 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8011 cat <<_LT_EOF >> conftest.$ac_ext
8013 /* The mapping between symbol names and symbols. */
8014 LT_DLSYM_CONST struct {
8018 lt__PROGRAM__LTX_preloaded_symbols[] =
8020 { "@PROGRAM@", (void *) 0 },
8022 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8023 cat <<\_LT_EOF >> conftest.$ac_ext
8027 /* This works around a problem in FreeBSD linker */
8028 #ifdef FREEBSD_WORKAROUND
8029 static const void *lt_preloaded_setup() {
8030 return lt__PROGRAM__LTX_preloaded_symbols;
8038 # Now try linking the two files.
8039 mv conftest.$ac_objext conftstm.$ac_objext
8040 lt_globsym_save_LIBS=$LIBS
8041 lt_globsym_save_CFLAGS=$CFLAGS
8042 LIBS="conftstm.$ac_objext"
8043 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8045 (eval $ac_link) 2>&5
8047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8048 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8051 LIBS=$lt_globsym_save_LIBS
8052 CFLAGS=$lt_globsym_save_CFLAGS
8054 echo "cannot find nm_test_func in $nlist" >&5
8057 echo "cannot find nm_test_var in $nlist" >&5
8060 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8063 echo "$progname: failed program was:" >&5
8064 cat conftest.$ac_ext >&5
8066 rm -rf conftest* conftst*
8068 # Do not use the global_symbol_pipe unless it works.
8069 if test "$pipe_works" = yes; then
8072 lt_cv_sys_global_symbol_pipe=
8078 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8079 lt_cv_sys_global_symbol_to_cdecl=
8081 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8083 $as_echo "failed" >&6; }
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8086 $as_echo "ok" >&6; }
8089 # Response file support.
8090 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8091 nm_file_list_spec='@'
8092 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8093 nm_file_list_spec='@'
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8123 $as_echo_n "checking for sysroot... " >&6; }
8125 # Check whether --with-sysroot was given.
8126 if test "${with_sysroot+set}" = set; then :
8127 withval=$with_sysroot;
8134 case ${with_sysroot} in #(
8136 if test "$GCC" = yes; then
8137 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8141 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8147 $as_echo "${with_sysroot}" >&6; }
8148 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8153 $as_echo "${lt_sysroot:-no}" >&6; }
8159 # Check whether --enable-libtool-lock was given.
8160 if test "${enable_libtool_lock+set}" = set; then :
8161 enableval=$enable_libtool_lock;
8164 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8166 # Some flags need to be propagated to the compiler or linker for good
8170 # Find out which ABI we are using.
8171 echo 'int i;' > conftest.$ac_ext
8172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8173 (eval $ac_compile) 2>&5
8175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8176 test $ac_status = 0; }; then
8177 case `/usr/bin/file conftest.$ac_objext` in
8189 # Find out which ABI we are using.
8190 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8192 (eval $ac_compile) 2>&5
8194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8195 test $ac_status = 0; }; then
8196 if test "$lt_cv_prog_gnu_ld" = yes; then
8197 case `/usr/bin/file conftest.$ac_objext` in
8199 LD="${LD-ld} -melf32bsmip"
8202 LD="${LD-ld} -melf32bmipn32"
8205 LD="${LD-ld} -melf64bmip"
8209 case `/usr/bin/file conftest.$ac_objext` in
8225 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8226 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8227 # Find out which ABI we are using.
8228 echo 'int i;' > conftest.$ac_ext
8229 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8230 (eval $ac_compile) 2>&5
8232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8233 test $ac_status = 0; }; then
8234 case `/usr/bin/file conftest.o` in
8237 x86_64-*kfreebsd*-gnu)
8238 LD="${LD-ld} -m elf_i386_fbsd"
8241 LD="${LD-ld} -m elf_i386"
8243 ppc64-*linux*|powerpc64-*linux*)
8244 LD="${LD-ld} -m elf32ppclinux"
8247 LD="${LD-ld} -m elf_s390"
8250 LD="${LD-ld} -m elf32_sparc"
8256 x86_64-*kfreebsd*-gnu)
8257 LD="${LD-ld} -m elf_x86_64_fbsd"
8260 LD="${LD-ld} -m elf_x86_64"
8262 ppc*-*linux*|powerpc*-*linux*)
8263 LD="${LD-ld} -m elf64ppc"
8265 s390*-*linux*|s390*-*tpf*)
8266 LD="${LD-ld} -m elf64_s390"
8269 LD="${LD-ld} -m elf64_sparc"
8279 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8280 SAVE_CFLAGS="$CFLAGS"
8281 CFLAGS="$CFLAGS -belf"
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8283 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8284 if ${lt_cv_cc_needs_belf+:} false; then :
8285 $as_echo_n "(cached) " >&6
8288 ac_cpp='$CPP $CPPFLAGS'
8289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8304 if ac_fn_c_try_link "$LINENO"; then :
8305 lt_cv_cc_needs_belf=yes
8307 lt_cv_cc_needs_belf=no
8309 rm -f core conftest.err conftest.$ac_objext \
8310 conftest$ac_exeext conftest.$ac_ext
8312 ac_cpp='$CPP $CPPFLAGS'
8313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8319 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8320 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8321 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8322 CFLAGS="$SAVE_CFLAGS"
8326 # Find out which ABI we are using.
8327 echo 'int i;' > conftest.$ac_ext
8328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8329 (eval $ac_compile) 2>&5
8331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8332 test $ac_status = 0; }; then
8333 case `/usr/bin/file conftest.o` in
8335 case $lt_cv_prog_gnu_ld in
8339 LD="${LD-ld} -m elf_x86_64"
8342 LD="${LD-ld} -m elf64_sparc"
8345 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8346 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8351 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8363 need_locks="$enable_libtool_lock"
8365 if test -n "$ac_tool_prefix"; then
8366 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8367 set dummy ${ac_tool_prefix}mt; ac_word=$2
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8369 $as_echo_n "checking for $ac_word... " >&6; }
8370 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8371 $as_echo_n "(cached) " >&6
8373 if test -n "$MANIFEST_TOOL"; then
8374 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8380 test -z "$as_dir" && as_dir=.
8381 for ac_exec_ext in '' $ac_executable_extensions; do
8382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8383 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8393 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8394 if test -n "$MANIFEST_TOOL"; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8396 $as_echo "$MANIFEST_TOOL" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399 $as_echo "no" >&6; }
8404 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8405 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8406 # Extract the first word of "mt", so it can be a program name with args.
8407 set dummy mt; ac_word=$2
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8409 $as_echo_n "checking for $ac_word... " >&6; }
8410 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8411 $as_echo_n "(cached) " >&6
8413 if test -n "$ac_ct_MANIFEST_TOOL"; then
8414 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420 test -z "$as_dir" && as_dir=.
8421 for ac_exec_ext in '' $ac_executable_extensions; do
8422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8423 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8434 if test -n "$ac_ct_MANIFEST_TOOL"; then
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8436 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8439 $as_echo "no" >&6; }
8442 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8445 case $cross_compiling:$ac_tool_warned in
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8449 ac_tool_warned=yes ;;
8451 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8454 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8457 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8459 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8460 if ${lt_cv_path_mainfest_tool+:} false; then :
8461 $as_echo_n "(cached) " >&6
8463 lt_cv_path_mainfest_tool=no
8464 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8465 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8466 cat conftest.err >&5
8467 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8468 lt_cv_path_mainfest_tool=yes
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8473 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8474 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8484 rhapsody* | darwin*)
8485 if test -n "$ac_tool_prefix"; then
8486 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8487 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8489 $as_echo_n "checking for $ac_word... " >&6; }
8490 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8491 $as_echo_n "(cached) " >&6
8493 if test -n "$DSYMUTIL"; then
8494 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500 test -z "$as_dir" && as_dir=.
8501 for ac_exec_ext in '' $ac_executable_extensions; do
8502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8503 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8513 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8514 if test -n "$DSYMUTIL"; then
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8516 $as_echo "$DSYMUTIL" >&6; }
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8519 $as_echo "no" >&6; }
8524 if test -z "$ac_cv_prog_DSYMUTIL"; then
8525 ac_ct_DSYMUTIL=$DSYMUTIL
8526 # Extract the first word of "dsymutil", so it can be a program name with args.
8527 set dummy dsymutil; ac_word=$2
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8529 $as_echo_n "checking for $ac_word... " >&6; }
8530 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8531 $as_echo_n "(cached) " >&6
8533 if test -n "$ac_ct_DSYMUTIL"; then
8534 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540 test -z "$as_dir" && as_dir=.
8541 for ac_exec_ext in '' $ac_executable_extensions; do
8542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8543 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8553 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8554 if test -n "$ac_ct_DSYMUTIL"; then
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8556 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8559 $as_echo "no" >&6; }
8562 if test "x$ac_ct_DSYMUTIL" = x; then
8565 case $cross_compiling:$ac_tool_warned in
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8569 ac_tool_warned=yes ;;
8571 DSYMUTIL=$ac_ct_DSYMUTIL
8574 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8577 if test -n "$ac_tool_prefix"; then
8578 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8579 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8581 $as_echo_n "checking for $ac_word... " >&6; }
8582 if ${ac_cv_prog_NMEDIT+:} false; then :
8583 $as_echo_n "(cached) " >&6
8585 if test -n "$NMEDIT"; then
8586 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8592 test -z "$as_dir" && as_dir=.
8593 for ac_exec_ext in '' $ac_executable_extensions; do
8594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8595 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8605 NMEDIT=$ac_cv_prog_NMEDIT
8606 if test -n "$NMEDIT"; then
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8608 $as_echo "$NMEDIT" >&6; }
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8611 $as_echo "no" >&6; }
8616 if test -z "$ac_cv_prog_NMEDIT"; then
8617 ac_ct_NMEDIT=$NMEDIT
8618 # Extract the first word of "nmedit", so it can be a program name with args.
8619 set dummy nmedit; ac_word=$2
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8621 $as_echo_n "checking for $ac_word... " >&6; }
8622 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8623 $as_echo_n "(cached) " >&6
8625 if test -n "$ac_ct_NMEDIT"; then
8626 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8632 test -z "$as_dir" && as_dir=.
8633 for ac_exec_ext in '' $ac_executable_extensions; do
8634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8635 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8645 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8646 if test -n "$ac_ct_NMEDIT"; then
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8648 $as_echo "$ac_ct_NMEDIT" >&6; }
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8651 $as_echo "no" >&6; }
8654 if test "x$ac_ct_NMEDIT" = x; then
8657 case $cross_compiling:$ac_tool_warned in
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8661 ac_tool_warned=yes ;;
8663 NMEDIT=$ac_ct_NMEDIT
8666 NMEDIT="$ac_cv_prog_NMEDIT"
8669 if test -n "$ac_tool_prefix"; then
8670 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8671 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8673 $as_echo_n "checking for $ac_word... " >&6; }
8674 if ${ac_cv_prog_LIPO+:} false; then :
8675 $as_echo_n "(cached) " >&6
8677 if test -n "$LIPO"; then
8678 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 test -z "$as_dir" && as_dir=.
8685 for ac_exec_ext in '' $ac_executable_extensions; do
8686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8687 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8697 LIPO=$ac_cv_prog_LIPO
8698 if test -n "$LIPO"; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8700 $as_echo "$LIPO" >&6; }
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8703 $as_echo "no" >&6; }
8708 if test -z "$ac_cv_prog_LIPO"; then
8710 # Extract the first word of "lipo", so it can be a program name with args.
8711 set dummy lipo; ac_word=$2
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713 $as_echo_n "checking for $ac_word... " >&6; }
8714 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8715 $as_echo_n "(cached) " >&6
8717 if test -n "$ac_ct_LIPO"; then
8718 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8724 test -z "$as_dir" && as_dir=.
8725 for ac_exec_ext in '' $ac_executable_extensions; do
8726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8727 ac_cv_prog_ac_ct_LIPO="lipo"
8728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8737 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8738 if test -n "$ac_ct_LIPO"; then
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8740 $as_echo "$ac_ct_LIPO" >&6; }
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8743 $as_echo "no" >&6; }
8746 if test "x$ac_ct_LIPO" = x; then
8749 case $cross_compiling:$ac_tool_warned in
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8753 ac_tool_warned=yes ;;
8758 LIPO="$ac_cv_prog_LIPO"
8761 if test -n "$ac_tool_prefix"; then
8762 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8763 set dummy ${ac_tool_prefix}otool; ac_word=$2
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8765 $as_echo_n "checking for $ac_word... " >&6; }
8766 if ${ac_cv_prog_OTOOL+:} false; then :
8767 $as_echo_n "(cached) " >&6
8769 if test -n "$OTOOL"; then
8770 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8776 test -z "$as_dir" && as_dir=.
8777 for ac_exec_ext in '' $ac_executable_extensions; do
8778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8779 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8789 OTOOL=$ac_cv_prog_OTOOL
8790 if test -n "$OTOOL"; then
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8792 $as_echo "$OTOOL" >&6; }
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8795 $as_echo "no" >&6; }
8800 if test -z "$ac_cv_prog_OTOOL"; then
8802 # Extract the first word of "otool", so it can be a program name with args.
8803 set dummy otool; ac_word=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8807 $as_echo_n "(cached) " >&6
8809 if test -n "$ac_ct_OTOOL"; then
8810 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816 test -z "$as_dir" && as_dir=.
8817 for ac_exec_ext in '' $ac_executable_extensions; do
8818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8819 ac_cv_prog_ac_ct_OTOOL="otool"
8820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8829 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8830 if test -n "$ac_ct_OTOOL"; then
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8832 $as_echo "$ac_ct_OTOOL" >&6; }
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8835 $as_echo "no" >&6; }
8838 if test "x$ac_ct_OTOOL" = x; then
8841 case $cross_compiling:$ac_tool_warned in
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8845 ac_tool_warned=yes ;;
8850 OTOOL="$ac_cv_prog_OTOOL"
8853 if test -n "$ac_tool_prefix"; then
8854 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8855 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8857 $as_echo_n "checking for $ac_word... " >&6; }
8858 if ${ac_cv_prog_OTOOL64+:} false; then :
8859 $as_echo_n "(cached) " >&6
8861 if test -n "$OTOOL64"; then
8862 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8868 test -z "$as_dir" && as_dir=.
8869 for ac_exec_ext in '' $ac_executable_extensions; do
8870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8871 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8881 OTOOL64=$ac_cv_prog_OTOOL64
8882 if test -n "$OTOOL64"; then
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8884 $as_echo "$OTOOL64" >&6; }
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8887 $as_echo "no" >&6; }
8892 if test -z "$ac_cv_prog_OTOOL64"; then
8893 ac_ct_OTOOL64=$OTOOL64
8894 # Extract the first word of "otool64", so it can be a program name with args.
8895 set dummy otool64; ac_word=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8897 $as_echo_n "checking for $ac_word... " >&6; }
8898 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8899 $as_echo_n "(cached) " >&6
8901 if test -n "$ac_ct_OTOOL64"; then
8902 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8908 test -z "$as_dir" && as_dir=.
8909 for ac_exec_ext in '' $ac_executable_extensions; do
8910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8911 ac_cv_prog_ac_ct_OTOOL64="otool64"
8912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8921 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8922 if test -n "$ac_ct_OTOOL64"; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8924 $as_echo "$ac_ct_OTOOL64" >&6; }
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8927 $as_echo "no" >&6; }
8930 if test "x$ac_ct_OTOOL64" = x; then
8933 case $cross_compiling:$ac_tool_warned in
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8937 ac_tool_warned=yes ;;
8939 OTOOL64=$ac_ct_OTOOL64
8942 OTOOL64="$ac_cv_prog_OTOOL64"
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8972 $as_echo_n "checking for -single_module linker flag... " >&6; }
8973 if ${lt_cv_apple_cc_single_mod+:} false; then :
8974 $as_echo_n "(cached) " >&6
8976 lt_cv_apple_cc_single_mod=no
8977 if test -z "${LT_MULTI_MODULE}"; then
8978 # By default we will add the -single_module flag. You can override
8979 # by either setting the environment variable LT_MULTI_MODULE
8980 # non-empty at configure time, or by adding -multi_module to the
8982 rm -rf libconftest.dylib*
8983 echo "int foo(void){return 1;}" > conftest.c
8984 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8985 -dynamiclib -Wl,-single_module conftest.c" >&5
8986 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8987 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8989 # If there is a non-empty error log, and "single_module"
8990 # appears in it, assume the flag caused a linker warning
8991 if test -s conftest.err && $GREP single_module conftest.err; then
8992 cat conftest.err >&5
8993 # Otherwise, if the output was created with a 0 exit code from
8994 # the compiler, it worked.
8995 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8996 lt_cv_apple_cc_single_mod=yes
8998 cat conftest.err >&5
9000 rm -rf libconftest.dylib*
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9005 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9008 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9009 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9010 $as_echo_n "(cached) " >&6
9012 lt_cv_ld_exported_symbols_list=no
9013 save_LDFLAGS=$LDFLAGS
9014 echo "_main" > conftest.sym
9015 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9027 if ac_fn_c_try_link "$LINENO"; then :
9028 lt_cv_ld_exported_symbols_list=yes
9030 lt_cv_ld_exported_symbols_list=no
9032 rm -f core conftest.err conftest.$ac_objext \
9033 conftest$ac_exeext conftest.$ac_ext
9034 LDFLAGS="$save_LDFLAGS"
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9038 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9041 $as_echo_n "checking for -force_load linker flag... " >&6; }
9042 if ${lt_cv_ld_force_load+:} false; then :
9043 $as_echo_n "(cached) " >&6
9045 lt_cv_ld_force_load=no
9046 cat > conftest.c << _LT_EOF
9047 int forced_loaded() { return 2;}
9049 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9050 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9051 echo "$AR cru libconftest.a conftest.o" >&5
9052 $AR cru libconftest.a conftest.o 2>&5
9053 echo "$RANLIB libconftest.a" >&5
9054 $RANLIB libconftest.a 2>&5
9055 cat > conftest.c << _LT_EOF
9056 int main() { return 0;}
9058 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9059 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9061 if test -s conftest.err && $GREP force_load conftest.err; then
9062 cat conftest.err >&5
9063 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9064 lt_cv_ld_force_load=yes
9066 cat conftest.err >&5
9068 rm -f conftest.err libconftest.a conftest conftest.c
9069 rm -rf conftest.dSYM
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9073 $as_echo "$lt_cv_ld_force_load" >&6; }
9075 rhapsody* | darwin1.[012])
9076 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9078 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9079 darwin*) # darwin 5.x on
9080 # if running on 10.5 or later, the deployment target defaults
9081 # to the OS version, if on x86, and 10.4, the deployment
9082 # target defaults to 10.4. Don't you love it?
9083 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9084 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9085 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9087 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9089 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9093 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9094 _lt_dar_single_mod='$single_module'
9096 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9097 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9099 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9101 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9102 _lt_dsymutil='~$DSYMUTIL $lib || :'
9109 for ac_header in dlfcn.h
9111 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9113 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9114 cat >>confdefs.h <<_ACEOF
9115 #define HAVE_DLFCN_H 1
9125 func_stripname_cnf ()
9128 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
9129 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
9131 } # func_stripname_cnf
9138 enable_win32_dll=yes
9141 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9142 if test -n "$ac_tool_prefix"; then
9143 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9144 set dummy ${ac_tool_prefix}as; ac_word=$2
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9146 $as_echo_n "checking for $ac_word... " >&6; }
9147 if ${ac_cv_prog_AS+:} false; then :
9148 $as_echo_n "(cached) " >&6
9150 if test -n "$AS"; then
9151 ac_cv_prog_AS="$AS" # Let the user override the test.
9153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9157 test -z "$as_dir" && as_dir=.
9158 for ac_exec_ext in '' $ac_executable_extensions; do
9159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9160 ac_cv_prog_AS="${ac_tool_prefix}as"
9161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9171 if test -n "$AS"; then
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9173 $as_echo "$AS" >&6; }
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9176 $as_echo "no" >&6; }
9181 if test -z "$ac_cv_prog_AS"; then
9183 # Extract the first word of "as", so it can be a program name with args.
9184 set dummy as; ac_word=$2
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9186 $as_echo_n "checking for $ac_word... " >&6; }
9187 if ${ac_cv_prog_ac_ct_AS+:} false; then :
9188 $as_echo_n "(cached) " >&6
9190 if test -n "$ac_ct_AS"; then
9191 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9197 test -z "$as_dir" && as_dir=.
9198 for ac_exec_ext in '' $ac_executable_extensions; do
9199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9200 ac_cv_prog_ac_ct_AS="as"
9201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9210 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9211 if test -n "$ac_ct_AS"; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9213 $as_echo "$ac_ct_AS" >&6; }
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9216 $as_echo "no" >&6; }
9219 if test "x$ac_ct_AS" = x; then
9222 case $cross_compiling:$ac_tool_warned in
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9226 ac_tool_warned=yes ;;
9234 if test -n "$ac_tool_prefix"; then
9235 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9236 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9238 $as_echo_n "checking for $ac_word... " >&6; }
9239 if ${ac_cv_prog_DLLTOOL+:} false; then :
9240 $as_echo_n "(cached) " >&6
9242 if test -n "$DLLTOOL"; then
9243 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9249 test -z "$as_dir" && as_dir=.
9250 for ac_exec_ext in '' $ac_executable_extensions; do
9251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9252 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9262 DLLTOOL=$ac_cv_prog_DLLTOOL
9263 if test -n "$DLLTOOL"; then
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9265 $as_echo "$DLLTOOL" >&6; }
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9268 $as_echo "no" >&6; }
9273 if test -z "$ac_cv_prog_DLLTOOL"; then
9274 ac_ct_DLLTOOL=$DLLTOOL
9275 # Extract the first word of "dlltool", so it can be a program name with args.
9276 set dummy dlltool; ac_word=$2
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9278 $as_echo_n "checking for $ac_word... " >&6; }
9279 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9280 $as_echo_n "(cached) " >&6
9282 if test -n "$ac_ct_DLLTOOL"; then
9283 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9289 test -z "$as_dir" && as_dir=.
9290 for ac_exec_ext in '' $ac_executable_extensions; do
9291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9292 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9302 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9303 if test -n "$ac_ct_DLLTOOL"; then
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9305 $as_echo "$ac_ct_DLLTOOL" >&6; }
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9308 $as_echo "no" >&6; }
9311 if test "x$ac_ct_DLLTOOL" = x; then
9314 case $cross_compiling:$ac_tool_warned in
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9318 ac_tool_warned=yes ;;
9320 DLLTOOL=$ac_ct_DLLTOOL
9323 DLLTOOL="$ac_cv_prog_DLLTOOL"
9326 if test -n "$ac_tool_prefix"; then
9327 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9328 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9330 $as_echo_n "checking for $ac_word... " >&6; }
9331 if ${ac_cv_prog_OBJDUMP+:} false; then :
9332 $as_echo_n "(cached) " >&6
9334 if test -n "$OBJDUMP"; then
9335 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9341 test -z "$as_dir" && as_dir=.
9342 for ac_exec_ext in '' $ac_executable_extensions; do
9343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9344 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9354 OBJDUMP=$ac_cv_prog_OBJDUMP
9355 if test -n "$OBJDUMP"; then
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9357 $as_echo "$OBJDUMP" >&6; }
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 $as_echo "no" >&6; }
9365 if test -z "$ac_cv_prog_OBJDUMP"; then
9366 ac_ct_OBJDUMP=$OBJDUMP
9367 # Extract the first word of "objdump", so it can be a program name with args.
9368 set dummy objdump; ac_word=$2
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9370 $as_echo_n "checking for $ac_word... " >&6; }
9371 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9372 $as_echo_n "(cached) " >&6
9374 if test -n "$ac_ct_OBJDUMP"; then
9375 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9381 test -z "$as_dir" && as_dir=.
9382 for ac_exec_ext in '' $ac_executable_extensions; do
9383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9384 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9394 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9395 if test -n "$ac_ct_OBJDUMP"; then
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9397 $as_echo "$ac_ct_OBJDUMP" >&6; }
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9400 $as_echo "no" >&6; }
9403 if test "x$ac_ct_OBJDUMP" = x; then
9406 case $cross_compiling:$ac_tool_warned in
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9410 ac_tool_warned=yes ;;
9412 OBJDUMP=$ac_ct_OBJDUMP
9415 OBJDUMP="$ac_cv_prog_OBJDUMP"
9421 test -z "$AS" && AS=as
9427 test -z "$DLLTOOL" && DLLTOOL=dlltool
9433 test -z "$OBJDUMP" && OBJDUMP=objdump
9438 # Check whether --enable-static was given.
9439 if test "${enable_static+set}" = set; then :
9440 enableval=$enable_static; p=${PACKAGE-default}
9442 yes) enable_static=yes ;;
9443 no) enable_static=no ;;
9446 # Look at the argument we got. We use all the common list separators.
9447 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9448 for pkg in $enableval; do
9450 if test "X$pkg" = "X$p"; then
9474 # Check whether --enable-shared was given.
9475 if test "${enable_shared+set}" = set; then :
9476 enableval=$enable_shared; p=${PACKAGE-default}
9478 yes) enable_shared=yes ;;
9479 no) enable_shared=no ;;
9482 # Look at the argument we got. We use all the common list separators.
9483 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9484 for pkg in $enableval; do
9486 if test "X$pkg" = "X$p"; then
9507 # Check whether --with-pic was given.
9508 if test "${with_pic+set}" = set; then :
9509 withval=$with_pic; lt_p=${PACKAGE-default}
9511 yes|no) pic_mode=$withval ;;
9514 # Look at the argument we got. We use all the common list separators.
9515 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9516 for lt_pkg in $withval; do
9518 if test "X$lt_pkg" = "X$lt_p"; then
9530 test -z "$pic_mode" && pic_mode=default
9538 # Check whether --enable-fast-install was given.
9539 if test "${enable_fast_install+set}" = set; then :
9540 enableval=$enable_fast_install; p=${PACKAGE-default}
9542 yes) enable_fast_install=yes ;;
9543 no) enable_fast_install=no ;;
9545 enable_fast_install=no
9546 # Look at the argument we got. We use all the common list separators.
9547 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9548 for pkg in $enableval; do
9550 if test "X$pkg" = "X$p"; then
9551 enable_fast_install=yes
9558 enable_fast_install=yes
9571 # This can be used to rebuild libtool when needed
9572 LIBTOOL_DEPS="$ltmain"
9574 # Always use our own libtool.
9575 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9606 test -z "$LN_S" && LN_S="ln -s"
9621 if test -n "${ZSH_VERSION+set}" ; then
9622 setopt NO_GLOB_SUBST
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9626 $as_echo_n "checking for objdir... " >&6; }
9627 if ${lt_cv_objdir+:} false; then :
9628 $as_echo_n "(cached) " >&6
9630 rm -f .libs 2>/dev/null
9631 mkdir .libs 2>/dev/null
9632 if test -d .libs; then
9635 # MS-DOS does not allow filenames that begin with a dot.
9638 rmdir .libs 2>/dev/null
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9641 $as_echo "$lt_cv_objdir" >&6; }
9642 objdir=$lt_cv_objdir
9648 cat >>confdefs.h <<_ACEOF
9649 #define LT_OBJDIR "$lt_cv_objdir/"
9657 # AIX sometimes has problems with the GCC collect2 program. For some
9658 # reason, if we set the COLLECT_NAMES environment variable, the problems
9659 # vanish in a puff of smoke.
9660 if test "X${COLLECT_NAMES+set}" != Xset; then
9662 export COLLECT_NAMES
9669 can_build_shared=yes
9671 # All known linkers require a `.a' archive for static linking (except MSVC,
9672 # which needs '.lib').
9675 with_gnu_ld="$lt_cv_prog_gnu_ld"
9678 old_CFLAGS="$CFLAGS"
9680 # Set sane defaults for various variables
9681 test -z "$CC" && CC=cc
9682 test -z "$LTCC" && LTCC=$CC
9683 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9684 test -z "$LD" && LD=ld
9685 test -z "$ac_objext" && ac_objext=o
9687 for cc_temp in $compiler""; do
9689 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9690 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9695 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9698 # Only perform the check for file, if the check method requires it
9699 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9700 case $deplibs_check_method in
9702 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9704 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9705 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9706 $as_echo_n "(cached) " >&6
9710 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9713 lt_save_MAGIC_CMD="$MAGIC_CMD"
9714 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9715 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9716 for ac_dir in $ac_dummy; do
9718 test -z "$ac_dir" && ac_dir=.
9719 if test -f $ac_dir/${ac_tool_prefix}file; then
9720 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9721 if test -n "$file_magic_test_file"; then
9722 case $deplibs_check_method in
9724 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9725 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9726 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9727 $EGREP "$file_magic_regex" > /dev/null; then
9732 *** Warning: the command libtool uses to detect shared libraries,
9733 *** $file_magic_cmd, produces output that libtool cannot recognize.
9734 *** The result is that libtool may fail to recognize shared libraries
9735 *** as such. This will affect the creation of libtool libraries that
9736 *** depend on shared libraries, but programs linked with such libtool
9737 *** libraries will work regardless of this problem. Nevertheless, you
9738 *** may want to report the problem to your system manager and/or to
9739 *** bug-libtool@gnu.org
9749 MAGIC_CMD="$lt_save_MAGIC_CMD"
9754 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9755 if test -n "$MAGIC_CMD"; then
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9757 $as_echo "$MAGIC_CMD" >&6; }
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9760 $as_echo "no" >&6; }
9767 if test -z "$lt_cv_path_MAGIC_CMD"; then
9768 if test -n "$ac_tool_prefix"; then
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9770 $as_echo_n "checking for file... " >&6; }
9771 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9772 $as_echo_n "(cached) " >&6
9776 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9779 lt_save_MAGIC_CMD="$MAGIC_CMD"
9780 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9781 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9782 for ac_dir in $ac_dummy; do
9784 test -z "$ac_dir" && ac_dir=.
9785 if test -f $ac_dir/file; then
9786 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9787 if test -n "$file_magic_test_file"; then
9788 case $deplibs_check_method in
9790 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9791 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9792 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9793 $EGREP "$file_magic_regex" > /dev/null; then
9798 *** Warning: the command libtool uses to detect shared libraries,
9799 *** $file_magic_cmd, produces output that libtool cannot recognize.
9800 *** The result is that libtool may fail to recognize shared libraries
9801 *** as such. This will affect the creation of libtool libraries that
9802 *** depend on shared libraries, but programs linked with such libtool
9803 *** libraries will work regardless of this problem. Nevertheless, you
9804 *** may want to report the problem to your system manager and/or to
9805 *** bug-libtool@gnu.org
9815 MAGIC_CMD="$lt_save_MAGIC_CMD"
9820 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9821 if test -n "$MAGIC_CMD"; then
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9823 $as_echo "$MAGIC_CMD" >&6; }
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9826 $as_echo "no" >&6; }
9839 # Use C for the default configuration in the libtool script
9843 ac_cpp='$CPP $CPPFLAGS'
9844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9849 # Source file extension for C test sources.
9852 # Object file extension for compiled C test sources.
9856 # Code to be used in simple compile tests
9857 lt_simple_compile_test_code="int some_variable = 0;"
9859 # Code to be used in simple link tests
9860 lt_simple_link_test_code='int main(){return(0);}'
9868 # If no C compiler was specified, use CC.
9871 # If no C compiler flags were specified, use CFLAGS.
9872 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9874 # Allow CC to be a program name with arguments.
9877 # Save the default compiler, since it gets overwritten when the other
9878 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9879 compiler_DEFAULT=$CC
9881 # save warnings/boilerplate of simple test code
9882 ac_outfile=conftest.$ac_objext
9883 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9884 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9885 _lt_compiler_boilerplate=`cat conftest.err`
9888 ac_outfile=conftest.$ac_objext
9889 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9890 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9891 _lt_linker_boilerplate=`cat conftest.err`
9896 ## There is no encapsulation within the following macros, do not change
9897 ## the running order or otherwise move them around unless you know exactly
9898 ## what you are doing...
9899 if test -n "$compiler"; then
9901 lt_prog_compiler_no_builtin_flag=
9903 if test "$GCC" = yes; then
9904 case $cc_basename in
9906 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9908 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9912 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9913 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9914 $as_echo_n "(cached) " >&6
9916 lt_cv_prog_compiler_rtti_exceptions=no
9917 ac_outfile=conftest.$ac_objext
9918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9919 lt_compiler_flag="-fno-rtti -fno-exceptions"
9920 # Insert the option either (1) after the last *FLAGS variable, or
9921 # (2) before a word containing "conftest.", or (3) at the end.
9922 # Note that $ac_compile itself does not contain backslashes and begins
9923 # with a dollar sign (not a hyphen), so the echo should work correctly.
9924 # The option is referenced via a variable to avoid confusing sed.
9925 lt_compile=`echo "$ac_compile" | $SED \
9926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9928 -e 's:$: $lt_compiler_flag:'`
9929 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9930 (eval "$lt_compile" 2>conftest.err)
9932 cat conftest.err >&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 if (exit $ac_status) && test -s "$ac_outfile"; then
9935 # The compiler can only warn and ignore the option if not recognized
9936 # So say no if there are warnings other than the usual output.
9937 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9938 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9939 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9940 lt_cv_prog_compiler_rtti_exceptions=yes
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9947 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9949 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9950 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9962 lt_prog_compiler_wl=
9963 lt_prog_compiler_pic=
9964 lt_prog_compiler_static=
9967 if test "$GCC" = yes; then
9968 lt_prog_compiler_wl='-Wl,'
9969 lt_prog_compiler_static='-static'
9973 # All AIX code is PIC.
9974 if test "$host_cpu" = ia64; then
9975 # AIX 5 now supports IA64 processor
9976 lt_prog_compiler_static='-Bstatic'
9983 # see comment about AmigaOS4 .so support
9984 lt_prog_compiler_pic='-fPIC'
9987 # FIXME: we need at least 68020 code to build shared libraries, but
9988 # adding the `-m68020' flag to GCC prevents building anything better,
9990 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9995 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9996 # PIC is the default for these OSes.
9999 mingw* | cygwin* | pw32* | os2* | cegcc*)
10000 # This hack is so that the source file can tell whether it is being
10001 # built for inclusion in a dll (and should export symbols for example).
10002 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10003 # (--disable-auto-import) libraries
10004 lt_prog_compiler_pic='-DDLL_EXPORT'
10007 darwin* | rhapsody*)
10008 # PIC is the default on this platform
10009 # Common symbols not allowed in MH_DYLIB files
10010 lt_prog_compiler_pic='-fno-common'
10014 # PIC is the default for Haiku.
10015 # The "-static" flag exists, but is broken.
10016 lt_prog_compiler_static=
10020 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10021 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10022 # sets the default TLS model and affects inlining.
10028 lt_prog_compiler_pic='-fPIC'
10034 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10035 # Instead, we relocate shared libraries at runtime.
10039 # Just because we use GCC doesn't mean we suddenly get shared libraries
10040 # on systems that don't support them.
10041 lt_prog_compiler_can_build_shared=no
10046 # QNX uses GNU C++, but need to define -shared option too, otherwise
10047 # it will coredump.
10048 lt_prog_compiler_pic='-fPIC -shared'
10052 if test -d /usr/nec; then
10053 lt_prog_compiler_pic=-Kconform_pic
10058 lt_prog_compiler_pic='-fPIC'
10062 case $cc_basename in
10063 nvcc*) # Cuda Compiler Driver 2.2
10064 lt_prog_compiler_wl='-Xlinker '
10065 if test -n "$lt_prog_compiler_pic"; then
10066 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10071 # PORTME Check for flag to pass linker flags through the system compiler.
10074 lt_prog_compiler_wl='-Wl,'
10075 if test "$host_cpu" = ia64; then
10076 # AIX 5 now supports IA64 processor
10077 lt_prog_compiler_static='-Bstatic'
10079 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10083 mingw* | cygwin* | pw32* | os2* | cegcc*)
10084 # This hack is so that the source file can tell whether it is being
10085 # built for inclusion in a dll (and should export symbols for example).
10086 lt_prog_compiler_pic='-DDLL_EXPORT'
10089 hpux9* | hpux10* | hpux11*)
10090 lt_prog_compiler_wl='-Wl,'
10091 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10092 # not for PA HP-UX.
10098 lt_prog_compiler_pic='+Z'
10101 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10102 lt_prog_compiler_static='${wl}-a ${wl}archive'
10105 irix5* | irix6* | nonstopux*)
10106 lt_prog_compiler_wl='-Wl,'
10107 # PIC (with -KPIC) is the default.
10108 lt_prog_compiler_static='-non_shared'
10111 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10112 case $cc_basename in
10113 # old Intel for x86_64 which still supported -KPIC.
10115 lt_prog_compiler_wl='-Wl,'
10116 lt_prog_compiler_pic='-KPIC'
10117 lt_prog_compiler_static='-static'
10119 # icc used to be incompatible with GCC.
10120 # ICC 10 doesn't accept -KPIC any more.
10122 lt_prog_compiler_wl='-Wl,'
10123 lt_prog_compiler_pic='-fPIC'
10124 lt_prog_compiler_static='-static'
10126 # Lahey Fortran 8.1.
10128 lt_prog_compiler_wl='-Wl,'
10129 lt_prog_compiler_pic='--shared'
10130 lt_prog_compiler_static='--static'
10133 # NAG Fortran compiler
10134 lt_prog_compiler_wl='-Wl,-Wl,,'
10135 lt_prog_compiler_pic='-PIC'
10136 lt_prog_compiler_static='-Bstatic'
10138 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10139 # Portland Group compilers (*not* the Pentium gcc compiler,
10140 # which looks to be a dead project)
10141 lt_prog_compiler_wl='-Wl,'
10142 lt_prog_compiler_pic='-fpic'
10143 lt_prog_compiler_static='-Bstatic'
10146 lt_prog_compiler_wl='-Wl,'
10147 # All Alpha code is PIC.
10148 lt_prog_compiler_static='-non_shared'
10150 xl* | bgxl* | bgf* | mpixl*)
10151 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10152 lt_prog_compiler_wl='-Wl,'
10153 lt_prog_compiler_pic='-qpic'
10154 lt_prog_compiler_static='-qstaticlink'
10157 case `$CC -V 2>&1 | sed 5q` in
10158 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10159 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10160 lt_prog_compiler_pic='-KPIC'
10161 lt_prog_compiler_static='-Bstatic'
10162 lt_prog_compiler_wl=''
10164 *Sun\ F* | *Sun*Fortran*)
10165 lt_prog_compiler_pic='-KPIC'
10166 lt_prog_compiler_static='-Bstatic'
10167 lt_prog_compiler_wl='-Qoption ld '
10171 lt_prog_compiler_pic='-KPIC'
10172 lt_prog_compiler_static='-Bstatic'
10173 lt_prog_compiler_wl='-Wl,'
10175 *Intel*\ [CF]*Compiler*)
10176 lt_prog_compiler_wl='-Wl,'
10177 lt_prog_compiler_pic='-fPIC'
10178 lt_prog_compiler_static='-static'
10181 lt_prog_compiler_wl='-Wl,'
10182 lt_prog_compiler_pic='-fpic'
10183 lt_prog_compiler_static='-Bstatic'
10191 lt_prog_compiler_pic='-KPIC'
10192 lt_prog_compiler_static='-Bstatic'
10196 # QNX uses GNU C++, but need to define -shared option too, otherwise
10197 # it will coredump.
10198 lt_prog_compiler_pic='-fPIC -shared'
10201 osf3* | osf4* | osf5*)
10202 lt_prog_compiler_wl='-Wl,'
10203 # All OSF/1 code is PIC.
10204 lt_prog_compiler_static='-non_shared'
10208 lt_prog_compiler_static='-non_shared'
10212 lt_prog_compiler_pic='-KPIC'
10213 lt_prog_compiler_static='-Bstatic'
10214 case $cc_basename in
10215 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10216 lt_prog_compiler_wl='-Qoption ld ';;
10218 lt_prog_compiler_wl='-Wl,';;
10223 lt_prog_compiler_wl='-Qoption ld '
10224 lt_prog_compiler_pic='-PIC'
10225 lt_prog_compiler_static='-Bstatic'
10228 sysv4 | sysv4.2uw2* | sysv4.3*)
10229 lt_prog_compiler_wl='-Wl,'
10230 lt_prog_compiler_pic='-KPIC'
10231 lt_prog_compiler_static='-Bstatic'
10235 if test -d /usr/nec ;then
10236 lt_prog_compiler_pic='-Kconform_pic'
10237 lt_prog_compiler_static='-Bstatic'
10241 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10242 lt_prog_compiler_wl='-Wl,'
10243 lt_prog_compiler_pic='-KPIC'
10244 lt_prog_compiler_static='-Bstatic'
10248 lt_prog_compiler_wl='-Wl,'
10249 lt_prog_compiler_can_build_shared=no
10253 lt_prog_compiler_pic='-pic'
10254 lt_prog_compiler_static='-Bstatic'
10258 lt_prog_compiler_can_build_shared=no
10264 # For platforms which do not support PIC, -DPIC is meaningless:
10266 lt_prog_compiler_pic=
10269 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10274 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10275 if ${lt_cv_prog_compiler_pic+:} false; then :
10276 $as_echo_n "(cached) " >&6
10278 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10281 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10282 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10285 # Check to make sure the PIC flag actually works.
10287 if test -n "$lt_prog_compiler_pic"; then
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10289 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10290 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10291 $as_echo_n "(cached) " >&6
10293 lt_cv_prog_compiler_pic_works=no
10294 ac_outfile=conftest.$ac_objext
10295 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10296 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10297 # Insert the option either (1) after the last *FLAGS variable, or
10298 # (2) before a word containing "conftest.", or (3) at the end.
10299 # Note that $ac_compile itself does not contain backslashes and begins
10300 # with a dollar sign (not a hyphen), so the echo should work correctly.
10301 # The option is referenced via a variable to avoid confusing sed.
10302 lt_compile=`echo "$ac_compile" | $SED \
10303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10305 -e 's:$: $lt_compiler_flag:'`
10306 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10307 (eval "$lt_compile" 2>conftest.err)
10309 cat conftest.err >&5
10310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 if (exit $ac_status) && test -s "$ac_outfile"; then
10312 # The compiler can only warn and ignore the option if not recognized
10313 # So say no if there are warnings other than the usual output.
10314 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10315 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10316 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10317 lt_cv_prog_compiler_pic_works=yes
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10324 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10326 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10327 case $lt_prog_compiler_pic in
10329 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10332 lt_prog_compiler_pic=
10333 lt_prog_compiler_can_build_shared=no
10349 # Check to make sure the static flag actually works.
10351 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10353 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10354 if ${lt_cv_prog_compiler_static_works+:} false; then :
10355 $as_echo_n "(cached) " >&6
10357 lt_cv_prog_compiler_static_works=no
10358 save_LDFLAGS="$LDFLAGS"
10359 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10360 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10361 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10362 # The linker can only warn and ignore the option if not recognized
10363 # So say no if there are warnings
10364 if test -s conftest.err; then
10365 # Append any errors to the config.log.
10366 cat conftest.err 1>&5
10367 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10368 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10369 if diff conftest.exp conftest.er2 >/dev/null; then
10370 lt_cv_prog_compiler_static_works=yes
10373 lt_cv_prog_compiler_static_works=yes
10377 LDFLAGS="$save_LDFLAGS"
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10381 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10383 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10386 lt_prog_compiler_static=
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10396 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10397 if ${lt_cv_prog_compiler_c_o+:} false; then :
10398 $as_echo_n "(cached) " >&6
10400 lt_cv_prog_compiler_c_o=no
10401 $RM -r conftest 2>/dev/null
10405 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10407 lt_compiler_flag="-o out/conftest2.$ac_objext"
10408 # Insert the option either (1) after the last *FLAGS variable, or
10409 # (2) before a word containing "conftest.", or (3) at the end.
10410 # Note that $ac_compile itself does not contain backslashes and begins
10411 # with a dollar sign (not a hyphen), so the echo should work correctly.
10412 lt_compile=`echo "$ac_compile" | $SED \
10413 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10414 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10415 -e 's:$: $lt_compiler_flag:'`
10416 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10417 (eval "$lt_compile" 2>out/conftest.err)
10419 cat out/conftest.err >&5
10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10423 # The compiler can only warn and ignore the option if not recognized
10424 # So say no if there are warnings
10425 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10426 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10427 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10428 lt_cv_prog_compiler_c_o=yes
10433 # SGI C++ compiler will create directory out/ii_files/ for
10434 # template instantiation
10435 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10436 $RM out/* && rmdir out
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10443 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10451 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10452 if ${lt_cv_prog_compiler_c_o+:} false; then :
10453 $as_echo_n "(cached) " >&6
10455 lt_cv_prog_compiler_c_o=no
10456 $RM -r conftest 2>/dev/null
10460 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10462 lt_compiler_flag="-o out/conftest2.$ac_objext"
10463 # Insert the option either (1) after the last *FLAGS variable, or
10464 # (2) before a word containing "conftest.", or (3) at the end.
10465 # Note that $ac_compile itself does not contain backslashes and begins
10466 # with a dollar sign (not a hyphen), so the echo should work correctly.
10467 lt_compile=`echo "$ac_compile" | $SED \
10468 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10469 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10470 -e 's:$: $lt_compiler_flag:'`
10471 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10472 (eval "$lt_compile" 2>out/conftest.err)
10474 cat out/conftest.err >&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10478 # The compiler can only warn and ignore the option if not recognized
10479 # So say no if there are warnings
10480 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10481 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10482 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10483 lt_cv_prog_compiler_c_o=yes
10488 # SGI C++ compiler will create directory out/ii_files/ for
10489 # template instantiation
10490 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10491 $RM out/* && rmdir out
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10498 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10503 hard_links="nottested"
10504 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10505 # do not overwrite the value of need_locks provided by the user
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10507 $as_echo_n "checking if we can lock with hard links... " >&6; }
10510 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10512 ln conftest.a conftest.b 2>&5 || hard_links=no
10513 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10515 $as_echo "$hard_links" >&6; }
10516 if test "$hard_links" = no; then
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10518 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10531 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10534 allow_undefined_flag=
10535 always_export_symbols=no
10537 archive_expsym_cmds=
10538 compiler_needs_object=no
10539 enable_shared_with_static_runtimes=no
10540 export_dynamic_flag_spec=
10541 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10542 hardcode_automatic=no
10544 hardcode_direct_absolute=no
10545 hardcode_libdir_flag_spec=
10546 hardcode_libdir_separator=
10547 hardcode_minus_L=no
10548 hardcode_shlibpath_var=unsupported
10550 link_all_deplibs=unknown
10552 module_expsym_cmds=
10553 old_archive_from_new_cmds=
10554 old_archive_from_expsyms_cmds=
10555 thread_safe_flag_spec=
10556 whole_archive_flag_spec=
10557 # include_expsyms should be a list of space-separated symbols to be *always*
10558 # included in the symbol list
10560 # exclude_expsyms can be an extended regexp of symbols to exclude
10561 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10562 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10563 # as well as any symbol that contains `d'.
10564 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10565 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10566 # platforms (ab)use it in PIC code, but their linkers get confused if
10567 # the symbol is explicitly referenced. Since portable code cannot
10568 # rely on this symbol name, it's probably fine to never include it in
10569 # preloaded symbol tables.
10570 # Exclude shared library initialization/finalization symbols.
10571 extract_expsyms_cmds=
10574 cygwin* | mingw* | pw32* | cegcc*)
10575 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10576 # When not using gcc, we currently assume that we are using
10577 # Microsoft Visual C++.
10578 if test "$GCC" != yes; then
10583 # we just hope/assume this is gcc and not c89 (= MSVC++)
10589 linux* | k*bsd*-gnu | gnu*)
10590 link_all_deplibs=no
10596 # On some targets, GNU ld is compatible enough with the native linker
10597 # that we're better off using the native interface for both.
10598 lt_use_gnu_ld_interface=no
10599 if test "$with_gnu_ld" = yes; then
10602 # The AIX port of GNU ld has always aspired to compatibility
10603 # with the native linker. However, as the warning in the GNU ld
10604 # block says, versions before 2.19.5* couldn't really create working
10605 # shared libraries, regardless of the interface used.
10606 case `$LD -v 2>&1` in
10607 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10608 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10609 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10611 lt_use_gnu_ld_interface=yes
10616 lt_use_gnu_ld_interface=yes
10621 if test "$lt_use_gnu_ld_interface" = yes; then
10622 # If archive_cmds runs LD, not CC, wlarc should be empty
10625 # Set some defaults for GNU ld with shared library support. These
10626 # are reset later if shared libraries are not supported. Putting them
10627 # here allows them to be overridden if necessary.
10628 runpath_var=LD_RUN_PATH
10629 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10630 export_dynamic_flag_spec='${wl}--export-dynamic'
10631 # ancient GNU ld didn't support --whole-archive et. al.
10632 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10633 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10635 whole_archive_flag_spec=
10637 supports_anon_versioning=no
10638 case `$LD -v 2>&1` in
10639 *GNU\ gold*) supports_anon_versioning=yes ;;
10640 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10641 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10642 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10643 *\ 2.11.*) ;; # other 2.11 versions
10644 *) supports_anon_versioning=yes ;;
10647 # See if GNU ld supports shared libraries.
10650 # On AIX/PPC, the GNU linker is very broken
10651 if test "$host_cpu" != ia64; then
10655 *** Warning: the GNU linker, at least up to release 2.19, is reported
10656 *** to be unable to reliably create shared libraries on AIX.
10657 *** Therefore, libtool is disabling shared libraries support. If you
10658 *** really care for shared libraries, you may want to install binutils
10659 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10660 *** You will then need to restart the configuration process.
10669 # see comment about AmigaOS4 .so support
10670 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10671 archive_expsym_cmds=''
10674 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)'
10675 hardcode_libdir_flag_spec='-L$libdir'
10676 hardcode_minus_L=yes
10682 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10683 allow_undefined_flag=unsupported
10684 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10685 # support --undefined. This deserves some investigation. FIXME
10686 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10692 cygwin* | mingw* | pw32* | cegcc*)
10693 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10694 # as there is no search path for DLLs.
10695 hardcode_libdir_flag_spec='-L$libdir'
10696 export_dynamic_flag_spec='${wl}--export-all-symbols'
10697 allow_undefined_flag=unsupported
10698 always_export_symbols=no
10699 enable_shared_with_static_runtimes=yes
10700 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'
10701 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10703 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10704 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10705 # If the export-symbols file already is a .def file (1st line
10706 # is EXPORTS), use it as is; otherwise, prepend...
10707 archive_expsym_cmds='if test "x`$SED \"$sed_uncomment_deffile\" $export_symbols | $SED 1q`" = xEXPORTS; then
10708 cp $export_symbols $output_objdir/$soname.def;
10710 echo EXPORTS > $output_objdir/$soname.def;
10711 cat $export_symbols >> $output_objdir/$soname.def;
10713 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10720 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10721 link_all_deplibs=yes
10726 hardcode_shlibpath_var=no
10727 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10728 export_dynamic_flag_spec='${wl}-E'
10729 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10730 # Instead, shared libraries are loaded at an image base (0x10000000 by
10731 # default) and relocated if they conflict, which is a slow very memory
10732 # consuming and fragmenting process. To avoid this, we pick a random,
10733 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10734 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10735 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10736 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'
10739 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10741 if test "$host_os" = linux-dietlibc; then
10742 case $cc_basename in
10743 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10746 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10747 && test "$tmp_diet" = no
10749 tmp_addflag=' $pic_flag'
10750 tmp_sharedflag='-shared'
10751 case $cc_basename,$host_cpu in
10752 pgcc*) # Portland Group C compiler
10753 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'
10754 tmp_addflag=' $pic_flag'
10756 pgf77* | pgf90* | pgf95* | pgfortran*)
10757 # Portland Group f77 and f90 compilers
10758 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'
10759 tmp_addflag=' $pic_flag -Mnomain' ;;
10760 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10761 tmp_addflag=' -i_dynamic' ;;
10762 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10763 tmp_addflag=' -i_dynamic -nofor_main' ;;
10764 ifc* | ifort*) # Intel Fortran compiler
10765 tmp_addflag=' -nofor_main' ;;
10766 lf95*) # Lahey Fortran 8.1
10767 whole_archive_flag_spec=
10768 tmp_sharedflag='--shared' ;;
10769 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10770 tmp_sharedflag='-qmkshrobj'
10772 nvcc*) # Cuda Compiler Driver 2.2
10773 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'
10774 compiler_needs_object=yes
10777 case `$CC -V 2>&1 | sed 5q` in
10778 *Sun\ C*) # Sun C 5.9
10779 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'
10780 compiler_needs_object=yes
10781 tmp_sharedflag='-G' ;;
10782 *Sun\ F*) # Sun Fortran 8.3
10783 tmp_sharedflag='-G' ;;
10785 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10787 if test "x$supports_anon_versioning" = xyes; then
10788 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10789 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10790 echo "local: *; };" >> $output_objdir/$libname.ver~
10791 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10794 case $cc_basename in
10795 xlf* | bgf* | bgxlf* | mpixlf*)
10796 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10797 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10798 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10799 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10800 if test "x$supports_anon_versioning" = xyes; then
10801 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10802 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10803 echo "local: *; };" >> $output_objdir/$libname.ver~
10804 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10813 netbsd* | netbsdelf*-gnu)
10814 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10815 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10818 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10819 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10824 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10828 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10829 *** create shared libraries on Solaris systems. Therefore, libtool
10830 *** is disabling shared libraries support. We urge you to upgrade GNU
10831 *** binutils to release 2.9.1 or newer. Another option is to modify
10832 *** your PATH or compiler configuration so that the native linker is
10833 *** used, and then restart.
10836 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10837 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10838 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10844 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10845 case `$LD -v 2>&1` in
10846 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10850 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10851 *** reliably create shared libraries on SCO systems. Therefore, libtool
10852 *** is disabling shared libraries support. We urge you to upgrade GNU
10853 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10854 *** your PATH or compiler configuration so that the native linker is
10855 *** used, and then restart.
10860 # For security reasons, it is highly recommended that you always
10861 # use absolute paths for naming shared libraries, and exclude the
10862 # DT_RUNPATH tag from executables and libraries. But doing so
10863 # requires that you compile everything twice, which is a pain.
10864 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10865 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10866 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10867 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10876 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10878 hardcode_direct=yes
10879 hardcode_shlibpath_var=no
10883 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10884 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10885 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10892 if test "$ld_shlibs" = no; then
10894 hardcode_libdir_flag_spec=
10895 export_dynamic_flag_spec=
10896 whole_archive_flag_spec=
10899 # PORTME fill in a description of your system's linker (not GNU ld)
10902 allow_undefined_flag=unsupported
10903 always_export_symbols=yes
10904 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'
10905 # Note: this linker hardcodes the directories in LIBPATH if there
10906 # are no directories specified by -L.
10907 hardcode_minus_L=yes
10908 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10909 # Neither direct hardcoding nor static linking is supported with a
10911 hardcode_direct=unsupported
10916 if test "$host_cpu" = ia64; then
10917 # On IA64, the linker does run time linking by default, so we don't
10918 # have to do anything special.
10919 aix_use_runtimelinking=no
10920 exp_sym_flag='-Bexport'
10923 # If we're using GNU nm, then we don't want the "-C" option.
10924 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10925 # Also, AIX nm treats weak defined symbols like other global
10926 # defined symbols, whereas GNU nm marks them as "W".
10927 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10928 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'
10930 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'
10932 aix_use_runtimelinking=no
10934 # Test if we are trying to use run time linking or normal
10935 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10936 # need to do runtime linking.
10937 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10938 for ld_flag in $LDFLAGS; do
10939 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10940 aix_use_runtimelinking=yes
10947 exp_sym_flag='-bexport'
10948 no_entry_flag='-bnoentry'
10951 # When large executables or shared objects are built, AIX ld can
10952 # have problems creating the table of contents. If linking a library
10953 # or program results in "error TOC overflow" add -mminimal-toc to
10954 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10955 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10958 hardcode_direct=yes
10959 hardcode_direct_absolute=yes
10960 hardcode_libdir_separator=':'
10961 link_all_deplibs=yes
10962 file_list_spec='${wl}-f,'
10964 if test "$GCC" = yes; then
10965 case $host_os in aix4.[012]|aix4.[012].*)
10966 # We only want to do this on AIX 4.2 and lower, the check
10967 # below for broken collect2 doesn't work under 4.3+
10968 collect2name=`${CC} -print-prog-name=collect2`
10969 if test -f "$collect2name" &&
10970 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10972 # We have reworked collect2
10975 # We have old collect2
10976 hardcode_direct=unsupported
10977 # It fails to find uninstalled libraries when the uninstalled
10978 # path is not listed in the libpath. Setting hardcode_minus_L
10979 # to unsupported forces relinking
10980 hardcode_minus_L=yes
10981 hardcode_libdir_flag_spec='-L$libdir'
10982 hardcode_libdir_separator=
10986 shared_flag='-shared'
10987 if test "$aix_use_runtimelinking" = yes; then
10988 shared_flag="$shared_flag "'${wl}-G'
10990 link_all_deplibs=no
10993 if test "$host_cpu" = ia64; then
10994 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10995 # chokes on -Wl,-G. The following line is correct:
10998 if test "$aix_use_runtimelinking" = yes; then
10999 shared_flag='${wl}-G'
11001 shared_flag='${wl}-bM:SRE'
11006 export_dynamic_flag_spec='${wl}-bexpall'
11007 # It seems that -bexpall does not export symbols beginning with
11008 # underscore (_), so it is better to generate a list of symbols to export.
11009 always_export_symbols=yes
11010 if test "$aix_use_runtimelinking" = yes; then
11011 # Warning - without using the other runtime loading flags (-brtl),
11012 # -berok will link without error, but may produce a broken library.
11013 allow_undefined_flag='-berok'
11014 # Determine the default libpath from the value encoded in an
11015 # empty executable.
11016 if test "${lt_cv_aix_libpath+set}" = set; then
11017 aix_libpath=$lt_cv_aix_libpath
11019 if ${lt_cv_aix_libpath_+:} false; then :
11020 $as_echo_n "(cached) " >&6
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11033 if ac_fn_c_try_link "$LINENO"; then :
11035 lt_aix_libpath_sed='
11036 /Import File Strings/,/^$/ {
11038 s/^0 *\([^ ]*\) *$/\1/
11042 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11043 # Check for a 64-bit object if we didn't find anything.
11044 if test -z "$lt_cv_aix_libpath_"; then
11045 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11048 rm -f core conftest.err conftest.$ac_objext \
11049 conftest$ac_exeext conftest.$ac_ext
11050 if test -z "$lt_cv_aix_libpath_"; then
11051 lt_cv_aix_libpath_="/usr/lib:/lib"
11056 aix_libpath=$lt_cv_aix_libpath_
11059 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11060 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"
11062 if test "$host_cpu" = ia64; then
11063 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11064 allow_undefined_flag="-z nodefs"
11065 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"
11067 # Determine the default libpath from the value encoded in an
11068 # empty executable.
11069 if test "${lt_cv_aix_libpath+set}" = set; then
11070 aix_libpath=$lt_cv_aix_libpath
11072 if ${lt_cv_aix_libpath_+:} false; then :
11073 $as_echo_n "(cached) " >&6
11075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11086 if ac_fn_c_try_link "$LINENO"; then :
11088 lt_aix_libpath_sed='
11089 /Import File Strings/,/^$/ {
11091 s/^0 *\([^ ]*\) *$/\1/
11095 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11096 # Check for a 64-bit object if we didn't find anything.
11097 if test -z "$lt_cv_aix_libpath_"; then
11098 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 if test -z "$lt_cv_aix_libpath_"; then
11104 lt_cv_aix_libpath_="/usr/lib:/lib"
11109 aix_libpath=$lt_cv_aix_libpath_
11112 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11113 # Warning - without using the other run time loading flags,
11114 # -berok will link without error, but may produce a broken library.
11115 no_undefined_flag=' ${wl}-bernotok'
11116 allow_undefined_flag=' ${wl}-berok'
11117 if test "$with_gnu_ld" = yes; then
11118 # We only use this code for GNU lds that support --whole-archive.
11119 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11121 # Exported symbols can be pulled into shared objects from archives
11122 whole_archive_flag_spec='$convenience'
11124 archive_cmds_need_lc=yes
11125 # This is similar to how AIX traditionally builds its shared libraries.
11126 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'
11134 # see comment about AmigaOS4 .so support
11135 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11136 archive_expsym_cmds=''
11139 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)'
11140 hardcode_libdir_flag_spec='-L$libdir'
11141 hardcode_minus_L=yes
11147 export_dynamic_flag_spec=-rdynamic
11150 cygwin* | mingw* | pw32* | cegcc*)
11151 # When not using gcc, we currently assume that we are using
11152 # Microsoft Visual C++.
11153 # hardcode_libdir_flag_spec is actually meaningless, as there is
11154 # no search path for DLLs.
11155 case $cc_basename in
11158 hardcode_libdir_flag_spec=' '
11159 allow_undefined_flag=unsupported
11160 always_export_symbols=yes
11162 # Tell ltmain to make .lib files, not .a files.
11164 # Tell ltmain to make .dll files, not .so files.
11166 # FIXME: Setting linknames here is a bad hack.
11167 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11168 archive_expsym_cmds='if test "x`$SED \"$sed_uncomment_deffile\" $export_symbols | $SED 1q`" = xEXPORTS; then
11169 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11171 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11173 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11175 # The linker will not automatically build a static lib if we build a DLL.
11176 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11177 enable_shared_with_static_runtimes=yes
11178 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11179 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11181 old_postinstall_cmds='chmod 644 $oldlib'
11182 postlink_cmds='lt_outputfile="@OUTPUT@"~
11183 lt_tool_outputfile="@TOOL_OUTPUT@"~
11184 case $lt_outputfile in
11187 lt_outputfile="$lt_outputfile.exe"
11188 lt_tool_outputfile="$lt_tool_outputfile.exe"
11191 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11192 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11193 $RM "$lt_outputfile.manifest";
11197 # Assume MSVC wrapper
11198 hardcode_libdir_flag_spec=' '
11199 allow_undefined_flag=unsupported
11200 # Tell ltmain to make .lib files, not .a files.
11202 # Tell ltmain to make .dll files, not .so files.
11204 # FIXME: Setting linknames here is a bad hack.
11205 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11206 # The linker will automatically build a .lib file if we build a DLL.
11207 old_archive_from_new_cmds='true'
11208 # FIXME: Should let the user specify the lib program.
11209 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11210 enable_shared_with_static_runtimes=yes
11215 darwin* | rhapsody*)
11218 archive_cmds_need_lc=no
11220 hardcode_automatic=yes
11221 hardcode_shlibpath_var=unsupported
11222 if test "$lt_cv_ld_force_load" = "yes"; then
11223 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\"`'
11226 whole_archive_flag_spec=''
11228 link_all_deplibs=yes
11229 allow_undefined_flag="$_lt_dar_allow_undefined"
11230 case $cc_basename in
11231 ifort*) _lt_dar_can_shared=yes ;;
11232 *) _lt_dar_can_shared=$GCC ;;
11234 if test "$_lt_dar_can_shared" = "yes"; then
11235 output_verbose_link_cmd=func_echo_all
11236 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11237 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11238 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}"
11239 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}"
11248 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11249 hardcode_libdir_flag_spec='-L$libdir'
11250 hardcode_shlibpath_var=no
11253 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11254 # support. Future versions do this automatically, but an explicit c++rt0.o
11255 # does not break anything, and helps significantly (at the cost of a little
11258 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11259 hardcode_libdir_flag_spec='-R$libdir'
11260 hardcode_direct=yes
11261 hardcode_shlibpath_var=no
11264 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11266 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11267 hardcode_direct=yes
11268 hardcode_minus_L=yes
11269 hardcode_shlibpath_var=no
11272 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11273 freebsd* | dragonfly*)
11274 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11275 hardcode_libdir_flag_spec='-R$libdir'
11276 hardcode_direct=yes
11277 hardcode_shlibpath_var=no
11281 if test "$GCC" = yes; then
11282 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'
11284 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'
11286 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11287 hardcode_libdir_separator=:
11288 hardcode_direct=yes
11290 # hardcode_minus_L: Not really in the search PATH,
11291 # but as the default location of the library.
11292 hardcode_minus_L=yes
11293 export_dynamic_flag_spec='${wl}-E'
11297 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11298 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11300 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11302 if test "$with_gnu_ld" = no; then
11303 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11304 hardcode_libdir_separator=:
11305 hardcode_direct=yes
11306 hardcode_direct_absolute=yes
11307 export_dynamic_flag_spec='${wl}-E'
11308 # hardcode_minus_L: Not really in the search PATH,
11309 # but as the default location of the library.
11310 hardcode_minus_L=yes
11315 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11318 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11321 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11324 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11330 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11333 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11337 # Older versions of the 11.00 compiler do not understand -b yet
11338 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11340 $as_echo_n "checking if $CC understands -b... " >&6; }
11341 if ${lt_cv_prog_compiler__b+:} false; then :
11342 $as_echo_n "(cached) " >&6
11344 lt_cv_prog_compiler__b=no
11345 save_LDFLAGS="$LDFLAGS"
11346 LDFLAGS="$LDFLAGS -b"
11347 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11348 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11349 # The linker can only warn and ignore the option if not recognized
11350 # So say no if there are warnings
11351 if test -s conftest.err; then
11352 # Append any errors to the config.log.
11353 cat conftest.err 1>&5
11354 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11355 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11356 if diff conftest.exp conftest.er2 >/dev/null; then
11357 lt_cv_prog_compiler__b=yes
11360 lt_cv_prog_compiler__b=yes
11364 LDFLAGS="$save_LDFLAGS"
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11368 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11370 if test x"$lt_cv_prog_compiler__b" = xyes; then
11371 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11373 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11379 if test "$with_gnu_ld" = no; then
11380 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11381 hardcode_libdir_separator=:
11386 hardcode_shlibpath_var=no
11389 hardcode_direct=yes
11390 hardcode_direct_absolute=yes
11391 export_dynamic_flag_spec='${wl}-E'
11393 # hardcode_minus_L: Not really in the search PATH,
11394 # but as the default location of the library.
11395 hardcode_minus_L=yes
11401 irix5* | irix6* | nonstopux*)
11402 if test "$GCC" = yes; then
11403 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'
11404 # Try to use the -exported_symbol ld option, if it does not
11405 # work, assume that -exports_file does not work either and
11406 # implicitly export all symbols.
11407 # This should be the same for all languages, so no per-tag cache variable.
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11409 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11410 if ${lt_cv_irix_exported_symbol+:} false; then :
11411 $as_echo_n "(cached) " >&6
11413 save_LDFLAGS="$LDFLAGS"
11414 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11416 /* end confdefs.h. */
11417 int foo (void) { return 0; }
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 lt_cv_irix_exported_symbol=yes
11422 lt_cv_irix_exported_symbol=no
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LDFLAGS="$save_LDFLAGS"
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11429 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11430 if test "$lt_cv_irix_exported_symbol" = yes; then
11431 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'
11434 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'
11435 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'
11437 archive_cmds_need_lc='no'
11438 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11439 hardcode_libdir_separator=:
11441 link_all_deplibs=yes
11444 netbsd* | netbsdelf*-gnu)
11445 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11446 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11448 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11450 hardcode_libdir_flag_spec='-R$libdir'
11451 hardcode_direct=yes
11452 hardcode_shlibpath_var=no
11456 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11457 hardcode_direct=yes
11458 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11459 hardcode_libdir_separator=:
11460 hardcode_shlibpath_var=no
11467 if test -f /usr/libexec/ld.so; then
11468 hardcode_direct=yes
11469 hardcode_shlibpath_var=no
11470 hardcode_direct_absolute=yes
11471 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11472 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11473 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11474 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11475 export_dynamic_flag_spec='${wl}-E'
11478 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11479 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11480 hardcode_libdir_flag_spec='-R$libdir'
11483 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11484 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11494 hardcode_libdir_flag_spec='-L$libdir'
11495 hardcode_minus_L=yes
11496 allow_undefined_flag=unsupported
11497 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'
11498 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11502 if test "$GCC" = yes; then
11503 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11504 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'
11506 allow_undefined_flag=' -expect_unresolved \*'
11507 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'
11509 archive_cmds_need_lc='no'
11510 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11511 hardcode_libdir_separator=:
11514 osf4* | osf5*) # as osf3* with the addition of -msym flag
11515 if test "$GCC" = yes; then
11516 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11517 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'
11518 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11520 allow_undefined_flag=' -expect_unresolved \*'
11521 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'
11522 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~
11523 $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'
11525 # Both c and cxx compiler support -rpath directly
11526 hardcode_libdir_flag_spec='-rpath $libdir'
11528 archive_cmds_need_lc='no'
11529 hardcode_libdir_separator=:
11533 no_undefined_flag=' -z defs'
11534 if test "$GCC" = yes; then
11536 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11537 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11538 $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'
11540 case `$CC -V 2>&1` in
11543 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11544 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11545 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11549 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11550 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11551 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11555 hardcode_libdir_flag_spec='-R$libdir'
11556 hardcode_shlibpath_var=no
11558 solaris2.[0-5] | solaris2.[0-5].*) ;;
11560 # The compiler driver will combine and reorder linker options,
11561 # but understands `-z linker_flag'. GCC discards it without `$wl',
11562 # but is careful enough not to reorder.
11563 # Supported since Solaris 2.6 (maybe 2.5.1?)
11564 if test "$GCC" = yes; then
11565 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11567 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11571 link_all_deplibs=yes
11575 if test "x$host_vendor" = xsequent; then
11576 # Use $CC to link under sequent, because it throws in some extra .o
11577 # files that make .init and .fini sections work.
11578 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11580 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11582 hardcode_libdir_flag_spec='-L$libdir'
11583 hardcode_direct=yes
11584 hardcode_minus_L=yes
11585 hardcode_shlibpath_var=no
11589 case $host_vendor in
11591 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11592 hardcode_direct=yes # is this really true???
11595 ## LD is ld it makes a PLAMLIB
11596 ## CC just makes a GrossModule.
11597 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11598 reload_cmds='$CC -r -o $output$reload_objs'
11602 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11603 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11606 runpath_var='LD_RUN_PATH'
11607 hardcode_shlibpath_var=no
11611 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11612 hardcode_shlibpath_var=no
11613 export_dynamic_flag_spec='-Bexport'
11617 if test -d /usr/nec; then
11618 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11619 hardcode_shlibpath_var=no
11620 runpath_var=LD_RUN_PATH
11621 hardcode_runpath_var=yes
11626 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11627 no_undefined_flag='${wl}-z,text'
11628 archive_cmds_need_lc=no
11629 hardcode_shlibpath_var=no
11630 runpath_var='LD_RUN_PATH'
11632 if test "$GCC" = yes; then
11633 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11634 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11636 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11637 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11641 sysv5* | sco3.2v5* | sco5v6*)
11642 # Note: We can NOT use -z defs as we might desire, because we do not
11643 # link with -lc, and that would cause any symbols used from libc to
11644 # always be unresolved, which means just about no library would
11645 # ever link correctly. If we're not using GNU ld we use -z text
11646 # though, which does catch some bad symbols but isn't as heavy-handed
11648 no_undefined_flag='${wl}-z,text'
11649 allow_undefined_flag='${wl}-z,nodefs'
11650 archive_cmds_need_lc=no
11651 hardcode_shlibpath_var=no
11652 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11653 hardcode_libdir_separator=':'
11654 link_all_deplibs=yes
11655 export_dynamic_flag_spec='${wl}-Bexport'
11656 runpath_var='LD_RUN_PATH'
11658 if test "$GCC" = yes; then
11659 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11660 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11662 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11663 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11668 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11669 hardcode_libdir_flag_spec='-L$libdir'
11670 hardcode_shlibpath_var=no
11678 if test x$host_vendor = xsni; then
11680 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11681 export_dynamic_flag_spec='${wl}-Blargedynsym'
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11688 $as_echo "$ld_shlibs" >&6; }
11689 test "$ld_shlibs" = no && can_build_shared=no
11691 with_gnu_ld=$with_gnu_ld
11708 # Do we need to explicitly link libc?
11710 case "x$archive_cmds_need_lc" in
11712 # Assume -lc should be added
11713 archive_cmds_need_lc=yes
11715 if test "$enable_shared" = yes && test "$GCC" = yes; then
11716 case $archive_cmds in
11718 # FIXME: we may have to deal with multi-command sequences.
11721 # Test whether the compiler implicitly links with -lc since on some
11722 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11723 # to ld, don't add -lc before -lgcc.
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11725 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11726 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11727 $as_echo_n "(cached) " >&6
11730 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11732 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11733 (eval $ac_compile) 2>&5
11735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11736 test $ac_status = 0; } 2>conftest.err; then
11739 libobjs=conftest.$ac_objext
11741 wl=$lt_prog_compiler_wl
11742 pic_flag=$lt_prog_compiler_pic
11748 lt_save_allow_undefined_flag=$allow_undefined_flag
11749 allow_undefined_flag=
11750 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11751 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11754 test $ac_status = 0; }
11756 lt_cv_archive_cmds_need_lc=no
11758 lt_cv_archive_cmds_need_lc=yes
11760 allow_undefined_flag=$lt_save_allow_undefined_flag
11762 cat conftest.err 1>&5
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11768 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11769 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11928 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11930 if test "$GCC" = yes; then
11932 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11933 *) lt_awk_arg="/^libraries:/" ;;
11936 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11937 *) lt_sed_strip_eq="s,=/,/,g" ;;
11939 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11940 case $lt_search_path_spec in
11942 # if the path contains ";" then we assume it to be the separator
11943 # otherwise default to the standard path separator (i.e. ":") - it is
11944 # assumed that no part of a normal pathname contains ";" but that should
11945 # okay in the real world where ";" in dirpaths is itself problematic.
11946 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11949 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11952 # Ok, now we have the path, separated by spaces, we can step through it
11953 # and add multilib dir if necessary.
11954 lt_tmp_lt_search_path_spec=
11955 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11956 for lt_sys_path in $lt_search_path_spec; do
11957 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11958 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11960 test -d "$lt_sys_path" && \
11961 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11964 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11965 BEGIN {RS=" "; FS="/|\n";} {
11968 for (lt_i = NF; lt_i > 0; lt_i--) {
11969 if ($lt_i != "" && $lt_i != ".") {
11970 if ($lt_i == "..") {
11973 if (lt_count == 0) {
11974 lt_foo="/" $lt_i lt_foo;
11981 if (lt_foo != "") { lt_freq[lt_foo]++; }
11982 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11984 # AWK program above erroneously prepends '/' to C:/dos/paths
11987 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11988 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11990 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11992 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11994 library_names_spec=
11995 libname_spec='lib$name'
11999 postuninstall_cmds=
12003 shlibpath_overrides_runpath=unknown
12005 dynamic_linker="$host_os ld.so"
12006 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12007 need_lib_prefix=unknown
12008 hardcode_into_libs=no
12010 # when you set need_version to no, make sure it does not cause -set_version
12011 # flags to be left without arguments
12012 need_version=unknown
12016 version_type=linux # correct to gnu/linux during the next big refactor
12017 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12018 shlibpath_var=LIBPATH
12020 # AIX 3 has no versioning support, so we append a major version to the name.
12021 soname_spec='${libname}${release}${shared_ext}$major'
12025 version_type=linux # correct to gnu/linux during the next big refactor
12028 hardcode_into_libs=yes
12029 if test "$host_cpu" = ia64; then
12030 # AIX 5 supports IA64
12031 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12032 shlibpath_var=LD_LIBRARY_PATH
12034 # With GCC up to 2.95.x, collect2 would create an import file
12035 # for dependence libraries. The import file would start with
12036 # the line `#! .'. This would cause the generated library to
12037 # depend on `.', always an invalid library. This was fixed in
12038 # development snapshots of GCC prior to 3.0.
12040 aix4 | aix4.[01] | aix4.[01].*)
12041 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12043 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12046 can_build_shared=no
12050 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12051 # soname into executable. Probably we can add versioning support to
12052 # collect2, so additional links can be useful in future.
12053 if test "$aix_use_runtimelinking" = yes; then
12054 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12055 # instead of lib<name>.a to let people know that these are not
12056 # typical AIX shared libraries.
12057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12059 # We preserve .a as extension for shared libraries through AIX4.2
12060 # and later when we are not doing run time linking.
12061 library_names_spec='${libname}${release}.a $libname.a'
12062 soname_spec='${libname}${release}${shared_ext}$major'
12064 shlibpath_var=LIBPATH
12071 # Since July 2007 AmigaOS4 officially supports .so libraries.
12072 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12076 library_names_spec='$libname.ixlibrary $libname.a'
12077 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12078 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'
12084 library_names_spec='${libname}${shared_ext}'
12085 dynamic_linker="$host_os ld.so"
12086 shlibpath_var=LIBRARY_PATH
12090 version_type=linux # correct to gnu/linux during the next big refactor
12092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12093 soname_spec='${libname}${release}${shared_ext}$major'
12094 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12095 shlibpath_var=LD_LIBRARY_PATH
12096 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12097 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12098 # the default ld.so.conf also contains /usr/contrib/lib and
12099 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12100 # libtool to hard-code these into programs
12103 cygwin* | mingw* | pw32* | cegcc*)
12104 version_type=windows
12109 case $GCC,$cc_basename in
12112 library_names_spec='$libname.dll.a'
12113 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12114 postinstall_cmds='base_file=`basename \${file}`~
12115 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12116 dldir=$destdir/`dirname \$dlpath`~
12117 test -d \$dldir || mkdir -p \$dldir~
12118 $install_prog $dir/$dlname \$dldir/$dlname~
12119 chmod a+x \$dldir/$dlname~
12120 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12121 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12123 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12124 dlpath=$dir/\$dldll~
12126 shlibpath_overrides_runpath=yes
12130 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12131 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12133 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12136 # MinGW DLLs use traditional 'lib' prefix
12137 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12140 # pw32 DLLs use 'pw' prefix rather than 'lib'
12141 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12144 dynamic_linker='Win32 ld.exe'
12149 libname_spec='$name'
12150 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12151 library_names_spec='${libname}.dll.lib'
12155 sys_lib_search_path_spec=
12158 for lt_path in $LIB
12161 # Let DOS variable expansion print the short 8.3 style file name.
12162 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12163 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12166 # Convert to MSYS style.
12167 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12170 # Convert to unix form, then to dos form, then back to unix form
12171 # but this time dos style (no spaces!) so that the unix form looks
12172 # like /cygdrive/c/PROGRA~1:/cygdr...
12173 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12174 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12175 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12178 sys_lib_search_path_spec="$LIB"
12179 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12180 # It is most probably a Windows format PATH.
12181 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12183 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12185 # FIXME: find the short name or the path components, as spaces are
12186 # common. (e.g. "Program Files" -> "PROGRA~1")
12190 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12191 postinstall_cmds='base_file=`basename \${file}`~
12192 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12193 dldir=$destdir/`dirname \$dlpath`~
12194 test -d \$dldir || mkdir -p \$dldir~
12195 $install_prog $dir/$dlname \$dldir/$dlname'
12196 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12197 dlpath=$dir/\$dldll~
12199 shlibpath_overrides_runpath=yes
12200 dynamic_linker='Win32 link.exe'
12204 # Assume MSVC wrapper
12205 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12206 dynamic_linker='Win32 ld.exe'
12209 # FIXME: first we should search . and the directory the executable is in
12213 darwin* | rhapsody*)
12214 dynamic_linker="$host_os dyld"
12215 version_type=darwin
12218 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12219 soname_spec='${libname}${release}${major}$shared_ext'
12220 shlibpath_overrides_runpath=yes
12221 shlibpath_var=DYLD_LIBRARY_PATH
12222 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12224 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12225 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12229 version_type=linux # correct to gnu/linux during the next big refactor
12232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12233 soname_spec='${libname}${release}${shared_ext}$major'
12234 shlibpath_var=LD_LIBRARY_PATH
12237 freebsd* | dragonfly*)
12238 # DragonFly does not have aout. When/if they implement a new
12239 # versioning mechanism, adjust this.
12240 if test -x /usr/bin/objformat; then
12241 objformat=`/usr/bin/objformat`
12244 freebsd[23].*) objformat=aout ;;
12245 *) objformat=elf ;;
12248 version_type=freebsd-$objformat
12249 case $version_type in
12251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12256 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12260 shlibpath_var=LD_LIBRARY_PATH
12263 shlibpath_overrides_runpath=yes
12265 freebsd3.[01]* | freebsdelf3.[01]*)
12266 shlibpath_overrides_runpath=yes
12267 hardcode_into_libs=yes
12269 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12270 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12271 shlibpath_overrides_runpath=no
12272 hardcode_into_libs=yes
12274 *) # from 4.6 on, and DragonFly
12275 shlibpath_overrides_runpath=yes
12276 hardcode_into_libs=yes
12282 version_type=linux # correct to gnu/linux during the next big refactor
12285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12286 soname_spec='${libname}${release}${shared_ext}$major'
12287 shlibpath_var=LD_LIBRARY_PATH
12288 shlibpath_overrides_runpath=no
12289 hardcode_into_libs=yes
12293 version_type=linux # correct to gnu/linux during the next big refactor
12296 dynamic_linker="$host_os runtime_loader"
12297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12298 soname_spec='${libname}${release}${shared_ext}$major'
12299 shlibpath_var=LIBRARY_PATH
12300 shlibpath_overrides_runpath=yes
12301 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12302 hardcode_into_libs=yes
12305 hpux9* | hpux10* | hpux11*)
12306 # Give a soname corresponding to the major version so that dld.sl refuses to
12307 # link against other versions.
12314 hardcode_into_libs=yes
12315 dynamic_linker="$host_os dld.so"
12316 shlibpath_var=LD_LIBRARY_PATH
12317 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12319 soname_spec='${libname}${release}${shared_ext}$major'
12320 if test "X$HPUX_IA64_MODE" = X32; then
12321 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12323 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12325 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12329 hardcode_into_libs=yes
12330 dynamic_linker="$host_os dld.sl"
12331 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12332 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12334 soname_spec='${libname}${release}${shared_ext}$major'
12335 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12336 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12340 dynamic_linker="$host_os dld.sl"
12341 shlibpath_var=SHLIB_PATH
12342 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12344 soname_spec='${libname}${release}${shared_ext}$major'
12347 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12348 postinstall_cmds='chmod 555 $lib'
12349 # or fails outright, so override atomically:
12350 install_override_mode=555
12354 version_type=linux # correct to gnu/linux during the next big refactor
12357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12358 soname_spec='${libname}${release}${shared_ext}$major'
12359 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12360 shlibpath_var=LD_LIBRARY_PATH
12361 shlibpath_overrides_runpath=no
12362 hardcode_into_libs=yes
12365 irix5* | irix6* | nonstopux*)
12367 nonstopux*) version_type=nonstopux ;;
12369 if test "$lt_cv_prog_gnu_ld" = yes; then
12370 version_type=linux # correct to gnu/linux during the next big refactor
12377 soname_spec='${libname}${release}${shared_ext}$major'
12378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12380 irix5* | nonstopux*)
12381 libsuff= shlibsuff=
12384 case $LD in # libtool.m4 will add one of these switches to LD
12385 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12386 libsuff= shlibsuff= libmagic=32-bit;;
12387 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12388 libsuff=32 shlibsuff=N32 libmagic=N32;;
12389 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12390 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12391 *) libsuff= shlibsuff= libmagic=never-match;;
12395 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12396 shlibpath_overrides_runpath=no
12397 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12398 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12399 hardcode_into_libs=yes
12402 # No shared lib support for Linux oldld, aout, or coff.
12403 linux*oldld* | linux*aout* | linux*coff*)
12407 # This must be glibc/ELF.
12408 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12409 version_type=linux # correct to gnu/linux during the next big refactor
12412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12413 soname_spec='${libname}${release}${shared_ext}$major'
12414 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12415 shlibpath_var=LD_LIBRARY_PATH
12416 shlibpath_overrides_runpath=no
12418 # Some binutils ld are patched to set DT_RUNPATH
12419 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12420 $as_echo_n "(cached) " >&6
12422 lt_cv_shlibpath_overrides_runpath=no
12423 save_LDFLAGS=$LDFLAGS
12424 save_libdir=$libdir
12425 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12426 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12428 /* end confdefs.h. */
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12440 lt_cv_shlibpath_overrides_runpath=yes
12443 rm -f core conftest.err conftest.$ac_objext \
12444 conftest$ac_exeext conftest.$ac_ext
12445 LDFLAGS=$save_LDFLAGS
12446 libdir=$save_libdir
12450 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12452 # This implies no fast_install, which is unacceptable.
12453 # Some rework will be needed to allow for fast_install
12454 # before this can be enabled.
12455 hardcode_into_libs=yes
12457 # Append ld.so.conf contents to the search path
12458 if test -f /etc/ld.so.conf; then
12459 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' ' '`
12460 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12463 # We used to test for /lib/ld.so.1 and disable shared libraries on
12464 # powerpc, because MkLinux only supported shared libraries with the
12465 # GNU dynamic linker. Since this was broken with cross compilers,
12466 # most powerpc-linux boxes support dynamic linking these days and
12467 # people can always --disable-shared, the test was removed, and we
12468 # assume the GNU/Linux dynamic linker is in use.
12469 dynamic_linker='GNU/Linux ld.so'
12476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12477 soname_spec='${libname}${release}${shared_ext}$major'
12478 shlibpath_var=LD_LIBRARY_PATH
12479 shlibpath_overrides_runpath=no
12480 hardcode_into_libs=yes
12481 dynamic_linker='NetBSD ld.elf_so'
12488 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12490 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12491 dynamic_linker='NetBSD (a.out) ld.so'
12493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12494 soname_spec='${libname}${release}${shared_ext}$major'
12495 dynamic_linker='NetBSD ld.elf_so'
12497 shlibpath_var=LD_LIBRARY_PATH
12498 shlibpath_overrides_runpath=yes
12499 hardcode_into_libs=yes
12503 version_type=linux # correct to gnu/linux during the next big refactor
12504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12505 shlibpath_var=LD_LIBRARY_PATH
12506 shlibpath_overrides_runpath=yes
12513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12514 soname_spec='${libname}${release}${shared_ext}$major'
12515 shlibpath_var=LD_LIBRARY_PATH
12516 shlibpath_overrides_runpath=no
12517 hardcode_into_libs=yes
12518 dynamic_linker='ldqnx.so'
12523 sys_lib_dlsearch_path_spec="/usr/lib"
12525 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12527 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12528 *) need_version=no ;;
12530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12531 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12532 shlibpath_var=LD_LIBRARY_PATH
12533 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12535 openbsd2.[89] | openbsd2.[89].*)
12536 shlibpath_overrides_runpath=no
12539 shlibpath_overrides_runpath=yes
12543 shlibpath_overrides_runpath=yes
12548 libname_spec='$name'
12551 library_names_spec='$libname${shared_ext} $libname.a'
12552 dynamic_linker='OS/2 ld.exe'
12553 shlibpath_var=LIBPATH
12556 osf3* | osf4* | osf5*)
12560 soname_spec='${libname}${release}${shared_ext}$major'
12561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12562 shlibpath_var=LD_LIBRARY_PATH
12563 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12564 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12572 version_type=linux # correct to gnu/linux during the next big refactor
12575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12576 soname_spec='${libname}${release}${shared_ext}$major'
12577 shlibpath_var=LD_LIBRARY_PATH
12578 shlibpath_overrides_runpath=yes
12579 hardcode_into_libs=yes
12580 # ldd complains unless libraries are executable
12581 postinstall_cmds='chmod +x $lib'
12586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12587 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12588 shlibpath_var=LD_LIBRARY_PATH
12589 shlibpath_overrides_runpath=yes
12590 if test "$with_gnu_ld" = yes; then
12597 version_type=linux # correct to gnu/linux during the next big refactor
12598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12599 soname_spec='${libname}${release}${shared_ext}$major'
12600 shlibpath_var=LD_LIBRARY_PATH
12601 case $host_vendor in
12603 shlibpath_overrides_runpath=no
12605 runpath_var=LD_RUN_PATH
12613 shlibpath_overrides_runpath=no
12614 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12620 if test -d /usr/nec ;then
12621 version_type=linux # correct to gnu/linux during the next big refactor
12622 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12623 soname_spec='$libname${shared_ext}.$major'
12624 shlibpath_var=LD_LIBRARY_PATH
12628 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12629 version_type=freebsd-elf
12632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12633 soname_spec='${libname}${release}${shared_ext}$major'
12634 shlibpath_var=LD_LIBRARY_PATH
12635 shlibpath_overrides_runpath=yes
12636 hardcode_into_libs=yes
12637 if test "$with_gnu_ld" = yes; then
12638 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12640 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12643 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12647 sys_lib_dlsearch_path_spec='/usr/lib'
12651 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12652 version_type=linux # correct to gnu/linux during the next big refactor
12655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12656 shlibpath_var=LD_LIBRARY_PATH
12657 shlibpath_overrides_runpath=no
12658 hardcode_into_libs=yes
12662 version_type=linux # correct to gnu/linux during the next big refactor
12663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12664 soname_spec='${libname}${release}${shared_ext}$major'
12665 shlibpath_var=LD_LIBRARY_PATH
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12673 $as_echo "$dynamic_linker" >&6; }
12674 test "$dynamic_linker" = no && can_build_shared=no
12676 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12677 if test "$GCC" = yes; then
12678 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12681 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12682 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12684 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12685 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12780 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12782 if test -n "$hardcode_libdir_flag_spec" ||
12783 test -n "$runpath_var" ||
12784 test "X$hardcode_automatic" = "Xyes" ; then
12786 # We can hardcode non-existent directories.
12787 if test "$hardcode_direct" != no &&
12788 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12789 # have to relink, otherwise we might link with an installed library
12790 # when we should be linking with a yet-to-be-installed one
12791 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12792 test "$hardcode_minus_L" != no; then
12793 # Linking always hardcodes the temporary library directory.
12794 hardcode_action=relink
12796 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12797 hardcode_action=immediate
12800 # We cannot hardcode anything, or else we can only hardcode existing
12802 hardcode_action=unsupported
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12805 $as_echo "$hardcode_action" >&6; }
12807 if test "$hardcode_action" = relink ||
12808 test "$inherit_rpath" = yes; then
12809 # Fast installation is not supported
12810 enable_fast_install=no
12811 elif test "$shlibpath_overrides_runpath" = yes ||
12812 test "$enable_shared" = no; then
12813 # Fast installation is not necessary
12814 enable_fast_install=needless
12822 if test "x$enable_dlopen" != xyes; then
12823 enable_dlopen=unknown
12824 enable_dlopen_self=unknown
12825 enable_dlopen_self_static=unknown
12832 lt_cv_dlopen="load_add_on"
12834 lt_cv_dlopen_self=yes
12837 mingw* | pw32* | cegcc*)
12838 lt_cv_dlopen="LoadLibrary"
12843 lt_cv_dlopen="dlopen"
12848 # if libdl is installed we need to link against it
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12850 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12851 if ${ac_cv_lib_dl_dlopen+:} false; then :
12852 $as_echo_n "(cached) " >&6
12854 ac_check_lib_save_LIBS=$LIBS
12856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12859 /* Override any GCC internal prototype to avoid an error.
12860 Use char because int might match the return type of a GCC
12861 builtin and then its argument prototype would still apply. */
12874 if ac_fn_c_try_link "$LINENO"; then :
12875 ac_cv_lib_dl_dlopen=yes
12877 ac_cv_lib_dl_dlopen=no
12879 rm -f core conftest.err conftest.$ac_objext \
12880 conftest$ac_exeext conftest.$ac_ext
12881 LIBS=$ac_check_lib_save_LIBS
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12884 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12885 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12886 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12889 lt_cv_dlopen="dyld"
12891 lt_cv_dlopen_self=yes
12898 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12899 if test "x$ac_cv_func_shl_load" = xyes; then :
12900 lt_cv_dlopen="shl_load"
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12903 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12904 if ${ac_cv_lib_dld_shl_load+:} false; then :
12905 $as_echo_n "(cached) " >&6
12907 ac_check_lib_save_LIBS=$LIBS
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12912 /* Override any GCC internal prototype to avoid an error.
12913 Use char because int might match the return type of a GCC
12914 builtin and then its argument prototype would still apply. */
12922 return shl_load ();
12927 if ac_fn_c_try_link "$LINENO"; then :
12928 ac_cv_lib_dld_shl_load=yes
12930 ac_cv_lib_dld_shl_load=no
12932 rm -f core conftest.err conftest.$ac_objext \
12933 conftest$ac_exeext conftest.$ac_ext
12934 LIBS=$ac_check_lib_save_LIBS
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12937 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12938 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12939 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12941 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12942 if test "x$ac_cv_func_dlopen" = xyes; then :
12943 lt_cv_dlopen="dlopen"
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12946 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12947 if ${ac_cv_lib_dl_dlopen+:} false; then :
12948 $as_echo_n "(cached) " >&6
12950 ac_check_lib_save_LIBS=$LIBS
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 /* Override any GCC internal prototype to avoid an error.
12956 Use char because int might match the return type of a GCC
12957 builtin and then its argument prototype would still apply. */
12970 if ac_fn_c_try_link "$LINENO"; then :
12971 ac_cv_lib_dl_dlopen=yes
12973 ac_cv_lib_dl_dlopen=no
12975 rm -f core conftest.err conftest.$ac_objext \
12976 conftest$ac_exeext conftest.$ac_ext
12977 LIBS=$ac_check_lib_save_LIBS
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12980 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12981 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12982 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12985 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12986 if ${ac_cv_lib_svld_dlopen+:} false; then :
12987 $as_echo_n "(cached) " >&6
12989 ac_check_lib_save_LIBS=$LIBS
12990 LIBS="-lsvld $LIBS"
12991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992 /* end confdefs.h. */
12994 /* Override any GCC internal prototype to avoid an error.
12995 Use char because int might match the return type of a GCC
12996 builtin and then its argument prototype would still apply. */
13009 if ac_fn_c_try_link "$LINENO"; then :
13010 ac_cv_lib_svld_dlopen=yes
13012 ac_cv_lib_svld_dlopen=no
13014 rm -f core conftest.err conftest.$ac_objext \
13015 conftest$ac_exeext conftest.$ac_ext
13016 LIBS=$ac_check_lib_save_LIBS
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13019 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13020 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13021 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13024 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13025 if ${ac_cv_lib_dld_dld_link+:} false; then :
13026 $as_echo_n "(cached) " >&6
13028 ac_check_lib_save_LIBS=$LIBS
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13033 /* Override any GCC internal prototype to avoid an error.
13034 Use char because int might match the return type of a GCC
13035 builtin and then its argument prototype would still apply. */
13043 return dld_link ();
13048 if ac_fn_c_try_link "$LINENO"; then :
13049 ac_cv_lib_dld_dld_link=yes
13051 ac_cv_lib_dld_dld_link=no
13053 rm -f core conftest.err conftest.$ac_objext \
13054 conftest$ac_exeext conftest.$ac_ext
13055 LIBS=$ac_check_lib_save_LIBS
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13058 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13059 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13060 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13081 if test "x$lt_cv_dlopen" != xno; then
13087 case $lt_cv_dlopen in
13089 save_CPPFLAGS="$CPPFLAGS"
13090 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13092 save_LDFLAGS="$LDFLAGS"
13093 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13096 LIBS="$lt_cv_dlopen_libs $LIBS"
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13099 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13100 if ${lt_cv_dlopen_self+:} false; then :
13101 $as_echo_n "(cached) " >&6
13103 if test "$cross_compiling" = yes; then :
13104 lt_cv_dlopen_self=cross
13106 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13107 lt_status=$lt_dlunknown
13108 cat > conftest.$ac_ext <<_LT_EOF
13109 #line $LINENO "configure"
13110 #include "confdefs.h"
13119 # define LT_DLGLOBAL RTLD_GLOBAL
13122 # define LT_DLGLOBAL DL_GLOBAL
13124 # define LT_DLGLOBAL 0
13128 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13129 find out it does not work in some platform. */
13130 #ifndef LT_DLLAZY_OR_NOW
13132 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13135 # define LT_DLLAZY_OR_NOW DL_LAZY
13138 # define LT_DLLAZY_OR_NOW RTLD_NOW
13141 # define LT_DLLAZY_OR_NOW DL_NOW
13143 # define LT_DLLAZY_OR_NOW 0
13150 /* When -fvisbility=hidden is used, assume the code has been annotated
13151 correspondingly for the symbols needed. */
13152 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13153 int fnord () __attribute__((visibility("default")));
13156 int fnord () { return 42; }
13159 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13160 int status = $lt_dlunknown;
13164 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13167 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13168 else puts (dlerror ());
13170 /* dlclose (self); */
13178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13179 (eval $ac_link) 2>&5
13181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13182 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13183 (./conftest; exit; ) >&5 2>/dev/null
13185 case x$lt_status in
13186 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13187 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13188 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13191 # compilation failed
13192 lt_cv_dlopen_self=no
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13200 $as_echo "$lt_cv_dlopen_self" >&6; }
13202 if test "x$lt_cv_dlopen_self" = xyes; then
13203 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13205 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13206 if ${lt_cv_dlopen_self_static+:} false; then :
13207 $as_echo_n "(cached) " >&6
13209 if test "$cross_compiling" = yes; then :
13210 lt_cv_dlopen_self_static=cross
13212 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13213 lt_status=$lt_dlunknown
13214 cat > conftest.$ac_ext <<_LT_EOF
13215 #line $LINENO "configure"
13216 #include "confdefs.h"
13225 # define LT_DLGLOBAL RTLD_GLOBAL
13228 # define LT_DLGLOBAL DL_GLOBAL
13230 # define LT_DLGLOBAL 0
13234 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13235 find out it does not work in some platform. */
13236 #ifndef LT_DLLAZY_OR_NOW
13238 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13241 # define LT_DLLAZY_OR_NOW DL_LAZY
13244 # define LT_DLLAZY_OR_NOW RTLD_NOW
13247 # define LT_DLLAZY_OR_NOW DL_NOW
13249 # define LT_DLLAZY_OR_NOW 0
13256 /* When -fvisbility=hidden is used, assume the code has been annotated
13257 correspondingly for the symbols needed. */
13258 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13259 int fnord () __attribute__((visibility("default")));
13262 int fnord () { return 42; }
13265 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13266 int status = $lt_dlunknown;
13270 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13273 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13274 else puts (dlerror ());
13276 /* dlclose (self); */
13284 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13285 (eval $ac_link) 2>&5
13287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13288 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13289 (./conftest; exit; ) >&5 2>/dev/null
13291 case x$lt_status in
13292 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13293 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13294 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13297 # compilation failed
13298 lt_cv_dlopen_self_static=no
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13306 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13309 CPPFLAGS="$save_CPPFLAGS"
13310 LDFLAGS="$save_LDFLAGS"
13315 case $lt_cv_dlopen_self in
13316 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13317 *) enable_dlopen_self=unknown ;;
13320 case $lt_cv_dlopen_self_static in
13321 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13322 *) enable_dlopen_self_static=unknown ;;
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13345 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13346 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13347 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13348 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13350 $as_echo "yes" >&6; }
13352 # FIXME - insert some real tests, host_os isn't really good enough
13355 if test -n "$STRIP" ; then
13356 striplib="$STRIP -x"
13357 old_striplib="$STRIP -S"
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13359 $as_echo "yes" >&6; }
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13362 $as_echo "no" >&6; }
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 $as_echo "no" >&6; }
13383 # Report which library types will actually be built
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13385 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13387 $as_echo "$can_build_shared" >&6; }
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13390 $as_echo_n "checking whether to build shared libraries... " >&6; }
13391 test "$can_build_shared" = "no" && enable_shared=no
13393 # On AIX, shared libraries and static libraries use the same namespace, and
13394 # are all built from PIC.
13397 test "$enable_shared" = yes && enable_static=no
13398 if test -n "$RANLIB"; then
13399 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13400 postinstall_cmds='$RANLIB $lib'
13405 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13406 test "$enable_shared" = yes && enable_static=no
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13411 $as_echo "$enable_shared" >&6; }
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13414 $as_echo_n "checking whether to build static libraries... " >&6; }
13415 # Make sure either enable_shared or enable_static is yes.
13416 test "$enable_shared" = yes || enable_static=yes
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13418 $as_echo "$enable_static" >&6; }
13425 ac_cpp='$CPP $CPPFLAGS'
13426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13432 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13433 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13434 (test "X$CXX" != "Xg++"))) ; then
13436 ac_cpp='$CXXCPP $CPPFLAGS'
13437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13441 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13442 if test -z "$CXXCPP"; then
13443 if ${ac_cv_prog_CXXCPP+:} false; then :
13444 $as_echo_n "(cached) " >&6
13446 # Double quotes because CXXCPP needs to be expanded
13447 for CXXCPP in "$CXX -E" "/lib/cpp"
13449 ac_preproc_ok=false
13450 for ac_cxx_preproc_warn_flag in '' yes
13452 # Use a header file that comes with gcc, so configuring glibc
13453 # with a fresh cross-compiler works.
13454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13455 # <limits.h> exists even on freestanding compilers.
13456 # On the NeXT, cc -E runs the code through the compiler's parser,
13457 # not just through cpp. "Syntax error" is here to catch this case.
13458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13459 /* end confdefs.h. */
13461 # include <limits.h>
13463 # include <assert.h>
13467 if ac_fn_cxx_try_cpp "$LINENO"; then :
13470 # Broken: fails on valid input.
13473 rm -f conftest.err conftest.i conftest.$ac_ext
13475 # OK, works on sane cases. Now check whether nonexistent headers
13476 # can be detected and how.
13477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13479 #include <ac_nonexistent.h>
13481 if ac_fn_cxx_try_cpp "$LINENO"; then :
13482 # Broken: success on invalid input.
13485 # Passes both tests.
13489 rm -f conftest.err conftest.i conftest.$ac_ext
13492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13493 rm -f conftest.i conftest.err conftest.$ac_ext
13494 if $ac_preproc_ok; then :
13499 ac_cv_prog_CXXCPP=$CXXCPP
13502 CXXCPP=$ac_cv_prog_CXXCPP
13504 ac_cv_prog_CXXCPP=$CXXCPP
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13507 $as_echo "$CXXCPP" >&6; }
13508 ac_preproc_ok=false
13509 for ac_cxx_preproc_warn_flag in '' yes
13511 # Use a header file that comes with gcc, so configuring glibc
13512 # with a fresh cross-compiler works.
13513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13514 # <limits.h> exists even on freestanding compilers.
13515 # On the NeXT, cc -E runs the code through the compiler's parser,
13516 # not just through cpp. "Syntax error" is here to catch this case.
13517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13520 # include <limits.h>
13522 # include <assert.h>
13526 if ac_fn_cxx_try_cpp "$LINENO"; then :
13529 # Broken: fails on valid input.
13532 rm -f conftest.err conftest.i conftest.$ac_ext
13534 # OK, works on sane cases. Now check whether nonexistent headers
13535 # can be detected and how.
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13538 #include <ac_nonexistent.h>
13540 if ac_fn_cxx_try_cpp "$LINENO"; then :
13541 # Broken: success on invalid input.
13544 # Passes both tests.
13548 rm -f conftest.err conftest.i conftest.$ac_ext
13551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13552 rm -f conftest.i conftest.err conftest.$ac_ext
13553 if $ac_preproc_ok; then :
13556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13558 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13559 See \`config.log' for more details" "$LINENO" 5; }
13563 ac_cpp='$CPP $CPPFLAGS'
13564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13569 _lt_caught_CXX_error=yes
13573 ac_cpp='$CXXCPP $CPPFLAGS'
13574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13578 archive_cmds_need_lc_CXX=no
13579 allow_undefined_flag_CXX=
13580 always_export_symbols_CXX=no
13581 archive_expsym_cmds_CXX=
13582 compiler_needs_object_CXX=no
13583 export_dynamic_flag_spec_CXX=
13584 hardcode_direct_CXX=no
13585 hardcode_direct_absolute_CXX=no
13586 hardcode_libdir_flag_spec_CXX=
13587 hardcode_libdir_separator_CXX=
13588 hardcode_minus_L_CXX=no
13589 hardcode_shlibpath_var_CXX=unsupported
13590 hardcode_automatic_CXX=no
13591 inherit_rpath_CXX=no
13593 module_expsym_cmds_CXX=
13594 link_all_deplibs_CXX=unknown
13595 old_archive_cmds_CXX=$old_archive_cmds
13596 reload_flag_CXX=$reload_flag
13597 reload_cmds_CXX=$reload_cmds
13598 no_undefined_flag_CXX=
13599 whole_archive_flag_spec_CXX=
13600 enable_shared_with_static_runtimes_CXX=no
13602 # Source file extension for C++ test sources.
13605 # Object file extension for compiled C++ test sources.
13609 # No sense in running all these tests if we already determined that
13610 # the CXX compiler isn't working. Some variables (like enable_shared)
13611 # are currently assumed to apply to all compilers on this platform,
13612 # and will be corrupted by setting them based on a non-working compiler.
13613 if test "$_lt_caught_CXX_error" != yes; then
13614 # Code to be used in simple compile tests
13615 lt_simple_compile_test_code="int some_variable = 0;"
13617 # Code to be used in simple link tests
13618 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13620 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13627 # If no C compiler was specified, use CC.
13630 # If no C compiler flags were specified, use CFLAGS.
13631 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13633 # Allow CC to be a program name with arguments.
13637 # save warnings/boilerplate of simple test code
13638 ac_outfile=conftest.$ac_objext
13639 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13640 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13641 _lt_compiler_boilerplate=`cat conftest.err`
13644 ac_outfile=conftest.$ac_objext
13645 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13646 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13647 _lt_linker_boilerplate=`cat conftest.err`
13651 # Allow CC to be a program name with arguments.
13653 lt_save_CFLAGS=$CFLAGS
13657 lt_save_with_gnu_ld=$with_gnu_ld
13658 lt_save_path_LD=$lt_cv_path_LD
13659 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13660 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13662 $as_unset lt_cv_prog_gnu_ld
13664 if test -n "${lt_cv_path_LDCXX+set}"; then
13665 lt_cv_path_LD=$lt_cv_path_LDCXX
13667 $as_unset lt_cv_path_LD
13669 test -z "${LDCXX+set}" || LD=$LDCXX
13674 for cc_temp in $compiler""; do
13676 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13677 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13682 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13685 if test -n "$compiler"; then
13686 # We don't want -fno-exception when compiling C++ code, so set the
13687 # no_builtin_flag separately
13688 if test "$GXX" = yes; then
13689 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13691 lt_prog_compiler_no_builtin_flag_CXX=
13694 if test "$GXX" = yes; then
13695 # Set up default GNU C++ configuration
13699 # Check whether --with-gnu-ld was given.
13700 if test "${with_gnu_ld+set}" = set; then :
13701 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13707 if test "$GCC" = yes; then
13708 # Check if gcc -print-prog-name=ld gives a path.
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13710 $as_echo_n "checking for ld used by $CC... " >&6; }
13713 # gcc leaves a trailing carriage return which upsets mingw
13714 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13716 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13719 # Accept absolute paths.
13721 re_direlt='/[^/][^/]*/\.\./'
13722 # Canonicalize the pathname of ld
13723 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13724 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13725 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13727 test -z "$LD" && LD="$ac_prog"
13730 # If it fails, then pretend we aren't using GCC.
13734 # If it is relative, then search for the first ld in PATH.
13735 with_gnu_ld=unknown
13738 elif test "$with_gnu_ld" = yes; then
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13740 $as_echo_n "checking for GNU ld... " >&6; }
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13743 $as_echo_n "checking for non-GNU ld... " >&6; }
13745 if ${lt_cv_path_LD+:} false; then :
13746 $as_echo_n "(cached) " >&6
13748 if test -z "$LD"; then
13749 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13750 for ac_dir in $PATH; do
13752 test -z "$ac_dir" && ac_dir=.
13753 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13754 lt_cv_path_LD="$ac_dir/$ac_prog"
13755 # Check to see if the program is GNU ld. I'd rather use --version,
13756 # but apparently some variants of GNU ld only accept -v.
13757 # Break only if it was the GNU/non-GNU ld that we prefer.
13758 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13759 *GNU* | *'with BFD'*)
13760 test "$with_gnu_ld" != no && break
13763 test "$with_gnu_ld" != yes && break
13770 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13774 LD="$lt_cv_path_LD"
13775 if test -n "$LD"; then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13777 $as_echo "$LD" >&6; }
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13780 $as_echo "no" >&6; }
13782 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13784 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13785 if ${lt_cv_prog_gnu_ld+:} false; then :
13786 $as_echo_n "(cached) " >&6
13788 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13789 case `$LD -v 2>&1 </dev/null` in
13790 *GNU* | *'with BFD'*)
13791 lt_cv_prog_gnu_ld=yes
13794 lt_cv_prog_gnu_ld=no
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13799 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13800 with_gnu_ld=$lt_cv_prog_gnu_ld
13808 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13809 # archiving commands below assume that GNU ld is being used.
13810 if test "$with_gnu_ld" = yes; then
13811 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13812 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13814 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13817 # If archive_cmds runs LD, not CC, wlarc should be empty
13818 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13819 # investigate it a little bit more. (MM)
13822 # ancient GNU ld didn't support --whole-archive et. al.
13823 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13824 $GREP 'no-whole-archive' > /dev/null; then
13825 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13827 whole_archive_flag_spec_CXX=
13833 # A generic and very simple default shared library creation
13834 # command for GNU C++ for the case where it uses the native
13835 # linker, instead of GNU ld. If possible, this setting should
13836 # overridden to take advantage of the native linker features on
13837 # the platform it is being used on.
13838 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13841 # Commands to make compiler produce verbose output that lists
13842 # what "hidden" libraries, object files and flags are used when
13843 # linking a shared library.
13844 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13852 # PORTME: fill in a description of your system's C++ link characteristics
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13854 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13858 # FIXME: insert proper C++ library support
13862 if test "$host_cpu" = ia64; then
13863 # On IA64, the linker does run time linking by default, so we don't
13864 # have to do anything special.
13865 aix_use_runtimelinking=no
13866 exp_sym_flag='-Bexport'
13869 aix_use_runtimelinking=no
13871 # Test if we are trying to use run time linking or normal
13872 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13873 # need to do runtime linking.
13874 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13875 for ld_flag in $LDFLAGS; do
13878 aix_use_runtimelinking=yes
13886 exp_sym_flag='-bexport'
13887 no_entry_flag='-bnoentry'
13890 # When large executables or shared objects are built, AIX ld can
13891 # have problems creating the table of contents. If linking a library
13892 # or program results in "error TOC overflow" add -mminimal-toc to
13893 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13894 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13896 archive_cmds_CXX=''
13897 hardcode_direct_CXX=yes
13898 hardcode_direct_absolute_CXX=yes
13899 hardcode_libdir_separator_CXX=':'
13900 link_all_deplibs_CXX=yes
13901 file_list_spec_CXX='${wl}-f,'
13903 if test "$GXX" = yes; then
13904 case $host_os in aix4.[012]|aix4.[012].*)
13905 # We only want to do this on AIX 4.2 and lower, the check
13906 # below for broken collect2 doesn't work under 4.3+
13907 collect2name=`${CC} -print-prog-name=collect2`
13908 if test -f "$collect2name" &&
13909 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13911 # We have reworked collect2
13914 # We have old collect2
13915 hardcode_direct_CXX=unsupported
13916 # It fails to find uninstalled libraries when the uninstalled
13917 # path is not listed in the libpath. Setting hardcode_minus_L
13918 # to unsupported forces relinking
13919 hardcode_minus_L_CXX=yes
13920 hardcode_libdir_flag_spec_CXX='-L$libdir'
13921 hardcode_libdir_separator_CXX=
13924 shared_flag='-shared'
13925 if test "$aix_use_runtimelinking" = yes; then
13926 shared_flag="$shared_flag "'${wl}-G'
13930 if test "$host_cpu" = ia64; then
13931 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13932 # chokes on -Wl,-G. The following line is correct:
13935 if test "$aix_use_runtimelinking" = yes; then
13936 shared_flag='${wl}-G'
13938 shared_flag='${wl}-bM:SRE'
13943 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13944 # It seems that -bexpall does not export symbols beginning with
13945 # underscore (_), so it is better to generate a list of symbols to
13947 always_export_symbols_CXX=yes
13948 if test "$aix_use_runtimelinking" = yes; then
13949 # Warning - without using the other runtime loading flags (-brtl),
13950 # -berok will link without error, but may produce a broken library.
13951 allow_undefined_flag_CXX='-berok'
13952 # Determine the default libpath from the value encoded in an empty
13954 if test "${lt_cv_aix_libpath+set}" = set; then
13955 aix_libpath=$lt_cv_aix_libpath
13957 if ${lt_cv_aix_libpath__CXX+:} false; then :
13958 $as_echo_n "(cached) " >&6
13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13971 if ac_fn_cxx_try_link "$LINENO"; then :
13973 lt_aix_libpath_sed='
13974 /Import File Strings/,/^$/ {
13976 s/^0 *\([^ ]*\) *$/\1/
13980 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13981 # Check for a 64-bit object if we didn't find anything.
13982 if test -z "$lt_cv_aix_libpath__CXX"; then
13983 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13986 rm -f core conftest.err conftest.$ac_objext \
13987 conftest$ac_exeext conftest.$ac_ext
13988 if test -z "$lt_cv_aix_libpath__CXX"; then
13989 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13994 aix_libpath=$lt_cv_aix_libpath__CXX
13997 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13999 archive_expsym_cmds_CXX='$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"
14001 if test "$host_cpu" = ia64; then
14002 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14003 allow_undefined_flag_CXX="-z nodefs"
14004 archive_expsym_cmds_CXX="\$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"
14006 # Determine the default libpath from the value encoded in an
14007 # empty executable.
14008 if test "${lt_cv_aix_libpath+set}" = set; then
14009 aix_libpath=$lt_cv_aix_libpath
14011 if ${lt_cv_aix_libpath__CXX+:} false; then :
14012 $as_echo_n "(cached) " >&6
14014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14015 /* end confdefs.h. */
14025 if ac_fn_cxx_try_link "$LINENO"; then :
14027 lt_aix_libpath_sed='
14028 /Import File Strings/,/^$/ {
14030 s/^0 *\([^ ]*\) *$/\1/
14034 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14035 # Check for a 64-bit object if we didn't find anything.
14036 if test -z "$lt_cv_aix_libpath__CXX"; then
14037 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14040 rm -f core conftest.err conftest.$ac_objext \
14041 conftest$ac_exeext conftest.$ac_ext
14042 if test -z "$lt_cv_aix_libpath__CXX"; then
14043 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14048 aix_libpath=$lt_cv_aix_libpath__CXX
14051 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14052 # Warning - without using the other run time loading flags,
14053 # -berok will link without error, but may produce a broken library.
14054 no_undefined_flag_CXX=' ${wl}-bernotok'
14055 allow_undefined_flag_CXX=' ${wl}-berok'
14056 if test "$with_gnu_ld" = yes; then
14057 # We only use this code for GNU lds that support --whole-archive.
14058 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14060 # Exported symbols can be pulled into shared objects from archives
14061 whole_archive_flag_spec_CXX='$convenience'
14063 archive_cmds_need_lc_CXX=yes
14064 # This is similar to how AIX traditionally builds its shared
14066 archive_expsym_cmds_CXX="\$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'
14072 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14073 allow_undefined_flag_CXX=unsupported
14074 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14075 # support --undefined. This deserves some investigation. FIXME
14076 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14083 case $cc_basename in
14085 # FIXME: insert proper C++ library support
14091 cygwin* | mingw* | pw32* | cegcc*)
14092 case $GXX,$cc_basename in
14095 # hardcode_libdir_flag_spec is actually meaningless, as there is
14096 # no search path for DLLs.
14097 hardcode_libdir_flag_spec_CXX=' '
14098 allow_undefined_flag_CXX=unsupported
14099 always_export_symbols_CXX=yes
14100 file_list_spec_CXX='@'
14101 # Tell ltmain to make .lib files, not .a files.
14103 # Tell ltmain to make .dll files, not .so files.
14105 # FIXME: Setting linknames here is a bad hack.
14106 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14107 archive_expsym_cmds_CXX='if test "x`$SED \"$sed_uncomment_deffile\" $export_symbols | $SED 1q`" = xEXPORTS; then
14108 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14110 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14112 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14114 # The linker will not automatically build a static lib if we build a DLL.
14115 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14116 enable_shared_with_static_runtimes_CXX=yes
14118 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14119 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14120 lt_tool_outputfile="@TOOL_OUTPUT@"~
14121 case $lt_outputfile in
14124 lt_outputfile="$lt_outputfile.exe"
14125 lt_tool_outputfile="$lt_tool_outputfile.exe"
14128 func_to_tool_file "$lt_outputfile"~
14129 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14130 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14131 $RM "$lt_outputfile.manifest";
14136 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14137 # as there is no search path for DLLs.
14138 hardcode_libdir_flag_spec_CXX='-L$libdir'
14139 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14140 allow_undefined_flag_CXX=unsupported
14141 always_export_symbols_CXX=no
14142 enable_shared_with_static_runtimes_CXX=yes
14144 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14145 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14146 # If the export-symbols file already is a .def file (1st line
14147 # is EXPORTS), use it as is; otherwise, prepend...
14148 archive_expsym_cmds_CXX='if test "x`$SED \"$sed_uncomment_deffile\" $export_symbols | $SED 1q`" = xEXPORTS; then
14149 cp $export_symbols $output_objdir/$soname.def;
14151 echo EXPORTS > $output_objdir/$soname.def;
14152 cat $export_symbols >> $output_objdir/$soname.def;
14154 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14161 darwin* | rhapsody*)
14164 archive_cmds_need_lc_CXX=no
14165 hardcode_direct_CXX=no
14166 hardcode_automatic_CXX=yes
14167 hardcode_shlibpath_var_CXX=unsupported
14168 if test "$lt_cv_ld_force_load" = "yes"; then
14169 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14172 whole_archive_flag_spec_CXX=''
14174 link_all_deplibs_CXX=yes
14175 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14176 case $cc_basename in
14177 ifort*) _lt_dar_can_shared=yes ;;
14178 *) _lt_dar_can_shared=$GCC ;;
14180 if test "$_lt_dar_can_shared" = "yes"; then
14181 output_verbose_link_cmd=func_echo_all
14182 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14183 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14184 archive_expsym_cmds_CXX="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}"
14185 module_expsym_cmds_CXX="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}"
14186 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14187 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14188 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14198 case $cc_basename in
14200 # FIXME: insert proper C++ library support
14204 # Green Hills C++ Compiler
14205 # FIXME: insert proper C++ library support
14209 # FIXME: insert proper C++ library support
14216 # C++ shared libraries reported to be fairly broken before
14222 archive_cmds_need_lc_CXX=no
14225 freebsd* | dragonfly*)
14226 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14235 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14236 link_all_deplibs_CXX=yes
14240 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14241 hardcode_libdir_separator_CXX=:
14242 export_dynamic_flag_spec_CXX='${wl}-E'
14243 hardcode_direct_CXX=yes
14244 hardcode_minus_L_CXX=yes # Not in the search PATH,
14245 # but as the default
14246 # location of the library.
14248 case $cc_basename in
14250 # FIXME: insert proper C++ library support
14254 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14255 # Commands to make compiler produce verbose output that lists
14256 # what "hidden" libraries, object files and flags are used when
14257 # linking a shared library.
14259 # There doesn't appear to be a way to prevent this compiler from
14260 # explicitly linking system object files so we need to strip them
14261 # from the output so that they don't get included in the library
14263 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14266 if test "$GXX" = yes; then
14267 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14269 # FIXME: insert proper C++ library support
14277 if test $with_gnu_ld = no; then
14278 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14279 hardcode_libdir_separator_CXX=:
14285 export_dynamic_flag_spec_CXX='${wl}-E'
14291 hardcode_direct_CXX=no
14292 hardcode_shlibpath_var_CXX=no
14295 hardcode_direct_CXX=yes
14296 hardcode_direct_absolute_CXX=yes
14297 hardcode_minus_L_CXX=yes # Not in the search PATH,
14298 # but as the default
14299 # location of the library.
14303 case $cc_basename in
14305 # FIXME: insert proper C++ library support
14311 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14314 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14317 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14320 # Commands to make compiler produce verbose output that lists
14321 # what "hidden" libraries, object files and flags are used when
14322 # linking a shared library.
14324 # There doesn't appear to be a way to prevent this compiler from
14325 # explicitly linking system object files so we need to strip them
14326 # from the output so that they don't get included in the library
14328 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14331 if test "$GXX" = yes; then
14332 if test $with_gnu_ld = no; then
14335 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14338 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14341 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14346 # FIXME: insert proper C++ library support
14354 hardcode_direct_CXX=no
14355 hardcode_shlibpath_var_CXX=no
14356 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14357 export_dynamic_flag_spec_CXX='${wl}-E'
14358 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14359 # Instead, shared libraries are loaded at an image base (0x10000000 by
14360 # default) and relocated if they conflict, which is a slow very memory
14361 # consuming and fragmenting process. To avoid this, we pick a random,
14362 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14363 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14364 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14365 archive_expsym_cmds_CXX='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'
14368 case $cc_basename in
14371 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14373 # Archives containing C++ object files must be created using
14374 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14375 # necessary to make sure instantiated templates are included
14377 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14380 if test "$GXX" = yes; then
14381 if test "$with_gnu_ld" = no; then
14382 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
14384 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
14387 link_all_deplibs_CXX=yes
14390 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14391 hardcode_libdir_separator_CXX=:
14392 inherit_rpath_CXX=yes
14395 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14396 case $cc_basename in
14398 # Kuck and Associates, Inc. (KAI) C++ Compiler
14400 # KCC will only create a shared library if the output file
14401 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14402 # to its proper name (with version) after linking.
14403 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14404 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14405 # Commands to make compiler produce verbose output that lists
14406 # what "hidden" libraries, object files and flags are used when
14407 # linking a shared library.
14409 # There doesn't appear to be a way to prevent this compiler from
14410 # explicitly linking system object files so we need to strip them
14411 # from the output so that they don't get included in the library
14413 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14415 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14416 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14418 # Archives containing C++ object files must be created using
14419 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14420 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14425 # version 8.0 and above of icpc choke on multiply defined symbols
14426 # if we add $predep_objects and $postdep_objects, however 7.1 and
14427 # earlier do not add the objects themselves.
14428 case `$CC -V 2>&1` in
14430 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14431 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14433 *) # Version 8.0 or newer
14436 ia64*) tmp_idyn=' -i_dynamic';;
14438 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14439 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14442 archive_cmds_need_lc_CXX=no
14443 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14444 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14445 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14448 # Portland Group C++ compiler
14450 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14451 prelink_cmds_CXX='tpldir=Template.dir~
14453 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14454 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14455 old_archive_cmds_CXX='tpldir=Template.dir~
14457 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14458 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14460 archive_cmds_CXX='tpldir=Template.dir~
14462 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14463 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14464 archive_expsym_cmds_CXX='tpldir=Template.dir~
14466 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14467 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14469 *) # Version 6 and above use weak symbols
14470 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14471 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14475 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14476 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14477 whole_archive_flag_spec_CXX='${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'
14481 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14482 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14484 runpath_var=LD_RUN_PATH
14485 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14486 hardcode_libdir_separator_CXX=:
14488 # Commands to make compiler produce verbose output that lists
14489 # what "hidden" libraries, object files and flags are used when
14490 # linking a shared library.
14492 # There doesn't appear to be a way to prevent this compiler from
14493 # explicitly linking system object files so we need to strip them
14494 # from the output so that they don't get included in the library
14496 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14498 xl* | mpixl* | bgxl*)
14499 # IBM XL 8.0 on PPC, with GNU ld
14500 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14501 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14502 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14503 if test "x$supports_anon_versioning" = xyes; then
14504 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14505 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14506 echo "local: *; };" >> $output_objdir/$libname.ver~
14507 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14511 case `$CC -V 2>&1 | sed 5q` in
14514 no_undefined_flag_CXX=' -zdefs'
14515 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14516 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14517 hardcode_libdir_flag_spec_CXX='-R$libdir'
14518 whole_archive_flag_spec_CXX='${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'
14519 compiler_needs_object_CXX=yes
14521 # Not sure whether something based on
14522 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14524 output_verbose_link_cmd='func_echo_all'
14526 # Archives containing C++ object files must be created using
14527 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14528 # necessary to make sure instantiated templates are included
14530 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14538 # FIXME: insert proper C++ library support
14543 # FIXME: insert proper C++ library support
14548 case $cc_basename in
14550 # FIXME: insert proper C++ library support
14554 # FIXME: insert proper C++ library support
14561 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14562 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14564 hardcode_libdir_flag_spec_CXX='-R$libdir'
14565 hardcode_direct_CXX=yes
14566 hardcode_shlibpath_var_CXX=no
14568 # Workaround some broken pre-1.5 toolchains
14569 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14577 # C++ shared libraries are fairly broken
14582 if test -f /usr/libexec/ld.so; then
14583 hardcode_direct_CXX=yes
14584 hardcode_shlibpath_var_CXX=no
14585 hardcode_direct_absolute_CXX=yes
14586 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14587 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14588 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14589 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14590 export_dynamic_flag_spec_CXX='${wl}-E'
14591 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14593 output_verbose_link_cmd=func_echo_all
14599 osf3* | osf4* | osf5*)
14600 case $cc_basename in
14602 # Kuck and Associates, Inc. (KAI) C++ Compiler
14604 # KCC will only create a shared library if the output file
14605 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14606 # to its proper name (with version) after linking.
14607 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14609 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14610 hardcode_libdir_separator_CXX=:
14612 # Archives containing C++ object files must be created using
14613 # the KAI C++ compiler.
14615 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14616 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14620 # Rational C++ 2.4.1
14621 # FIXME: insert proper C++ library support
14627 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14628 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14629 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14632 allow_undefined_flag_CXX=' -expect_unresolved \*'
14633 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14634 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14635 echo "-hidden">> $lib.exp~
14636 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14638 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14642 hardcode_libdir_separator_CXX=:
14644 # Commands to make compiler produce verbose output that lists
14645 # what "hidden" libraries, object files and flags are used when
14646 # linking a shared library.
14648 # There doesn't appear to be a way to prevent this compiler from
14649 # explicitly linking system object files so we need to strip them
14650 # from the output so that they don't get included in the library
14652 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14655 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14656 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14659 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
14662 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
14666 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14667 hardcode_libdir_separator_CXX=:
14669 # Commands to make compiler produce verbose output that lists
14670 # what "hidden" libraries, object files and flags are used when
14671 # linking a shared library.
14672 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14675 # FIXME: insert proper C++ library support
14683 # FIXME: insert proper C++ library support
14688 case $cc_basename in
14691 # FIXME: insert proper C++ library support
14696 # FIXME: insert proper C++ library support
14700 # FIXME: insert proper C++ library support
14707 case $cc_basename in
14709 # Sun C++ 4.2, 5.x and Centerline C++
14710 archive_cmds_need_lc_CXX=yes
14711 no_undefined_flag_CXX=' -zdefs'
14712 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14713 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14714 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14716 hardcode_libdir_flag_spec_CXX='-R$libdir'
14717 hardcode_shlibpath_var_CXX=no
14719 solaris2.[0-5] | solaris2.[0-5].*) ;;
14721 # The compiler driver will combine and reorder linker options,
14722 # but understands `-z linker_flag'.
14723 # Supported since Solaris 2.6 (maybe 2.5.1?)
14724 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14727 link_all_deplibs_CXX=yes
14729 output_verbose_link_cmd='func_echo_all'
14731 # Archives containing C++ object files must be created using
14732 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14733 # necessary to make sure instantiated templates are included
14735 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14738 # Green Hills C++ Compiler
14739 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14741 # The C++ compiler must be used to create the archive.
14742 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14745 # GNU C++ compiler with Solaris linker
14746 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14747 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14748 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14749 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14750 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14751 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14753 # Commands to make compiler produce verbose output that lists
14754 # what "hidden" libraries, object files and flags are used when
14755 # linking a shared library.
14756 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14758 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14760 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14761 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14762 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14764 # Commands to make compiler produce verbose output that lists
14765 # what "hidden" libraries, object files and flags are used when
14766 # linking a shared library.
14767 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14770 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14772 solaris2.[0-5] | solaris2.[0-5].*) ;;
14774 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14782 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14783 no_undefined_flag_CXX='${wl}-z,text'
14784 archive_cmds_need_lc_CXX=no
14785 hardcode_shlibpath_var_CXX=no
14786 runpath_var='LD_RUN_PATH'
14788 case $cc_basename in
14790 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14791 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14794 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14795 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14800 sysv5* | sco3.2v5* | sco5v6*)
14801 # Note: We can NOT use -z defs as we might desire, because we do not
14802 # link with -lc, and that would cause any symbols used from libc to
14803 # always be unresolved, which means just about no library would
14804 # ever link correctly. If we're not using GNU ld we use -z text
14805 # though, which does catch some bad symbols but isn't as heavy-handed
14807 no_undefined_flag_CXX='${wl}-z,text'
14808 allow_undefined_flag_CXX='${wl}-z,nodefs'
14809 archive_cmds_need_lc_CXX=no
14810 hardcode_shlibpath_var_CXX=no
14811 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14812 hardcode_libdir_separator_CXX=':'
14813 link_all_deplibs_CXX=yes
14814 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14815 runpath_var='LD_RUN_PATH'
14817 case $cc_basename in
14819 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14820 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14821 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14822 '"$old_archive_cmds_CXX"
14823 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14824 '"$reload_cmds_CXX"
14827 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14828 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14834 case $cc_basename in
14836 # NonStop-UX NCC 3.20
14837 # FIXME: insert proper C++ library support
14841 # FIXME: insert proper C++ library support
14848 # FIXME: insert proper C++ library support
14853 # FIXME: insert proper C++ library support
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14859 $as_echo "$ld_shlibs_CXX" >&6; }
14860 test "$ld_shlibs_CXX" = no && can_build_shared=no
14866 ## There is no encapsulation within the following macros, do not change
14867 ## the running order or otherwise move them around unless you know exactly
14868 ## what you are doing...
14869 # Dependencies to place before and after the object being linked:
14870 predep_objects_CXX=
14871 postdep_objects_CXX=
14874 compiler_lib_search_path_CXX=
14876 cat > conftest.$ac_ext <<_LT_EOF
14880 Foo (void) { a = 0; }
14887 _lt_libdeps_save_CFLAGS=$CFLAGS
14888 case "$CC $CFLAGS " in #(
14889 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14890 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14891 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14895 (eval $ac_compile) 2>&5
14897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14898 test $ac_status = 0; }; then
14899 # Parse the compiler output and extract the necessary
14900 # objects, libraries and library flags.
14902 # Sentinel used to keep track of whether or not we are before
14903 # the conftest object file.
14904 pre_test_object_deps_done=no
14906 for p in `eval "$output_verbose_link_cmd"`; do
14907 case ${prev}${p} in
14910 # Some compilers place space between "-{L,R}" and the path.
14911 # Remove the space.
14912 if test $p = "-L" ||
14913 test $p = "-R"; then
14918 # Expand the sysroot to ease extracting the directories later.
14919 if test -z "$prev"; then
14921 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14922 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14923 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14927 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14929 if test "$pre_test_object_deps_done" = no; then
14932 # Internal compiler library paths should come after those
14933 # provided the user. The postdeps already come after the
14934 # user supplied libs so there is no need to process them.
14935 if test -z "$compiler_lib_search_path_CXX"; then
14936 compiler_lib_search_path_CXX="${prev}${p}"
14938 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14941 # The "-l" case would never come before the object being
14942 # linked, so don't bother handling this case.
14945 if test -z "$postdeps_CXX"; then
14946 postdeps_CXX="${prev}${p}"
14948 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14954 *.lto.$objext) ;; # Ignore GCC LTO objects
14956 # This assumes that the test object file only shows up
14957 # once in the compiler output.
14958 if test "$p" = "conftest.$objext"; then
14959 pre_test_object_deps_done=yes
14963 if test "$pre_test_object_deps_done" = no; then
14964 if test -z "$predep_objects_CXX"; then
14965 predep_objects_CXX="$p"
14967 predep_objects_CXX="$predep_objects_CXX $p"
14970 if test -z "$postdep_objects_CXX"; then
14971 postdep_objects_CXX="$p"
14973 postdep_objects_CXX="$postdep_objects_CXX $p"
14978 *) ;; # Ignore the rest.
14986 echo "libtool.m4: error: problem compiling CXX test program"
14989 $RM -f confest.$objext
14990 CFLAGS=$_lt_libdeps_save_CFLAGS
14992 # PORTME: override above test on systems where it is broken
14995 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14996 # hack all around it, let's just trust "g++" to DTRT.
14997 predep_objects_CXX=
14998 postdep_objects_CXX=
15003 case `$CC -V 2>&1 | sed 5q` in
15007 # The more standards-conforming stlport4 library is
15008 # incompatible with the Cstd library. Avoid specifying
15009 # it if it's in CXXFLAGS. Ignore libCrun as
15010 # -library=stlport4 depends on it.
15011 case " $CXX $CXXFLAGS " in
15012 *" -library=stlport4 "*)
15013 solaris_use_stlport4=yes
15017 if test "$solaris_use_stlport4" != yes; then
15018 postdeps_CXX='-library=Cstd -library=Crun'
15025 case $cc_basename in
15027 # The more standards-conforming stlport4 library is
15028 # incompatible with the Cstd library. Avoid specifying
15029 # it if it's in CXXFLAGS. Ignore libCrun as
15030 # -library=stlport4 depends on it.
15031 case " $CXX $CXXFLAGS " in
15032 *" -library=stlport4 "*)
15033 solaris_use_stlport4=yes
15037 # Adding this requires a known-good setup of shared libraries for
15038 # Sun compiler versions before 5.6, else PIC objects from an old
15039 # archive will be linked into the output, leading to subtle bugs.
15040 if test "$solaris_use_stlport4" != yes; then
15041 postdeps_CXX='-library=Cstd -library=Crun'
15049 case " $postdeps_CXX " in
15050 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15052 compiler_lib_search_dirs_CXX=
15053 if test -n "${compiler_lib_search_path_CXX}"; then
15054 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15087 lt_prog_compiler_wl_CXX=
15088 lt_prog_compiler_pic_CXX=
15089 lt_prog_compiler_static_CXX=
15092 # C++ specific cases for pic, static, wl, etc.
15093 if test "$GXX" = yes; then
15094 lt_prog_compiler_wl_CXX='-Wl,'
15095 lt_prog_compiler_static_CXX='-static'
15099 # All AIX code is PIC.
15100 if test "$host_cpu" = ia64; then
15101 # AIX 5 now supports IA64 processor
15102 lt_prog_compiler_static_CXX='-Bstatic'
15109 # see comment about AmigaOS4 .so support
15110 lt_prog_compiler_pic_CXX='-fPIC'
15113 # FIXME: we need at least 68020 code to build shared libraries, but
15114 # adding the `-m68020' flag to GCC prevents building anything better,
15116 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15121 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15122 # PIC is the default for these OSes.
15124 mingw* | cygwin* | os2* | pw32* | cegcc*)
15125 # This hack is so that the source file can tell whether it is being
15126 # built for inclusion in a dll (and should export symbols for example).
15127 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15128 # (--disable-auto-import) libraries
15129 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15131 darwin* | rhapsody*)
15132 # PIC is the default on this platform
15133 # Common symbols not allowed in MH_DYLIB files
15134 lt_prog_compiler_pic_CXX='-fno-common'
15137 # DJGPP does not support shared libraries at all
15138 lt_prog_compiler_pic_CXX=
15141 # PIC is the default for Haiku.
15142 # The "-static" flag exists, but is broken.
15143 lt_prog_compiler_static_CXX=
15146 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15147 # Instead, we relocate shared libraries at runtime.
15150 if test -d /usr/nec; then
15151 lt_prog_compiler_pic_CXX=-Kconform_pic
15155 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15156 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15157 # sets the default TLS model and affects inlining.
15162 lt_prog_compiler_pic_CXX='-fPIC'
15167 # QNX uses GNU C++, but need to define -shared option too, otherwise
15168 # it will coredump.
15169 lt_prog_compiler_pic_CXX='-fPIC -shared'
15172 lt_prog_compiler_pic_CXX='-fPIC'
15178 # All AIX code is PIC.
15179 if test "$host_cpu" = ia64; then
15180 # AIX 5 now supports IA64 processor
15181 lt_prog_compiler_static_CXX='-Bstatic'
15183 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15187 case $cc_basename in
15189 # Green Hills C++ Compiler
15190 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15194 mingw* | cygwin* | os2* | pw32* | cegcc*)
15195 # This hack is so that the source file can tell whether it is being
15196 # built for inclusion in a dll (and should export symbols for example).
15197 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15200 case $cc_basename in
15202 lt_prog_compiler_pic_CXX='-KPIC'
15205 # Green Hills C++ Compiler
15206 lt_prog_compiler_pic_CXX='-pic'
15212 freebsd* | dragonfly*)
15213 # FreeBSD uses GNU C++
15215 hpux9* | hpux10* | hpux11*)
15216 case $cc_basename in
15218 lt_prog_compiler_wl_CXX='-Wl,'
15219 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15220 if test "$host_cpu" != ia64; then
15221 lt_prog_compiler_pic_CXX='+Z'
15225 lt_prog_compiler_wl_CXX='-Wl,'
15226 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15232 lt_prog_compiler_pic_CXX='+Z'
15241 # This is c89, which is MS Visual C++ (no shared libs)
15242 # Anyone wants to do a port?
15244 irix5* | irix6* | nonstopux*)
15245 case $cc_basename in
15247 lt_prog_compiler_wl_CXX='-Wl,'
15248 lt_prog_compiler_static_CXX='-non_shared'
15249 # CC pic flag -KPIC is the default.
15255 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15256 case $cc_basename in
15259 lt_prog_compiler_wl_CXX='--backend -Wl,'
15260 lt_prog_compiler_pic_CXX='-fPIC'
15263 # old Intel C++ for x86_64 which still supported -KPIC.
15264 lt_prog_compiler_wl_CXX='-Wl,'
15265 lt_prog_compiler_pic_CXX='-KPIC'
15266 lt_prog_compiler_static_CXX='-static'
15269 # Intel C++, used to be incompatible with GCC.
15270 # ICC 10 doesn't accept -KPIC any more.
15271 lt_prog_compiler_wl_CXX='-Wl,'
15272 lt_prog_compiler_pic_CXX='-fPIC'
15273 lt_prog_compiler_static_CXX='-static'
15276 # Portland Group C++ compiler
15277 lt_prog_compiler_wl_CXX='-Wl,'
15278 lt_prog_compiler_pic_CXX='-fpic'
15279 lt_prog_compiler_static_CXX='-Bstatic'
15283 # Make sure the PIC flag is empty. It appears that all Alpha
15284 # Linux and Compaq Tru64 Unix objects are PIC.
15285 lt_prog_compiler_pic_CXX=
15286 lt_prog_compiler_static_CXX='-non_shared'
15288 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15289 # IBM XL 8.0, 9.0 on PPC and BlueGene
15290 lt_prog_compiler_wl_CXX='-Wl,'
15291 lt_prog_compiler_pic_CXX='-qpic'
15292 lt_prog_compiler_static_CXX='-qstaticlink'
15295 case `$CC -V 2>&1 | sed 5q` in
15298 lt_prog_compiler_pic_CXX='-KPIC'
15299 lt_prog_compiler_static_CXX='-Bstatic'
15300 lt_prog_compiler_wl_CXX='-Qoption ld '
15311 case $cc_basename in
15313 lt_prog_compiler_pic_CXX='-W c,exportall'
15319 netbsd* | netbsdelf*-gnu)
15322 # QNX uses GNU C++, but need to define -shared option too, otherwise
15323 # it will coredump.
15324 lt_prog_compiler_pic_CXX='-fPIC -shared'
15326 osf3* | osf4* | osf5*)
15327 case $cc_basename in
15329 lt_prog_compiler_wl_CXX='--backend -Wl,'
15332 # Rational C++ 2.4.1
15333 lt_prog_compiler_pic_CXX='-pic'
15336 # Digital/Compaq C++
15337 lt_prog_compiler_wl_CXX='-Wl,'
15338 # Make sure the PIC flag is empty. It appears that all Alpha
15339 # Linux and Compaq Tru64 Unix objects are PIC.
15340 lt_prog_compiler_pic_CXX=
15341 lt_prog_compiler_static_CXX='-non_shared'
15350 case $cc_basename in
15352 # Sun C++ 4.2, 5.x and Centerline C++
15353 lt_prog_compiler_pic_CXX='-KPIC'
15354 lt_prog_compiler_static_CXX='-Bstatic'
15355 lt_prog_compiler_wl_CXX='-Qoption ld '
15358 # Green Hills C++ Compiler
15359 lt_prog_compiler_pic_CXX='-PIC'
15366 case $cc_basename in
15369 lt_prog_compiler_pic_CXX='-pic'
15370 lt_prog_compiler_static_CXX='-Bstatic'
15374 lt_prog_compiler_pic_CXX='-pic'
15380 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15381 case $cc_basename in
15383 lt_prog_compiler_wl_CXX='-Wl,'
15384 lt_prog_compiler_pic_CXX='-KPIC'
15385 lt_prog_compiler_static_CXX='-Bstatic'
15390 case $cc_basename in
15392 # NonStop-UX NCC 3.20
15393 lt_prog_compiler_pic_CXX='-KPIC'
15402 lt_prog_compiler_can_build_shared_CXX=no
15408 # For platforms which do not support PIC, -DPIC is meaningless:
15410 lt_prog_compiler_pic_CXX=
15413 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15418 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15419 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15420 $as_echo_n "(cached) " >&6
15422 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15425 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15426 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15429 # Check to make sure the PIC flag actually works.
15431 if test -n "$lt_prog_compiler_pic_CXX"; then
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15433 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15434 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15435 $as_echo_n "(cached) " >&6
15437 lt_cv_prog_compiler_pic_works_CXX=no
15438 ac_outfile=conftest.$ac_objext
15439 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15440 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15441 # Insert the option either (1) after the last *FLAGS variable, or
15442 # (2) before a word containing "conftest.", or (3) at the end.
15443 # Note that $ac_compile itself does not contain backslashes and begins
15444 # with a dollar sign (not a hyphen), so the echo should work correctly.
15445 # The option is referenced via a variable to avoid confusing sed.
15446 lt_compile=`echo "$ac_compile" | $SED \
15447 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15448 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15449 -e 's:$: $lt_compiler_flag:'`
15450 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15451 (eval "$lt_compile" 2>conftest.err)
15453 cat conftest.err >&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 if (exit $ac_status) && test -s "$ac_outfile"; then
15456 # The compiler can only warn and ignore the option if not recognized
15457 # So say no if there are warnings other than the usual output.
15458 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15459 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15460 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15461 lt_cv_prog_compiler_pic_works_CXX=yes
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15468 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15470 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15471 case $lt_prog_compiler_pic_CXX in
15473 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15476 lt_prog_compiler_pic_CXX=
15477 lt_prog_compiler_can_build_shared_CXX=no
15487 # Check to make sure the static flag actually works.
15489 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15491 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15492 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15493 $as_echo_n "(cached) " >&6
15495 lt_cv_prog_compiler_static_works_CXX=no
15496 save_LDFLAGS="$LDFLAGS"
15497 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15498 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15499 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15500 # The linker can only warn and ignore the option if not recognized
15501 # So say no if there are warnings
15502 if test -s conftest.err; then
15503 # Append any errors to the config.log.
15504 cat conftest.err 1>&5
15505 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15506 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15507 if diff conftest.exp conftest.er2 >/dev/null; then
15508 lt_cv_prog_compiler_static_works_CXX=yes
15511 lt_cv_prog_compiler_static_works_CXX=yes
15515 LDFLAGS="$save_LDFLAGS"
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15519 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15521 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15524 lt_prog_compiler_static_CXX=
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15531 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15532 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15533 $as_echo_n "(cached) " >&6
15535 lt_cv_prog_compiler_c_o_CXX=no
15536 $RM -r conftest 2>/dev/null
15540 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15542 lt_compiler_flag="-o out/conftest2.$ac_objext"
15543 # Insert the option either (1) after the last *FLAGS variable, or
15544 # (2) before a word containing "conftest.", or (3) at the end.
15545 # Note that $ac_compile itself does not contain backslashes and begins
15546 # with a dollar sign (not a hyphen), so the echo should work correctly.
15547 lt_compile=`echo "$ac_compile" | $SED \
15548 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15549 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15550 -e 's:$: $lt_compiler_flag:'`
15551 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15552 (eval "$lt_compile" 2>out/conftest.err)
15554 cat out/conftest.err >&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15558 # The compiler can only warn and ignore the option if not recognized
15559 # So say no if there are warnings
15560 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15561 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15562 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15563 lt_cv_prog_compiler_c_o_CXX=yes
15568 # SGI C++ compiler will create directory out/ii_files/ for
15569 # template instantiation
15570 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15571 $RM out/* && rmdir out
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15578 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15583 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15584 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15585 $as_echo_n "(cached) " >&6
15587 lt_cv_prog_compiler_c_o_CXX=no
15588 $RM -r conftest 2>/dev/null
15592 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15594 lt_compiler_flag="-o out/conftest2.$ac_objext"
15595 # Insert the option either (1) after the last *FLAGS variable, or
15596 # (2) before a word containing "conftest.", or (3) at the end.
15597 # Note that $ac_compile itself does not contain backslashes and begins
15598 # with a dollar sign (not a hyphen), so the echo should work correctly.
15599 lt_compile=`echo "$ac_compile" | $SED \
15600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15602 -e 's:$: $lt_compiler_flag:'`
15603 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15604 (eval "$lt_compile" 2>out/conftest.err)
15606 cat out/conftest.err >&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15610 # The compiler can only warn and ignore the option if not recognized
15611 # So say no if there are warnings
15612 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15613 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15614 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15615 lt_cv_prog_compiler_c_o_CXX=yes
15620 # SGI C++ compiler will create directory out/ii_files/ for
15621 # template instantiation
15622 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15623 $RM out/* && rmdir out
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15630 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15635 hard_links="nottested"
15636 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15637 # do not overwrite the value of need_locks provided by the user
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15639 $as_echo_n "checking if we can lock with hard links... " >&6; }
15642 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15644 ln conftest.a conftest.b 2>&5 || hard_links=no
15645 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15647 $as_echo "$hard_links" >&6; }
15648 if test "$hard_links" = no; then
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15650 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15660 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15662 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15663 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15666 # If we're using GNU nm, then we don't want the "-C" option.
15667 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15668 # Also, AIX nm treats weak defined symbols like other global defined
15669 # symbols, whereas GNU nm marks them as "W".
15670 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15671 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15673 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15677 export_symbols_cmds_CXX="$ltdll_cmds"
15679 cygwin* | mingw* | cegcc*)
15680 case $cc_basename in
15682 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15685 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15686 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15690 linux* | k*bsd*-gnu | gnu*)
15691 link_all_deplibs_CXX=no
15694 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15699 $as_echo "$ld_shlibs_CXX" >&6; }
15700 test "$ld_shlibs_CXX" = no && can_build_shared=no
15702 with_gnu_ld_CXX=$with_gnu_ld
15710 # Do we need to explicitly link libc?
15712 case "x$archive_cmds_need_lc_CXX" in
15714 # Assume -lc should be added
15715 archive_cmds_need_lc_CXX=yes
15717 if test "$enable_shared" = yes && test "$GCC" = yes; then
15718 case $archive_cmds_CXX in
15720 # FIXME: we may have to deal with multi-command sequences.
15723 # Test whether the compiler implicitly links with -lc since on some
15724 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15725 # to ld, don't add -lc before -lgcc.
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15727 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15728 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15729 $as_echo_n "(cached) " >&6
15732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15734 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15735 (eval $ac_compile) 2>&5
15737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15738 test $ac_status = 0; } 2>conftest.err; then
15741 libobjs=conftest.$ac_objext
15743 wl=$lt_prog_compiler_wl_CXX
15744 pic_flag=$lt_prog_compiler_pic_CXX
15750 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15751 allow_undefined_flag_CXX=
15752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15753 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15756 test $ac_status = 0; }
15758 lt_cv_archive_cmds_need_lc_CXX=no
15760 lt_cv_archive_cmds_need_lc_CXX=yes
15762 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15764 cat conftest.err 1>&5
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15770 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15771 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15840 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15842 library_names_spec=
15843 libname_spec='lib$name'
15847 postuninstall_cmds=
15851 shlibpath_overrides_runpath=unknown
15853 dynamic_linker="$host_os ld.so"
15854 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15855 need_lib_prefix=unknown
15856 hardcode_into_libs=no
15858 # when you set need_version to no, make sure it does not cause -set_version
15859 # flags to be left without arguments
15860 need_version=unknown
15864 version_type=linux # correct to gnu/linux during the next big refactor
15865 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15866 shlibpath_var=LIBPATH
15868 # AIX 3 has no versioning support, so we append a major version to the name.
15869 soname_spec='${libname}${release}${shared_ext}$major'
15873 version_type=linux # correct to gnu/linux during the next big refactor
15876 hardcode_into_libs=yes
15877 if test "$host_cpu" = ia64; then
15878 # AIX 5 supports IA64
15879 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15880 shlibpath_var=LD_LIBRARY_PATH
15882 # With GCC up to 2.95.x, collect2 would create an import file
15883 # for dependence libraries. The import file would start with
15884 # the line `#! .'. This would cause the generated library to
15885 # depend on `.', always an invalid library. This was fixed in
15886 # development snapshots of GCC prior to 3.0.
15888 aix4 | aix4.[01] | aix4.[01].*)
15889 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15891 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15894 can_build_shared=no
15898 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15899 # soname into executable. Probably we can add versioning support to
15900 # collect2, so additional links can be useful in future.
15901 if test "$aix_use_runtimelinking" = yes; then
15902 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15903 # instead of lib<name>.a to let people know that these are not
15904 # typical AIX shared libraries.
15905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15907 # We preserve .a as extension for shared libraries through AIX4.2
15908 # and later when we are not doing run time linking.
15909 library_names_spec='${libname}${release}.a $libname.a'
15910 soname_spec='${libname}${release}${shared_ext}$major'
15912 shlibpath_var=LIBPATH
15919 # Since July 2007 AmigaOS4 officially supports .so libraries.
15920 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15924 library_names_spec='$libname.ixlibrary $libname.a'
15925 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15926 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'
15932 library_names_spec='${libname}${shared_ext}'
15933 dynamic_linker="$host_os ld.so"
15934 shlibpath_var=LIBRARY_PATH
15938 version_type=linux # correct to gnu/linux during the next big refactor
15940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15941 soname_spec='${libname}${release}${shared_ext}$major'
15942 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15943 shlibpath_var=LD_LIBRARY_PATH
15944 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15945 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15946 # the default ld.so.conf also contains /usr/contrib/lib and
15947 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15948 # libtool to hard-code these into programs
15951 cygwin* | mingw* | pw32* | cegcc*)
15952 version_type=windows
15957 case $GCC,$cc_basename in
15960 library_names_spec='$libname.dll.a'
15961 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15962 postinstall_cmds='base_file=`basename \${file}`~
15963 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15964 dldir=$destdir/`dirname \$dlpath`~
15965 test -d \$dldir || mkdir -p \$dldir~
15966 $install_prog $dir/$dlname \$dldir/$dlname~
15967 chmod a+x \$dldir/$dlname~
15968 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15969 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15971 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15972 dlpath=$dir/\$dldll~
15974 shlibpath_overrides_runpath=yes
15978 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15979 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15983 # MinGW DLLs use traditional 'lib' prefix
15984 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15987 # pw32 DLLs use 'pw' prefix rather than 'lib'
15988 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15991 dynamic_linker='Win32 ld.exe'
15996 libname_spec='$name'
15997 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15998 library_names_spec='${libname}.dll.lib'
16002 sys_lib_search_path_spec=
16005 for lt_path in $LIB
16008 # Let DOS variable expansion print the short 8.3 style file name.
16009 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16010 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16013 # Convert to MSYS style.
16014 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16017 # Convert to unix form, then to dos form, then back to unix form
16018 # but this time dos style (no spaces!) so that the unix form looks
16019 # like /cygdrive/c/PROGRA~1:/cygdr...
16020 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16021 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16022 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16025 sys_lib_search_path_spec="$LIB"
16026 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16027 # It is most probably a Windows format PATH.
16028 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16030 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16032 # FIXME: find the short name or the path components, as spaces are
16033 # common. (e.g. "Program Files" -> "PROGRA~1")
16037 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16038 postinstall_cmds='base_file=`basename \${file}`~
16039 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16040 dldir=$destdir/`dirname \$dlpath`~
16041 test -d \$dldir || mkdir -p \$dldir~
16042 $install_prog $dir/$dlname \$dldir/$dlname'
16043 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16044 dlpath=$dir/\$dldll~
16046 shlibpath_overrides_runpath=yes
16047 dynamic_linker='Win32 link.exe'
16051 # Assume MSVC wrapper
16052 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16053 dynamic_linker='Win32 ld.exe'
16056 # FIXME: first we should search . and the directory the executable is in
16060 darwin* | rhapsody*)
16061 dynamic_linker="$host_os dyld"
16062 version_type=darwin
16065 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16066 soname_spec='${libname}${release}${major}$shared_ext'
16067 shlibpath_overrides_runpath=yes
16068 shlibpath_var=DYLD_LIBRARY_PATH
16069 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16071 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16075 version_type=linux # correct to gnu/linux during the next big refactor
16078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16079 soname_spec='${libname}${release}${shared_ext}$major'
16080 shlibpath_var=LD_LIBRARY_PATH
16083 freebsd* | dragonfly*)
16084 # DragonFly does not have aout. When/if they implement a new
16085 # versioning mechanism, adjust this.
16086 if test -x /usr/bin/objformat; then
16087 objformat=`/usr/bin/objformat`
16090 freebsd[23].*) objformat=aout ;;
16091 *) objformat=elf ;;
16094 version_type=freebsd-$objformat
16095 case $version_type in
16097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16102 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16106 shlibpath_var=LD_LIBRARY_PATH
16109 shlibpath_overrides_runpath=yes
16111 freebsd3.[01]* | freebsdelf3.[01]*)
16112 shlibpath_overrides_runpath=yes
16113 hardcode_into_libs=yes
16115 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16116 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16117 shlibpath_overrides_runpath=no
16118 hardcode_into_libs=yes
16120 *) # from 4.6 on, and DragonFly
16121 shlibpath_overrides_runpath=yes
16122 hardcode_into_libs=yes
16128 version_type=linux # correct to gnu/linux during the next big refactor
16131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16132 soname_spec='${libname}${release}${shared_ext}$major'
16133 shlibpath_var=LD_LIBRARY_PATH
16134 shlibpath_overrides_runpath=no
16135 hardcode_into_libs=yes
16139 version_type=linux # correct to gnu/linux during the next big refactor
16142 dynamic_linker="$host_os runtime_loader"
16143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16144 soname_spec='${libname}${release}${shared_ext}$major'
16145 shlibpath_var=LIBRARY_PATH
16146 shlibpath_overrides_runpath=yes
16147 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16148 hardcode_into_libs=yes
16151 hpux9* | hpux10* | hpux11*)
16152 # Give a soname corresponding to the major version so that dld.sl refuses to
16153 # link against other versions.
16160 hardcode_into_libs=yes
16161 dynamic_linker="$host_os dld.so"
16162 shlibpath_var=LD_LIBRARY_PATH
16163 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16165 soname_spec='${libname}${release}${shared_ext}$major'
16166 if test "X$HPUX_IA64_MODE" = X32; then
16167 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16169 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16171 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16175 hardcode_into_libs=yes
16176 dynamic_linker="$host_os dld.sl"
16177 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16178 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16180 soname_spec='${libname}${release}${shared_ext}$major'
16181 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16182 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16186 dynamic_linker="$host_os dld.sl"
16187 shlibpath_var=SHLIB_PATH
16188 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16190 soname_spec='${libname}${release}${shared_ext}$major'
16193 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16194 postinstall_cmds='chmod 555 $lib'
16195 # or fails outright, so override atomically:
16196 install_override_mode=555
16200 version_type=linux # correct to gnu/linux during the next big refactor
16203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16204 soname_spec='${libname}${release}${shared_ext}$major'
16205 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16206 shlibpath_var=LD_LIBRARY_PATH
16207 shlibpath_overrides_runpath=no
16208 hardcode_into_libs=yes
16211 irix5* | irix6* | nonstopux*)
16213 nonstopux*) version_type=nonstopux ;;
16215 if test "$lt_cv_prog_gnu_ld" = yes; then
16216 version_type=linux # correct to gnu/linux during the next big refactor
16223 soname_spec='${libname}${release}${shared_ext}$major'
16224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16226 irix5* | nonstopux*)
16227 libsuff= shlibsuff=
16230 case $LD in # libtool.m4 will add one of these switches to LD
16231 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16232 libsuff= shlibsuff= libmagic=32-bit;;
16233 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16234 libsuff=32 shlibsuff=N32 libmagic=N32;;
16235 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16236 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16237 *) libsuff= shlibsuff= libmagic=never-match;;
16241 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16242 shlibpath_overrides_runpath=no
16243 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16244 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16245 hardcode_into_libs=yes
16248 # No shared lib support for Linux oldld, aout, or coff.
16249 linux*oldld* | linux*aout* | linux*coff*)
16253 # This must be glibc/ELF.
16254 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16255 version_type=linux # correct to gnu/linux during the next big refactor
16258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16259 soname_spec='${libname}${release}${shared_ext}$major'
16260 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16261 shlibpath_var=LD_LIBRARY_PATH
16262 shlibpath_overrides_runpath=no
16264 # Some binutils ld are patched to set DT_RUNPATH
16265 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16266 $as_echo_n "(cached) " >&6
16268 lt_cv_shlibpath_overrides_runpath=no
16269 save_LDFLAGS=$LDFLAGS
16270 save_libdir=$libdir
16271 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16272 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16274 /* end confdefs.h. */
16284 if ac_fn_cxx_try_link "$LINENO"; then :
16285 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16286 lt_cv_shlibpath_overrides_runpath=yes
16289 rm -f core conftest.err conftest.$ac_objext \
16290 conftest$ac_exeext conftest.$ac_ext
16291 LDFLAGS=$save_LDFLAGS
16292 libdir=$save_libdir
16296 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16298 # This implies no fast_install, which is unacceptable.
16299 # Some rework will be needed to allow for fast_install
16300 # before this can be enabled.
16301 hardcode_into_libs=yes
16303 # Append ld.so.conf contents to the search path
16304 if test -f /etc/ld.so.conf; then
16305 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' ' '`
16306 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16309 # We used to test for /lib/ld.so.1 and disable shared libraries on
16310 # powerpc, because MkLinux only supported shared libraries with the
16311 # GNU dynamic linker. Since this was broken with cross compilers,
16312 # most powerpc-linux boxes support dynamic linking these days and
16313 # people can always --disable-shared, the test was removed, and we
16314 # assume the GNU/Linux dynamic linker is in use.
16315 dynamic_linker='GNU/Linux ld.so'
16322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16323 soname_spec='${libname}${release}${shared_ext}$major'
16324 shlibpath_var=LD_LIBRARY_PATH
16325 shlibpath_overrides_runpath=no
16326 hardcode_into_libs=yes
16327 dynamic_linker='NetBSD ld.elf_so'
16334 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16336 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16337 dynamic_linker='NetBSD (a.out) ld.so'
16339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16340 soname_spec='${libname}${release}${shared_ext}$major'
16341 dynamic_linker='NetBSD ld.elf_so'
16343 shlibpath_var=LD_LIBRARY_PATH
16344 shlibpath_overrides_runpath=yes
16345 hardcode_into_libs=yes
16349 version_type=linux # correct to gnu/linux during the next big refactor
16350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16351 shlibpath_var=LD_LIBRARY_PATH
16352 shlibpath_overrides_runpath=yes
16359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16360 soname_spec='${libname}${release}${shared_ext}$major'
16361 shlibpath_var=LD_LIBRARY_PATH
16362 shlibpath_overrides_runpath=no
16363 hardcode_into_libs=yes
16364 dynamic_linker='ldqnx.so'
16369 sys_lib_dlsearch_path_spec="/usr/lib"
16371 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16373 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16374 *) need_version=no ;;
16376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16377 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16378 shlibpath_var=LD_LIBRARY_PATH
16379 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16381 openbsd2.[89] | openbsd2.[89].*)
16382 shlibpath_overrides_runpath=no
16385 shlibpath_overrides_runpath=yes
16389 shlibpath_overrides_runpath=yes
16394 libname_spec='$name'
16397 library_names_spec='$libname${shared_ext} $libname.a'
16398 dynamic_linker='OS/2 ld.exe'
16399 shlibpath_var=LIBPATH
16402 osf3* | osf4* | osf5*)
16406 soname_spec='${libname}${release}${shared_ext}$major'
16407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16408 shlibpath_var=LD_LIBRARY_PATH
16409 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16410 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16418 version_type=linux # correct to gnu/linux during the next big refactor
16421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16422 soname_spec='${libname}${release}${shared_ext}$major'
16423 shlibpath_var=LD_LIBRARY_PATH
16424 shlibpath_overrides_runpath=yes
16425 hardcode_into_libs=yes
16426 # ldd complains unless libraries are executable
16427 postinstall_cmds='chmod +x $lib'
16432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16433 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16434 shlibpath_var=LD_LIBRARY_PATH
16435 shlibpath_overrides_runpath=yes
16436 if test "$with_gnu_ld" = yes; then
16443 version_type=linux # correct to gnu/linux during the next big refactor
16444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16445 soname_spec='${libname}${release}${shared_ext}$major'
16446 shlibpath_var=LD_LIBRARY_PATH
16447 case $host_vendor in
16449 shlibpath_overrides_runpath=no
16451 runpath_var=LD_RUN_PATH
16459 shlibpath_overrides_runpath=no
16460 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16466 if test -d /usr/nec ;then
16467 version_type=linux # correct to gnu/linux during the next big refactor
16468 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16469 soname_spec='$libname${shared_ext}.$major'
16470 shlibpath_var=LD_LIBRARY_PATH
16474 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16475 version_type=freebsd-elf
16478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16479 soname_spec='${libname}${release}${shared_ext}$major'
16480 shlibpath_var=LD_LIBRARY_PATH
16481 shlibpath_overrides_runpath=yes
16482 hardcode_into_libs=yes
16483 if test "$with_gnu_ld" = yes; then
16484 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16486 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16489 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16493 sys_lib_dlsearch_path_spec='/usr/lib'
16497 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16498 version_type=linux # correct to gnu/linux during the next big refactor
16501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16502 shlibpath_var=LD_LIBRARY_PATH
16503 shlibpath_overrides_runpath=no
16504 hardcode_into_libs=yes
16508 version_type=linux # correct to gnu/linux during the next big refactor
16509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16510 soname_spec='${libname}${release}${shared_ext}$major'
16511 shlibpath_var=LD_LIBRARY_PATH
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16519 $as_echo "$dynamic_linker" >&6; }
16520 test "$dynamic_linker" = no && can_build_shared=no
16522 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16523 if test "$GCC" = yes; then
16524 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16527 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16528 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16530 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16531 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16572 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16573 hardcode_action_CXX=
16574 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16575 test -n "$runpath_var_CXX" ||
16576 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16578 # We can hardcode non-existent directories.
16579 if test "$hardcode_direct_CXX" != no &&
16580 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16581 # have to relink, otherwise we might link with an installed library
16582 # when we should be linking with a yet-to-be-installed one
16583 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16584 test "$hardcode_minus_L_CXX" != no; then
16585 # Linking always hardcodes the temporary library directory.
16586 hardcode_action_CXX=relink
16588 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16589 hardcode_action_CXX=immediate
16592 # We cannot hardcode anything, or else we can only hardcode existing
16594 hardcode_action_CXX=unsupported
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16597 $as_echo "$hardcode_action_CXX" >&6; }
16599 if test "$hardcode_action_CXX" = relink ||
16600 test "$inherit_rpath_CXX" = yes; then
16601 # Fast installation is not supported
16602 enable_fast_install=no
16603 elif test "$shlibpath_overrides_runpath" = yes ||
16604 test "$enable_shared" = no; then
16605 # Fast installation is not necessary
16606 enable_fast_install=needless
16615 fi # test -n "$compiler"
16618 CFLAGS=$lt_save_CFLAGS
16622 with_gnu_ld=$lt_save_with_gnu_ld
16623 lt_cv_path_LDCXX=$lt_cv_path_LD
16624 lt_cv_path_LD=$lt_save_path_LD
16625 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16626 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16627 fi # test "$_lt_caught_CXX_error" != yes
16630 ac_cpp='$CPP $CPPFLAGS'
16631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16649 ac_config_commands="$ac_config_commands libtool"
16654 # Only expand once:
16657 if test -n "$ac_tool_prefix"; then
16658 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16659 set dummy ${ac_tool_prefix}windres; ac_word=$2
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16661 $as_echo_n "checking for $ac_word... " >&6; }
16662 if ${ac_cv_prog_RC+:} false; then :
16663 $as_echo_n "(cached) " >&6
16665 if test -n "$RC"; then
16666 ac_cv_prog_RC="$RC" # Let the user override the test.
16668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16669 for as_dir in $PATH
16672 test -z "$as_dir" && as_dir=.
16673 for ac_exec_ext in '' $ac_executable_extensions; do
16674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16675 ac_cv_prog_RC="${ac_tool_prefix}windres"
16676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16686 if test -n "$RC"; then
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
16688 $as_echo "$RC" >&6; }
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16691 $as_echo "no" >&6; }
16696 if test -z "$ac_cv_prog_RC"; then
16698 # Extract the first word of "windres", so it can be a program name with args.
16699 set dummy windres; ac_word=$2
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16701 $as_echo_n "checking for $ac_word... " >&6; }
16702 if ${ac_cv_prog_ac_ct_RC+:} false; then :
16703 $as_echo_n "(cached) " >&6
16705 if test -n "$ac_ct_RC"; then
16706 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
16708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16709 for as_dir in $PATH
16712 test -z "$as_dir" && as_dir=.
16713 for ac_exec_ext in '' $ac_executable_extensions; do
16714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16715 ac_cv_prog_ac_ct_RC="windres"
16716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16725 ac_ct_RC=$ac_cv_prog_ac_ct_RC
16726 if test -n "$ac_ct_RC"; then
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
16728 $as_echo "$ac_ct_RC" >&6; }
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16731 $as_echo "no" >&6; }
16734 if test "x$ac_ct_RC" = x; then
16737 case $cross_compiling:$ac_tool_warned in
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16741 ac_tool_warned=yes ;;
16746 RC="$ac_cv_prog_RC"
16752 # Source file extension for RC test sources.
16755 # Object file extension for compiled RC test sources.
16759 # Code to be used in simple compile tests
16760 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
16762 # Code to be used in simple link tests
16763 lt_simple_link_test_code="$lt_simple_compile_test_code"
16765 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16772 # If no C compiler was specified, use CC.
16775 # If no C compiler flags were specified, use CFLAGS.
16776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16778 # Allow CC to be a program name with arguments.
16782 # save warnings/boilerplate of simple test code
16783 ac_outfile=conftest.$ac_objext
16784 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16785 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16786 _lt_compiler_boilerplate=`cat conftest.err`
16789 ac_outfile=conftest.$ac_objext
16790 echo "$lt_simple_link_test_code" >conftest.$ac_ext
16791 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16792 _lt_linker_boilerplate=`cat conftest.err`
16796 # Allow CC to be a program name with arguments.
16798 lt_save_CFLAGS=$CFLAGS
16805 for cc_temp in $compiler""; do
16807 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16808 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16813 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16815 lt_cv_prog_compiler_c_o_RC=yes
16817 if test -n "$compiler"; then
16826 ac_cpp='$CPP $CPPFLAGS'
16827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16832 CFLAGS=$lt_save_CFLAGS
16835 # For now we hardcode the use of version scripts. It would be better
16836 # to write a test for this or even implement this within libtool.
16837 have_ld_version_script=no
16840 have_ld_version_script=yes
16843 have_ld_version_script=yes
16847 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
16852 if test "$have_ld_version_script" = "yes"; then
16853 HAVE_LD_VERSION_SCRIPT_TRUE=
16854 HAVE_LD_VERSION_SCRIPT_FALSE='#'
16856 HAVE_LD_VERSION_SCRIPT_TRUE='#'
16857 HAVE_LD_VERSION_SCRIPT_FALSE=
16865 component_system=None
16866 have_dosish_system=no
16867 have_android_system=no
16874 have_w64_system=yes
16877 have_w32ce_system=yes
16879 *-linux-androideabi)
16880 have_android_system=yes
16884 *-mingw32ce*|*-mingw32*)
16885 have_dosish_system=yes
16886 have_w32_system=yes
16887 GPG_DEFAULT='c:\\gnupg\\gpg.exe'
16888 GPGSM_DEFAULT='c:\\gnupg\\gpgsm.exe'
16889 GPGCONF_DEFAULT='c:\\gnupg\\gpgconf.exe'
16890 G13_DEFAULT='c:\\gnupg\\g13.exe'
16891 #component_system='COM+'
16893 # Check whether --enable-glibtest was given.
16894 if test "${enable_glibtest+set}" = set; then :
16895 enableval=$enable_glibtest;
16897 enable_glibtest=yes
16901 pkg_config_args=glib-2.0
16906 pkg_config_args="$pkg_config_args gmodule-2.0"
16909 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
16912 pkg_config_args="$pkg_config_args gobject-2.0"
16915 pkg_config_args="$pkg_config_args gthread-2.0"
16920 # Extract the first word of "pkg-config", so it can be a program name with args.
16921 set dummy pkg-config; ac_word=$2
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16923 $as_echo_n "checking for $ac_word... " >&6; }
16924 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16925 $as_echo_n "(cached) " >&6
16927 case $PKG_CONFIG in
16929 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16933 for as_dir in $PATH
16936 test -z "$as_dir" && as_dir=.
16937 for ac_exec_ext in '' $ac_executable_extensions; do
16938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16939 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16947 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16951 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16952 if test -n "$PKG_CONFIG"; then
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16954 $as_echo "$PKG_CONFIG" >&6; }
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16957 $as_echo "no" >&6; }
16964 if test x$PKG_CONFIG != xno ; then
16965 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
16968 echo *** pkg-config too old; version 0.7 or better required.
16976 min_glib_version=2.0.0
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
16978 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
16980 if test x$PKG_CONFIG != xno ; then
16981 ## don't try to run the test against uninstalled libtool libs
16982 if $PKG_CONFIG --uninstalled $pkg_config_args; then
16983 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
16987 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
16994 if test x"$no_glib" = x ; then
16995 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
16996 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
16997 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
16999 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
17000 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
17001 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
17002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
17003 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
17004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
17005 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
17006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
17007 if test "x$enable_glibtest" = "xyes" ; then
17008 ac_save_CFLAGS="$CFLAGS"
17009 ac_save_LIBS="$LIBS"
17010 CFLAGS="$CFLAGS $GLIB_CFLAGS"
17011 LIBS="$GLIB_LIBS $LIBS"
17012 rm -f conf.glibtest
17013 if test "$cross_compiling" = yes; then :
17014 echo $ac_n "cross compiling; assumed OK... $ac_c"
17016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17021 #include <stdlib.h>
17026 int major, minor, micro;
17029 system ("touch conf.glibtest");
17031 /* HP/UX 9 (%@#!) writes to sscanf strings */
17032 tmp_version = g_strdup("$min_glib_version");
17033 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
17034 printf("%s, bad version string\n", "$min_glib_version");
17038 if ((glib_major_version != $glib_config_major_version) ||
17039 (glib_minor_version != $glib_config_minor_version) ||
17040 (glib_micro_version != $glib_config_micro_version))
17042 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
17043 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
17044 glib_major_version, glib_minor_version, glib_micro_version);
17045 printf ("*** was found! If pkg-config was correct, then it is best\n");
17046 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
17047 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
17048 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
17049 printf("*** required on your system.\n");
17050 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
17051 printf("*** to point to the correct configuration files\n");
17053 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
17054 (glib_minor_version != GLIB_MINOR_VERSION) ||
17055 (glib_micro_version != GLIB_MICRO_VERSION))
17057 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
17058 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
17059 printf("*** library (version %d.%d.%d)\n",
17060 glib_major_version, glib_minor_version, glib_micro_version);
17064 if ((glib_major_version > major) ||
17065 ((glib_major_version == major) && (glib_minor_version > minor)) ||
17066 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
17072 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
17073 glib_major_version, glib_minor_version, glib_micro_version);
17074 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
17075 major, minor, micro);
17076 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
17078 printf("*** If you have already installed a sufficiently new version, this error\n");
17079 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
17080 printf("*** being found. The easiest way to fix this is to remove the old version\n");
17081 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
17082 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
17083 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
17084 printf("*** so that the correct libraries are found at run-time))\n");
17091 if ac_fn_c_try_run "$LINENO"; then :
17096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17097 conftest.$ac_objext conftest.beam conftest.$ac_ext
17100 CFLAGS="$ac_save_CFLAGS"
17101 LIBS="$ac_save_LIBS"
17104 if test "x$no_glib" = x ; then
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
17106 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17110 $as_echo "no" >&6; }
17111 if test "$PKG_CONFIG" = "no" ; then
17112 echo "*** A new enough version of pkg-config was not found."
17113 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
17115 if test -f conf.glibtest ; then
17118 echo "*** Could not run GLIB test program, checking why..."
17119 ac_save_CFLAGS="$CFLAGS"
17120 ac_save_LIBS="$LIBS"
17121 CFLAGS="$CFLAGS $GLIB_CFLAGS"
17122 LIBS="$LIBS $GLIB_LIBS"
17123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17124 /* end confdefs.h. */
17132 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
17137 if ac_fn_c_try_link "$LINENO"; then :
17138 echo "*** The test program compiled, but did not run. This usually means"
17139 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
17140 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
17141 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
17142 echo "*** to the installed location Also, make sure you have run ldconfig if that"
17143 echo "*** is required on your system"
17145 echo "*** If you have an old version installed, it is best to remove it, although"
17146 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
17148 echo "*** The test program failed to compile or link. See the file config.log for the"
17149 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
17151 rm -f core conftest.err conftest.$ac_objext \
17152 conftest$ac_exeext conftest.$ac_ext
17153 CFLAGS="$ac_save_CFLAGS"
17154 LIBS="$ac_save_LIBS"
17169 rm -f conf.glibtest
17171 # Check whether --enable-w32-glib was given.
17172 if test "${enable_w32_glib+set}" = set; then :
17173 enableval=$enable_w32_glib; build_w32_glib=$enableval
17177 # Check disabled, because the qt-dev packages in gpg4win do
17178 # not provide any support for cross compilation.
17179 # PKG_CHECK_MODULES(QT4_CORE, QtCore)
17181 # Use it like this:
17182 # ./configure --enable-w32-qt QT4_CORE_CFLAGS="..." QT4_CORE_LIBS="..."
17185 # Check whether --enable-w32-qt was given.
17186 if test "${enable_w32_qt+set}" = set; then :
17187 enableval=$enable_w32_qt; build_w32_qt=$enableval
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
17193 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
17194 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
17195 $as_echo_n "(cached) " >&6
17197 ac_check_lib_save_LIBS=$LIBS
17198 LIBS="-lpthread $LIBS"
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17202 /* Override any GCC internal prototype to avoid an error.
17203 Use char because int might match the return type of a GCC
17204 builtin and then its argument prototype would still apply. */
17208 char pthread_create ();
17212 return pthread_create ();
17217 if ac_fn_c_try_link "$LINENO"; then :
17218 ac_cv_lib_pthread_pthread_create=yes
17220 ac_cv_lib_pthread_pthread_create=no
17222 rm -f core conftest.err conftest.$ac_objext \
17223 conftest$ac_exeext conftest.$ac_ext
17224 LIBS=$ac_check_lib_save_LIBS
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
17227 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
17228 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
17232 if test "$have_pthread" = yes; then
17234 $as_echo "#define HAVE_PTHREAD /**/" >>confdefs.h
17238 # XXX: Probably use exec-prefix here?
17239 # GPG_DEFAULT='/usr/bin/gpg'
17240 # GPGSM_DEFAULT='/usr/bin/gpgsm'
17241 # GPGCONF_DEFAULT='/usr/bin/gpgconf'
17242 # G13_DEFAULT='/usr/bin/g13'
17246 if test "$have_dosish_system" = yes; then
17248 $as_echo "#define HAVE_DOSISH_SYSTEM 1" >>confdefs.h
17251 if test "$have_dosish_system" = yes; then
17252 HAVE_DOSISH_SYSTEM_TRUE=
17253 HAVE_DOSISH_SYSTEM_FALSE='#'
17255 HAVE_DOSISH_SYSTEM_TRUE='#'
17256 HAVE_DOSISH_SYSTEM_FALSE=
17260 if test "$have_w32_system" = yes; then
17262 $as_echo "#define HAVE_W32_SYSTEM 1" >>confdefs.h
17265 if test "$have_w32_system" = yes; then
17266 HAVE_W32_SYSTEM_TRUE=
17267 HAVE_W32_SYSTEM_FALSE='#'
17269 HAVE_W32_SYSTEM_TRUE='#'
17270 HAVE_W32_SYSTEM_FALSE=
17274 if test "$have_w64_system" = yes; then
17276 $as_echo "#define HAVE_W64_SYSTEM 1" >>confdefs.h
17279 if test "$have_w64_system" = yes; then
17280 HAVE_W64_SYSTEM_TRUE=
17281 HAVE_W64_SYSTEM_FALSE='#'
17283 HAVE_W64_SYSTEM_TRUE='#'
17284 HAVE_W64_SYSTEM_FALSE=
17288 if test "$have_w32ce_system" = yes; then
17290 $as_echo "#define HAVE_W32CE_SYSTEM 1" >>confdefs.h
17293 if test "$have_w32ce_system" = yes; then
17294 HAVE_W32CE_SYSTEM_TRUE=
17295 HAVE_W32CE_SYSTEM_FALSE='#'
17297 HAVE_W32CE_SYSTEM_TRUE='#'
17298 HAVE_W32CE_SYSTEM_FALSE=
17302 if test "$have_android_system" = yes; then
17304 $as_echo "#define HAVE_ANDROID_SYSTEM 1" >>confdefs.h
17307 if test "$have_android_system" = yes; then
17308 HAVE_ANDROID_SYSTEM_TRUE=
17309 HAVE_ANDROID_SYSTEM_FALSE='#'
17311 HAVE_ANDROID_SYSTEM_TRUE='#'
17312 HAVE_ANDROID_SYSTEM_FALSE=
17316 if test "$build_w32_glib" = yes; then
17317 BUILD_W32_GLIB_TRUE=
17318 BUILD_W32_GLIB_FALSE='#'
17320 BUILD_W32_GLIB_TRUE='#'
17321 BUILD_W32_GLIB_FALSE=
17324 if test "$build_w32_qt" = yes; then
17326 BUILD_W32_QT_FALSE='#'
17328 BUILD_W32_QT_TRUE='#'
17329 BUILD_W32_QT_FALSE=
17333 if test "$have_pthread" = "yes"; then
17335 HAVE_PTHREAD_FALSE='#'
17337 HAVE_PTHREAD_TRUE='#'
17338 HAVE_PTHREAD_FALSE=
17343 # Check whether --enable-fixed-path was given.
17344 if test "${enable_fixed_path+set}" = set; then :
17345 enableval=$enable_fixed_path; fixed_search_path="$enableval"
17347 fixed_search_path=""
17350 if test x$fixed_search_path != x ; then
17352 cat >>confdefs.h <<_ACEOF
17353 #define FIXED_SEARCH_PATH "$fixed_search_path"
17360 # Provide information about the build.
17362 BUILD_REVISION="16835c3"
17365 cat >>confdefs.h <<_ACEOF
17366 #define BUILD_REVISION "$BUILD_REVISION"
17370 BUILD_FILEVERSION=`echo "$PACKAGE_VERSION"|sed 's/\([0-9.]*\).*/\1./;s/\./,/g'`
17371 BUILD_FILEVERSION="${BUILD_FILEVERSION}5763"
17374 BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date`
17377 cat >>confdefs.h <<_ACEOF
17378 #define BUILD_TIMESTAMP "$BUILD_TIMESTAMP"
17383 # Options to disable some regression tests
17385 run_gpgconf_test="yes"
17386 # Check whether --enable-gpgconf-test was given.
17387 if test "${enable_gpgconf_test+set}" = set; then :
17388 enableval=$enable_gpgconf_test; run_gpgconf_test=$enableval
17391 if test "$run_gpgconf_test" = "yes"; then
17392 RUN_GPGCONF_TESTS_TRUE=
17393 RUN_GPGCONF_TESTS_FALSE='#'
17395 RUN_GPGCONF_TESTS_TRUE='#'
17396 RUN_GPGCONF_TESTS_FALSE=
17401 # Check whether --enable-gpg-test was given.
17402 if test "${enable_gpg_test+set}" = set; then :
17403 enableval=$enable_gpg_test; run_gpg_test=$enableval
17406 if test "$run_gpg_test" = "yes"; then
17407 RUN_GPG_TESTS_TRUE=
17408 RUN_GPG_TESTS_FALSE='#'
17410 RUN_GPG_TESTS_TRUE='#'
17411 RUN_GPG_TESTS_FALSE=
17415 run_gpgsm_test="yes"
17416 # Check whether --enable-gpgsm-test was given.
17417 if test "${enable_gpgsm_test+set}" = set; then :
17418 enableval=$enable_gpgsm_test; run_gpgsm_test=$enableval
17421 if test "$run_gpgsm_test" = "yes"; then
17422 RUN_GPGSM_TESTS_TRUE=
17423 RUN_GPGSM_TESTS_FALSE='#'
17425 RUN_GPGSM_TESTS_TRUE='#'
17426 RUN_GPGSM_TESTS_FALSE=
17431 # Check whether --enable-g13-test was given.
17432 if test "${enable_g13_test+set}" = set; then :
17433 enableval=$enable_g13_test; run_g13_test=$enableval
17436 if test "$run_g13_test" = "yes"; then
17437 RUN_G13_TESTS_TRUE=
17438 RUN_G13_TESTS_FALSE='#'
17440 RUN_G13_TESTS_TRUE='#'
17441 RUN_G13_TESTS_FALSE=
17446 # Checks for header files.
17450 for ac_header in $ac_header_list
17452 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17453 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
17455 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17456 cat >>confdefs.h <<_ACEOF
17457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17485 $as_echo_n "checking for inline... " >&6; }
17486 if ${ac_cv_c_inline+:} false; then :
17487 $as_echo_n "(cached) " >&6
17490 for ac_kw in inline __inline__ __inline; do
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #ifndef __cplusplus
17495 static $ac_kw foo_t static_foo () {return 0; }
17496 $ac_kw foo_t foo () {return 0; }
17500 if ac_fn_c_try_compile "$LINENO"; then :
17501 ac_cv_c_inline=$ac_kw
17503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 test "$ac_cv_c_inline" != no && break
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17509 $as_echo "$ac_cv_c_inline" >&6; }
17511 case $ac_cv_c_inline in
17514 case $ac_cv_c_inline in
17516 *) ac_val=$ac_cv_c_inline;;
17518 cat >>confdefs.h <<_ACEOF
17519 #ifndef __cplusplus
17520 #define inline $ac_val
17526 # The cast to long int works around a bug in the HP C Compiler
17527 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17528 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17529 # This bug is HP SR number 8606223364.
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
17531 $as_echo_n "checking size of unsigned int... " >&6; }
17532 if ${ac_cv_sizeof_unsigned_int+:} false; then :
17533 $as_echo_n "(cached) " >&6
17535 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
17538 if test "$ac_cv_type_unsigned_int" = yes; then
17539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17541 as_fn_error 77 "cannot compute sizeof (unsigned int)
17542 See \`config.log' for more details" "$LINENO" 5; }
17544 ac_cv_sizeof_unsigned_int=0
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
17550 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
17554 cat >>confdefs.h <<_ACEOF
17555 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
17559 # Check whether --enable-largefile was given.
17560 if test "${enable_largefile+set}" = set; then :
17561 enableval=$enable_largefile;
17564 if test "$enable_largefile" != no; then
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
17567 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
17568 if ${ac_cv_sys_largefile_CC+:} false; then :
17569 $as_echo_n "(cached) " >&6
17571 ac_cv_sys_largefile_CC=no
17572 if test "$GCC" != yes; then
17575 # IRIX 6.2 and later do not support large files by default,
17576 # so use the C compiler's -n32 option if that helps.
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17579 #include <sys/types.h>
17580 /* Check that off_t can represent 2**63 - 1 correctly.
17581 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17582 since some C++ compilers masquerading as C compilers
17583 incorrectly reject 9223372036854775807. */
17584 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17585 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17586 && LARGE_OFF_T % 2147483647 == 1)
17596 if ac_fn_c_try_compile "$LINENO"; then :
17599 rm -f core conftest.err conftest.$ac_objext
17601 if ac_fn_c_try_compile "$LINENO"; then :
17602 ac_cv_sys_largefile_CC=' -n32'; break
17604 rm -f core conftest.err conftest.$ac_objext
17608 rm -f conftest.$ac_ext
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17612 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
17613 if test "$ac_cv_sys_largefile_CC" != no; then
17614 CC=$CC$ac_cv_sys_largefile_CC
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17618 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17619 if ${ac_cv_sys_file_offset_bits+:} false; then :
17620 $as_echo_n "(cached) " >&6
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 #include <sys/types.h>
17626 /* Check that off_t can represent 2**63 - 1 correctly.
17627 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17628 since some C++ compilers masquerading as C compilers
17629 incorrectly reject 9223372036854775807. */
17630 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17631 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17632 && LARGE_OFF_T % 2147483647 == 1)
17642 if ac_fn_c_try_compile "$LINENO"; then :
17643 ac_cv_sys_file_offset_bits=no; break
17645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17648 #define _FILE_OFFSET_BITS 64
17649 #include <sys/types.h>
17650 /* Check that off_t can represent 2**63 - 1 correctly.
17651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17652 since some C++ compilers masquerading as C compilers
17653 incorrectly reject 9223372036854775807. */
17654 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17656 && LARGE_OFF_T % 2147483647 == 1)
17666 if ac_fn_c_try_compile "$LINENO"; then :
17667 ac_cv_sys_file_offset_bits=64; break
17669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17670 ac_cv_sys_file_offset_bits=unknown
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17675 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17676 case $ac_cv_sys_file_offset_bits in #(
17679 cat >>confdefs.h <<_ACEOF
17680 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17685 if test $ac_cv_sys_file_offset_bits = unknown; then
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17687 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17688 if ${ac_cv_sys_large_files+:} false; then :
17689 $as_echo_n "(cached) " >&6
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 #include <sys/types.h>
17695 /* Check that off_t can represent 2**63 - 1 correctly.
17696 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17697 since some C++ compilers masquerading as C compilers
17698 incorrectly reject 9223372036854775807. */
17699 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17700 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17701 && LARGE_OFF_T % 2147483647 == 1)
17711 if ac_fn_c_try_compile "$LINENO"; then :
17712 ac_cv_sys_large_files=no; break
17714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17717 #define _LARGE_FILES 1
17718 #include <sys/types.h>
17719 /* Check that off_t can represent 2**63 - 1 correctly.
17720 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17721 since some C++ compilers masquerading as C compilers
17722 incorrectly reject 9223372036854775807. */
17723 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17724 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17725 && LARGE_OFF_T % 2147483647 == 1)
17735 if ac_fn_c_try_compile "$LINENO"; then :
17736 ac_cv_sys_large_files=1; break
17738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17739 ac_cv_sys_large_files=unknown
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17744 $as_echo "$ac_cv_sys_large_files" >&6; }
17745 case $ac_cv_sys_large_files in #(
17748 cat >>confdefs.h <<_ACEOF
17749 #define _LARGE_FILES $ac_cv_sys_large_files
17759 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17760 if test "x$ac_cv_type_off_t" = xyes; then :
17764 cat >>confdefs.h <<_ACEOF
17765 #define off_t long int
17771 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
17772 if test "x$ac_cv_type_uintptr_t" = xyes; then :
17774 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
17777 for ac_type in 'unsigned int' 'unsigned long int' \
17778 'unsigned long long int'; do
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17781 $ac_includes_default
17785 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
17786 test_array [0] = 0;
17787 return test_array [0];
17793 if ac_fn_c_try_compile "$LINENO"; then :
17795 cat >>confdefs.h <<_ACEOF
17796 #define uintptr_t $ac_type
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802 test -z "$ac_type" && break
17808 # A simple compile time check in gpgme.h for GNU/Linux systems that
17809 # prevents a file offset bits mismatch between gpgme and the application.
17810 NEED__FILE_OFFSET_BITS=0
17811 if test "$have_w32_system" != yes; then
17812 case "$ac_cv_sys_file_offset_bits" in
17813 "" | no | unknown) ;;
17815 NEED__FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits
17821 # Figure out platform dependent typedefs for gpgme.h
17822 if test "$have_w32_system" = yes; then
17823 INSERT__TYPEDEFS_FOR_GPGME_H="
17825 # include <stdint.h>
17826 typedef int64_t gpgme_off_t;
17827 typedef int64_t gpgme_ssize_t;
17829 typedef long gpgme_off_t;
17830 typedef long gpgme_ssize_t;
17831 #endif /* _WIN32 */"
17832 API__OFF_T="gpgme_off_t"
17833 API__SSIZE_T="gpgme_ssize_t"
17835 INSERT__TYPEDEFS_FOR_GPGME_H="
17836 #include <sys/types.h>
17837 typedef off_t gpgme_off_t;
17838 typedef ssize_t gpgme_ssize_t;"
17840 API__SSIZE_T="ssize_t"
17849 # Checks for compiler features.
17850 if test "$GCC" = yes; then
17851 CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
17852 if test "$have_w32_system" = yes; then
17853 CFLAGS="$CFLAGS -mms-bitfields"
17857 # Only used for debugging, so no serious test needed (for actual
17858 # functionality you have to test libc as well, this only tests the
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
17861 $as_echo_n "checking for __thread... " >&6; }
17862 if ${gpgme_cv_tls_works+:} false; then :
17863 $as_echo_n "(cached) " >&6
17865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17866 /* end confdefs.h. */
17876 if ac_fn_c_try_compile "$LINENO"; then :
17877 gpgme_cv_tls_works=yes
17879 gpgme_cv_tls_works=no
17881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gpgme_cv_tls_works" >&5
17884 $as_echo "$gpgme_cv_tls_works" >&6; }
17885 if test "$gpgme_cv_tls_works" = yes; then
17887 $as_echo "#define HAVE_TLS 1" >>confdefs.h
17892 # Checks for library functions.
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries" >&5
17894 $as_echo "$as_me: checking for libraries" >&6;}
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
17897 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
17898 if ${ac_cv_sys_largefile_source+:} false; then :
17899 $as_echo_n "(cached) " >&6
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17904 #include <sys/types.h> /* for off_t */
17909 int (*fp) (FILE *, off_t, int) = fseeko;
17910 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
17915 if ac_fn_c_try_link "$LINENO"; then :
17916 ac_cv_sys_largefile_source=no; break
17918 rm -f core conftest.err conftest.$ac_objext \
17919 conftest$ac_exeext conftest.$ac_ext
17920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921 /* end confdefs.h. */
17922 #define _LARGEFILE_SOURCE 1
17923 #include <sys/types.h> /* for off_t */
17928 int (*fp) (FILE *, off_t, int) = fseeko;
17929 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
17934 if ac_fn_c_try_link "$LINENO"; then :
17935 ac_cv_sys_largefile_source=1; break
17937 rm -f core conftest.err conftest.$ac_objext \
17938 conftest$ac_exeext conftest.$ac_ext
17939 ac_cv_sys_largefile_source=unknown
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
17944 $as_echo "$ac_cv_sys_largefile_source" >&6; }
17945 case $ac_cv_sys_largefile_source in #(
17948 cat >>confdefs.h <<_ACEOF
17949 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
17955 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
17956 # in glibc 2.1.3, but that breaks too many other things.
17957 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
17958 if test $ac_cv_sys_largefile_source != unknown; then
17960 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
17965 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
17966 if test "x$ac_cv_func_vasprintf" = xyes; then :
17967 $as_echo "#define HAVE_VASPRINTF 1" >>confdefs.h
17970 case " $LIBOBJS " in
17971 *" vasprintf.$ac_objext "* ) ;;
17972 *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
17979 if test "$ac_cv_func_vasprintf" != yes; then
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_lists must be copied by value" >&5
17981 $as_echo_n "checking whether va_lists must be copied by value... " >&6; }
17982 if ${gnupg_cv_must_copy_va_byval+:} false; then :
17983 $as_echo_n "(cached) " >&6
17986 if test "$cross_compiling" = yes; then
17987 gnupg_cv_must_copy_va_byval=no
17989 gnupg_cv_must_copy_va_byval=no
17990 if test "$cross_compiling" = yes; then :
17991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17993 as_fn_error $? "cannot run test program while cross compiling
17994 See \`config.log' for more details" "$LINENO" 5; }
17996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17997 /* end confdefs.h. */
17999 #include <stdarg.h>
18000 void f (int i, ...)
18002 va_list args1, args2;
18003 va_start (args1, i);
18005 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
18018 if ac_fn_c_try_run "$LINENO"; then :
18019 gnupg_cv_must_copy_va_byval=yes
18021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18022 conftest.$ac_objext conftest.beam conftest.$ac_ext
18029 if test "$gnupg_cv_must_copy_va_byval" = yes; then
18031 $as_echo "#define MUST_COPY_VA_BYVAL 1" >>confdefs.h
18034 if test "$cross_compiling" = yes; then
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming $gnupg_cv_must_copy_va_byval" >&5
18036 $as_echo "assuming $gnupg_cv_must_copy_va_byval" >&6; }
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnupg_cv_must_copy_va_byval" >&5
18039 $as_echo "$gnupg_cv_must_copy_va_byval" >&6; }
18044 # Try to find a thread-safe version of ttyname().
18045 ac_fn_c_check_decl "$LINENO" "ttyname_r" "ac_cv_have_decl_ttyname_r" "$ac_includes_default"
18046 if test "x$ac_cv_have_decl_ttyname_r" = xyes; then :
18052 cat >>confdefs.h <<_ACEOF
18053 #define HAVE_DECL_TTYNAME_R $ac_have_decl
18057 for ac_header in unistd.h
18059 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
18060 if test "x$ac_cv_header_unistd_h" = xyes; then :
18061 cat >>confdefs.h <<_ACEOF
18062 #define HAVE_UNISTD_H 1
18071 if test $ac_cv_have_decl_ttyname_r = no; then
18072 HAVE_DECL_TTYNAME_R=0
18075 for ac_func in ttyname_r
18077 ac_fn_c_check_func "$LINENO" "ttyname_r" "ac_cv_func_ttyname_r"
18078 if test "x$ac_cv_func_ttyname_r" = xyes; then :
18079 cat >>confdefs.h <<_ACEOF
18080 #define HAVE_TTYNAME_R 1
18086 if test $ac_cv_func_ttyname_r = no; then
18088 case " $LIBOBJS " in
18089 *" ttyname_r.$ac_objext "* ) ;;
18090 *) LIBOBJS="$LIBOBJS ttyname_r.$ac_objext"
18095 $as_echo "#define REPLACE_TTYNAME_R 1" >>confdefs.h
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ttyname_r is compatible with its POSIX signature" >&5
18100 $as_echo_n "checking whether ttyname_r is compatible with its POSIX signature... " >&6; }
18101 if ${gnupg_cv_func_ttyname_r_posix+:} false; then :
18102 $as_echo_n "(cached) " >&6
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18106 #include <stddef.h>
18107 #include <unistd.h>
18111 *ttyname_r (0, NULL, 0);
18117 if ac_fn_c_try_compile "$LINENO"; then :
18118 gnupg_cv_func_ttyname_r_posix=no
18120 gnupg_cv_func_ttyname_r_posix=yes
18122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnupg_cv_func_ttyname_r_posix" >&5
18126 $as_echo "$gnupg_cv_func_ttyname_r_posix" >&6; }
18127 if test $gnupg_cv_func_ttyname_r_posix = no; then
18128 case " $LIBOBJS " in
18129 *" ttyname_r.$ac_objext "* ) ;;
18130 *) LIBOBJS="$LIBOBJS ttyname_r.$ac_objext"
18134 $as_echo "#define REPLACE_TTYNAME_R 1" >>confdefs.h
18136 elif test "$have_android_system" = yes; then
18137 # Android has ttyname and ttyname_r but they are only stubs and
18138 # print an annoying warning message. Thus we need to replace
18139 # ttyname_r with our own dummy function.
18140 case " $LIBOBJS " in
18141 *" ttyname_r.$ac_objext "* ) ;;
18142 *) LIBOBJS="$LIBOBJS ttyname_r.$ac_objext"
18146 $as_echo "#define REPLACE_TTYNAME_R 1" >>confdefs.h
18150 $as_echo "#define HAVE_POSIXDECL_TTYNAME_R 1" >>confdefs.h
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ttyname_r works with small buffers" >&5
18154 $as_echo_n "checking whether ttyname_r works with small buffers... " >&6; }
18155 if ${gnupg_cv_func_ttyname_r_works+:} false; then :
18156 $as_echo_n "(cached) " >&6
18160 # Guess no on Solaris.
18161 solaris*) gnupg_cv_func_ttyname_r_works="guessing no" ;;
18162 # Guess no on OSF/1.
18163 osf*) gnupg_cv_func_ttyname_r_works="guessing no" ;;
18164 # Guess yes otherwise.
18165 *) gnupg_cv_func_ttyname_r_works="guessing yes" ;;
18167 if test "$cross_compiling" = yes; then :
18170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18174 #include <unistd.h>
18180 char buf[31]; /* use any size < 128 here */
18182 fd = open ("/dev/tty", O_RDONLY);
18185 else if (ttyname_r (fd, buf, sizeof (buf)) != 0)
18187 else if (ttyname_r (fd, buf, 1) == 0)
18192 if ac_fn_c_try_run "$LINENO"; then :
18193 gnupg_cv_func_ttyname_r_works=yes
18196 17 | 18) gnupg_cv_func_ttyname_r_works=no ;;
18199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18200 conftest.$ac_objext conftest.beam conftest.$ac_ext
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnupg_cv_func_ttyname_r_works" >&5
18206 $as_echo "$gnupg_cv_func_ttyname_r_works" >&6; }
18207 case "$gnupg_cv_func_ttyname_r_works" in
18209 *) case " $LIBOBJS " in
18210 *" ttyname_r.$ac_objext "* ) ;;
18211 *) LIBOBJS="$LIBOBJS ttyname_r.$ac_objext"
18215 $as_echo "#define REPLACE_TTYNAME_R 1" >>confdefs.h
18218 $as_echo "#define HAVE_BROKEN_TTYNAME_R 1" >>confdefs.h
18225 if test "$ac_cv_func_ttyname_r" != yes; then
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
18228 *** ttyname() is not thread-safe and ttyname_r() does not exist
18230 $as_echo "$as_me: WARNING:
18232 *** ttyname() is not thread-safe and ttyname_r() does not exist
18236 # Try to find a thread-safe version of getenv().
18237 have_thread_safe_getenv=no
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
18240 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
18241 if ${ac_cv_gnu_library_2_1+:} false; then :
18242 $as_echo_n "(cached) " >&6
18244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18247 #include <features.h>
18248 #ifdef __GNU_LIBRARY__
18249 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
18255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18256 $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
18257 ac_cv_gnu_library_2_1=yes
18259 ac_cv_gnu_library_2_1=no
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
18267 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
18269 GLIBC21="$ac_cv_gnu_library_2_1"
18272 if test $GLIBC21 = yes; then
18273 have_thread_safe_getenv=yes
18275 if test $have_thread_safe_getenv = yes; then
18277 $as_echo "#define HAVE_THREAD_SAFE_GETENV 1" >>confdefs.h
18281 for ac_func in getenv_r
18283 ac_fn_c_check_func "$LINENO" "getenv_r" "ac_cv_func_getenv_r"
18284 if test "x$ac_cv_func_getenv_r" = xyes; then :
18285 cat >>confdefs.h <<_ACEOF
18286 #define HAVE_GETENV_R 1
18292 if test $have_getenv_r = no && test $have_thread_safe_getenv = no; then
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
18295 *** getenv() is not thread-safe and getenv_r() does not exist
18297 $as_echo "$as_me: WARNING:
18299 *** getenv() is not thread-safe and getenv_r() does not exist
18303 # For converting time strings to seconds since Epoch, we need the timegm
18305 for ac_func in timegm
18307 ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm"
18308 if test "x$ac_cv_func_timegm" = xyes; then :
18309 cat >>confdefs.h <<_ACEOF
18310 #define HAVE_TIMEGM 1
18316 if test "$ac_cv_func_timegm" != yes; then
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
18319 *** timegm() not available - a non-thread-safe kludge will be used
18320 *** and the TZ variable might be changed at runtime.
18322 $as_echo "$as_me: WARNING:
18324 *** timegm() not available - a non-thread-safe kludge will be used
18325 *** and the TZ variable might be changed at runtime.
18329 for ac_func in setlocale
18331 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
18332 if test "x$ac_cv_func_setlocale" = xyes; then :
18333 cat >>confdefs.h <<_ACEOF
18334 #define HAVE_SETLOCALE 1
18341 # Checking for libgpg-error.
18344 gpg_error_config_prefix=""
18346 # Check whether --with-libgpg-error-prefix was given.
18347 if test "${with_libgpg_error_prefix+set}" = set; then :
18348 withval=$with_libgpg_error_prefix; gpg_error_config_prefix="$withval"
18353 # Check whether --with-gpg-error-prefix was given.
18354 if test "${with_gpg_error_prefix+set}" = set; then :
18355 withval=$with_gpg_error_prefix; gpg_error_config_prefix="$withval"
18359 if test x$gpg_error_config_prefix != x ; then
18360 if test x${GPG_ERROR_CONFIG+set} != xset ; then
18361 GPG_ERROR_CONFIG=$gpg_error_config_prefix/bin/gpg-error-config
18365 if test -n "$ac_tool_prefix"; then
18366 # Extract the first word of "${ac_tool_prefix}gpg-error-config", so it can be a program name with args.
18367 set dummy ${ac_tool_prefix}gpg-error-config; ac_word=$2
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18369 $as_echo_n "checking for $ac_word... " >&6; }
18370 if ${ac_cv_path_GPG_ERROR_CONFIG+:} false; then :
18371 $as_echo_n "(cached) " >&6
18373 case $GPG_ERROR_CONFIG in
18375 ac_cv_path_GPG_ERROR_CONFIG="$GPG_ERROR_CONFIG" # Let the user override the test with a path.
18378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18379 for as_dir in $PATH
18382 test -z "$as_dir" && as_dir=.
18383 for ac_exec_ext in '' $ac_executable_extensions; do
18384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18385 ac_cv_path_GPG_ERROR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18396 GPG_ERROR_CONFIG=$ac_cv_path_GPG_ERROR_CONFIG
18397 if test -n "$GPG_ERROR_CONFIG"; then
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPG_ERROR_CONFIG" >&5
18399 $as_echo "$GPG_ERROR_CONFIG" >&6; }
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18402 $as_echo "no" >&6; }
18407 if test -z "$ac_cv_path_GPG_ERROR_CONFIG"; then
18408 ac_pt_GPG_ERROR_CONFIG=$GPG_ERROR_CONFIG
18409 # Extract the first word of "gpg-error-config", so it can be a program name with args.
18410 set dummy gpg-error-config; ac_word=$2
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18412 $as_echo_n "checking for $ac_word... " >&6; }
18413 if ${ac_cv_path_ac_pt_GPG_ERROR_CONFIG+:} false; then :
18414 $as_echo_n "(cached) " >&6
18416 case $ac_pt_GPG_ERROR_CONFIG in
18418 ac_cv_path_ac_pt_GPG_ERROR_CONFIG="$ac_pt_GPG_ERROR_CONFIG" # Let the user override the test with a path.
18421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18422 for as_dir in $PATH
18425 test -z "$as_dir" && as_dir=.
18426 for ac_exec_ext in '' $ac_executable_extensions; do
18427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18428 ac_cv_path_ac_pt_GPG_ERROR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18439 ac_pt_GPG_ERROR_CONFIG=$ac_cv_path_ac_pt_GPG_ERROR_CONFIG
18440 if test -n "$ac_pt_GPG_ERROR_CONFIG"; then
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_GPG_ERROR_CONFIG" >&5
18442 $as_echo "$ac_pt_GPG_ERROR_CONFIG" >&6; }
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18445 $as_echo "no" >&6; }
18448 if test "x$ac_pt_GPG_ERROR_CONFIG" = x; then
18449 GPG_ERROR_CONFIG="no"
18451 case $cross_compiling:$ac_tool_warned in
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18455 ac_tool_warned=yes ;;
18457 GPG_ERROR_CONFIG=$ac_pt_GPG_ERROR_CONFIG
18460 GPG_ERROR_CONFIG="$ac_cv_path_GPG_ERROR_CONFIG"
18463 min_gpg_error_version="$NEED_GPG_ERROR_VERSION"
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPG Error - version >= $min_gpg_error_version" >&5
18465 $as_echo_n "checking for GPG Error - version >= $min_gpg_error_version... " >&6; }
18467 if test "$GPG_ERROR_CONFIG" != "no" \
18468 && test -f "$GPG_ERROR_CONFIG" ; then
18469 req_major=`echo $min_gpg_error_version | \
18470 sed 's/\([0-9]*\)\.\([0-9]*\)/\1/'`
18471 req_minor=`echo $min_gpg_error_version | \
18472 sed 's/\([0-9]*\)\.\([0-9]*\)/\2/'`
18473 gpg_error_config_version=`$GPG_ERROR_CONFIG $gpg_error_config_args --version`
18474 major=`echo $gpg_error_config_version | \
18475 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
18476 minor=`echo $gpg_error_config_version | \
18477 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
18478 if test "$major" -gt "$req_major"; then
18481 if test "$major" -eq "$req_major"; then
18482 if test "$minor" -ge "$req_minor"; then
18488 if test $ok = yes; then
18489 GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --cflags`
18490 GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --libs`
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($gpg_error_config_version)" >&5
18492 $as_echo "yes ($gpg_error_config_version)" >&6; }
18494 gpg_error_config_host=`$GPG_ERROR_CONFIG $gpg_error_config_args --host 2>/dev/null || echo none`
18495 if test x"$gpg_error_config_host" != xnone ; then
18496 if test x"$gpg_error_config_host" != x"$host" ; then
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
18499 *** The config script $GPG_ERROR_CONFIG was
18500 *** built for $gpg_error_config_host and thus may not match the
18501 *** used host $host.
18502 *** You may want to use the configure option --with-gpg-error-prefix
18503 *** to specify a matching config script.
18505 $as_echo "$as_me: WARNING:
18507 *** The config script $GPG_ERROR_CONFIG was
18508 *** built for $gpg_error_config_host and thus may not match the
18509 *** used host $host.
18510 *** You may want to use the configure option --with-gpg-error-prefix
18511 *** to specify a matching config script.
18516 GPG_ERROR_CFLAGS=""
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18519 $as_echo "no" >&6; }
18526 $as_echo "#define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_GPGME" >>confdefs.h
18529 # And for libassuan.
18533 # Check whether --with-libassuan-prefix was given.
18534 if test "${with_libassuan_prefix+set}" = set; then :
18535 withval=$with_libassuan_prefix; libassuan_config_prefix="$withval"
18537 libassuan_config_prefix=""
18540 if test x$libassuan_config_prefix != x ; then
18541 libassuan_config_args="$libassuan_config_args --prefix=$libassuan_config_prefix"
18542 if test x${LIBASSUAN_CONFIG+set} != xset ; then
18543 LIBASSUAN_CONFIG=$libassuan_config_prefix/bin/libassuan-config
18547 if test -n "$ac_tool_prefix"; then
18548 # Extract the first word of "${ac_tool_prefix}libassuan-config", so it can be a program name with args.
18549 set dummy ${ac_tool_prefix}libassuan-config; ac_word=$2
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18551 $as_echo_n "checking for $ac_word... " >&6; }
18552 if ${ac_cv_path_LIBASSUAN_CONFIG+:} false; then :
18553 $as_echo_n "(cached) " >&6
18555 case $LIBASSUAN_CONFIG in
18557 ac_cv_path_LIBASSUAN_CONFIG="$LIBASSUAN_CONFIG" # Let the user override the test with a path.
18560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18561 for as_dir in $PATH
18564 test -z "$as_dir" && as_dir=.
18565 for ac_exec_ext in '' $ac_executable_extensions; do
18566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18567 ac_cv_path_LIBASSUAN_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18578 LIBASSUAN_CONFIG=$ac_cv_path_LIBASSUAN_CONFIG
18579 if test -n "$LIBASSUAN_CONFIG"; then
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBASSUAN_CONFIG" >&5
18581 $as_echo "$LIBASSUAN_CONFIG" >&6; }
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18584 $as_echo "no" >&6; }
18589 if test -z "$ac_cv_path_LIBASSUAN_CONFIG"; then
18590 ac_pt_LIBASSUAN_CONFIG=$LIBASSUAN_CONFIG
18591 # Extract the first word of "libassuan-config", so it can be a program name with args.
18592 set dummy libassuan-config; ac_word=$2
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18594 $as_echo_n "checking for $ac_word... " >&6; }
18595 if ${ac_cv_path_ac_pt_LIBASSUAN_CONFIG+:} false; then :
18596 $as_echo_n "(cached) " >&6
18598 case $ac_pt_LIBASSUAN_CONFIG in
18600 ac_cv_path_ac_pt_LIBASSUAN_CONFIG="$ac_pt_LIBASSUAN_CONFIG" # Let the user override the test with a path.
18603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18604 for as_dir in $PATH
18607 test -z "$as_dir" && as_dir=.
18608 for ac_exec_ext in '' $ac_executable_extensions; do
18609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18610 ac_cv_path_ac_pt_LIBASSUAN_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18621 ac_pt_LIBASSUAN_CONFIG=$ac_cv_path_ac_pt_LIBASSUAN_CONFIG
18622 if test -n "$ac_pt_LIBASSUAN_CONFIG"; then
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LIBASSUAN_CONFIG" >&5
18624 $as_echo "$ac_pt_LIBASSUAN_CONFIG" >&6; }
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18627 $as_echo "no" >&6; }
18630 if test "x$ac_pt_LIBASSUAN_CONFIG" = x; then
18631 LIBASSUAN_CONFIG="no"
18633 case $cross_compiling:$ac_tool_warned in
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18637 ac_tool_warned=yes ;;
18639 LIBASSUAN_CONFIG=$ac_pt_LIBASSUAN_CONFIG
18642 LIBASSUAN_CONFIG="$ac_cv_path_LIBASSUAN_CONFIG"
18646 tmp="$NEED_LIBASSUAN_API:$NEED_LIBASSUAN_VERSION"
18647 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
18648 req_libassuan_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
18649 min_libassuan_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
18651 req_libassuan_api=0
18652 min_libassuan_version="$tmp"
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBASSUAN - version >= $min_libassuan_version" >&5
18656 $as_echo_n "checking for LIBASSUAN - version >= $min_libassuan_version... " >&6; }
18658 if test "$LIBASSUAN_CONFIG" != "no" \
18659 && test -f "$LIBASSUAN_CONFIG" ; then
18660 req_major=`echo $min_libassuan_version | \
18661 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
18662 req_minor=`echo $min_libassuan_version | \
18663 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
18664 req_micro=`echo $min_libassuan_version | \
18665 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
18667 libassuan_config_version=`$LIBASSUAN_CONFIG --version`
18668 major=`echo $libassuan_config_version | \
18669 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
18670 minor=`echo $libassuan_config_version | \
18671 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
18672 micro=`echo $libassuan_config_version | \
18673 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
18675 if test "$major" -gt "$req_major"; then
18678 if test "$major" -eq "$req_major"; then
18679 if test "$minor" -gt "$req_minor"; then
18682 if test "$minor" -eq "$req_minor"; then
18683 if test "$micro" -ge "$req_micro"; then
18692 if test $ok = yes; then
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($libassuan_config_version)" >&5
18694 $as_echo "yes ($libassuan_config_version)" >&6; }
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18697 $as_echo "no" >&6; }
18700 if test $ok = yes; then
18701 if test "$req_libassuan_api" -gt 0 ; then
18702 tmp=`$LIBASSUAN_CONFIG --api-version 2>/dev/null || echo 0`
18703 if test "$tmp" -gt 0 ; then
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBASSUAN API version" >&5
18705 $as_echo_n "checking LIBASSUAN API version... " >&6; }
18706 if test "$req_libassuan_api" -eq "$tmp" ; then
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
18708 $as_echo "okay" >&6; }
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: does not match. want=$req_libassuan_api got=$tmp." >&5
18712 $as_echo "does not match. want=$req_libassuan_api got=$tmp." >&6; }
18718 if test $ok = yes; then
18719 if test x"$host" != x ; then
18720 libassuan_config_host=`$LIBASSUAN_CONFIG --host 2>/dev/null || echo none`
18721 if test x"$libassuan_config_host" != xnone ; then
18722 if test x"$libassuan_config_host" != x"$host" ; then
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
18725 *** The config script $LIBASSUAN_CONFIG was
18726 *** built for $libassuan_config_host and thus may not match the
18727 *** used host $host.
18728 *** You may want to use the configure option --with-libassuan-prefix
18729 *** to specify a matching config script.
18731 $as_echo "$as_me: WARNING:
18733 *** The config script $LIBASSUAN_CONFIG was
18734 *** built for $libassuan_config_host and thus may not match the
18735 *** used host $host.
18736 *** You may want to use the configure option --with-libassuan-prefix
18737 *** to specify a matching config script.
18744 if test $ok = yes; then
18745 LIBASSUAN_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --cflags`
18746 LIBASSUAN_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --libs`
18749 LIBASSUAN_CFLAGS=""
18756 if test "$have_libassuan" = "yes"; then
18758 cat >>confdefs.h <<_ACEOF
18759 #define GPGME_LIBASSUAN_VERSION "$libassuan_version"
18769 # Check for funopen
18770 for ac_func in funopen
18772 ac_fn_c_check_func "$LINENO" "funopen" "ac_cv_func_funopen"
18773 if test "x$ac_cv_func_funopen" = xyes; then :
18774 cat >>confdefs.h <<_ACEOF
18775 #define HAVE_FUNOPEN 1
18781 if test $ac_cv_func_funopen != yes; then
18782 # No funopen but we can implement that in terms of fopencookie.
18783 for ac_func in fopencookie
18785 ac_fn_c_check_func "$LINENO" "fopencookie" "ac_cv_func_fopencookie"
18786 if test "x$ac_cv_func_fopencookie" = xyes; then :
18787 cat >>confdefs.h <<_ACEOF
18788 #define HAVE_FOPENCOOKIE 1
18794 if test $ac_cv_func_fopencookie = yes; then
18795 ac_fn_c_check_func "$LINENO" "funopen" "ac_cv_func_funopen"
18796 if test "x$ac_cv_func_funopen" = xyes; then :
18797 $as_echo "#define HAVE_FUNOPEN 1" >>confdefs.h
18800 case " $LIBOBJS " in
18801 *" funopen.$ac_objext "* ) ;;
18802 *) LIBOBJS="$LIBOBJS funopen.$ac_objext"
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
18812 *** No implementation of fopencookie or funopen available
18814 $as_echo "$as_me: WARNING:
18816 *** No implementation of fopencookie or funopen available
18821 # Check for getgid etc
18822 for ac_func in getgid getegid
18824 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18825 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18826 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18827 cat >>confdefs.h <<_ACEOF
18828 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18836 # Replacement functions.
18837 ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy"
18838 if test "x$ac_cv_func_stpcpy" = xyes; then :
18839 $as_echo "#define HAVE_STPCPY 1" >>confdefs.h
18842 case " $LIBOBJS " in
18843 *" stpcpy.$ac_objext "* ) ;;
18844 *) LIBOBJS="$LIBOBJS stpcpy.$ac_objext"
18851 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
18852 if test "x$ac_cv_func_setenv" = xyes; then :
18853 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
18856 case " $LIBOBJS " in
18857 *" setenv.$ac_objext "* ) ;;
18858 *) LIBOBJS="$LIBOBJS setenv.$ac_objext"
18866 # Assuan check for descriptor passing.
18867 ac_fn_c_check_member "$LINENO" "struct cmsghdr" "cmsg_len" "ac_cv_member_struct_cmsghdr_cmsg_len" "
18868 #include <stdlib.h>
18869 #include <stddef.h>
18871 #include <sys/types.h>
18872 #include <sys/socket.h>
18873 #include <sys/un.h>
18875 #include <sys/uio.h>
18877 #include <unistd.h>
18880 if test "x$ac_cv_member_struct_cmsghdr_cmsg_len" = xyes; then :
18881 supports_descriptor_passing=yes
18883 supports_descriptor_passing=no
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
18886 *** Data structure for sending ancillary data missing.
18887 *** Descriptor passing won't work.
18889 $as_echo "$as_me: WARNING:
18891 *** Data structure for sending ancillary data missing.
18892 *** Descriptor passing won't work.
18900 use_descriptor_passing=no
18903 use_descriptor_passing=yes
18906 # Check whether --enable-fd-passing was given.
18907 if test "${enable_fd_passing+set}" = set; then :
18908 enableval=$enable_fd_passing; use_descriptor_passing=$enableval
18912 if test "$supports_descriptor_passing" != "yes"; then
18913 use_descriptor_passing=no
18916 if test "$use_descriptor_passing" = "yes"; then
18918 $as_echo "#define USE_DESCRIPTOR_PASSING 1" >>confdefs.h
18922 if test "$use_descriptor_passing" = "yes"; then
18923 USE_DESCRIPTOR_PASSING_TRUE=
18924 USE_DESCRIPTOR_PASSING_FALSE='#'
18926 USE_DESCRIPTOR_PASSING_TRUE='#'
18927 USE_DESCRIPTOR_PASSING_FALSE=
18933 if test "$use_descriptor_passing" = "yes" && test "$have_libassuan" = "yes"; then
18936 if test "$uiserver" != "no"; then
18938 $as_echo "#define ENABLE_UISERVER 1" >>confdefs.h
18941 if test "$uiserver" != "no"; then
18942 HAVE_UISERVER_TRUE=
18943 HAVE_UISERVER_FALSE='#'
18945 HAVE_UISERVER_TRUE='#'
18946 HAVE_UISERVER_FALSE=
18951 # Add a few constants to help porting to W32
18957 # Substitution used for gpgme-config
18958 GPGME_CONFIG_LIBS="-lgpgme"
18959 GPGME_CONFIG_CFLAGS=""
18960 GPGME_CONFIG_HOST="$host"
18966 # Frob'da Variables
18967 LTLIBOBJS=`echo "$LIBOBJS" |
18968 sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$,.lo,'`
18971 # Some checks for gpgme-tool
18972 # Done at top: AC_CHECK_HEADER([argp.h])
18973 ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#include <errno.h>
18975 if test "x$ac_cv_type_error_t" = xyes; then :
18977 cat >>confdefs.h <<_ACEOF
18978 #define HAVE_ERROR_T 1
18984 $as_echo "#define error_t int" >>confdefs.h
18990 # A substitution to set generated files in a Emacs buffer to read-only.
18991 emacs_local_vars_begin='Local Variables:'
18993 emacs_local_vars_read_only='buffer-read-only: t'
18995 emacs_local_vars_end='End:'
19001 if test "$have_gpg_error" = "no"; then
19003 { $as_echo "$as_me:${as_lineno-$LINENO}:
19005 *** You need libgpg-error to build this program.
19006 ** This library is for example available at
19007 *** ftp://ftp.gnupg.org/gcrypt/libgpg-error
19008 *** (at least version $NEED_GPG_ERROR_VERSION is required.)
19012 *** You need libgpg-error to build this program.
19013 ** This library is for example available at
19014 *** ftp://ftp.gnupg.org/gcrypt/libgpg-error
19015 *** (at least version $NEED_GPG_ERROR_VERSION is required.)
19018 if test "$have_libassuan" = "no"; then
19020 { $as_echo "$as_me:${as_lineno-$LINENO}:
19022 *** You need libassuan to build this program.
19023 *** This library is for example available at
19024 *** ftp://ftp.gnupg.org/gcrypt/libassuan/
19025 *** (at least version $NEED_LIBASSUAN_VERSION (API $NEED_LIBASSUAN_API) is required).
19029 *** You need libassuan to build this program.
19030 *** This library is for example available at
19031 *** ftp://ftp.gnupg.org/gcrypt/libassuan/
19032 *** (at least version $NEED_LIBASSUAN_VERSION (API $NEED_LIBASSUAN_API) is required).
19036 if test "$die" = "yes"; then
19039 *** Required libraries not found. Please consult the above messages
19040 *** and install them before running configure again.
19046 # Create config files
19048 ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile tests/gpg/Makefile tests/gpgsm/Makefile tests/opassuan/Makefile doc/Makefile src/versioninfo.rc src/gpgme.h"
19050 ac_config_files="$ac_config_files src/gpgme-config"
19052 ac_config_files="$ac_config_files lang/Makefile lang/cl/Makefile lang/cl/gpgme.asd"
19054 cat >confcache <<\_ACEOF
19055 # This file is a shell script that caches the results of configure
19056 # tests run on this system so they can be shared between configure
19057 # scripts and configure runs, see configure's option --config-cache.
19058 # It is not useful on other systems. If it contains results you don't
19059 # want to keep, you may remove or edit it.
19061 # config.status only pays attention to the cache file if you give it
19062 # the --recheck option to rerun configure.
19064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19066 # following values.
19070 # The following way of writing the cache mishandles newlines in values,
19071 # but we know of no workaround that is simple, portable, and efficient.
19072 # So, we kill variables containing newlines.
19073 # Ultrix sh set writes to stderr and can't be redirected directly,
19074 # and sets the high bit in the cache file unless we assign to the vars.
19076 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19077 eval ac_val=\$$ac_var
19081 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19082 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19085 _ | IFS | as_nl) ;; #(
19086 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19087 *) { eval $ac_var=; unset $ac_var;} ;;
19093 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19094 *${as_nl}ac_space=\ *)
19095 # `set' does not quote correctly, so add quotes: double-quote
19096 # substitution turns \\\\ into \\, and sed turns \\ into \.
19099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19102 # `set' quotes correctly as required by POSIX, so do not add quotes.
19103 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19112 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19114 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19116 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19117 if test -w "$cache_file"; then
19118 if test "x$cache_file" != "x/dev/null"; then
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19120 $as_echo "$as_me: updating cache $cache_file" >&6;}
19121 if test ! -f "$cache_file" || test -h "$cache_file"; then
19122 cat confcache >"$cache_file"
19124 case $cache_file in #(
19126 mv -f confcache "$cache_file"$$ &&
19127 mv -f "$cache_file"$$ "$cache_file" ;; #(
19129 mv -f confcache "$cache_file" ;;
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19135 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19140 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19141 # Let make expand exec_prefix.
19142 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19144 DEFS=-DHAVE_CONFIG_H
19149 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19150 # 1. Remove the extension, and $U if already installed.
19151 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19152 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19153 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19154 # will be set to the directory where LIBOBJS objects are built.
19155 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19156 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19158 LIBOBJS=$ac_libobjs
19160 LTLIBOBJS=$ac_ltlibobjs
19163 if test -n "$EXEEXT"; then
19165 am__EXEEXT_FALSE='#'
19167 am__EXEEXT_TRUE='#'
19171 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19172 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19175 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19176 as_fn_error $? "conditional \"AMDEP\" was never defined.
19177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19179 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19180 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19183 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19184 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19187 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19188 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19191 if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then
19192 as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined.
19193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19195 if test -z "${HAVE_DOSISH_SYSTEM_TRUE}" && test -z "${HAVE_DOSISH_SYSTEM_FALSE}"; then
19196 as_fn_error $? "conditional \"HAVE_DOSISH_SYSTEM\" was never defined.
19197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19199 if test -z "${HAVE_W32_SYSTEM_TRUE}" && test -z "${HAVE_W32_SYSTEM_FALSE}"; then
19200 as_fn_error $? "conditional \"HAVE_W32_SYSTEM\" was never defined.
19201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19203 if test -z "${HAVE_W64_SYSTEM_TRUE}" && test -z "${HAVE_W64_SYSTEM_FALSE}"; then
19204 as_fn_error $? "conditional \"HAVE_W64_SYSTEM\" was never defined.
19205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19207 if test -z "${HAVE_W32CE_SYSTEM_TRUE}" && test -z "${HAVE_W32CE_SYSTEM_FALSE}"; then
19208 as_fn_error $? "conditional \"HAVE_W32CE_SYSTEM\" was never defined.
19209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19211 if test -z "${HAVE_ANDROID_SYSTEM_TRUE}" && test -z "${HAVE_ANDROID_SYSTEM_FALSE}"; then
19212 as_fn_error $? "conditional \"HAVE_ANDROID_SYSTEM\" was never defined.
19213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19215 if test -z "${BUILD_W32_GLIB_TRUE}" && test -z "${BUILD_W32_GLIB_FALSE}"; then
19216 as_fn_error $? "conditional \"BUILD_W32_GLIB\" was never defined.
19217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19219 if test -z "${BUILD_W32_QT_TRUE}" && test -z "${BUILD_W32_QT_FALSE}"; then
19220 as_fn_error $? "conditional \"BUILD_W32_QT\" was never defined.
19221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19223 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
19224 as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
19225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19227 if test -z "${RUN_GPGCONF_TESTS_TRUE}" && test -z "${RUN_GPGCONF_TESTS_FALSE}"; then
19228 as_fn_error $? "conditional \"RUN_GPGCONF_TESTS\" was never defined.
19229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19231 if test -z "${RUN_GPG_TESTS_TRUE}" && test -z "${RUN_GPG_TESTS_FALSE}"; then
19232 as_fn_error $? "conditional \"RUN_GPG_TESTS\" was never defined.
19233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19235 if test -z "${RUN_GPGSM_TESTS_TRUE}" && test -z "${RUN_GPGSM_TESTS_FALSE}"; then
19236 as_fn_error $? "conditional \"RUN_GPGSM_TESTS\" was never defined.
19237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19239 if test -z "${RUN_G13_TESTS_TRUE}" && test -z "${RUN_G13_TESTS_FALSE}"; then
19240 as_fn_error $? "conditional \"RUN_G13_TESTS\" was never defined.
19241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19243 if test -z "${USE_DESCRIPTOR_PASSING_TRUE}" && test -z "${USE_DESCRIPTOR_PASSING_FALSE}"; then
19244 as_fn_error $? "conditional \"USE_DESCRIPTOR_PASSING\" was never defined.
19245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19247 if test -z "${HAVE_UISERVER_TRUE}" && test -z "${HAVE_UISERVER_FALSE}"; then
19248 as_fn_error $? "conditional \"HAVE_UISERVER\" was never defined.
19249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19252 : "${CONFIG_STATUS=./config.status}"
19254 ac_clean_files_save=$ac_clean_files
19255 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19257 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19259 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19261 # Generated by $as_me.
19262 # Run this file to recreate the current configuration.
19263 # Compiler output produced by configure, useful for debugging
19264 # configure, is in config.log if it exists.
19267 ac_cs_recheck=false
19270 SHELL=\${CONFIG_SHELL-$SHELL}
19273 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19274 ## -------------------- ##
19275 ## M4sh Initialization. ##
19276 ## -------------------- ##
19278 # Be more Bourne compatible
19279 DUALCASE=1; export DUALCASE # for MKS sh
19280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19284 # is contrary to our usage. Disable this feature.
19285 alias -g '${1+"$@"}'='"$@"'
19286 setopt NO_GLOB_SUBST
19288 case `(set -o) 2>/dev/null` in #(
19300 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19301 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19302 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19304 # Prefer a ksh shell builtin over an external printf program on Solaris,
19305 # but without wasting forks for bash or zsh.
19306 if test -z "$BASH_VERSION$ZSH_VERSION" \
19307 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19308 as_echo='print -r --'
19309 as_echo_n='print -rn --'
19310 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19311 as_echo='printf %s\n'
19312 as_echo_n='printf %s'
19314 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19315 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19316 as_echo_n='/usr/ucb/echo -n'
19318 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19319 as_echo_n_body='eval
19323 expr "X$arg" : "X\\(.*\\)$as_nl";
19324 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19326 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19328 export as_echo_n_body
19329 as_echo_n='sh -c $as_echo_n_body as_echo'
19331 export as_echo_body
19332 as_echo='sh -c $as_echo_body as_echo'
19335 # The user is always right.
19336 if test "${PATH_SEPARATOR+set}" != set; then
19338 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19339 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19346 # We need space, tab and new line, in precisely that order. Quoting is
19347 # there to prevent editors from complaining about space-tab.
19348 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19349 # splitting by setting IFS to empty value.)
19352 # Find who we are. Look in the path if we contain no directory separator.
19355 *[\\/]* ) as_myself=$0 ;;
19356 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19357 for as_dir in $PATH
19360 test -z "$as_dir" && as_dir=.
19361 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19367 # We did not find ourselves, most probably we were run as `sh COMMAND'
19368 # in which case we are not to be found in the path.
19369 if test "x$as_myself" = x; then
19372 if test ! -f "$as_myself"; then
19373 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19377 # Unset variables that we do not need and which cause bugs (e.g. in
19378 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19379 # suppresses any "Segmentation fault" message there. '((' could
19380 # trigger a bug in pdksh 5.2.14.
19381 for as_var in BASH_ENV ENV MAIL MAILPATH
19382 do eval test x\${$as_var+set} = xset \
19383 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19396 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19399 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19400 # ----------------------------------------
19401 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19402 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19403 # script with STATUS, using 1 if that was 0.
19406 as_status=$1; test $as_status -eq 0 && as_status=1
19408 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19409 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19411 $as_echo "$as_me: error: $2" >&2
19412 as_fn_exit $as_status
19416 # as_fn_set_status STATUS
19417 # -----------------------
19418 # Set $? to STATUS, without forking.
19419 as_fn_set_status ()
19422 } # as_fn_set_status
19424 # as_fn_exit STATUS
19425 # -----------------
19426 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19430 as_fn_set_status $1
19436 # Portably unset VAR.
19439 { eval $1=; unset $1;}
19441 as_unset=as_fn_unset
19442 # as_fn_append VAR VALUE
19443 # ----------------------
19444 # Append the text in VALUE to the end of the definition contained in VAR. Take
19445 # advantage of any shell optimizations that allow amortized linear growth over
19446 # repeated appends, instead of the typical quadratic growth present in naive
19448 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19449 eval 'as_fn_append ()
19460 # as_fn_arith ARG...
19461 # ------------------
19462 # Perform arithmetic evaluation on the ARGs, and store the result in the
19463 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19464 # must be portable across $(()) and expr.
19465 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19466 eval 'as_fn_arith ()
19473 as_val=`expr "$@" || test $? -eq 1`
19478 if expr a : '\(a\)' >/dev/null 2>&1 &&
19479 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19485 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19486 as_basename=basename
19491 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19497 as_me=`$as_basename -- "$0" ||
19498 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19499 X"$0" : 'X\(//\)$' \| \
19500 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19502 sed '/^.*\/\([^/][^/]*\)\/*$/{
19516 # Avoid depending upon Character Ranges.
19517 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19518 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19519 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19520 as_cr_digits='0123456789'
19521 as_cr_alnum=$as_cr_Letters$as_cr_digits
19523 ECHO_C= ECHO_N= ECHO_T=
19524 case `echo -n x` in #(((((
19526 case `echo 'xy\c'` in
19527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19536 rm -f conf$$ conf$$.exe conf$$.file
19537 if test -d conf$$.dir; then
19538 rm -f conf$$.dir/conf$$.file
19541 mkdir conf$$.dir 2>/dev/null
19543 if (echo >conf$$.file) 2>/dev/null; then
19544 if ln -s conf$$.file conf$$ 2>/dev/null; then
19546 # ... but there are two gotchas:
19547 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19548 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19549 # In both cases, we have to default to `cp -pR'.
19550 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19552 elif ln conf$$.file conf$$ 2>/dev/null; then
19560 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19561 rmdir conf$$.dir 2>/dev/null
19566 # Create "$as_dir" as a directory, including parents if necessary.
19571 -*) as_dir=./$as_dir;;
19573 test -d "$as_dir" || eval $as_mkdir_p || {
19577 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19578 *) as_qdir=$as_dir;;
19580 as_dirs="'$as_qdir' $as_dirs"
19581 as_dir=`$as_dirname -- "$as_dir" ||
19582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19583 X"$as_dir" : 'X\(//\)[^/]' \| \
19584 X"$as_dir" : 'X\(//\)$' \| \
19585 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19586 $as_echo X"$as_dir" |
19587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19591 /^X\(\/\/\)[^/].*/{
19604 test -d "$as_dir" && break
19606 test -z "$as_dirs" || eval "mkdir $as_dirs"
19607 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19611 if mkdir -p . 2>/dev/null; then
19612 as_mkdir_p='mkdir -p "$as_dir"'
19614 test -d ./-p && rmdir ./-p
19619 # as_fn_executable_p FILE
19620 # -----------------------
19621 # Test if FILE is an executable regular file.
19622 as_fn_executable_p ()
19624 test -f "$1" && test -x "$1"
19625 } # as_fn_executable_p
19626 as_test_x='test -x'
19627 as_executable_p=as_fn_executable_p
19629 # Sed expression to map a string onto a valid CPP name.
19630 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19632 # Sed expression to map a string onto a valid variable name.
19633 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19637 ## ----------------------------------- ##
19638 ## Main body of $CONFIG_STATUS script. ##
19639 ## ----------------------------------- ##
19641 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19644 # Save the log message, to keep $0 and so on meaningful, and to
19645 # report actual input values of CONFIG_FILES etc. instead of their
19646 # values after options handling.
19648 This file was extended by gpgme $as_me 1.5.1, which was
19649 generated by GNU Autoconf 2.69. Invocation command line was
19651 CONFIG_FILES = $CONFIG_FILES
19652 CONFIG_HEADERS = $CONFIG_HEADERS
19653 CONFIG_LINKS = $CONFIG_LINKS
19654 CONFIG_COMMANDS = $CONFIG_COMMANDS
19657 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19662 case $ac_config_files in *"
19663 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19666 case $ac_config_headers in *"
19667 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19672 # Files that config.status was made for.
19673 config_files="$ac_config_files"
19674 config_headers="$ac_config_headers"
19675 config_commands="$ac_config_commands"
19679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19681 \`$as_me' instantiates files and other configuration actions
19682 from templates according to the current configuration. Unless the files
19683 and actions are specified as TAGs, all are instantiated by default.
19685 Usage: $0 [OPTION]... [TAG]...
19687 -h, --help print this help, then exit
19688 -V, --version print version number and configuration settings, then exit
19689 --config print configuration, then exit
19690 -q, --quiet, --silent
19691 do not print progress messages
19692 -d, --debug don't remove temporary files
19693 --recheck update $as_me by reconfiguring in the same conditions
19694 --file=FILE[:TEMPLATE]
19695 instantiate the configuration file FILE
19696 --header=FILE[:TEMPLATE]
19697 instantiate the configuration header FILE
19699 Configuration files:
19702 Configuration headers:
19705 Configuration commands:
19708 Report bugs to <http://bugs.gnupg.org>."
19711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19712 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19714 gpgme config.status 1.5.1
19715 configured by $0, generated by GNU Autoconf 2.69,
19716 with options \\"\$ac_cs_config\\"
19718 Copyright (C) 2012 Free Software Foundation, Inc.
19719 This config.status script is free software; the Free Software Foundation
19720 gives unlimited permission to copy, distribute and modify it."
19727 test -n "\$AWK" || AWK=awk
19730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19731 # The default lists apply if the user does not specify any file.
19737 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19738 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19742 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19754 # Handling of the options.
19755 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19757 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19758 $as_echo "$ac_cs_version"; exit ;;
19759 --config | --confi | --conf | --con | --co | --c )
19760 $as_echo "$ac_cs_config"; exit ;;
19761 --debug | --debu | --deb | --de | --d | -d )
19763 --file | --fil | --fi | --f )
19766 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19767 '') as_fn_error $? "missing file argument" ;;
19769 as_fn_append CONFIG_FILES " '$ac_optarg'"
19770 ac_need_defaults=false;;
19771 --header | --heade | --head | --hea )
19774 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19776 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19777 ac_need_defaults=false;;
19779 # Conflict between --help and --header
19780 as_fn_error $? "ambiguous option: \`$1'
19781 Try \`$0 --help' for more information.";;
19782 --help | --hel | -h )
19783 $as_echo "$ac_cs_usage"; exit ;;
19784 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19785 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19788 # This is an error.
19789 -*) as_fn_error $? "unrecognized option: \`$1'
19790 Try \`$0 --help' for more information." ;;
19792 *) as_fn_append ac_config_targets " $1"
19793 ac_need_defaults=false ;;
19799 ac_configure_extra_args=
19801 if $ac_cs_silent; then
19803 ac_configure_extra_args="$ac_configure_extra_args --silent"
19807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19808 if \$ac_cs_recheck; then
19809 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19811 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19812 CONFIG_SHELL='$SHELL'
19813 export CONFIG_SHELL
19818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19822 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19823 ## Running $as_me. ##
19829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19833 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19836 # The HP-UX ksh and POSIX shell print the target directory to stdout
19837 # if CDPATH is set.
19838 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19840 sed_quote_subst='$sed_quote_subst'
19841 double_quote_subst='$double_quote_subst'
19842 delay_variable_subst='$delay_variable_subst'
19843 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19844 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19845 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
19846 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19847 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19848 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19849 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19850 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19851 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19852 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19853 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19854 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19855 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19856 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19857 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19858 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19859 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19860 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19861 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19862 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19863 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19864 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19865 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19866 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19867 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19868 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19869 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19870 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19871 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19872 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19873 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19874 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19875 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19876 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19877 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19878 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19879 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19880 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19881 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19882 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19883 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19884 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19885 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19886 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19887 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19888 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19889 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19890 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19891 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19892 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19893 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19894 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19895 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19896 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19897 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19898 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19899 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19900 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"`'
19901 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19902 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19903 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19904 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19905 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19906 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19907 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19908 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19909 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19910 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19911 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19912 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19913 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19914 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19915 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19916 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19917 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19918 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19919 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19920 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19921 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19922 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19923 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19924 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19925 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19926 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19927 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19928 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19929 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19930 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19931 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19932 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19933 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19934 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19935 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19936 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19937 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19938 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19939 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19940 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19941 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19942 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19943 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19944 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19945 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19946 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19947 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19948 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19949 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19950 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19951 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19952 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19953 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19954 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19955 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19956 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19957 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19958 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19959 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19960 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19961 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19962 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19963 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19964 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19965 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19966 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19967 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19968 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19969 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19970 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19971 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19972 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19973 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19974 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19975 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19976 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19977 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19978 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19979 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19980 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19981 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
19982 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19983 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
19984 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19985 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
19986 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19987 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
19988 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19989 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
19990 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19991 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
19992 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19993 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
19994 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19995 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
19996 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19997 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
19998 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19999 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
20000 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20001 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
20002 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20003 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
20004 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20005 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
20006 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20007 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
20008 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20009 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
20010 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20011 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
20012 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20013 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
20014 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20015 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
20016 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20017 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
20018 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20019 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
20020 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20021 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
20022 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20023 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
20024 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20025 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
20026 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20027 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
20028 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20029 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
20030 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20031 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
20032 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20033 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
20034 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20035 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
20036 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20037 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
20038 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20039 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
20040 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20041 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
20042 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20043 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
20044 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20045 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
20046 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20047 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
20048 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20049 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
20050 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20051 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
20052 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20053 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
20054 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20055 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
20056 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20057 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
20058 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20059 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
20060 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20061 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
20062 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20063 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
20064 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20065 compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`'
20066 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20067 predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`'
20068 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20069 postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`'
20070 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20071 predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`'
20072 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20073 postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`'
20074 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20075 compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`'
20078 LTCFLAGS='$LTCFLAGS'
20079 compiler='$compiler_DEFAULT'
20081 # A function that is used when there is no print builtin or printf.
20082 func_fallback_echo ()
20084 eval 'cat <<_LTECHO_EOF
20089 # Quote evaled strings.
20106 deplibs_check_method \
20110 sharedlib_from_linklib_cmd \
20113 archiver_list_spec \
20119 lt_cv_sys_global_symbol_pipe \
20120 lt_cv_sys_global_symbol_to_cdecl \
20121 lt_cv_sys_global_symbol_to_c_name_address \
20122 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20123 nm_file_list_spec \
20124 lt_prog_compiler_no_builtin_flag \
20125 lt_prog_compiler_pic \
20126 lt_prog_compiler_wl \
20127 lt_prog_compiler_static \
20128 lt_cv_prog_compiler_c_o \
20137 export_dynamic_flag_spec \
20138 whole_archive_flag_spec \
20139 compiler_needs_object \
20141 allow_undefined_flag \
20142 no_undefined_flag \
20143 hardcode_libdir_flag_spec \
20144 hardcode_libdir_separator \
20148 variables_saved_for_relink \
20150 library_names_spec \
20152 install_override_mode \
20156 compiler_lib_search_dirs \
20161 compiler_lib_search_path \
20168 lt_prog_compiler_no_builtin_flag_CXX \
20169 lt_prog_compiler_no_builtin_flag_RC \
20170 lt_prog_compiler_pic_CXX \
20171 lt_prog_compiler_pic_RC \
20172 lt_prog_compiler_wl_CXX \
20173 lt_prog_compiler_wl_RC \
20174 lt_prog_compiler_static_CXX \
20175 lt_prog_compiler_static_RC \
20176 lt_cv_prog_compiler_c_o_CXX \
20177 lt_cv_prog_compiler_c_o_RC \
20178 export_dynamic_flag_spec_CXX \
20179 export_dynamic_flag_spec_RC \
20180 whole_archive_flag_spec_CXX \
20181 whole_archive_flag_spec_RC \
20182 compiler_needs_object_CXX \
20183 compiler_needs_object_RC \
20186 allow_undefined_flag_CXX \
20187 allow_undefined_flag_RC \
20188 no_undefined_flag_CXX \
20189 no_undefined_flag_RC \
20190 hardcode_libdir_flag_spec_CXX \
20191 hardcode_libdir_flag_spec_RC \
20192 hardcode_libdir_separator_CXX \
20193 hardcode_libdir_separator_RC \
20194 exclude_expsyms_CXX \
20195 exclude_expsyms_RC \
20196 include_expsyms_CXX \
20197 include_expsyms_RC \
20198 file_list_spec_CXX \
20199 file_list_spec_RC \
20200 compiler_lib_search_dirs_CXX \
20201 compiler_lib_search_dirs_RC \
20202 predep_objects_CXX \
20203 predep_objects_RC \
20204 postdep_objects_CXX \
20205 postdep_objects_RC \
20210 compiler_lib_search_path_CXX \
20211 compiler_lib_search_path_RC; do
20212 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20213 *[\\\\\\\`\\"\\\$]*)
20214 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20217 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20222 # Double-quote double-evaled strings.
20223 for var in reload_cmds \
20224 old_postinstall_cmds \
20225 old_postuninstall_cmds \
20227 extract_expsyms_cmds \
20228 old_archive_from_new_cmds \
20229 old_archive_from_expsyms_cmds \
20231 archive_expsym_cmds \
20233 module_expsym_cmds \
20234 export_symbols_cmds \
20238 postuninstall_cmds \
20240 sys_lib_search_path_spec \
20241 sys_lib_dlsearch_path_spec \
20244 old_archive_cmds_CXX \
20245 old_archive_cmds_RC \
20246 old_archive_from_new_cmds_CXX \
20247 old_archive_from_new_cmds_RC \
20248 old_archive_from_expsyms_cmds_CXX \
20249 old_archive_from_expsyms_cmds_RC \
20252 archive_expsym_cmds_CXX \
20253 archive_expsym_cmds_RC \
20256 module_expsym_cmds_CXX \
20257 module_expsym_cmds_RC \
20258 export_symbols_cmds_CXX \
20259 export_symbols_cmds_RC \
20262 postlink_cmds_CXX \
20263 postlink_cmds_RC; do
20264 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20265 *[\\\\\\\`\\"\\\$]*)
20266 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20269 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20274 ac_aux_dir='$ac_aux_dir'
20275 xsi_shell='$xsi_shell'
20276 lt_shell_append='$lt_shell_append'
20278 # See if we are running on zsh, and set the options which allow our
20279 # commands through without removal of \ escapes INIT.
20280 if test -n "\${ZSH_VERSION+set}" ; then
20281 setopt NO_GLOB_SUBST
20287 TIMESTAMP='$TIMESTAMP'
20300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20302 # Handling of arguments.
20303 for ac_config_target in $ac_config_targets
20305 case $ac_config_target in
20306 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20307 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20308 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20309 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20310 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20311 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20312 "tests/gpg/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gpg/Makefile" ;;
20313 "tests/gpgsm/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gpgsm/Makefile" ;;
20314 "tests/opassuan/Makefile") CONFIG_FILES="$CONFIG_FILES tests/opassuan/Makefile" ;;
20315 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20316 "src/versioninfo.rc") CONFIG_FILES="$CONFIG_FILES src/versioninfo.rc" ;;
20317 "src/gpgme.h") CONFIG_FILES="$CONFIG_FILES src/gpgme.h" ;;
20318 "src/gpgme-config") CONFIG_FILES="$CONFIG_FILES src/gpgme-config" ;;
20319 "lang/Makefile") CONFIG_FILES="$CONFIG_FILES lang/Makefile" ;;
20320 "lang/cl/Makefile") CONFIG_FILES="$CONFIG_FILES lang/cl/Makefile" ;;
20321 "lang/cl/gpgme.asd") CONFIG_FILES="$CONFIG_FILES lang/cl/gpgme.asd" ;;
20323 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20328 # If the user did not use the arguments to specify the items to instantiate,
20329 # then the envvar interface is used. Set only those that are not.
20330 # We use the long form for the default assignment because of an extremely
20331 # bizarre bug on SunOS 4.1.3.
20332 if $ac_need_defaults; then
20333 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20334 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20335 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20338 # Have a temporary directory for convenience. Make it in the build tree
20339 # simply because there is no reason against having it here, and in addition,
20340 # creating and moving files from /tmp can sometimes cause problems.
20341 # Hook for its removal unless debugging.
20342 # Note that there is a small window in which the directory will not be cleaned:
20343 # after its creation but before its name has been assigned to `$tmp'.
20347 trap 'exit_status=$?
20348 : "${ac_tmp:=$tmp}"
20349 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20351 trap 'as_fn_exit 1' 1 2 13 15
20353 # Create a (secure) tmp directory for tmp files.
20356 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20360 tmp=./conf$$-$RANDOM
20361 (umask 077 && mkdir "$tmp")
20362 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20365 # Set up the scripts for CONFIG_FILES section.
20366 # No need to generate them if there are no CONFIG_FILES.
20367 # This happens for instance with `./config.status config.h'.
20368 if test -n "$CONFIG_FILES"; then
20371 ac_cr=`echo X | tr X '\015'`
20372 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20373 # But we know of no other shell where ac_cr would be empty at this
20374 # point, so we can use a bashism as a fallback.
20375 if test "x$ac_cr" = x; then
20376 eval ac_cr=\$\'\\r\'
20378 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20379 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20382 ac_cs_awk_cr=$ac_cr
20385 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20390 echo "cat >conf$$subs.awk <<_ACEOF" &&
20391 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20393 } >conf$$subs.sh ||
20394 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20395 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20397 for ac_last_try in false false false false false :; do
20398 . ./conf$$subs.sh ||
20399 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20401 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20402 if test $ac_delim_n = $ac_delim_num; then
20404 elif $ac_last_try; then
20405 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20407 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20410 rm -f conf$$subs.sh
20412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20413 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20417 s/^/S["/; s/!.*/"]=/
20427 s/\(.\{148\}\)..*/\1/
20429 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20434 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20441 s/\(.\{148\}\)..*/\1/
20443 s/["\\]/\\&/g; s/^/"/; s/$/"/
20447 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20452 ' <conf$$subs.awk | sed '
20457 ' >>$CONFIG_STATUS || ac_write_fail=1
20458 rm -f conf$$subs.awk
20459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20461 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20462 for (key in S) S_is_set[key] = 1
20468 nfields = split(line, field, "@")
20470 len = length(field[1])
20471 for (i = 2; i < nfields; i++) {
20473 keylen = length(key)
20474 if (S_is_set[key]) {
20476 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20477 len += length(value) + length(field[++i])
20488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20489 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20490 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20493 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20494 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20497 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20498 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20499 # trailing colons and then remove the whole line if VPATH becomes empty
20500 # (actually we leave an empty line to preserve line numbers).
20501 if test "x$srcdir" = x.; then
20502 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20521 fi # test -n "$CONFIG_FILES"
20523 # Set up the scripts for CONFIG_HEADERS section.
20524 # No need to generate them if there are no CONFIG_HEADERS.
20525 # This happens for instance with `./config.status Makefile'.
20526 if test -n "$CONFIG_HEADERS"; then
20527 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20531 # Transform confdefs.h into an awk script `defines.awk', embedded as
20532 # here-document in config.status, that substitutes the proper values into
20533 # config.h.in to produce config.h.
20535 # Create a delimiter string that does not exist in confdefs.h, to ease
20536 # handling of long lines.
20538 for ac_last_try in false false :; do
20539 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20540 if test -z "$ac_tt"; then
20542 elif $ac_last_try; then
20543 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20545 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20549 # For the awk script, D is an array of macro values keyed by name,
20550 # likewise P contains macro parameters if any. Preserve backslash
20551 # newline sequences.
20553 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20555 s/.\{148\}/&'"$ac_delim"'/g
20558 s/^[ ]*#[ ]*define[ ][ ]*/ /
20565 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20567 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20571 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20572 D["\1"]=" \3\\\\\\n"\\/p
20574 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20579 s/.\{148\}/&'"$ac_delim"'/g
20584 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20587 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20589 ' <confdefs.h | sed '
20590 s/'"$ac_delim"'/"\\\
20591 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20594 for (key in D) D_is_set[key] = 1
20597 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20599 split(line, arg, " ")
20600 if (arg[1] == "#") {
20604 defundef = substr(arg[1], 2)
20607 split(mac1, mac2, "(") #)
20609 prefix = substr(line, 1, index(line, defundef) - 1)
20610 if (D_is_set[macro]) {
20611 # Preserve the white space surrounding the "#".
20612 print prefix "define", macro P[macro] D[macro]
20615 # Replace #undef with comments. This is necessary, for example,
20616 # in the case of _POSIX_SOURCE, which is predefined and required
20617 # on some systems where configure will not decide to define it.
20618 if (defundef == "undef") {
20619 print "/*", prefix defundef, macro, "*/"
20627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20628 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20629 fi # test -n "$CONFIG_HEADERS"
20632 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20637 :[FHLC]) ac_mode=$ac_tag; continue;;
20639 case $ac_mode$ac_tag in
20641 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20642 :[FH]-) ac_tag=-:-;;
20643 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20660 -) ac_f="$ac_tmp/stdin";;
20661 *) # Look for the file first in the build tree, then in the source tree
20662 # (if the path is not absolute). The absolute path cannot be DOS-style,
20663 # because $ac_f cannot contain `:'.
20667 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20669 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20671 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20672 as_fn_append ac_file_inputs " '$ac_f'"
20675 # Let's still pretend it is `configure' which instantiates (i.e., don't
20676 # use $as_me), people would be surprised to read:
20677 # /* config.h. Generated by config.status. */
20678 configure_input='Generated from '`
20679 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20681 if test x"$ac_file" != x-; then
20682 configure_input="$ac_file. $configure_input"
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20684 $as_echo "$as_me: creating $ac_file" >&6;}
20686 # Neutralize special characters interpreted by sed in replacement strings.
20687 case $configure_input in #(
20688 *\&* | *\|* | *\\* )
20689 ac_sed_conf_input=`$as_echo "$configure_input" |
20690 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20691 *) ac_sed_conf_input=$configure_input;;
20695 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20701 ac_dir=`$as_dirname -- "$ac_file" ||
20702 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20703 X"$ac_file" : 'X\(//\)[^/]' \| \
20704 X"$ac_file" : 'X\(//\)$' \| \
20705 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20706 $as_echo X"$ac_file" |
20707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20711 /^X\(\/\/\)[^/].*/{
20724 as_dir="$ac_dir"; as_fn_mkdir_p
20728 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20730 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20731 # A ".." for each directory in $ac_dir_suffix.
20732 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20733 case $ac_top_builddir_sub in
20734 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20735 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20738 ac_abs_top_builddir=$ac_pwd
20739 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20740 # for backward compatibility:
20741 ac_top_builddir=$ac_top_build_prefix
20744 .) # We are building in place.
20746 ac_top_srcdir=$ac_top_builddir_sub
20747 ac_abs_top_srcdir=$ac_pwd ;;
20748 [\\/]* | ?:[\\/]* ) # Absolute name.
20749 ac_srcdir=$srcdir$ac_dir_suffix;
20750 ac_top_srcdir=$srcdir
20751 ac_abs_top_srcdir=$srcdir ;;
20752 *) # Relative name.
20753 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20754 ac_top_srcdir=$ac_top_build_prefix$srcdir
20755 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20757 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20767 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20768 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20770 ac_MKDIR_P=$MKDIR_P
20772 [\\/$]* | ?:[\\/]* ) ;;
20773 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20778 # If the template does not know about datarootdir, expand it.
20779 # FIXME: This hack should be removed a few years after 2.60.
20780 ac_datarootdir_hack=; ac_datarootdir_seen=
20791 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20792 *datarootdir*) ac_datarootdir_seen=yes;;
20793 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20795 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20798 ac_datarootdir_hack='
20799 s&@datadir@&$datadir&g
20800 s&@docdir@&$docdir&g
20801 s&@infodir@&$infodir&g
20802 s&@localedir@&$localedir&g
20803 s&@mandir@&$mandir&g
20804 s&\\\${datarootdir}&$datarootdir&g' ;;
20808 # Neutralize VPATH when `$srcdir' = `.'.
20809 # Shell code in configure.ac might set extrasub.
20810 # FIXME: do we really want to maintain this feature?
20811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20812 ac_sed_extra="$ac_vpsub
20815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20817 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20818 s|@configure_input@|$ac_sed_conf_input|;t t
20819 s&@top_builddir@&$ac_top_builddir_sub&;t t
20820 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20821 s&@srcdir@&$ac_srcdir&;t t
20822 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20823 s&@top_srcdir@&$ac_top_srcdir&;t t
20824 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20825 s&@builddir@&$ac_builddir&;t t
20826 s&@abs_builddir@&$ac_abs_builddir&;t t
20827 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20828 s&@INSTALL@&$ac_INSTALL&;t t
20829 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20830 $ac_datarootdir_hack
20832 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20833 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20835 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20836 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20837 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20838 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20840 which seems to be undefined. Please make sure it is defined" >&5
20841 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20842 which seems to be undefined. Please make sure it is defined" >&2;}
20844 rm -f "$ac_tmp/stdin"
20846 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20847 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20855 if test x"$ac_file" != x-; then
20857 $as_echo "/* $configure_input */" \
20858 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20859 } >"$ac_tmp/config.h" \
20860 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20861 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20862 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20863 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20866 mv "$ac_tmp/config.h" "$ac_file" \
20867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20870 $as_echo "/* $configure_input */" \
20871 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20872 || as_fn_error $? "could not create -" "$LINENO" 5
20874 # Compute "$ac_file"'s index in $config_headers.
20877 for _am_header in $config_headers :; do
20878 case $_am_header in
20879 $_am_arg | $_am_arg:* )
20882 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20885 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20886 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20887 X"$_am_arg" : 'X\(//\)[^/]' \| \
20888 X"$_am_arg" : 'X\(//\)$' \| \
20889 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20890 $as_echo X"$_am_arg" |
20891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20895 /^X\(\/\/\)[^/].*/{
20907 s/.*/./; q'`/stamp-h$_am_stamp_count
20910 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20911 $as_echo "$as_me: executing $ac_file commands" >&6;}
20916 case $ac_file$ac_mode in
20917 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20918 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20919 # are listed without --file. Let's play safe and only enable the eval
20920 # if we detect the quoting.
20921 case $CONFIG_FILES in
20922 *\'*) eval set x "$CONFIG_FILES" ;;
20923 *) set x $CONFIG_FILES ;;
20928 # Strip MF so we end up with the name of the file.
20929 mf=`echo "$mf" | sed -e 's/:.*$//'`
20930 # Check whether this is an Automake generated Makefile or not.
20931 # We used to match only the files named `Makefile.in', but
20932 # some people rename them; so instead we look at the file content.
20933 # Grep'ing the first line is not enough: some people post-process
20934 # each Makefile.in and add a new line on top of each file to say so.
20935 # Grep'ing the whole file is not good either: AIX grep has a line
20936 # limit of 2048, but all sed's we know have understand at least 4000.
20937 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20938 dirpart=`$as_dirname -- "$mf" ||
20939 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20940 X"$mf" : 'X\(//\)[^/]' \| \
20941 X"$mf" : 'X\(//\)$' \| \
20942 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20948 /^X\(\/\/\)[^/].*/{
20964 # Extract the definition of DEPDIR, am__include, and am__quote
20965 # from the Makefile without running `make'.
20966 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20967 test -z "$DEPDIR" && continue
20968 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20969 test -z "am__include" && continue
20970 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20971 # When using ansi2knr, U may be empty or an underscore; expand it
20972 U=`sed -n 's/^U = //p' < "$mf"`
20973 # Find all dependency output files, they are included files with
20974 # $(DEPDIR) in their names. We invoke sed twice because it is the
20975 # simplest approach to changing $(DEPDIR) to its actual value in the
20977 for file in `sed -n "
20978 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20979 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20980 # Make sure the directory exists.
20981 test -f "$dirpart/$file" && continue
20982 fdir=`$as_dirname -- "$file" ||
20983 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20984 X"$file" : 'X\(//\)[^/]' \| \
20985 X"$file" : 'X\(//\)$' \| \
20986 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20987 $as_echo X"$file" |
20988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20992 /^X\(\/\/\)[^/].*/{
21005 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21006 # echo "creating $dirpart/$file"
21007 echo '# dummy' > "$dirpart/$file"
21014 # See if we are running on zsh, and set the options which allow our
21015 # commands through without removal of \ escapes.
21016 if test -n "${ZSH_VERSION+set}" ; then
21017 setopt NO_GLOB_SUBST
21020 cfgfile="${ofile}T"
21021 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21024 cat <<_LT_EOF >> "$cfgfile"
21027 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21028 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21029 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21030 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21032 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21033 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21035 # Written by Gordon Matzigkeit, 1996
21037 # This file is part of GNU Libtool.
21039 # GNU Libtool is free software; you can redistribute it and/or
21040 # modify it under the terms of the GNU General Public License as
21041 # published by the Free Software Foundation; either version 2 of
21042 # the License, or (at your option) any later version.
21044 # As a special exception to the GNU General Public License,
21045 # if you distribute this file as part of a program or library that
21046 # is built using GNU Libtool, you may include this file under the
21047 # same distribution terms that you use for the rest of that program.
21049 # GNU Libtool is distributed in the hope that it will be useful,
21050 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21051 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21052 # GNU General Public License for more details.
21054 # You should have received a copy of the GNU General Public License
21055 # along with GNU Libtool; see the file COPYING. If not, a copy
21056 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21057 # obtained by writing to the Free Software Foundation, Inc.,
21058 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21061 # The names of the tagged configurations supported by this script.
21062 available_tags="CXX RC "
21064 # ### BEGIN LIBTOOL CONFIG
21066 # Which release of libtool.m4 was used?
21067 macro_version=$macro_version
21068 macro_revision=$macro_revision
21070 # Assembler program.
21073 # DLL creation program.
21074 DLLTOOL=$lt_DLLTOOL
21076 # Object dumper program.
21077 OBJDUMP=$lt_OBJDUMP
21079 # Whether or not to build static libraries.
21080 build_old_libs=$enable_static
21082 # Whether or not to build shared libraries.
21083 build_libtool_libs=$enable_shared
21085 # What type of objects to build.
21088 # Whether or not to optimize for fast installation.
21089 fast_install=$enable_fast_install
21091 # Shell to use when invoking shell scripts.
21094 # An echo program that protects backslashes.
21097 # The PATH separator for the build system.
21098 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21101 host_alias=$host_alias
21105 # The build system.
21106 build_alias=$build_alias
21110 # A sed program that does not truncate output.
21113 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21114 Xsed="\$SED -e 1s/^X//"
21116 # A grep program that handles long lines.
21122 # A literal string matcher.
21125 # A BSD- or MS-compatible name lister.
21128 # Whether we need soft or hard links.
21131 # What is the maximum length of a command?
21132 max_cmd_len=$max_cmd_len
21134 # Object file suffix (normally "o").
21137 # Executable file suffix (normally "").
21140 # whether the shell understands "unset".
21143 # turn spaces into newlines.
21146 # turn newlines into spaces.
21149 # convert \$build file names to \$host format.
21150 to_host_file_cmd=$lt_cv_to_host_file_cmd
21152 # convert \$build files to toolchain format.
21153 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21155 # Method to check whether dependent libraries are shared objects.
21156 deplibs_check_method=$lt_deplibs_check_method
21158 # Command to use when deplibs_check_method = "file_magic".
21159 file_magic_cmd=$lt_file_magic_cmd
21161 # How to find potential files when deplibs_check_method = "file_magic".
21162 file_magic_glob=$lt_file_magic_glob
21164 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21165 want_nocaseglob=$lt_want_nocaseglob
21167 # Command to associate shared and link libraries.
21168 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21173 # Flags to create an archive.
21174 AR_FLAGS=$lt_AR_FLAGS
21176 # How to feed a file listing to the archiver.
21177 archiver_list_spec=$lt_archiver_list_spec
21179 # A symbol stripping program.
21182 # Commands used to install an old-style archive.
21184 old_postinstall_cmds=$lt_old_postinstall_cmds
21185 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21187 # Whether to use a lock for old archive extraction.
21188 lock_old_archive_extraction=$lock_old_archive_extraction
21193 # LTCC compiler flags.
21194 LTCFLAGS=$lt_CFLAGS
21196 # Take the output of nm and produce a listing of raw symbols and C names.
21197 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21199 # Transform the output of nm in a proper C declaration.
21200 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21202 # Transform the output of nm in a C name address pair.
21203 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21205 # Transform the output of nm in a C name address pair when lib prefix is needed.
21206 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21208 # Specify filename containing input files for \$NM.
21209 nm_file_list_spec=$lt_nm_file_list_spec
21211 # The root where to search for dependent libraries,and in which our libraries should be installed.
21212 lt_sysroot=$lt_sysroot
21214 # The name of the directory that contains temporary libtool files.
21217 # Used to examine libraries when file_magic_cmd begins with "file".
21218 MAGIC_CMD=$MAGIC_CMD
21220 # Must we lock files when doing compilation?
21221 need_locks=$lt_need_locks
21224 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21226 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21227 DSYMUTIL=$lt_DSYMUTIL
21229 # Tool to change global to local symbols on Mac OS X.
21232 # Tool to manipulate fat objects and archives on Mac OS X.
21235 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21238 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21239 OTOOL64=$lt_OTOOL64
21241 # Old archive suffix (normally "a").
21244 # Shared library suffix (normally ".so").
21245 shrext_cmds=$lt_shrext_cmds
21247 # The commands to extract the exported symbol list from a shared archive.
21248 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21250 # Variables whose values should be saved in libtool wrapper scripts and
21251 # restored at link time.
21252 variables_saved_for_relink=$lt_variables_saved_for_relink
21254 # Do we need the "lib" prefix for modules?
21255 need_lib_prefix=$need_lib_prefix
21257 # Do we need a version for libraries?
21258 need_version=$need_version
21260 # Library versioning type.
21261 version_type=$version_type
21263 # Shared library runtime path variable.
21264 runpath_var=$runpath_var
21266 # Shared library path variable.
21267 shlibpath_var=$shlibpath_var
21269 # Is shlibpath searched before the hard-coded library search path?
21270 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21272 # Format of library name prefix.
21273 libname_spec=$lt_libname_spec
21275 # List of archive names. First name is the real one, the rest are links.
21276 # The last name is the one that the linker finds with -lNAME
21277 library_names_spec=$lt_library_names_spec
21279 # The coded name of the library, if different from the real name.
21280 soname_spec=$lt_soname_spec
21282 # Permission mode override for installation of shared libraries.
21283 install_override_mode=$lt_install_override_mode
21285 # Command to use after installation of a shared archive.
21286 postinstall_cmds=$lt_postinstall_cmds
21288 # Command to use after uninstallation of a shared archive.
21289 postuninstall_cmds=$lt_postuninstall_cmds
21291 # Commands used to finish a libtool library installation in a directory.
21292 finish_cmds=$lt_finish_cmds
21294 # As "finish_cmds", except a single script fragment to be evaled but
21296 finish_eval=$lt_finish_eval
21298 # Whether we should hardcode library paths into libraries.
21299 hardcode_into_libs=$hardcode_into_libs
21301 # Compile-time system search path for libraries.
21302 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21304 # Run-time system search path for libraries.
21305 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21307 # Whether dlopen is supported.
21308 dlopen_support=$enable_dlopen
21310 # Whether dlopen of programs is supported.
21311 dlopen_self=$enable_dlopen_self
21313 # Whether dlopen of statically linked programs is supported.
21314 dlopen_self_static=$enable_dlopen_self_static
21316 # Commands to strip libraries.
21317 old_striplib=$lt_old_striplib
21318 striplib=$lt_striplib
21321 # The linker used to build libraries.
21324 # How to create reloadable object files.
21325 reload_flag=$lt_reload_flag
21326 reload_cmds=$lt_reload_cmds
21328 # Commands used to build an old-style archive.
21329 old_archive_cmds=$lt_old_archive_cmds
21331 # A language specific compiler.
21334 # Is the compiler the GNU compiler?
21337 # Compiler flag to turn off builtin functions.
21338 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21340 # Additional compiler flags for building library objects.
21341 pic_flag=$lt_lt_prog_compiler_pic
21343 # How to pass a linker flag through the compiler.
21344 wl=$lt_lt_prog_compiler_wl
21346 # Compiler flag to prevent dynamic linking.
21347 link_static_flag=$lt_lt_prog_compiler_static
21349 # Does compiler simultaneously support -c and -o options?
21350 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21352 # Whether or not to add -lc for building shared libraries.
21353 build_libtool_need_lc=$archive_cmds_need_lc
21355 # Whether or not to disallow shared libs when runtime libs are static.
21356 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21358 # Compiler flag to allow reflexive dlopens.
21359 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21361 # Compiler flag to generate shared objects directly from archives.
21362 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21364 # Whether the compiler copes with passing no objects directly.
21365 compiler_needs_object=$lt_compiler_needs_object
21367 # Create an old-style archive from a shared archive.
21368 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21370 # Create a temporary old-style archive to link instead of a shared archive.
21371 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21373 # Commands used to build a shared archive.
21374 archive_cmds=$lt_archive_cmds
21375 archive_expsym_cmds=$lt_archive_expsym_cmds
21377 # Commands used to build a loadable module if different from building
21378 # a shared archive.
21379 module_cmds=$lt_module_cmds
21380 module_expsym_cmds=$lt_module_expsym_cmds
21382 # Whether we are building with GNU ld or not.
21383 with_gnu_ld=$lt_with_gnu_ld
21385 # Flag that allows shared libraries with undefined symbols to be built.
21386 allow_undefined_flag=$lt_allow_undefined_flag
21388 # Flag that enforces no undefined symbols.
21389 no_undefined_flag=$lt_no_undefined_flag
21391 # Flag to hardcode \$libdir into a binary during linking.
21392 # This must work even if \$libdir does not exist
21393 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21395 # Whether we need a single "-rpath" flag with a separated argument.
21396 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21398 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21399 # DIR into the resulting binary.
21400 hardcode_direct=$hardcode_direct
21402 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21403 # DIR into the resulting binary and the resulting library dependency is
21404 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21405 # library is relocated.
21406 hardcode_direct_absolute=$hardcode_direct_absolute
21408 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21409 # into the resulting binary.
21410 hardcode_minus_L=$hardcode_minus_L
21412 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21413 # into the resulting binary.
21414 hardcode_shlibpath_var=$hardcode_shlibpath_var
21416 # Set to "yes" if building a shared library automatically hardcodes DIR
21417 # into the library and all subsequent libraries and executables linked
21419 hardcode_automatic=$hardcode_automatic
21421 # Set to yes if linker adds runtime paths of dependent libraries
21422 # to runtime path list.
21423 inherit_rpath=$inherit_rpath
21425 # Whether libtool must link a program against all its dependency libraries.
21426 link_all_deplibs=$link_all_deplibs
21428 # Set to "yes" if exported symbols are required.
21429 always_export_symbols=$always_export_symbols
21431 # The commands to list exported symbols.
21432 export_symbols_cmds=$lt_export_symbols_cmds
21434 # Symbols that should not be listed in the preloaded symbols.
21435 exclude_expsyms=$lt_exclude_expsyms
21437 # Symbols that must always be exported.
21438 include_expsyms=$lt_include_expsyms
21440 # Commands necessary for linking programs (against libraries) with templates.
21441 prelink_cmds=$lt_prelink_cmds
21443 # Commands necessary for finishing linking programs.
21444 postlink_cmds=$lt_postlink_cmds
21446 # Specify filename containing input files.
21447 file_list_spec=$lt_file_list_spec
21449 # How to hardcode a shared library path into an executable.
21450 hardcode_action=$hardcode_action
21452 # The directories searched by this compiler when creating a shared library.
21453 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21455 # Dependencies to place before and after the objects being linked to
21456 # create a shared library.
21457 predep_objects=$lt_predep_objects
21458 postdep_objects=$lt_postdep_objects
21459 predeps=$lt_predeps
21460 postdeps=$lt_postdeps
21462 # The library search path used internally by the compiler when linking
21463 # a shared library.
21464 compiler_lib_search_path=$lt_compiler_lib_search_path
21466 # ### END LIBTOOL CONFIG
21472 cat <<\_LT_EOF >> "$cfgfile"
21473 # AIX sometimes has problems with the GCC collect2 program. For some
21474 # reason, if we set the COLLECT_NAMES environment variable, the problems
21475 # vanish in a puff of smoke.
21476 if test "X${COLLECT_NAMES+set}" != Xset; then
21478 export COLLECT_NAMES
21485 ltmain="$ac_aux_dir/ltmain.sh"
21488 # We use sed instead of cat because bash on DJGPP gets confused if
21489 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21490 # text mode, it properly converts lines to CR/LF. This bash problem
21491 # is reportedly fixed, but why not run on old versions too?
21492 sed '$q' "$ltmain" >> "$cfgfile" \
21493 || (rm -f "$cfgfile"; exit 1)
21495 if test x"$xsi_shell" = xyes; then
21496 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21500 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21501 \ * ) func_dirname_result="${3}" ;;\
21503 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21504 && mv -f "$cfgfile.tmp" "$cfgfile" \
21505 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21506 test 0 -eq $? || _lt_function_replace_fail=:
21509 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21512 \ func_basename_result="${1##*/}"\
21513 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21514 && mv -f "$cfgfile.tmp" "$cfgfile" \
21515 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21516 test 0 -eq $? || _lt_function_replace_fail=:
21519 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21520 func_dirname_and_basename ()\
21523 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21524 \ * ) func_dirname_result="${3}" ;;\
21526 \ func_basename_result="${1##*/}"\
21527 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21528 && mv -f "$cfgfile.tmp" "$cfgfile" \
21529 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21530 test 0 -eq $? || _lt_function_replace_fail=:
21533 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21536 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21537 \ # positional parameters, so assign one to ordinary parameter first.\
21538 \ func_stripname_result=${3}\
21539 \ func_stripname_result=${func_stripname_result#"${1}"}\
21540 \ func_stripname_result=${func_stripname_result%"${2}"}\
21541 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21542 && mv -f "$cfgfile.tmp" "$cfgfile" \
21543 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21544 test 0 -eq $? || _lt_function_replace_fail=:
21547 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21548 func_split_long_opt ()\
21550 \ func_split_long_opt_name=${1%%=*}\
21551 \ func_split_long_opt_arg=${1#*=}\
21552 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21553 && mv -f "$cfgfile.tmp" "$cfgfile" \
21554 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21555 test 0 -eq $? || _lt_function_replace_fail=:
21558 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21559 func_split_short_opt ()\
21561 \ func_split_short_opt_arg=${1#??}\
21562 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21563 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21564 && mv -f "$cfgfile.tmp" "$cfgfile" \
21565 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21566 test 0 -eq $? || _lt_function_replace_fail=:
21569 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21573 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21574 \ *) func_lo2o_result=${1} ;;\
21576 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21577 && mv -f "$cfgfile.tmp" "$cfgfile" \
21578 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21579 test 0 -eq $? || _lt_function_replace_fail=:
21582 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21585 func_xform_result=${1%.*}.lo\
21586 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21587 && mv -f "$cfgfile.tmp" "$cfgfile" \
21588 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21589 test 0 -eq $? || _lt_function_replace_fail=:
21592 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21595 func_arith_result=$(( $* ))\
21596 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21597 && mv -f "$cfgfile.tmp" "$cfgfile" \
21598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21599 test 0 -eq $? || _lt_function_replace_fail=:
21602 sed -e '/^func_len ()$/,/^} # func_len /c\
21605 func_len_result=${#1}\
21606 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21607 && mv -f "$cfgfile.tmp" "$cfgfile" \
21608 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21609 test 0 -eq $? || _lt_function_replace_fail=:
21613 if test x"$lt_shell_append" = xyes; then
21614 sed -e '/^func_append ()$/,/^} # func_append /c\
21617 eval "${1}+=\\${2}"\
21618 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21619 && mv -f "$cfgfile.tmp" "$cfgfile" \
21620 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21621 test 0 -eq $? || _lt_function_replace_fail=:
21624 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21625 func_append_quoted ()\
21627 \ func_quote_for_eval "${2}"\
21628 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21629 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21630 && mv -f "$cfgfile.tmp" "$cfgfile" \
21631 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21632 test 0 -eq $? || _lt_function_replace_fail=:
21635 # Save a `func_append' function call where possible by direct use of '+='
21636 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21637 && mv -f "$cfgfile.tmp" "$cfgfile" \
21638 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21639 test 0 -eq $? || _lt_function_replace_fail=:
21641 # Save a `func_append' function call even when '+=' is not available
21642 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21643 && mv -f "$cfgfile.tmp" "$cfgfile" \
21644 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21645 test 0 -eq $? || _lt_function_replace_fail=:
21648 if test x"$_lt_function_replace_fail" = x":"; then
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21650 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21654 mv -f "$cfgfile" "$ofile" ||
21655 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21659 cat <<_LT_EOF >> "$ofile"
21661 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21663 # The linker used to build libraries.
21666 # How to create reloadable object files.
21667 reload_flag=$lt_reload_flag_CXX
21668 reload_cmds=$lt_reload_cmds_CXX
21670 # Commands used to build an old-style archive.
21671 old_archive_cmds=$lt_old_archive_cmds_CXX
21673 # A language specific compiler.
21674 CC=$lt_compiler_CXX
21676 # Is the compiler the GNU compiler?
21679 # Compiler flag to turn off builtin functions.
21680 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21682 # Additional compiler flags for building library objects.
21683 pic_flag=$lt_lt_prog_compiler_pic_CXX
21685 # How to pass a linker flag through the compiler.
21686 wl=$lt_lt_prog_compiler_wl_CXX
21688 # Compiler flag to prevent dynamic linking.
21689 link_static_flag=$lt_lt_prog_compiler_static_CXX
21691 # Does compiler simultaneously support -c and -o options?
21692 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21694 # Whether or not to add -lc for building shared libraries.
21695 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21697 # Whether or not to disallow shared libs when runtime libs are static.
21698 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21700 # Compiler flag to allow reflexive dlopens.
21701 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21703 # Compiler flag to generate shared objects directly from archives.
21704 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21706 # Whether the compiler copes with passing no objects directly.
21707 compiler_needs_object=$lt_compiler_needs_object_CXX
21709 # Create an old-style archive from a shared archive.
21710 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21712 # Create a temporary old-style archive to link instead of a shared archive.
21713 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21715 # Commands used to build a shared archive.
21716 archive_cmds=$lt_archive_cmds_CXX
21717 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21719 # Commands used to build a loadable module if different from building
21720 # a shared archive.
21721 module_cmds=$lt_module_cmds_CXX
21722 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21724 # Whether we are building with GNU ld or not.
21725 with_gnu_ld=$lt_with_gnu_ld_CXX
21727 # Flag that allows shared libraries with undefined symbols to be built.
21728 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21730 # Flag that enforces no undefined symbols.
21731 no_undefined_flag=$lt_no_undefined_flag_CXX
21733 # Flag to hardcode \$libdir into a binary during linking.
21734 # This must work even if \$libdir does not exist
21735 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21737 # Whether we need a single "-rpath" flag with a separated argument.
21738 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21740 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21741 # DIR into the resulting binary.
21742 hardcode_direct=$hardcode_direct_CXX
21744 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21745 # DIR into the resulting binary and the resulting library dependency is
21746 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21747 # library is relocated.
21748 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21750 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21751 # into the resulting binary.
21752 hardcode_minus_L=$hardcode_minus_L_CXX
21754 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21755 # into the resulting binary.
21756 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21758 # Set to "yes" if building a shared library automatically hardcodes DIR
21759 # into the library and all subsequent libraries and executables linked
21761 hardcode_automatic=$hardcode_automatic_CXX
21763 # Set to yes if linker adds runtime paths of dependent libraries
21764 # to runtime path list.
21765 inherit_rpath=$inherit_rpath_CXX
21767 # Whether libtool must link a program against all its dependency libraries.
21768 link_all_deplibs=$link_all_deplibs_CXX
21770 # Set to "yes" if exported symbols are required.
21771 always_export_symbols=$always_export_symbols_CXX
21773 # The commands to list exported symbols.
21774 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21776 # Symbols that should not be listed in the preloaded symbols.
21777 exclude_expsyms=$lt_exclude_expsyms_CXX
21779 # Symbols that must always be exported.
21780 include_expsyms=$lt_include_expsyms_CXX
21782 # Commands necessary for linking programs (against libraries) with templates.
21783 prelink_cmds=$lt_prelink_cmds_CXX
21785 # Commands necessary for finishing linking programs.
21786 postlink_cmds=$lt_postlink_cmds_CXX
21788 # Specify filename containing input files.
21789 file_list_spec=$lt_file_list_spec_CXX
21791 # How to hardcode a shared library path into an executable.
21792 hardcode_action=$hardcode_action_CXX
21794 # The directories searched by this compiler when creating a shared library.
21795 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21797 # Dependencies to place before and after the objects being linked to
21798 # create a shared library.
21799 predep_objects=$lt_predep_objects_CXX
21800 postdep_objects=$lt_postdep_objects_CXX
21801 predeps=$lt_predeps_CXX
21802 postdeps=$lt_postdeps_CXX
21804 # The library search path used internally by the compiler when linking
21805 # a shared library.
21806 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21808 # ### END LIBTOOL TAG CONFIG: CXX
21812 cat <<_LT_EOF >> "$ofile"
21814 # ### BEGIN LIBTOOL TAG CONFIG: RC
21816 # The linker used to build libraries.
21819 # How to create reloadable object files.
21820 reload_flag=$lt_reload_flag_RC
21821 reload_cmds=$lt_reload_cmds_RC
21823 # Commands used to build an old-style archive.
21824 old_archive_cmds=$lt_old_archive_cmds_RC
21826 # A language specific compiler.
21829 # Is the compiler the GNU compiler?
21832 # Compiler flag to turn off builtin functions.
21833 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21835 # Additional compiler flags for building library objects.
21836 pic_flag=$lt_lt_prog_compiler_pic_RC
21838 # How to pass a linker flag through the compiler.
21839 wl=$lt_lt_prog_compiler_wl_RC
21841 # Compiler flag to prevent dynamic linking.
21842 link_static_flag=$lt_lt_prog_compiler_static_RC
21844 # Does compiler simultaneously support -c and -o options?
21845 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21847 # Whether or not to add -lc for building shared libraries.
21848 build_libtool_need_lc=$archive_cmds_need_lc_RC
21850 # Whether or not to disallow shared libs when runtime libs are static.
21851 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21853 # Compiler flag to allow reflexive dlopens.
21854 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21856 # Compiler flag to generate shared objects directly from archives.
21857 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21859 # Whether the compiler copes with passing no objects directly.
21860 compiler_needs_object=$lt_compiler_needs_object_RC
21862 # Create an old-style archive from a shared archive.
21863 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21865 # Create a temporary old-style archive to link instead of a shared archive.
21866 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21868 # Commands used to build a shared archive.
21869 archive_cmds=$lt_archive_cmds_RC
21870 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21872 # Commands used to build a loadable module if different from building
21873 # a shared archive.
21874 module_cmds=$lt_module_cmds_RC
21875 module_expsym_cmds=$lt_module_expsym_cmds_RC
21877 # Whether we are building with GNU ld or not.
21878 with_gnu_ld=$lt_with_gnu_ld_RC
21880 # Flag that allows shared libraries with undefined symbols to be built.
21881 allow_undefined_flag=$lt_allow_undefined_flag_RC
21883 # Flag that enforces no undefined symbols.
21884 no_undefined_flag=$lt_no_undefined_flag_RC
21886 # Flag to hardcode \$libdir into a binary during linking.
21887 # This must work even if \$libdir does not exist
21888 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21890 # Whether we need a single "-rpath" flag with a separated argument.
21891 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21893 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21894 # DIR into the resulting binary.
21895 hardcode_direct=$hardcode_direct_RC
21897 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21898 # DIR into the resulting binary and the resulting library dependency is
21899 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21900 # library is relocated.
21901 hardcode_direct_absolute=$hardcode_direct_absolute_RC
21903 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21904 # into the resulting binary.
21905 hardcode_minus_L=$hardcode_minus_L_RC
21907 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21908 # into the resulting binary.
21909 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21911 # Set to "yes" if building a shared library automatically hardcodes DIR
21912 # into the library and all subsequent libraries and executables linked
21914 hardcode_automatic=$hardcode_automatic_RC
21916 # Set to yes if linker adds runtime paths of dependent libraries
21917 # to runtime path list.
21918 inherit_rpath=$inherit_rpath_RC
21920 # Whether libtool must link a program against all its dependency libraries.
21921 link_all_deplibs=$link_all_deplibs_RC
21923 # Set to "yes" if exported symbols are required.
21924 always_export_symbols=$always_export_symbols_RC
21926 # The commands to list exported symbols.
21927 export_symbols_cmds=$lt_export_symbols_cmds_RC
21929 # Symbols that should not be listed in the preloaded symbols.
21930 exclude_expsyms=$lt_exclude_expsyms_RC
21932 # Symbols that must always be exported.
21933 include_expsyms=$lt_include_expsyms_RC
21935 # Commands necessary for linking programs (against libraries) with templates.
21936 prelink_cmds=$lt_prelink_cmds_RC
21938 # Commands necessary for finishing linking programs.
21939 postlink_cmds=$lt_postlink_cmds_RC
21941 # Specify filename containing input files.
21942 file_list_spec=$lt_file_list_spec_RC
21944 # How to hardcode a shared library path into an executable.
21945 hardcode_action=$hardcode_action_RC
21947 # The directories searched by this compiler when creating a shared library.
21948 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
21950 # Dependencies to place before and after the objects being linked to
21951 # create a shared library.
21952 predep_objects=$lt_predep_objects_RC
21953 postdep_objects=$lt_postdep_objects_RC
21954 predeps=$lt_predeps_RC
21955 postdeps=$lt_postdeps_RC
21957 # The library search path used internally by the compiler when linking
21958 # a shared library.
21959 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21961 # ### END LIBTOOL TAG CONFIG: RC
21965 "src/gpgme-config":F) chmod +x src/gpgme-config ;;
21973 ac_clean_files=$ac_clean_files_save
21975 test $ac_write_fail = 0 ||
21976 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21979 # configure is writing to config.log, and then calls config.status.
21980 # config.status does its own redirection, appending to config.log.
21981 # Unfortunately, on DOS this fails, as config.log is still kept open
21982 # by configure, so config.status won't be able to write to it; its
21983 # output is simply discarded. So we exec the FD to /dev/null,
21984 # effectively closing config.log, so it can be properly (re)opened and
21985 # appended to by config.status. When coming back to configure, we
21986 # need to make the FD available again.
21987 if test "$no_create" != yes; then
21989 ac_config_status_args=
21990 test "$silent" = yes &&
21991 ac_config_status_args="$ac_config_status_args --quiet"
21993 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21995 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21996 # would make configure fail if this is the last instruction.
21997 $ac_cs_success || as_fn_exit 1
21999 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22001 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22006 GPGME v${VERSION} has been configured as follows:
22008 Revision: 16835c3 (5763)
22011 UI Server: $uiserver
22012 FD Passing: $use_descriptor_passing
22013 GPGME Pthread: $have_pthread