[libvirt PATCH v2 22/56] configure: request system specific extensions

Daniel P. Berrangé posted 56 patches 6 years ago
There is a newer version of this series
[libvirt PATCH v2 22/56] configure: request system specific extensions
Posted by Daniel P. Berrangé 6 years ago
The AC_USE_SYSTEM_EXTENSIONS macro causes things like
"USE_GNU" to be defined, which enables access to OS
specific extensions to POSIX. We currently got this
indirectly via GNULIB's 'extensions' module which is
a dependancy of other GNULIB modules we use.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 2cd0e7dcee..adfd950260 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,8 @@ m4_ifndef([AM_SILENT_RULES],
 
 AC_CANONICAL_HOST
 
+AC_USE_SYSTEM_EXTENSIONS
+
 # First extract pieces from the version number string
 LIBVIRT_MAJOR_VERSION=`echo $VERSION | awk -F. '{print $1}'`
 LIBVIRT_MINOR_VERSION=`echo $VERSION | awk -F. '{print $2}'`
-- 
2.24.1

Re: [libvirt PATCH v2 22/56] configure: request system specific extensions
Posted by Pavel Hrdina 6 years ago
On Tue, Jan 28, 2020 at 01:11:03PM +0000, Daniel P. Berrangé wrote:
> The AC_USE_SYSTEM_EXTENSIONS macro causes things like
> "USE_GNU" to be defined, which enables access to OS
> specific extensions to POSIX. We currently got this
> indirectly via GNULIB's 'extensions' module which is
> a dependancy of other GNULIB modules we use.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  configure.ac | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>