The Samba-Bugzilla – Bug 3690
Allow to pass location of GNU make through environment
Last modified: 2006-05-13 12:36:23 UTC
On BSD systems GNU make, if exists at all called gmake. On FreeBSD, when using ports system its possible to pas gmake location with $MAKE environment variable. TO coop with such approach small patch is suggested.
Created attachment 1860 [details]
use value of SMAKE if passed
Ok, this patch doesn't work entirely well, as it requires full path to GNU make and FreeBSD ports supply it like:
when call configure. Any work around? Maybe, just say:
AC_PATH_PROG(MAKE, [gmake make])
in addition? Still, attached patch is also useful for the systems where absolute path to the MAKE is given. So, combined version possibly should be applied.
Taking this bug.
Sorry, you can already use something like
MAKE=/usr/bin/gmake ./configure to override the make used
so I don't see the need for the first patch.
I'm reluctant to apply the second patch as that'll break for
people trying to run "./configure; make" on FreeBSD (because make BSD
doesn't understand the constructions used)
There is no point in forcing GNU make on FreeBSD for the ports anyway -
automatic dependencies only make sense when you are editing code.