aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 59db721..89fc9c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -236,12 +236,15 @@ AC_CHECK_HEADER(linux/videodev2.h,
AC_DEFINE(HAVE_V4L2, 1, build pdp_v4l2),
echo " linux/videodev2.h not found: not building pdp_v4l2")
-AC_CHECK_HEADER(libdv/dv.h,
+case "$host" in
+ *-linux* )
+ AC_CHECK_HEADER(libdv/dv.h,
PDP_CAPTURE_OBJECT="$PDP_CAPTURE_OBJECT pdp_ieee1394l.o"
PDP_PIDIP_LIBS="-ldv $PDP_PIDIP_LIBS"
AC_DEFINE(HAVE_LIBDV, 1, build pdp_ieee1394 for linux),
echo " libdv/dv.h not found: not building pdp_ieee1394")
-
+ ;;
+esac
if test $enable_ffmpeg == yes;
then