configure.ac: add AM_PROG_CC_C_O
authorRan Benita <ran234@gmail.com>
Sun, 13 Oct 2013 19:19:38 +0000 (22:19 +0300)
committerRan Benita <ran234@gmail.com>
Sun, 13 Oct 2013 19:25:24 +0000 (22:25 +0300)
Older Automakes give this error without this directive:

Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'

In newer autotools this is included under AC_PROG_CC, but it's harmless
to add.

https://github.com/xkbcommon/libxkbcommon/issues/3

Signed-off-by: Ran Benita <ran234@gmail.com>
configure.ac

index c0ac1c5..fc77c62 100644 (file)
@@ -49,6 +49,9 @@ XORG_MEMORY_CHECK_FLAGS
 XORG_ENABLE_DOCS
 XORG_WITH_DOXYGEN
 
+# Needed in older Automakes for subdir-objects
+AM_PROG_CC_C_O
+
 # Check for compiler features
 AC_C_INLINE