diff options
author | Karel Zak | 2013-01-24 19:27:12 +0100 |
---|---|---|
committer | Karel Zak | 2013-01-24 19:27:12 +0100 |
commit | 951666e9f337974a5ffa5097b5613881a23ddd47 (patch) | |
tree | 9ae8c56511a08fb06ad8e3d837b99797fc805803 /text-utils/Makemodule.am | |
parent | build-sys: add --disable-{more,ul,pg} (diff) | |
download | kernel-qcow2-util-linux-951666e9f337974a5ffa5097b5613881a23ddd47.tar.gz kernel-qcow2-util-linux-951666e9f337974a5ffa5097b5613881a23ddd47.tar.xz kernel-qcow2-util-linux-951666e9f337974a5ffa5097b5613881a23ddd47.zip |
more: allow to compile as non-interactive test_more program
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/Makemodule.am')
-rw-r--r-- | text-utils/Makemodule.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/text-utils/Makemodule.am b/text-utils/Makemodule.am index 050343eb7..6ddec56b3 100644 --- a/text-utils/Makemodule.am +++ b/text-utils/Makemodule.am @@ -87,5 +87,11 @@ else more_LDADD += -ltermcap endif endif + +check_PROGRAMS += test_more +test_more_SOURCES = $(more_SOURCES) +test_more_CFLAGS = -DTEST_PROGRAM +test_more_LDADD = $(more_LDADD) + endif # BUILD_MORE |