mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-22 06:26:17 +00:00
Make distcheck OK.
Add SVN revision to libnfc version (if available).
This commit is contained in:
11
configure.ac
11
configure.ac
@@ -1,11 +1,13 @@
|
||||
# SVN revison
|
||||
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)
|
||||
|
||||
# SVN revison
|
||||
define([svn_revision], esyscmd([sh -c "svnversion -n"]))
|
||||
SVN_REVISION=svn_revision
|
||||
AC_DEFINE_UNQUOTED([SVN_REVISION], ["$SVN_REVISION"], [SVN revision])
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
AC_LANG_C
|
||||
@@ -36,6 +38,7 @@ AC_TYPE_UINT32_T
|
||||
AC_TYPE_UINT64_T
|
||||
AC_TYPE_INT32_T
|
||||
|
||||
|
||||
# Debug support (default:no)
|
||||
AC_ARG_ENABLE([debug],AS_HELP_STRING([--enable-debug],[Enable debug output]),[enable_debug=$enableval],[enable_debug="no"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user