diff options
Diffstat (limited to 'm4/woe32-dll.m4')
-rw-r--r-- | m4/woe32-dll.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/woe32-dll.m4 b/m4/woe32-dll.m4 index 0477246..8a14c2c 100644 --- a/m4/woe32-dll.m4 +++ b/m4/woe32-dll.m4 @@ -1,4 +1,4 @@ -# woe32-dll.m4 serial 5 +# 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, @@ -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" ]) ]) |