libtool-patches
[Top][All Lists]
Advanced

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

Do not use AM_CONDITIONAL if it's not defined


From: Ralf Wildenhues
Subject: Do not use AM_CONDITIONAL if it's not defined
Date: Wed, 16 Jan 2008 19:35:05 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

I've applied this to not depend upon aclocal.  If it's used, it will
pull in AM_CONDITIONAL, so no difference in that case.

Cheers,
Ralf

2008-01-16  Ralf Wildenhues  <address@hidden>

        * libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Use AM_CONDITIONAL
        only if defined.  Allows to use libltdl without aclocal.

Index: libltdl/m4/ltdl.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/ltdl.m4,v
retrieving revision 1.40
diff -u -r1.40 ltdl.m4
--- libltdl/m4/ltdl.m4  12 Jan 2008 17:00:51 -0000      1.40
+++ libltdl/m4/ltdl.m4  16 Jan 2008 18:23:29 -0000
@@ -388,8 +388,9 @@
   *) 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
 
 




reply via email to

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