* libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Use AM_CONDITIONAL

only if defined.  Allows to use libltdl without aclocal.
This commit is contained in:
Ralf Wildenhues 2008-01-16 18:35:05 +00:00
parent 70cb76014d
commit 3afaae7d8e
2 changed files with 8 additions and 2 deletions

View File

@ -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

View 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