[PD-cvs] SF.net SVN: pure-data: [9995] trunk/externals/pidip/configure.ac

sevyves at users.sourceforge.net sevyves at users.sourceforge.net
Fri Jun 13 16:06:14 CEST 2008


Revision: 9995
          http://pure-data.svn.sourceforge.net/pure-data/?rev=9995&view=rev
Author:   sevyves
Date:     2008-06-13 07:06:14 -0700 (Fri, 13 Jun 2008)

Log Message:
-----------
fix compilation on OSX

Modified Paths:
--------------
    trunk/externals/pidip/configure.ac

Modified: trunk/externals/pidip/configure.ac
===================================================================
--- trunk/externals/pidip/configure.ac	2008-06-13 13:42:01 UTC (rev 9994)
+++ trunk/externals/pidip/configure.ac	2008-06-13 14:06:14 UTC (rev 9995)
@@ -236,13 +236,16 @@
                 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
   echo -n "looking for ffmpeg sources (required) ... "


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list