]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Sun, 14 May 2000 08:07:23 +0000 (08:07 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 14 May 2000 08:07:23 +0000 (08:07 +0000)
Pick LIBLTLD from top_builddir and INCLTDL from top_srcdir.
* mdemo/configure.in: Remove comments on
AC_LIBLTLD_CONVENIENCE.

ChangeLog
libtool.m4
mdemo/configure.in

index 99ca7f8f63f92e46acce7ee6101a0b1b178e5468..be63a7647845f43e44584ef30bd30840e170bd54 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2000-05-14  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
+       * libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
+       Pick LIBLTLD from top_builddir and INCLTDL from top_srcdir.
+       * mdemo/configure.in: Remove comments on
+       AC_LIBLTLD_CONVENIENCE.
+
        * configure.in: Look for C++ compiler.
        * Makefile.am (libtool): Configure CXX tag.
        * tests/Makefile.am: Test tagdemo only if CXX found.
index 34eb58506d6ba4706b569cb789336edbe15af6db..e65e927a5cbf465cbe6266f6213890d21b211ef8 100644 (file)
@@ -650,8 +650,8 @@ AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
   "") enable_ltdl_convenience=yes
       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
   esac
-  LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la
-  INCLTDL=ifelse($#,1,-I$1,['-I${top_srcdir}/libltdl'])
+  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
+  INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
 ])
 
 # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
@@ -674,8 +674,8 @@ AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
   ])
   if test x"$enable_ltdl_install" = x"yes"; then
     ac_configure_args="$ac_configure_args --enable-ltdl-install"
-    LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
-    INCLTDL=ifelse($#,1,-I$1,['-I${top_srcdir}/libltdl'])
+    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
+    INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
   else
     ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
     LIBLTDL="-lltdl"
index c01bdf2645928676644fe01ec56e6beebc9f2535..93ff01ef18eff7681f2d9ce0bd72cf18220d6ced 100644 (file)
@@ -7,10 +7,6 @@ AC_PROG_CC
 AC_C_CONST
 AC_EXEEXT
 
-dnl AC_LIBLTDL_CONVENIENCE(['${top_builddir}/../libltdl'])
-dnl Since the package is flat, we need not use the line above,
-dnl and not having macros in LIBLTDL allows us to build LIBLTDL
-dnl on demand even with broken makes
 AC_LIBLTDL_CONVENIENCE(../libltdl)
 AC_SUBST(LIBLTDL)