[PATCH] maint: avoid new automake warning about AM_PROG_CC_STDC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I built libvirt recently, I saw a warning go by:
(with cutting edge automake-1.12a)

    configure.ac:83: warning: macro 'AM_PROG_CC_STDC' not found in library

This fixes it:

>From 8f66a7e7f12efa2a60754f06627e94d96030ac78 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@xxxxxxxxxx>
Date: Sat, 26 May 2012 11:21:47 +0200
Subject: [PATCH] maint: avoid new automake warning about AM_PROG_CC_STDC

* configure.ac (AM_PROG_CC_STDC): Stop using this macro.
It provokes warnings from newer automake and is superseded by
autoconf's AC_PROG_CC, which we're already using.
---
 configure.ac | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 5d06b47..54f51ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,7 +80,6 @@ dnl Checks for C compiler.
 AC_PROG_CC
 AC_PROG_INSTALL
 AC_PROG_CPP
-AM_PROG_CC_STDC

 gl_EARLY
 gl_INIT
--
1.7.10.2.565.gbd578b5

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


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]