summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGabriele Svelto <gabriele.svelto@gmail.com>2012-04-03 10:37:00 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-04-04 04:30:54 +0200
commit01fc5978d3e81bd488762937e9302cc6baf69a20 (patch)
treef67a2f884caa5d2575887414f199dedc97de1247 /configure.ac
parent04dafcc608d8030872eb110565789ad6bd741137 (diff)
Define the XS_HAVE_* poller macros in a more robust way
The existing code for definining the XS_HAVE_* macros for the polling mechanism may fail if the platform's `tr' command does not support the GNU syntax. Replacing the hand-made declaration with autoconf macros yields the same results on all platforms. Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index df5e89f..42c6332 100644
--- a/configure.ac
+++ b/configure.ac
@@ -231,7 +231,7 @@ AS_CASE(["${host_cpu}"],
LIBXS_CHECK_DOC_BUILD
# Check polling system
-LIBXS_CHECK_POLLER([CPPFLAGS="${CPPFLAGS} -D${libxs_cv_poller_flag}"],
+LIBXS_CHECK_POLLER([],
[AC_MSG_ERROR([Unable to continue without polling system])])
# Checks for header files.