Fix to ./autogen.sh error bellow.
/usr/share/automake-1.11/am/dejagnu.am: DEJATOOL was already defined in condition LINUX, which is included in condition TRUE ...
testsuite/Makefile.am:6: ... `DEJATOOL' previously defined here
Reference: http://www.freelists.org/post/procps/procpsng-331-nearly-there,5
Reported-by: Jim Warner <james.warner@comcast.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
AUTOMAKE_OPTIONS = dejagnu
export DEJAGNU
+# Programs that are expected across the board.
+DEJATOOL =
+
if LINUX
-# Programs that are expected across the board
-test_tools = \
- free \
- pgrep \
- pkill \
- ps \
- pwdx \
- uptime \
- vmstat \
- w \
- sysctl slabtop pmap kill
+# These should be in defined in 'across the board' scope, but are
+# temporarily disabled on other than linux systems, see commit
+# 3d807ae853b8b4264da156065b34f1447658a8ba
+DEJATOOL += \
+ kill \
+ pmap \
+ slabtop \
+ sysctl
+DEJATOOL += \
+ free \
+ pgrep \
+ pkill \
+ ps \
+ pwdx \
+ uptime \
+ vmstat \
+ w
endif
-DEJATOOL = $(test_tools)
-
-
EXTRA_DIST = \
free.test/free.exp \
kill.test/kill.exp \