autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Make -v output no longer includes "version"


From: Dave Hart
Subject: GNU Make -v output no longer includes "version"
Date: Sun, 6 Dec 2009 06:38:30 +0000

Having fixed a similar bug in a NTP-local NTP_VPATH_HACK macro, the
following snippet jumped out at me in a configure script from
ntp-4.2.5p250-RC generated with Autoconf 2.65:

case "$ac_busted_vpath_in_make$srcdir" in
 no*) ;;
 yes.) ;;
 *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | sed -e 's/GNU
Make version \(1-9.]*\).*/\1/' -e q`" in
     '')
        as_fn_error "building outside of the main directory requires
GNU make" "$LINENO" 5
        ;;
     *) ;;
    esac
    ;;
esac

Note that GNU Make doesn't include the word "version" in -v output
anymore, apparently:

address@hidden> gmake -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-portbld-freebsd6.4
address@hidden>

So I'd suggest removing it from the sed expression above.

Cheers,
Dave Hart




reply via email to

[Prev in Thread] Current Thread [Next in Thread]