[sane-devel] configure.in patch for OS/2

Paul Smedley paul at smedley.info
Fri Aug 19 10:55:36 UTC 2005


Last patch hopefully to get OS/2 USB support working out of the box...

Cheers,

Paul.
-------------- next part --------------
--- configure.in	Fri Aug 19 20:23:42 2005
+++ configure.in.mod	Fri Aug 19 20:23:08 2005
@@ -135,14 +135,11 @@
 ])
 
 AC_CHECK_HEADER(usbcalls.h,[
-	AC_CHECK_LIB(
-		usbcalls,
-		rsm_open_device,[
 			AC_DEFINE(HAVE_USBCALLS,1,[define if you have the usbcalls library])
 			LIBS="$LIBS -lusbcalls"
-		]
-	)
-])
+		],,[
+#include <usb.h> 
+#include <os2.h>])
 
 
 dnl ***********************************************************************


More information about the sane-devel mailing list