diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-29 22:47:40 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-29 22:47:40 +0000 |
commit | baa8d6158635e36d4daaa52ddec661cd1bb0912f (patch) | |
tree | e4c026f46c9bc49b0e295938912686965a0897dc /configure.ac | |
parent | 8db549642d02e7a37783caec3d1b9929cfa5db55 (diff) |
fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44055 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/configure.ac b/configure.ac index ab2146818..f98a62aa8 100644 --- a/configure.ac +++ b/configure.ac @@ -126,29 +126,6 @@ AC_PROG_LN_S AC_PROG_RANLIB AST_CHECK_GNU_MAKE -# http://www.mail-archive.com/bug-make@gnu.org/msg02871.html -echo 'define A' > testMakefile -echo '12345: $(1:.idl=.hh) $(1:.idl=S.h) $(1:.idl=C.h) $(1:.idl=SK.cc) $(1:.idl=DynSK.cc)' >> testMakefile -echo 'endef' >> testMakefile -echo '$(eval $(call A,01234567890123456789012345678901.idl))' >> testMakefile -echo '01234567890123456789012345678901.hh:' >> testMakefile -echo '01234567890123456789012345678901S.h:' >> testMakefile -echo '01234567890123456789012345678901C.h:' >> testMakefile -echo '01234567890123456789012345678901SK.cc:' >> testMakefile -echo '01234567890123456789012345678901DynSK.cc:' >> testMakefile -$GNU_MAKE -r -f testMakefile 2>&1 > /dev/null -if test "$?" != "0" ; then - rm -f testMakefile - AC_MSG_NOTICE(********** ERROR **********) - AC_MSG_NOTICE(Your version of GNU Make contains a bug that will cause the Asterisk build) - AC_MSG_NOTICE(system to not function properly. This bug is known to be fixed in version) - AC_MSG_NOTICE(3.81 as well as distributions of 3.80 that contain backported bug fixes. You) - AC_MSG_NOTICE(must update GNU make to build Asterisk.) - AC_MSG_NOTICE(***************************) - exit 1 -fi -rm -f testMakefile - AC_PATH_PROG([GREP], [grep], :) AC_PATH_PROG([AR], [ar], :) AC_PATH_PROG([FIND], [find], :) |