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.
This commit is contained in:
Cedric BAIL 2014-04-01 21:58:36 +09:00
parent 36321b872e
commit 5009030d41
1 changed files with 6 additions and 0 deletions

View File

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