]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: fix libcap configure flag handling
authorMike Frysinger <vapier@gentoo.org>
Thu, 3 Sep 2009 19:31:01 +0000 (15:31 -0400)
committerJim Meyering <meyering@redhat.com>
Fri, 4 Sep 2009 06:48:03 +0000 (08:48 +0200)
commit370fa0fa4241d2c9f1319412d381138d53a5f4fd
tree8d3c907367979cfd32e96fcd365e1904dba76af4
parente0e8429c2433bd9820f42250236badc585bd9dd7
build: fix libcap configure flag handling

* m4/jm-macros.m4 (coreutils_MACROS): The code to handle configure-time
enabling or disabling of libcap support was broken.  It would treat any
libcap configure option as --disable-libcap because it doesn't check
$enableval at all.  This change makes sure we do the sane thing:
  --disable-libcap -> disable and don't run any tests
  --enable-libcap -> run tests and fail if not found
  default -> run tests and warn if not found
m4/jm-macros.m4