From eee98aa8d72595fdb4308ed5d0583516bfc4c0d5 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 14 Nov 2020 15:07:39 +0100 Subject: 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. --- m4/woe32-dll.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4/woe32-dll.m4') 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" ]) ]) -- cgit v1.2.1