bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] vasprintf-posix: avoid compiling vasnprintf where possible


From: Pádraig Brady
Subject: [PATCH] vasprintf-posix: avoid compiling vasnprintf where possible
Date: Wed, 3 Jun 2015 04:41:07 +0100

* modules/vasprintf-posix: Avoid compiling the large vasnprintf
module where not required. For example on a GNU/Linux system
when gnulib-tool is run with the --conditional-dependencies option.
---
 ChangeLog               | 7 +++++++
 modules/vasprintf-posix | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 2b922ce..4a7ca24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-06-03  Pádraig Brady  <address@hidden>
+
+       vasprintf-posix: avoid compiling vasnprintf where possible
+       * modules/vasprintf-posix: Avoid compiling the large vasnprintf
+       module where not required. For example on a GNU/Linux system
+       when gnulib-tool is run with the --conditional-dependencies option.
+
 2015-06-02  Pádraig Brady  <address@hidden>
 
        file-has-acl: fix build on Mac OS X 10
diff --git a/modules/vasprintf-posix b/modules/vasprintf-posix
index 224db7c..7c0686b 100644
--- a/modules/vasprintf-posix
+++ b/modules/vasprintf-posix
@@ -14,7 +14,7 @@ m4/math_h.m4
 
 Depends-on:
 vasprintf
-vasnprintf
+vasnprintf     [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
 isnand-nolibm
 isnanl-nolibm
 frexp-nolibm
-- 
2.4.1




reply via email to

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