mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-26 00:16:18 +00:00
Removes --enable-serial-autoprobe option at compile and replace this feature by LIBNFC_INTRUSIVE_SCAN environment variable at run time.
This commit is contained in:
11
configure.ac
11
configure.ac
@@ -84,17 +84,6 @@ fi
|
||||
# Handle --with-drivers option
|
||||
LIBNFC_ARG_WITH_DRIVERS
|
||||
|
||||
# Serial autoprobing support (default:no)
|
||||
AC_ARG_ENABLE([serial-autoprobe],AS_HELP_STRING([--enable-serial-autoprobe],[Allow serial ports to be probed (can seriously disturb connected serial devices)]),[enable_serial_autoprobe=$enableval],[enable_serial_autoprobe="no"])
|
||||
|
||||
AC_MSG_CHECKING(for serial autoprobe flag)
|
||||
AC_MSG_RESULT($enable_serial_autoprobe)
|
||||
|
||||
if test x"$enable_serial_autoprobe" = "xyes"
|
||||
then
|
||||
CFLAGS="$CFLAGS -DSERIAL_AUTOPROBE_ENABLED"
|
||||
fi
|
||||
|
||||
# Documentation (default: no)
|
||||
AC_ARG_ENABLE([doc],AS_HELP_STRING([--enable-doc],[Enable documentation generation.]),[enable_doc=$enableval],[enable_doc="no"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user