GNU bug report logs -
#18229
LIBS vs LIBOBJS in src/Makefile.in
Previous Next
To reply to this bug, email your comments to 18229 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18229
; Package
emacs
.
(Sat, 09 Aug 2014 13:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Reuben Thomas <rrt <at> sc3d.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 09 Aug 2014 13:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Trying to pass an extra library to configure using LIBS, as configure
--help says I can, I found it did nothing, and traced it to
src/Makefile.in, which deliberately ignores LIBS. This dates back 14 years,
and whatever it was intended to fix no longer seems to be a problem. May I
install the following patch? With the patch applied, supplying LIBS on the
configure command-line worked exactly as it should.
--- src/Makefile.in 2014-07-13 15:50:35 +0000
+++ src/Makefile.in 2014-08-09 11:34:12 +0000
@@ -44,10 +44,7 @@
# BSD doesn't have it as a default.
@SET_MAKE@
MKDIR_P = @MKDIR_P@
-# Don't use LIBS. configure puts stuff in it that either shouldn't be
-# linked with Emacs or is duplicated by the other stuff below.
-# LIBS = @LIBS@
-LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
lispsource = $(top_srcdir)/lisp
lib = ../lib
@@ -388,7 +385,7 @@
## List of object files that make-docfile should not be told about.
otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \
- $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS)
+ $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBS)
## All object files linked into temacs. $(VMLIMIT_OBJ) should be first.
## (On MinGW, firstfile.o should be before vm-limit.o.)
--
http://rrt.sc3d.org
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18229
; Package
emacs
.
(Sat, 09 Aug 2014 19:47:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 18229 <at> debbugs.gnu.org (full text, mbox):
Although I also dislike configure's mishandling of LIBS and would like
to see it fixed, I don't think the proposed patch would work well, due
to the funky treatment of LIBS in configure.ac. Please look there for
uses of SAVE_LIBS, pre_PKG_CONFIG_LIBS, PKG_CHECK_MODULES, LIBS_SYSTEM,
LIB_PTHREAD, etc., and note that AC_CHECK_LIB etc. also futz with LIBS.
This bug report was last modified 10 years and 309 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.