It now works on MacOS.
This commit is contained in:
parent
c9689c74fb
commit
473965d3a6
2 changed files with 17 additions and 3 deletions
10
configure.ac
10
configure.ac
|
@ -1,5 +1,9 @@
|
||||||
define([rev], esyscmd([sh -c "echo -e 'r\c' && svnversion -n"]))dnl
|
# SVN revison
|
||||||
AC_INIT(libnfc, 1.2.1+rev, info@libnfc.org)
|
define([svn_revision], esyscmd([sh -c "svnversion -n"]))
|
||||||
|
SVN_REVISION=svn_revision
|
||||||
|
|
||||||
|
# General init
|
||||||
|
AC_INIT(libnfc, 1.2.1, info@libnfc.org)
|
||||||
|
|
||||||
AC_CONFIG_HEADER(config.h)
|
AC_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
||||||
|
@ -24,7 +28,7 @@ AC_PATH_PROG(PKG_CONFIG, pkg-config)
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_HEADER_STDBOOL
|
AC_HEADER_STDBOOL
|
||||||
AC_CHECK_HEADERS([stdio.h stdlib.h stdint.h stddef.h stdbool.h usb.h])
|
AC_CHECK_HEADERS([stdio.h stdlib.h stdint.h stddef.h stdbool.h])
|
||||||
|
|
||||||
# Checks for types
|
# Checks for types
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
|
|
|
@ -14,4 +14,14 @@ libnfc_la_LIBADD = \
|
||||||
$(top_builddir)/src/lib/buses/libnfcbuses.la \
|
$(top_builddir)/src/lib/buses/libnfcbuses.la \
|
||||||
$(top_builddir)/src/lib/drivers/libnfcdrivers.la
|
$(top_builddir)/src/lib/drivers/libnfcdrivers.la
|
||||||
|
|
||||||
|
if PCSC_LITE_ENABLED
|
||||||
|
libnfc_la_CFLAGS += @LIBPCSCLITE_CFLAGS@ -DHAVE_PCSC_LITE
|
||||||
|
libnfc_la_LIBADD += @LIBPCSCLITE_LIBS@
|
||||||
|
endif
|
||||||
|
|
||||||
|
if LIBUSB_ENABLED
|
||||||
|
libnfc_la_CFLAGS += @LIBUSB_CFLAGS@ -DHAVE_LIBUSB
|
||||||
|
libnfc_la_LIBADD += @LIBUSB_LIBS@
|
||||||
|
endif
|
||||||
|
|
||||||
DISTCLEANFILES = Makefile.in
|
DISTCLEANFILES = Makefile.in
|
||||||
|
|
Loading…
Add table
Reference in a new issue