PATCH: capi4linux / capi20 wrapper for WINE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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

Attachment: capi2.tar.bz2
Description: BZip2 compressed data


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux