[virt-tools-list] [PATCH virt-viewer] Make sure the compiler supports C99

Tiziano Müller tiziano.mueller at stepping-stone.ch
Fri Jun 13 13:21:29 UTC 2014


Otherwise passing explicit CFLAGS may omit the -std=c99, resulting in
build failures. Requesting for a compiler supporting C99 makes sure
-std=c99 is always passed along.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 067c918..fb9e0ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,7 @@ esac
 AC_MSG_RESULT([$os_win32])
 AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"])
 
-AC_PROG_CC
+AC_PROG_CC_C99
 AM_PROG_CC_C_O
 LT_INIT
 
-- 
1.9.2




More information about the virt-tools-list mailing list