]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Use AM_CONDITIONAL
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 16 Jan 2008 18:35:05 +0000 (18:35 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 16 Jan 2008 18:35:05 +0000 (18:35 +0000)
only if defined.  Allows to use libltdl without aclocal.

ChangeLog
libltdl/m4/ltdl.m4

index 6bb32524037ff93d2ef01a317a663f754ce3c150..c8a2b3b975dd12fd7e85ae1470fd75df65e3a135 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Use AM_CONDITIONAL
+       only if defined.  Allows to use libltdl without aclocal.
+
 2008-01-16  Peter O'Gorman  <peter@pogma.com>
 
        * libltdl/m4/libtool.m4: Set GCC var for every tag, avoids need
index 435eed16cbf40de37201d6f49e6b818fc02446d7..74a571bdabe4887070a5c475c994ec49fc0e8d78 100644 (file)
@@ -388,8 +388,9 @@ case ,${enable_ltdl_install},${enable_ltdl_convenience} in
   *) enable_ltdl_convenience=yes ;;
 esac
 
-AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
-AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)
+m4_ifdef([AM_CONDITIONAL],
+[AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
+ AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)])
 ])# _LT_ENABLE_INSTALL