]> xenbits.xensource.com Git - libvirt.git/commitdiff
configure: request system specific extensions
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 22 Jan 2020 11:40:42 +0000 (11:40 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 29 Jan 2020 14:51:40 +0000 (14:51 +0000)
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.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
configure.ac

index 2cd0e7dceeb4df0282b7a808c578220c846e1683..adfd9502600310300e7aad0b62a5c69531b89372 100644 (file)
@@ -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}'`