bug-gnulib
[Top][All Lists]
Advanced

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

Fwd: [AbiWord/enchant] Running `make check` can ends up in `rm -rf /` wi


From: Reuben Thomas
Subject: Fwd: [AbiWord/enchant] Running `make check` can ends up in `rm -rf /` with enchant 2.2.3 (and probably `master` too) (#201)
Date: Mon, 29 Oct 2018 20:02:08 +0000

Problem reported to me by a NetBSD user:

m4/gnu-make.m4 […] has wrong assumptions:
    11  # Set GNU_MAKE if we are using a recent-enough version of GNU make.
    12
    13  # Use --version AND trailing junk, because SGI Make doesn't fail on --version.
    14
    15  AC_DEFUN([gl_GNU_MAKE],
    16  [
    17    AM_CONDITIONAL([GNU_MAKE],
    18      [${MAKE-make} --version /cannot/make/this >/dev/null 2>&1])
    19  ])

(Of course on NetBSD make --version /cannot/make/this cleanly return a succesfull exit status!)

...and indeed in config.log we can see:

[...]
GNU_MAKE_FALSE='#'
GNU_MAKE_TRUE=''
[...]
--
https://rrt.sc3d.org

reply via email to

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