bug-libtool
[Top][All Lists]
Advanced

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

libltdl's new files


From: Ralf Wildenhues
Subject: libltdl's new files
Date: Fri, 4 Jun 2004 17:13:43 +0200
User-agent: Mutt/1.4.1i

Many files from libltdl are not installed (CVS HEAD version of libtool).
If you want to incorporate libltdl in your code
   libtoolize --ltdl
all loader*.c files are needed, not just some of them.

Furthermore, lt_dlloader.h is needed in any case.
The patch below is a quick shot at changing this
(rather a request for comments).

Furthermore, in recent libtool versions, libltdl/ has no configure.ac on
its own any more.  Shouldn't the AC_CONFIG_SUBDIRS(libltdl) be removed
from the definition of AC_WITH_LTDL in m4/ltdl, apart from the fact that
the docs need updating with this respect?

Regards,
Ralf

Index: libltdl/Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/Makefile.am,v
retrieving revision 1.56
diff -u -r1.56 Makefile.am
--- libltdl/Makefile.am 22 Apr 2004 22:47:19 -0000      1.56
+++ libltdl/Makefile.am 4 Jun 2004 13:16:57 -0000
@@ -43,6 +43,7 @@
 CLEANFILES         = libltdl.la libltdlc.la
 
 libltdl_la_SOURCES  = ltdl.h ltdl.c \
+                     lt_dlloader.h \
                      loader-preopen.c \
                      lt_error.h lt_error.c \
                      lt__private.h lt__alloc.h lt__alloc.c \
@@ -58,7 +59,16 @@
 ## libtoolize --ltdl can find them later:
 ltdldatadir = $(pkgdatadir)/libltdl
 ltdldata_DATA = COPYING.LIB Makefile.am README $(libltdl_la_SOURCES) \
-               argz_.h argz.c
+               $(pkginclude_HEADERS) argz_.h argz.c \
+               lt__dirent.c \
+               loader-dld_link.c \
+               loader-dlopen.c \
+               loader-dyld.c \
+               loader-load_add_on.c \
+               loader-loadlibrary.c \
+               loader-preopen.c \
+               loader-shl_load.c
+
 
 
 ## --------------------------- ##




reply via email to

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