libtool-patches
[Top][All Lists]
Advanced

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

HEAD: LT_PATH_NM fix (was: libtool-HEAD, 20051007, cygwin)


From: Ralf Wildenhues
Subject: HEAD: LT_PATH_NM fix (was: libtool-HEAD, 20051007, cygwin)
Date: Thu, 13 Oct 2005 15:23:25 +0200
User-agent: Mutt/1.5.11

[ from a thread on the libtool list ]

* Charles Wilson wrote on Tue, Oct 11, 2005 at 04:06:14AM CEST:
> Ralf Wildenhues wrote:
> 
> >Please post tests/testsuite.log containing the failures (packed?).
> >I cannot reproduce this on GNU/Linux (and you posting should be less
> >work than me trying to reproduce it on cygwin :)
> 
> attached.

Contains pointer to a different buglet:

| configure:4403: checking the name lister (/usr/bin/nm -B) interface
| configure:4410: gcc -c -O2  conftest.c >&5
| conftest.c:1:23: warning: no newline at end of file
| configure:4413: /usr/bin/nm -B "conftest.o"

Applied the following trivial fix to CVS HEAD.

Cheers,
Ralf

        * libltdl/m4/libtool.m4 (LT_PATH_NM): End test source with
        newline.
        Reported by Charles Wilson <address@hidden>.

Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.26
diff -u -r1.26 libtool.m4
--- libltdl/m4/libtool.m4       9 Oct 2005 06:25:03 -0000       1.26
+++ libltdl/m4/libtool.m4       13 Oct 2005 13:22:01 -0000
@@ -2927,7 +2927,7 @@
 
 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
   [lt_cv_nm_interface="BSD nm"
-  printf "int some_variable = 0;" > conftest.$ac_ext
+  echo "int some_variable = 0;" > conftest.$ac_ext
   (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&AS_MESSAGE_LOG_FD




reply via email to

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