automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AM_PATH_LISPDIR requires 2.59c (was: Broken makefile given Autoconf vers


From: Ralf Wildenhues
Subject: AM_PATH_LISPDIR requires 2.59c (was: Broken makefile given Autoconf version mismatch)
Date: Fri, 14 Apr 2006 06:00:26 +0200
User-agent: Mutt/1.5.9i

Hi Alexandre,

* Alexandre Duret-Lutz wrote on Thu, Apr 13, 2006 at 08:52:48PM CEST:
> | The patch to add AC_PREREQ to AM_PATH_LISPDIR is necessary not to
> | prevent the failures Noah described, but simply to prevent users from
> | trying to use the macro with an Autoconf version that is too old and
> | does not cause `${datarootdir}' to be defined.
> 
> I was merely explaining why aclocal couldn't use AC_PREREQ.  I
> didn't know about the patch you mention, sorry, and I couldn't
> find it.  Maybe it's pending moderation?

No, I hid it in the discussion and did not post it to automake-patches:
http://lists.gnu.org/archive/html/automake/2006-04/msg00045.html
Sorry about that.  Here it is again, with a better ChangeLog entry.

Cheers,
Ralf

        * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
        because it uses `datarootdir'.

Index: m4/lispdir.m4
===================================================================
RCS file: /cvs/automake/automake/m4/lispdir.m4,v
retrieving revision 1.27
diff -u -r1.27 lispdir.m4
--- m4/lispdir.m4       27 Feb 2005 00:24:31 -0000      1.27
+++ m4/lispdir.m4       12 Apr 2006 18:39:31 -0000
@@ -15,7 +15,8 @@
 # AM_PATH_LISPDIR
 # ---------------
 AC_DEFUN([AM_PATH_LISPDIR],
-[ # If set to t, that means we are running in a shell under Emacs.
+[AC_PREREQ([2.59c])dnl
+ # If set to t, that means we are running in a shell under Emacs.
  # If you have an Emacs named "t", then use the full path.
  test x"$EMACS" = xt && EMACS=
  AC_CHECK_PROGS([EMACS], [emacs xemacs], [no])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]