[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtoolize bugs in HEAD
From: |
Robert Ögren |
Subject: |
Re: libtoolize bugs in HEAD |
Date: |
Thu, 31 Mar 2005 20:33:54 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Ralf Wildenhues wrote:
How odd! Maybe you are using a newer GNU make? Or there is something
in your environment? Either way, we need to find a way to filter out
the make output. :-(
Here's the fun:
- output appears on stdout, not stderr :)))
- it obviously works with --no-print-directory (for GNU make only)
- I have absolutely no idea how to do it portably.
| .SILENT: libtoolize
does not work;
| ltdldatafiles=`cd libltdl; make -s show-ltdldatafiles`
does not work
| ltdldatafiles=`cd libltdl; make --no-print-directory show-ltdldatafiles`;
works but sucks for obvious reasons.
Putting in `make' literally already sucks for portability.
I got the same problem on Cygwin (GNU Make 3.80). The following simple
change works for me, but I don't know how portable it is:
Index: Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/Makefile.am,v
retrieving revision 1.141
diff -u -r1.141 Makefile.am
--- Makefile.am 24 Mar 2005 11:38:25 -0000 1.141
+++ Makefile.am 31 Mar 2005 18:16:21 -0000
@@ -162,7 +162,7 @@
rm -f libtoolize.tmp libtoolize
$(timestamp); \
input="libtoolize.m4sh"; \
- ltdldatafiles=`cd libltdl; make show-ltdldatafiles`; \
+ ltdldatafiles=`cd libltdl; MAKELEVEL= make show-ltdldatafiles`; \
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
-e 's,@pkgvmacro_DATA\@,$(pkgvmacro_DATA),g' \
-e "s,@pkgvltdl_files\@,`echo $$ltdldatafiles`,g" \
HTH
Robert