changeset 18004:821f62f72c80

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.
author Pádraig Brady <P@draigBrady.com>
date Wed, 03 Jun 2015 04:38:03 +0100
parents b340ea1b01ed
children 7e97da340d57
files ChangeLog modules/vasprintf-posix
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jun 02 00:53:48 2015 +0100
+++ b/ChangeLog	Wed Jun 03 04:38:03 2015 +0100
@@ -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
--- a/modules/vasprintf-posix	Tue Jun 02 00:53:48 2015 +0100
+++ b/modules/vasprintf-posix	Wed Jun 03 04:38:03 2015 +0100
@@ -14,7 +14,7 @@
 
 Depends-on:
 vasprintf
-vasnprintf
+vasnprintf     [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
 isnand-nolibm
 isnanl-nolibm
 frexp-nolibm