[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] There's no point in setting up the libltdl build when we're usin
From: |
Ari Entlich |
Subject: |
[PATCH] There's no point in setting up the libltdl build when we're using an installed copy |
Date: |
Sun, 7 Mar 2010 23:58:59 -0500 (EST) |
The subject says it all. Comments appreciated.
Thanks!
Ari
--
diff --git a/libltdl/m4/ltdl.m4 b/libltdl/m4/ltdl.m4
index 111fac1..67317c0 100644
--- a/libltdl/m4/ltdl.m4
+++ b/libltdl/m4/ltdl.m4
@@ -384,8 +384,11 @@ dnl Don't require this, or it will be expanded earlier
than the code
dnl that sets the variables it relies on:
_LT_ENABLE_INSTALL
-dnl _LTDL_MODE specific code must be called at least once:
-_LTDL_MODE_DISPATCH
+dnl _LTDL_MODE specific code must be called at least once if
+dnl we're using the included copy of libltdl:
+if test x"$with_included_ltdl" = xyes; then
+ _LTDL_MODE_DISPATCH
+fi
# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
# the user used. This is so that ltdl.h can pick up the parent projects
- [PATCH] There's no point in setting up the libltdl build when we're using an installed copy,
Ari Entlich <=