summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-11-17 10:30:36 +0100
committerJim Meyering <meyering@redhat.com>2011-11-17 10:37:11 +0100
commit9946804e286b4186382c67d88f6c3bc16df9c0dd (patch)
treeec6fd16fde8e9475828c2f83726146d08312b8a4
parentc552594b044149faf64844e7cdc7350adb0d961d (diff)
downloadidutils-9946804e286b4186382c67d88f6c3bc16df9c0dd.tar.gz
idutils-9946804e286b4186382c67d88f6c3bc16df9c0dd.tar.bz2
idutils-9946804e286b4186382c67d88f6c3bc16df9c0dd.zip
build: exempt defid from a built-in automake check
defid *does* support --help and --version, but only when gid is already in your shell's search path. That is not the case for the first pre-install build. * src/Makefile.am (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Define.
-rw-r--r--src/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b1afb47..8aa82dd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,3 +16,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/lib \
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
LDADD = ../libidu/libidu.a ../lib/libgnu.a $(LIBINTL) ../lib/libgnu.a
+
+# Tell automake's installcheck-binPROGRAMS rule that defid
+# need not be checked for --help and --version support.
+# Otherwise, it would usually fail when gid is not already installed.
+AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = defid