fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-09-29 22:47:40 +00:00
parent 2a5feb5485
commit ec2e4f2216
15 changed files with 103 additions and 174 deletions

31
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac Revision: 43410 .
# From configure.ac Revision: 43997 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.60a.
#
@@ -4897,35 +4897,6 @@ fi
# 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
{ echo "$as_me:$LINENO: ********** ERROR **********" >&5
echo "$as_me: ********** ERROR **********" >&6;}
{ echo "$as_me:$LINENO: Your version of GNU Make contains a bug that will cause the Asterisk build" >&5
echo "$as_me: Your version of GNU Make contains a bug that will cause the Asterisk build" >&6;}
{ echo "$as_me:$LINENO: system to not function properly. This bug is known to be fixed in version" >&5
echo "$as_me: system to not function properly. This bug is known to be fixed in version" >&6;}
{ echo "$as_me:$LINENO: 3.81 as well as distributions of 3.80 that contain backported bug fixes. You" >&5
echo "$as_me: 3.81 as well as distributions of 3.80 that contain backported bug fixes. You" >&6;}
{ echo "$as_me:$LINENO: must update GNU make to build Asterisk." >&5
echo "$as_me: must update GNU make to build Asterisk." >&6;}
{ echo "$as_me:$LINENO: ***************************" >&5
echo "$as_me: ***************************" >&6;}
exit 1
fi
rm -f testMakefile
# Extract the first word of "grep", so it can be a program name with args.
set dummy grep; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5