1 dnl Process this file with autoconf to create configure.
7 AM_INIT_AUTOMAKE(librfid, 0.0.1)
12 AC_SUBST(LIBTOOL_DEPS)
15 [ --with-ccid Include internal CCID driver],
16 [MY_CCID=1], [MY_CCID=0])
19 AM_CONDITIONAL(MY_CCID, test "$MY_CCID" == "1")
21 #AC_CHECK_HEADERS(usb.h, [have_libusb="yes"], [ AC_MSG_WARN([usb.h not found, use --enable-libusb=PATH. Otherwise, INDI will compile without Apogee USB support.]) ])
23 AC_CHECK_LIB(usb, usb_close,,)
24 AM_CONDITIONAL(HAVE_LIBUSB, test "x$have_libusb" = "xyes")
26 dnl Output the makefile
27 AC_OUTPUT(Makefile src/Makefile include/Makefile include/librfid/Makefile utils/Makefile)