[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Always pass --tag=CC / --tag=CXX option to libtool

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Sun, 23 Mar 2008 03:38:16 +0100

config.status is created and executed by AC_OUTPUT.

From NEWS of libtool-2.2:
"* libtool script is now created by config.status. Instead of interrogating
   `./libtool' from configure.ac after calling AC_PROG_LIBTOOL, use the
   variable names directly."

It means that when --enable-experimental-libtool option isn't used,
${abs_builddir}/libtool file doesn't exist earlier and the checking
if libtool supports --tag option gives false negative:

checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether libtool accepts --tag=XXX... ./configure: line 12165: ${PATH_TO_WORKING_COPY}/libtool: No such file or directory
no
checking whether libtool needs -no-undefined... no

[[[
Always pass --tag=CC / --tag=CXX option to libtool.

* configure.ac:
   Don't check if libtool supports --tag option.
* Makefile.in:
  (LTFLAGS): Replace @SVN_LT_CCTAG@ with --tag=CC.
  (LTCXXFLAGS): Replace @SVN_LT_CXXTAG@ with --tag=CXX.
]]]

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2008-03-23 03:46:37 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.