aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-07-14 20:38:52 +0800
committerfanquake <fanquake@gmail.com>2021-02-12 09:04:16 +0800
commitf054a089ecfbdc4732e6f705a10e93189074f41c (patch)
treeea3dc7b7554d70be6d4e85a6070680727bc1ab18
parent7cd0a696643a824ab6f6911278f116f01c5af662 (diff)
build: remove AX_GCC_FUNC_ATTRIBUTE test for dllimport
The result of this test isn't currently used anywhere (we use dllimport based on MSC_VER in libconsensus).
-rw-r--r--configure.ac2
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 3ed27b0752..23749c65a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -813,8 +813,6 @@ if test x$ac_cv_sys_large_files != x &&
CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
fi
-AX_GCC_FUNC_ATTRIBUTE([dllimport])
-
if test x$use_glibc_compat != xno; then
AX_CHECK_LINK_FLAG([[-Wl,--wrap=__divmoddi4]], [COMPAT_LDFLAGS="$COMPAT_LDFLAGS -Wl,--wrap=__divmoddi4"])
AX_CHECK_LINK_FLAG([[-Wl,--wrap=log2f]], [COMPAT_LDFLAGS="$COMPAT_LDFLAGS -Wl,--wrap=log2f"])