GNU Make -v output no longer includes "version"

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

 



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:

hart@psp-fb2> 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
hart@psp-fb2>

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

Cheers,
Dave Hart


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux