2007-09-04 Doug Scott <
[email protected]>
* SFElibraw1394.spec: *NEW* Interface to IEEE-1394 subsystem
- requires raw1394 driver for Solaris (in progress)
* SFEdvgrab.spec: *NEW* DV grabbing utility
* SFElibavc1394.spec: *NEW* interface to the 1394 AV/C specification
* SFElibiec61883.spec: *NEW* Streaming library for IEEE1394
* SFEdocbook-utils.spec: Fixed typo
* base-specs/libraw1394.spec: base spec
* base-specs/libiec61883.spec: base spec
* base-specs/dvgrab.spec: base spec
* base-specs/libavc1394.spec: base spec
* patches/dvgrab-04-sunpro.diff: Sun Studio patch
* patches/libraw1394-01-configure.diff: configure patch
* patches/libavc1394-01-wall.diff: remove -Wall
* patches/dvgrab-02-v4l2.diff: patch for Solaris v4l2
* patches/libraw1394-02-u_int.diff: add u_intX_t types
* patches/dvgrab-03-u_int.diff: add u_intX_t types
* patches/dvgrab-01-configure.diff: configure patch
* patches/libraw1394-04-eremoteio.diff: change EREMOTEIO to EIO
* patches/dvgrab-06-return.diff: add return
* patches/libiec61883-01-function.diff: Change __FUNCTION__ to __func__
* patches/libraw1394-03-kernel.diff: Initial raw1394 port defns
* patches/libiec61883-02-struct.diff: gccism
* patches/dvgrab-05-strsep.diff: Add strsep function
* include/byteswap-compat.h: Fix Sun CXX asm issues
diff -ur dvgrab-3.0.orig/configure.in dvgrab-3.0/configure.in
--- dvgrab-3.0.orig/configure.in 2007-08-07 09:51:47.000000000 +0700
+++ dvgrab-3.0/configure.in 2007-09-04 11:06:22.749719100 +0700
@@ -15,7 +15,28 @@
dnl Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS(fcntl.h unistd.h stdio.h)
+AC_CHECK_HEADERS(fcntl.h unistd.h stdio.h sys/types.h inttypes.h sys/ioccom.h)
+
+AC_MSG_CHECKING([if inttypes has u_int32_t etc])
+AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#if HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+ ]],[[
+ u_int32_t s;
+ sleep((unsigned int)s);
+ ]]
+ )],
+ [AC_DEFINE(HAVE_U_INT_TYPES, 1, [Define to 1 if have u_int32_t types etc])
+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
dnl Checks for libraries.
@@ -86,6 +107,11 @@
AC_WARN(V4L2 headers missing; install linux 2.6 headers to use USB.)
])
+AC_CHECK_HEADERS(sys/videodev2.h,,
+[
+ AC_WARN(V4L2 headers missing.)
+])
+
# EFENCE
AC_ARG_WITH(efence,[ --with-efence Use ElectricFence for debugging support.],