Only enable z4l.c on Linux.

This commit is contained in:
Martin-Éric Racine
2011-11-13 03:10:01 +02:00
parent f15f4da59a
commit f6745f544f
2 changed files with 19 additions and 0 deletions

View File

@@ -31,3 +31,12 @@ ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
#if BUILD_Z4L
ztv_drv_la_LTLIBRARIES = ztv_drv.la
ztv_drv_la_LDFLAGS = -module -avoid-version
ztv_drv_ladir = @moduledir@/drivers
ztv_drv_la_SOURCES = \
z4l.c
#endif

View File

@@ -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