From 7efb493d37f4a19bbd1bb01ca6d7cd17f7e586a0 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Fri, 27 Apr 2018 15:22:22 +0800 Subject: 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 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 -- cgit v0.10.2-6-g49f6