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
This commit is contained in:
Anton Maklakov 2018-04-27 15:22:22 +08:00
parent 90d14443d1
commit 7efb493d37

View File

@ -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