[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: progress of Subversion autoconfiscation

From: Jon Stevens <jon_at_collab.net>
Date: 2000-07-16 22:22:09 CEST

on 7/15/2000 8:03 PM, "Greg Stein" <gstein@lyra.org> wrote:

> I don't think anybody wants to *require* gmake, so take that out of the
> picture.
>
> I do believe all the current make programs provide an include directive. If
> not, then Apache is going to have some serious problems :-)
>
> Cheers,
> -g

fyi, the Apache JServ project requires GNU make and no one has complained.
It made our lives much easier because fewer people would complain about the
Makefiles not working. Consider it like standardizing on one make program. I
don't see that as a bad thing since GNU make does the job quite nicely.

Here is what I hacked together:

for configure.in...

# Check to make sure that we have GNU make
CHECK_GNU_MAKE()

for acinclude.m4...

AC_DEFUN(CHECK_GNU_MAKE,[
    AC_CACHE_CHECK([for GNU make], _cv_gnu_make_command, [
       ifGNUmake='#' ;
       _cv_gnu_make_command='' ;
       if ${TEST} -x ${MAKE} ; then
           if ( ${MAKE} --version 2> /dev/null | ${GREP} GNU ) ; then
               _cv_gnu_make_command=${MAKE} ;
               ifGNUmake='' ;
           fi
       fi
       if ${TEST} -n "${ifGNUmake}" ; then
          AC_MSG_ERROR([
Found: ${MAKE}
GNU make is required and was not found. If GNU make is not installed,
please install it. www.gnu.org. If GNU make is installed, please adjust
your PATH to make sure that GNU make is found before any other version
of make that is installed on your system. rm config.cache and then
re-run configure again.])
       fi
    ])
])

-jon
Received on Sat Oct 21 14:36:05 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.