bug-automake
[Top][All Lists]
Advanced

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

Small patch


From: Harry Liu
Subject: Small patch
Date: Sat, 2 Jun 2001 22:57:31 -0700
User-agent: Mutt/1.2.5i

Hi.  Would you consider applying this patch, which allows the AC_MACRODIR
environmental variable to override the default place to look for macros?  It is
also consulted by autoconf, and it would nice to have a uniform way to specify
an alternate macro directory.  Thanks.

Harry

ChangeLog entry:
        * aclocal.in: Allow AC_MACRODIR environmental variable to override
        default macro directory.

--- aclocal.in.orig     Sat Jun  2 22:41:51 2001
+++ aclocal.in  Sat Jun  2 22:46:42 2001
@@ -32,7 +32,7 @@
 $PACKAGE = "@PACKAGE@";
 $prefix = "@prefix@";
 # Note that this isn't pkgdatadir, but a separate directory.
-$acdir = "@datadir@/aclocal";
+$acdir = $ENV{"AC_MACRODIR"} || "@datadir@/aclocal";
 
 # Some globals.
 



reply via email to

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