diff options
author | Martin-Éric Racine <martin-eric.racine@iki.fi> | 2011-11-13 03:10:01 +0200 |
---|---|---|
committer | Martin-Éric Racine <martin-eric.racine@iki.fi> | 2011-11-13 03:10:01 +0200 |
commit | f6745f544feeb7443405f4b87043be9b721236b5 (patch) | |
tree | ceffac7c8857289f6b12ef81917761ce811cc326 /configure.ac | |
parent | f15f4da59a80533f3864aa6c54b4471e272d5c80 (diff) |
Only enable z4l.c on Linux.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
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 |