libtool-patches
[Top][All Lists]
Advanced

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

HEAD: Kill two showstoppers at once


From: Ralf Wildenhues
Subject: HEAD: Kill two showstoppers at once
Date: Tue, 30 Aug 2005 13:46:42 +0200
User-agent: Mutt/1.4.1i

The ltoptions machinery has one little bug.  Two showstoppers are the
result of this: AC_DISABLE_STATIC not working, and AC_LIBTOOL_WIN32_DLL
not working.  (The other old-style option setting macros don't work
either, I believe):

To reproduce:

AC_INIT(a,1,b)
AM_INIT_AUTOMAKE(foreign)
AC_PROG_CC
AM_ENABLE_SHARED
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
AC_CONFIG_FILES(Makefile)
AC_OUTPUT

and

AC_INIT(a,1,b)
AM_INIT_AUTOMAKE(foreign)
AC_PROG_CC
AC_LIBTOOL_DLOPEN
LT_INIT([enable-shared])
AC_CONFIG_FILES(Makefile)
AC_OUTPUT

should produce an identical configure script.  They don't: the first one
is missing completely the expansion of _LT_ENABLE_SHARED, the second one
is OK.  I don't know whether there is a more generic solution than
Robert's idea:
http://lists.gnu.org/archive/html/libtool/2005-03/msg00158.html or even
whether Robert's idea is a correct solution.  But it applies to all of
the option macros.

Can someone with m4-fu see this and fix it?

Cheers,
Ralf




reply via email to

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