From 595d1dd73acb91f310383c67cd33634dc32ba771 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 11 Aug 2019 08:19:39 +0200 Subject: [PATCH] re-added accidentially removed HAVE_LINUX_SERIAL check from previous commit --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 420f2053..ed7eb853 100755 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,7 @@ AC_SUBST(EXTRA_LIBS) AC_CHECK_FUNC([pselect], [AC_DEFINE(HAVE_PSELECT, [1], [Defined if pselect() is available.])]) AC_CHECK_FUNC([ppoll], [AC_DEFINE(HAVE_PPOLL, [1], [Defined if ppoll() is available.])]) +AC_CHECK_HEADER([linux/serial.h], [AC_DEFINE(HAVE_LINUX_SERIAL, [1], [Defined if linux/serial.h is available.])]) AC_CHECK_HEADER([dev/usb/uftdiio.h], [AC_DEFINE(HAVE_FREEBSD_UFTDI, [1], [Defined if dev/usb/uftdiio.h is available.])]) AC_ARG_ENABLE(coverage, AS_HELP_STRING([--enable-coverage], [enable code coverage tracking]), [CXXFLAGS+=" -coverage -O0"], [])