(check): Depend on it.
(noinst_PROGRAMS): Define.
## 02111-1307, USA.
noinst_LIBRARIES = libfetish.a
+noinst_PROGRAMS = t-fpending
AM_CPPFLAGS = -I.. -I$(srcdir)
DEFS += -DLIBDIR=\"$(libdir)\"
BUILT_SOURCES += $(GETOPT_H)
EXTRA_DIST += getopt_.h getopt_int.h
+check: unit-test
+
+unit-test:
+ ./t-fpending > /dev/null
+
# We need the following in order to create an <getopt.h> when the system
# doesn't have one that works with the given compiler.
all-local $(lib_OBJECTS): $(GETOPT_H)