[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] libtoolize --acdir --ltdir
From: |
Rusty Ballinger |
Subject: |
[patch] libtoolize --acdir --ltdir |
Date: |
Wed, 3 Jan 2001 14:22:03 -0800 |
Hey, this is a patch to add --acdir and --ltdir arguments to libtoolize;
I mistakenly sent it to the automake list instead of libtool-patches.
Here was my original note about the patch:
It's nice that autoconf's --macrodir and automake's --amdir let you
specify alternate directories to load files from. Unfortunately, when
automake calls libtoolize, it appears that there's no way for it to
tell libtoolize to use a different pkgdatadir or aclocaldir.
One approach would be to add --acdir and --ltdir command-line arguments
to both libtoolize and automake, and make automake pass these on to
libtoolize.
Here's the portion of the patch which applied to libtoolize. Note that the
documentation changes could be horribly wrong; I just guessed at what to do
by looking at another patch on the mailing list.
--- libtool/doc/libtool.texi Tue Nov 2 04:36:23 1999
+++ ../libtool-1.3.5/./doc/libtool.texi Fri Nov 10 13:48:09 2000
@@ -1905,6 +1905,11 @@
and accepts the following options:
@table @samp
address@hidden address@hidden
+Look for @code{aclocal} data files in directory @var{dir} instead of in
address@hidden's installation directory. If you use this, you may
+also want to use @code{--ltdir}.
+
@item --automake
Work silently, and assume that Automake libtool support is used.
@@ -1934,6 +1939,11 @@
@item --help
Display a help message and exit.
+
address@hidden address@hidden
+Look for libtool data files in directory @var{dir} instead of in the
+installation directory. If you use this, you may also want to use
address@hidden
@item --ltdl
Install libltdl in a subdirectory of your package.
--- libtool/ChangeLog Sat May 27 04:12:27 2000
+++ ../libtool-1.3.5/./ChangeLog Thu Nov 9 04:20:10 2000
@@ -1,3 +1,7 @@
+2000-11-09 Rusty Ballinger <address@hidden>
+
+ * libtoolize.in: added --acdir and --ltdir flags.
+
2000-05-27 Gary V. Vaughan <address@hidden>
GNU libtool 1.3.5 was released.
--- libtool/libtoolize.in Tue Mar 30 11:25:27 1999
+++ ../libtool-1.3.5/./libtoolize.in Thu Nov 9 04:43:15 2000
@@ -71,6 +71,10 @@
--help display this message and exit
--ltdl install libltdl in a subdirectory
--ltdl-tar install the libltdl tarball
+ --ltdir=DIR directory containing libtool config files
+ [$pkgdatadir]
+ --acdir=DIR directory containing aclocal config files
+ [$aclocaldir]
--version print version information and exit
You must \`cd' to the top directory of your package before you run
@@ -117,6 +121,14 @@
--ltdl-tar)
ltdl_tar=yes
+ ;;
+
+ --ltdir=*)
+ pkgdatadir=`echo "$arg" | sed -e s/^--ltdir=//`
+ ;;
+
+ --acdir=*)
+ aclocaldir=`echo "$arg" | sed -e s/^--acdir=//`
;;
-*)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch] libtoolize --acdir --ltdir,
Rusty Ballinger <=