[libvirt] [dbus PATCH 1/8] configure: call AC_PROG_CC_STDC to enable C99 if necessary

Pavel Hrdina posted 8 patches 7 years, 3 months ago
[libvirt] [dbus PATCH 1/8] configure: call AC_PROG_CC_STDC to enable C99 if necessary
Posted by Pavel Hrdina 7 years, 3 months ago
This is required to enable C99 on older systems, CentOS 7 for example.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index aef3d37..6715960 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,6 +32,7 @@ AC_SUBST([LIBVIRT_DBUS_VERSION_NUMBER])
 AC_PROG_CC
 AC_PROG_MKDIR_P
 AM_PROG_CC_C_O
+AC_PROG_CC_STDC
 
 PKG_CHECK_MODULES(LIBVIRT, libvirt >= $LIBVIRT_REQUIRED)
 PKG_CHECK_MODULES(SYSTEMD, libsystemd >= $SYSTEMD_REQUIRED)
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [dbus PATCH 1/8] configure: call AC_PROG_CC_STDC to enable C99 if necessary
Posted by Daniel P. Berrangé 7 years, 3 months ago
On Mon, Mar 19, 2018 at 10:30:45AM +0100, Pavel Hrdina wrote:
> This is required to enable C99 on older systems, CentOS 7 for example.
> 
> Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
> ---
>  configure.ac | 1 +
>  1 file changed, 1 insertion(+)


Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list