summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-06-02 22:56:20 +0000
committerLennart Poettering <lennart@poettering.net>2006-06-02 22:56:20 +0000
commit16a275a9fddcf9216941cae4a002f0902ae5df88 (patch)
tree3403d4ad8c0530faa8f1e71a56bb097154b377d2 /configure.ac
parent441362a50b8c7e190b98066198555832a95ef064 (diff)
actually build cpulimit support if SIGXCPU is available
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1005 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c389dd23..7a2fdbf0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -204,7 +204,10 @@ AC_TYPE_OFF_T
AC_TYPE_SIGNAL
AC_TYPE_UID_T
-AC_CHECK_DEFINE([SIGXCPU], [signal.h], [HAVE_SIGXCPU=1], [HAVE_SIGXCPU=0])
+AC_CHECK_DEFINE([SIGXCPU], [signal.h], [
+HAVE_SIGXCPU=1
+AC_DEFINE([HAVE_SIGXCPU], 1, [Have SIGXCPU?])
+], [HAVE_SIGXCPU=0])
AM_CONDITIONAL(HAVE_SIGXCPU, test "x$HAVE_SIGXCPU" = "x1")
# Solaris lacks this