From 01fc5978d3e81bd488762937e9302cc6baf69a20 Mon Sep 17 00:00:00 2001 From: Gabriele Svelto Date: Tue, 3 Apr 2012 10:37:00 +0200 Subject: 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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. -- cgit v1.2.3