From 5009030d41fb0c1584aae98414451e73778d671f Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Tue, 1 Apr 2014 21:58:36 +0900 Subject: [PATCH] autotools: fix to many argument on shell script during make check The autogenerated check macro by autotools lead to a huge number of file being added on the command line of a script, when the only things it does is to test for the definition of those strings. Hoping this is going to fix the problem. If that doesn't we will need to write our own CHECK macro here. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 82418f32aa..f24400be0f 100644 --- a/configure.ac +++ b/configure.ac @@ -284,6 +284,7 @@ AC_PROG_OBJC AC_LANG(C) AC_PROG_CC_C99 AM_PROG_CC_C_O +AC_PROG_SED AM_CONDITIONAL([BUILD_EFL_NATIVE], [test "x${cross_compiling}" = "xno"]) @@ -4185,6 +4186,11 @@ cmakeconfig/EmotionConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in AC_OUTPUT +#### Work around bug in automake check macro +## yes it is hugly, but no choice here for now. +sed -i "s/am__is_gnu_make = test -n '\$(MAKEFILE_LIST)' && test -n '\$(MAKELEVEL)'/ifdef MAKEFILE_LIST\nifdef MAKELEVEL\nam__is_gnu_make = true\nelse\nam__is_gnu_make = false\nendif\nelse\nam__is_gnu_make = false\nendif/" src/Makefile + + #### Info