[fedora-virt] [PATCH libguestfs] avoid automake failure

Jim Meyering jim at meyering.net
Thu Jul 2 12:20:01 UTC 2009


Running autoreconf -i in libguestfs, I get this:

Makefile.am:21: compiling `augeas.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'

Here's the patch:

>From 9ce260c5aff7bc916b368d1dbc533a7f659db320 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Thu, 2 Jul 2009 13:36:04 +0200
Subject: [PATCH] avoid automake failure

* daemon/configure.ac: Use AM_PROG_CC_C_O, not AC_PROG_CC_C_O.
---
 daemon/configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daemon/configure.ac b/daemon/configure.ac
index a91db6d..6ecbb8a 100644
--- a/daemon/configure.ac
+++ b/daemon/configure.ac
@@ -44,7 +44,7 @@ AC_PROG_CPP
 AC_C_PROTOTYPES
 test "x$U" != "x" && AC_MSG_ERROR([Compiler not ANSI compliant])

-AC_PROG_CC_C_O
+AM_PROG_CC_C_O

 dnl Check for Augeas (now optional).
 AC_CHECK_LIB([augeas],[aug_match],[
--
1.6.3.3.507.gc6b5a




More information about the virt mailing list