[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
more macro cleanup: AC_LIBTOOL_DLOPEN_SELF
From: |
Ralf Wildenhues |
Subject: |
more macro cleanup: AC_LIBTOOL_DLOPEN_SELF |
Date: |
Tue, 1 Nov 2005 05:26:42 +0100 |
User-agent: |
Mutt/1.5.9i |
While working on Kean's third patch, I noticed more (harmless) bogosity:
AC_LIBTOOL_DLOPEN_SELF need only be called once, for C, not once per
tag. Similarly with current AC_LIBTOOL_SYS_LIB_STRIP.
OK to apply to branch-1-5 and forward-port (HEAD has only the STRIP_LIB
part missing, I believe)?
Cheers,
Ralf
* libtool.m4 (AC_LIBTOOL_LANG_C_CONFIG)
(AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG)
(AC_LIBTOOL_LANG_GCJ_CONFIG): Only call
AC_LIBTOOL_SYS_LIB_STRIP and AC_LIBTOOL_DLOPEN_SELF in the C
case, and without the tag argument.
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.118
diff -u -r1.314.2.118 libtool.m4
--- libtool.m4 31 Oct 2005 18:54:20 -0000 1.314.2.118
+++ libtool.m4 31 Oct 2005 21:09:22 -0000
@@ -2650,7 +2650,7 @@
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
AC_LIBTOOL_SYS_LIB_STRIP
-AC_LIBTOOL_DLOPEN_SELF($1)
+AC_LIBTOOL_DLOPEN_SELF
# Report which librarie types wil actually be built
AC_MSG_CHECKING([if libtool supports shared libraries])
@@ -3654,8 +3654,6 @@
AC_LIBTOOL_PROG_LD_SHLIBS($1)
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
-AC_LIBTOOL_SYS_LIB_STRIP
-AC_LIBTOOL_DLOPEN_SELF($1)
AC_LIBTOOL_CONFIG($1)
@@ -3920,8 +3918,6 @@
AC_LIBTOOL_PROG_LD_SHLIBS($1)
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
-AC_LIBTOOL_SYS_LIB_STRIP
-
AC_LIBTOOL_CONFIG($1)
@@ -3982,8 +3978,6 @@
AC_LIBTOOL_PROG_LD_SHLIBS($1)
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
-AC_LIBTOOL_SYS_LIB_STRIP
-AC_LIBTOOL_DLOPEN_SELF($1)
AC_LIBTOOL_CONFIG($1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- more macro cleanup: AC_LIBTOOL_DLOPEN_SELF,
Ralf Wildenhues <=