Remove annoying autoconf warning
authorNelson Ferreira <njsf@sxemacs.org>
Wed, 25 Dec 2013 22:41:38 +0000 (17:41 -0500)
committerNelson Ferreira <njsf@sxemacs.org>
Wed, 25 Dec 2013 22:41:38 +0000 (17:41 -0500)
Under autoconf 2.64 and newer the current autoconf macros of SXEmacs emit the following
warning multiple times:

_LT_SYS_DYNAMIC_LINKER was expanded before it was required

   * m4/sxe-libtool.m4 (_SXE_CHECK_LT2): Add AC_REQUIRE for
     _LT_SYS_DYNAMIC_LINKER as recommend by
     http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required

Signed-off-by: Nelson Ferreira <njsf@sxemacs.org>
m4/sxe-libtool.m4

index c88a216..bc027a2 100644 (file)
@@ -47,6 +47,7 @@ might be wrong as well.
 AC_DEFUN([_SXE_CHECK_LT2], [dnl
        LT_CONFIG_LTDL_DIR([libltdl], [recursive])
        LT_PREREQ([2.1])
+       AC_REQUIRE([_LT_SYS_DYNAMIC_LINKER])
        LT_INIT([dlopen])
        LTDL_INSTALLABLE
        LTDL_INIT