]> sigrok.org Git - sigrok-gtk.git/commitdiff
configure.ac: Add missing AM_PROG_CC_C_O.
authorUwe Hermann <redacted>
Sat, 19 Jan 2013 16:57:06 +0000 (17:57 +0100)
committerUwe Hermann <redacted>
Sat, 19 Jan 2013 16:57:06 +0000 (17:57 +0100)
This causes a warning/error during ./autogen.sh otherwise, at least
on OpenBSD.

Makefile.am:26: warning: compiling 'main.c' with per-target flags requires
'AM_PROG_CC_C_O' in 'configure.ac'.

configure.ac

index eaa1d9dc29550ae4377945642cbe20f874de215a..dc99626d80e8e08e7f540da81ca043f24bdb66f2 100644 (file)
@@ -42,6 +42,9 @@ CFLAGS="$CFLAGS -Wall -Wextra"
 AC_PROG_CC
 AC_PROG_INSTALL
 
+# Needed for per-target flags or subdir-objects with C sources.
+AM_PROG_CC_C_O
+
 # Initialize libtool.
 LT_INIT