LTLIBOBJS
LIBOBJS
target_noncanonical
+lt_host_flags
CPP
OTOOL64
OTOOL
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10508 "configure"
+#line 10509 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10614 "configure"
+#line 10615 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-# Trying to get this information from gcc's config is tricky.
-case $target in
- x86_64*-mingw*)
-$as_echo "#define SYM_STYLE ss_none" >>confdefs.h
+case $host in
+ *-cygwin* | *-mingw*)
+ # 'host' will be top-level target in the case of a target lib,
+ # we must compare to with_cross_host to decide if this is a native
+ # or cross-compiler and select where to install dlls appropriately.
+ if test -n "$with_cross_host" &&
+ test x"$with_cross_host" != x"no"; then
+ lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
+ else
+ lt_host_flags='-no-undefined -bindir "$(bindir)"';
+ fi
+ ;;
+ *)
+ lt_host_flags=
;;
- *-cygwin* | i?86*-mingw* )
+esac
-$as_echo "#define SYM_STYLE ss_win32" >>confdefs.h
- ;;
- *)
-$as_echo "#define SYM_STYLE ss_none" >>confdefs.h
- ;;
-esac
ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
case $ac_cv_c_int64_t in #(
no|yes) ;; #(