aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:25 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:25 +0200
commit1767b21eb219fb9ac332aca9f7c3abecd97b6b39 (patch)
tree95ac07953f40ebbd6a674024ad4fc6b9f952e1f9 /configure.ac
parentc74c38760df69bb87e93dff18cf91464e5d02f37 (diff)
downloaddebian_htop-1767b21eb219fb9ac332aca9f7c3abecd97b6b39.tar.gz
debian_htop-1767b21eb219fb9ac332aca9f7c3abecd97b6b39.tar.bz2
debian_htop-1767b21eb219fb9ac332aca9f7c3abecd97b6b39.zip
Imported Upstream version 0.8.1+svn149upstream/0.8.1+svn149
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 955b32c..979509d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,8 +97,9 @@ AC_CHECK_FILE($PROCDIR/meminfo,,AC_MSG_ERROR(Cannot find /proc/meminfo. Make sur
PLPA_INCLUDED(plpa-1.1)
PLPA_INIT(plpa_happy=yes, plpa_happy=no)
-if test "x$plpa_happy" = xno; then
- AC_MSG_ERROR([Failed to initialize PLPA.])
+AM_CONDITIONAL([HAVE_PLPA], [test "$plpa_happy" = "yes"])
+if test "$plpa_happy" = "yes"; then
+ AC_DEFINE([HAVE_PLPA], [1], [Have plpa])
fi
AC_CONFIG_FILES([Makefile])

© 2014-2024 Faster IT GmbH | imprint | privacy policy