PATCH: capi4linux / capi20 wrapper for WINE

Marcus Meissner marcus at jet.franken.de
Fri Oct 31 12:31:30 CST 2003


Hi,

I have been asked by AVM Computersysteme Vertriebs GmbH (a major ISDN card manufacturer
in germany) to clean up and submit their capi20 library which is based on capi4linux.

Since it is pretty small and includeable without large problems, I don't think there
is a problem adding it to WINE.

Here it is, patch inline, new files as tarball.

autoconf, autoheader -l include, make_dlls ...

Ciao, Marcus

Changelog:
	AVM Computersysteme Vertriebs GmbH
	Implemented a CAPI20 wrapper library for CAPI4Linux access.

	Marcus Meissner <marcus at jet.franken.de>
	Cleaned up, autoconfed.

Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.194
diff -u -r1.194 configure.ac
--- configure.ac	31 Oct 2003 03:38:07 -0000	1.194
+++ configure.ac	31 Oct 2003 18:25:37 -0000
@@ -624,6 +640,19 @@
                   [AUDIOIOLIBS="-laudioio"
                    AC_DEFINE(HAVE_LIBAUDIOIO, 1, [Define if you have libaudioIO])])])
 
+dnl **** Check for capi4linux ****
+
+
+AC_SUBST(CAPI4LINUXLIBS,"")
+AC_CHECK_HEADERS(capi20.h,[
+	AC_CHECK_HEADERS(linux/capi.h,[
+		AC_CHECK_LIB(capi20,capi20_register,[
+			AC_DEFINE(HAVE_CAPI4LINUX,1,[Define if you have capi4linux libs and headers])
+			CAPI4LINUXLIBS="-lcapi20"
+		])
+	])
+])
+
 dnl **** Check for broken glibc mmap64 ****
 
 AC_CACHE_CHECK( [whether mmap64 works defined as mmap], ac_cv_mmap64_works,
@@ -1414,6 +1443,7 @@
 dlls/avicap32/Makefile
 dlls/avifil32/Makefile
 dlls/cabinet/Makefile
+dlls/capi2032/Makefile
 dlls/cfgmgr32/Makefile
 dlls/comcat/Makefile
 dlls/comctl32/Makefile
-------------- next part --------------
A non-text attachment was scrubbed...
Name: capi2.tar.bz2
Type: application/x-bzip2
Size: 3081 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20031031/0f2231de/capi2.tar.bin


More information about the wine-patches mailing list