From f6745f544feeb7443405f4b87043be9b721236b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin-=C3=89ric=20Racine?= Date: Sun, 13 Nov 2011 03:10:01 +0200 Subject: Only enable z4l.c on Linux. --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 483caff..d3cedb3 100644 --- a/configure.ac +++ b/configure.ac @@ -114,6 +114,16 @@ AC_SUBST([XORG_CFLAGS]) AC_SUBST([moduledir]) AC_SUBST([AMD_CFLAGS]) +case $host_os in + *linux*) + BUILD_Z4L=yes + ;; + *) + BUILD_Z4l=no + ;; +esac + +AM_CONDITIONAL(BUILD_Z4L, [test "x$BUILD_Z4L" = xyes]) is386=false case $host_cpu in -- cgit v1.2.3