]> Savannah Git Hosting - gnulib.git/commitdiff
vasprintf-posix: avoid compiling vasnprintf where possible
authorPádraig Brady <P@draigBrady.com>
Wed, 3 Jun 2015 03:38:03 +0000 (04:38 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 3 Jun 2015 10:56:17 +0000 (11:56 +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
modules/vasprintf-posix

index 2b922ceb6c1fdf944ceb1bafa066a51646ba63f1..e1f2492fa79ffbc85ec15f316c44335f8e2a7561 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-06-03  Pádraig Brady  <P@draigBrady.com>
+
+       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  <P@draigBrady.com>
 
        file-has-acl: fix build on Mac OS X 10
index 224db7cb8db961a79e0617e421e71f9547959650..7c0686be9d7e3966ce750cf2a5ac01697412dcd4 100644 (file)
@@ -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