]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Tue, 9 Mar 1999 23:09:01 +0000 (23:09 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 9 Mar 1999 23:09:01 +0000 (23:09 +0000)
renamed convenience libltdl, dropped toinst hack for installable
* libltdl/Makefile.am: ditto
* libltdl/configure.in: ditto; abort if none of the macros is used

ChangeLog
libltdl/Makefile.am
libltdl/configure.in
libtool.m4

index fec2cf919f9f3121904422c79cc2858d89572959..ca01d351ccfeb90e28395b20c9c81ec309ab8b27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 1999-03-09  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
+       renamed convenience libltdl, dropped toinst hack for installable
+       * libltdl/Makefile.am: ditto
+       * libltdl/configure.in: ditto; abort if none of the macros is used
+
        * ltmain.in: $output_objdir/$objdir/ -> $output_objdir/lt-
 
 1999-03-09  Thomas Tanner  <tanner@gmx.de>
index 0f3fc19e0fa857118c41ba482e27739c7eabbee3..a676d633c2c7bd0ac98503e0c98e65bc4ccedc3c 100644 (file)
@@ -6,27 +6,20 @@ LTDL_VERSION = -version-info 1:1:1
 
 if INSTALL_LTDL
 include_HEADERS = ltdl.h
+lib_LTLIBRARIES = libltdl.la
 else
 noinst_HEADERS = ltdl.h
 endif
 
 if CONVENIENCE_LTDL
-noinst_LTLIBRARIES = libltdl.la
+noinst_LTLIBRARIES = libltdlc.la
 endif
 
 libltdl_la_SOURCES = ltdl.c
 libltdl_la_LIBADD = $(LIBADD_DL)
 
-lib_LTLIBRARIES = @LIBLIBS@
-EXTRA_LTLIBRARIES =
-
-@TOINST@/libltdl.la: $(libltdl_la_OBJECTS) $(libltdl_la_DEPENDENCIES)
-       test -d $(TOINST) || mkdir $(TOINST)
-       $(LINK) $(libltdl_la_OBJECTS) \
-               -rpath $(libdir) $(LTDL_VERSION) $(libltdl_la_LIBADD)
-
-distclean-local:
-       test -z $(TOINST) || rm -rf $(TOINST)
+libltdlc_la_SOURCES = ltdl.c
+libltdlc_la_LIBADD = $(LIBADD_DL)
 
 libtool: $(LIBTOOL_DEPS)
        $(SHELL) ./config.status --recheck
index a1156eb77232c2a23242f0d61345e1193995aa09..ed83c4e9e5df2f4bbdc8a6bd199d135545f7b0b0 100644 (file)
@@ -6,24 +6,13 @@ AM_CONFIG_HEADER(config.h)
 
 AM_MAINTAINER_MODE
 
-TOINST=toinst
-AC_SUBST(TOINST)
-
 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
-  AC_MSG_WARN([*** Neither AC_LIBLTDL_INSTALLABLE nor AC_LIBLTDL_CONVENIENCE were used])
-  AC_MSG_WARN([*** in configure.in; building convenience library for backward])
-  AC_MSG_WARN([*** compatibility.  This is deprecated, and will not work in the future])
-  enable_ltdl_convenience=yes
+  AC_MSG_WARN([*** Neither [A""C_LIBLTDL_INSTALLABLE] nor [A""C_LIBLTDL_CONVENIENCE] were used])
+  AC_MSG_ERROR([*** in the top-level configure.in; aborting])
 fi
 
 AC_ARG_ENABLE(ltdl-install,
   [--enable-ltdl-install     install libltdl])
-if test x"$enable_ltdl_install" != xno; then
-  LIBLIBS=$TOINST/libltdl.la
-else
-  LIBLIBS=
-fi
-AC_SUBST(LIBLIBS)
 
 AM_CONDITIONAL(INSTALL_LTDL, test x"$enable_ltdl_install" != xno)
 AM_CONDITIONAL(CONVENIENCE_LTDL, test x"$enable_ltdl_convenience" != xno)
index 02442355a36a132af5d00e564dee7fb6be225f7e..3d397e5ca254fbb446bdc8d7e78f361758727113 100644 (file)
@@ -610,7 +610,7 @@ AC_CHECK_LIB(m, cos)
 # flat, and, if you're not using automake, define top_builddir as
 # appropriate in the Makefiles.
 AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [
-  LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
+  LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la
   ac_configure_args="$ac_configure_args --enable-ltdl-convenience"
 ])
 
@@ -629,7 +629,7 @@ AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [
     ac_configure_args="$ac_configure_args --enable-ltdl-install"
   ])
   if test x"$enable_ltdl_install" = x"yes"; then
-    LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/toinst/libltdl.la
+    LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
   fi
 ])