summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAnton Maklakov <antmak.pub@gmail.com>2018-04-27 07:22:22 (GMT)
committerAnton Maklakov <antmak.pub@gmail.com>2018-04-27 07:26:06 (GMT)
commit7efb493d37f4a19bbd1bb01ca6d7cd17f7e586a0 (patch)
tree6c65f98c36ecd53a6b984efddcbdcf98a9f6f292 /configure.ac
parent90d14443d1ab1d650f7aef98df3d2948ba6dd605 (diff)
Add compatibility with automake < 1.14
As we support CentOS, for example, we have a problem there automake: warnings are treated as errors kconfig/Makefile.am:26: warning: compiling 'lxdialog/checklist.c' in subdir requires 'AM_PROG_CC_C_O' in 'configure.ac' autoreconf: automake failed with exit status: 1
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 765eae1..60dc984 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,6 +87,8 @@ AC_CONFIG_HEADERS([config.h])
# Modern GCC/GDB releases require C++ support in the compiler
AC_PROG_CC
+# Add for legacy reasons (automake < 1.14)
+AM_PROG_CC_C_O
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_LEX