[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch to aclocal
From: |
Philip Willoughby |
Subject: |
Patch to aclocal |
Date: |
Wed, 5 Mar 2003 13:12:03 +0000 (GMT) |
Hi,
At our site we have a repository for experimental apps which are not as
fully tested as we would like, or not entirely compatible with the version
we have installed by default.
Unfortunately since we have a fairly old base system this means that
autoconf, automake, libtool et al have to live in this area.
I've built a script to set up the user's environment to include the latest
versions of the packages they want, it modifies CPATH, PATH,
LD_LIBRARY_PATH, MANPATH, INFOPATH and PKG_CONFIG_PATH to make sure
everything works. Unfortunately I couldn't find an env var to modify the
search path for aclocal, so I patched it myself to add the support I
wanted.
Here's the patch - I added 4 lines, 2 of which are comments, one of which
is entirely self-serving ;-). Can it be in 1.7.4?
diff -r -b -u -U 3 1.7.3/bin/aclocal 1.7.3-phil1/bin/aclocal
--- 1.7.3/bin/aclocal Thu Feb 20 19:55:32 2003
+++ 1.7.3-phil1/bin/aclocal Wed Mar 5 13:01:19 2003
@@ -26,6 +26,7 @@
# 02111-1307, USA.
# Written by Tom Tromey <address@hidden>.
+# Slightly hacked on by Philip Willoughby <address@hidden>.
BEGIN
{
@@ -218,6 +219,9 @@
close (DEFAULT_DIRLIST);
}
+ # Allow the ACLOCALPATH environment variable to influence the search
paths
+ push (@dirlist, split (/:/, "$ENV{ACLOCALPATH}"))
+ if defined ($ENV{ACLOCALPATH});
return @dirlist;
}
Ta for some great software,
Regards,
Philip Willoughby
Systems Programmer, Department of Computing, Imperial College, London, UK
--
echo address@hidden | tr "bizndfohces" "pwgd9ociaku"
Why reinvent the wheel? . . . . . . . . . Because we can make it rounder...
- Patch to aclocal,
Philip Willoughby <=
Re: Patch to aclocal, Alexandre Duret-Lutz, 2003/03/05