1
0
mirror of https://frontier.innolan.net/rainlance/amiga-ntimed.git synced 2026-05-02 18:46:05 +00:00

Detect if make(1) is GNU make, to avoid confusing debian kFreeBSD.

This commit is contained in:
Poul-Henning Kamp
2015-01-04 14:45:01 +00:00
parent 69f9d9edea
commit 7346057b62

12
configure vendored
View File

@@ -74,8 +74,18 @@ SRCS='
udp.c
'
if [ -f /usr/share/mk/bsd.prog.mk ] ; then
if make -v 2>&1 | grep -q GNU ; then
echo "make(1) is GNU make."
BSD=false
elif [ -f /usr/share/mk/bsd.prog.mk ] ; then
echo "Found bsd.prog.mk, will use it."
BSD=true
else
echo "Defaulting to plain makefile"
BSD=false
fi
if $BSD ; then
(
echo '# BSD-style Makefile generated by configure'
echo 'PROG = ntimed-client'