summaryrefslogtreecommitdiff
path: root/m4/woe32-dll.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-11-14 15:07:39 +0100
committerBruno Haible <bruno@clisp.org>2020-11-14 15:07:39 +0100
commiteee98aa8d72595fdb4308ed5d0583516bfc4c0d5 (patch)
treeb2f82771194439a6062c674079a4e234b4f72934 /m4/woe32-dll.m4
parentb34a7bcfbbad265c8ba69ec0a3112fe61f6b6d1e (diff)
downloadlibunistring-eee98aa8d72595fdb4308ed5d0583516bfc4c0d5.tar.gz
build: Fix warnings emitted by autoconf-2.69d.
* configure.ac: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER. * m4/exported.m4 (gt_GLOBAL_SYMBOL_PIPE): Require LT_PATH_NM instead of AC_PROG_NM. * m4/woe32-dll.m4 (gl_WOE32_DLL): Use AC_LINK_IFELSE instead of AC_TRY_LINK.
Diffstat (limited to 'm4/woe32-dll.m4')
-rw-r--r--m4/woe32-dll.m44
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"
])
])