From: Steve Youngs Date: Sat, 25 Sep 2021 03:27:51 +0000 (+1000) Subject: Build Fix -- compatibility issue with newer autoconf X-Git-Url: https://cgit.sxemacs.org/?a=commitdiff_plain;ds=sidebyside;h=66cd3621bffecf6208aefb78b0a388c9fc6717c8;p=sxemacs Build Fix -- compatibility issue with newer autoconf Whan running ./autogen.sh it failed on _SXE_CHECK_LT2, it complained that AC_CONFIG_MACRO_DIR can only be called once. Using AC_CONFIG_MACRO_DIRS instead fixes the issue as that particular macro is designed to be called multiple times. * configure.ac: Use AC_CONFIG_MACRO_DIRS instead of AC_CONFIG_MACRO_DIR. * m4/sxe-libtool.m4 (_SXE_CHECK_LT2): Ditto. Reported-by: Arthur Miller : Signed-off-by: Steve Youngs --- diff --git a/configure.ac b/configure.ac index b63a2b9..9264d1a 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ AC_INIT([SXEmacs], [SXEM4CS_VERSION], [https://issues.sxemacs.org/]) AC_CONFIG_HEADER([src/config.h]) AC_CONFIG_SRCDIR([src/lisp.h]) AC_CONFIG_AUX_DIR([.]) -AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_MACRO_DIRS([m4]) dnl ------------------------------------------------------------------------- dnl Local copyright notices. diff --git a/m4/sxe-libtool.m4 b/m4/sxe-libtool.m4 index afa1c69..f176779 100644 --- a/m4/sxe-libtool.m4 +++ b/m4/sxe-libtool.m4 @@ -67,7 +67,7 @@ AC_DEFUN([_SXE_CHECK_LT2], [dnl dnl for the `old' libtool2 stuff as this is available through dnl cvs only and we stick with the latest dnl AC_CONFIG_SUBDIRS([libltdl]) - AC_CONFIG_MACRO_DIR([libltdl/m4]) + AC_CONFIG_MACRO_DIRS([libltdl/m4]) ])dnl _SXE_CHECK_LT2 m4_ifdef([LT_CONFIG_LTDL_DIR], [], [dnl else