aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAnton Maklakov <antmak.pub@gmail.com>2018-04-27 15:22:22 +0800
committerAnton Maklakov <antmak.pub@gmail.com>2018-04-27 15:26:06 +0800
commit7efb493d37f4a19bbd1bb01ca6d7cd17f7e586a0 (patch)
tree6c65f98c36ecd53a6b984efddcbdcf98a9f6f292 /configure.ac
parent90d14443d1ab1d650f7aef98df3d2948ba6dd605 (diff)
downloadcrosstool-ng-7efb493d37f4a19bbd1bb01ca6d7cd17f7e586a0.tar.gz
crosstool-ng-7efb493d37f4a19bbd1bb01ca6d7cd17f7e586a0.tar.bz2
crosstool-ng-7efb493d37f4a19bbd1bb01ca6d7cd17f7e586a0.zip
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 765eae17..60dc9848 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