aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2008-06-13 14:06:14 +0000
committerN.N. <sevyves@users.sourceforge.net>2008-06-13 14:06:14 +0000
commitcdc5640b3534e1234f42282075a996c98fefb99a (patch)
tree15ec22dbcf505b7a71bc7e0360e844d7dd96bc7a
parentb230d492ba7643ba39530b9ada1b2378ada41355 (diff)
fix compilation on OSX
svn path=/trunk/externals/pidip/; revision=9995
-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