summaryrefslogtreecommitdiff
path: root/m4/woe32-dll.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/woe32-dll.m4')
-rw-r--r--m4/woe32-dll.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/woe32-dll.m4 b/m4/woe32-dll.m4
index c21efd7..8a14c2c 100644
--- a/m4/woe32-dll.m4
+++ b/m4/woe32-dll.m4
@@ -1,5 +1,5 @@
-# woe32-dll.m4 serial 5
-dnl Copyright (C) 2005-2006, 2011, 2015-2018, 2020 Free Software Foundation, Inc.
+# woe32-dll.m4 serial 6
+dnl Copyright (C) 2005-2006, 2011, 2018, 2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -46,7 +46,7 @@ AC_DEFUN([gl_WOE32_DLL],
[gl_cv_ld_autoimport=no],
[gl_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--disable-auto-import"
- AC_TRY_LINK([], [], [gl_cv_ld_autoimport=yes], [gl_cv_ld_autoimport=no])
+ AC_LINK_IFELSE([], [gl_cv_ld_autoimport=yes], [gl_cv_ld_autoimport=no])
LDFLAGS="$gl_save_LDFLAGS"
])
])