# Logic analyzer hardware support '--enable' options.
+# Disabled by default
+AC_ARG_ENABLE(agilent-dmm, AC_HELP_STRING([--enable-agilent-dmm],
+ [enable Agilent DMM driver support [default=no]]),
+ [HW_AGILENT_DMM="$enableval"],
+ [HW_AGILENT_DMM=xno])
+AM_CONDITIONAL(HW_AGILENT_DMM, test x$HW_AGILENT_DMM = xyes)
+if test "x$HW_AGILENT_DMM" = "xyes"; then
+ AC_DEFINE(HAVE_HW_AGILENT_DMM, 1, [Agilent DMM driver support])
+fi
+
# Disabled by default, unfinished.
AC_ARG_ENABLE(alsa, AC_HELP_STRING([--enable-alsa],
[enable ALSA driver support [default=no]]),
# Serial port helpers only needed for some hardware drivers
AM_CONDITIONAL(NEED_SERIAL, \
test "x$LA_OLS" != xno \
+ -o "x$HW_AGILENT_DMM" != xno \
-o "x$HW_GENERICDMM" != xno \
)
AC_CONFIG_FILES([Makefile
version.h
hardware/Makefile
+ hardware/agilent-dmm/Makefile
hardware/alsa/Makefile
hardware/asix-sigma/Makefile
hardware/chronovu-la8/Makefile
echo
echo "Enabled hardware drivers:"
echo
+echo " - Agilent DMM..................... $HW_AGILENT_DMM"
echo " - ASIX SIGMA/SIGMA2............... $LA_ASIX_SIGMA"
echo " - ChronoVu LA8.................... $LA_CHRONOVU_LA8"
echo " - Demo driver..................... $LA_DEMO"
--- /dev/null
+##
+## This file is part of the sigrok project.
+##
+## Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
+##
+## This program is free software: you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation, either version 3 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program. If not, see <http://www.gnu.org/licenses/>.
+##
+
+if HW_AGILENT_DMM
+
+# Local lib, this is NOT meant to be installed!
+noinst_LTLIBRARIES = libsigrokhwagilentdmm.la
+
+libsigrokhwagilentdmm_la_SOURCES = \
+ api.c
+
+libsigrokhwagilentdmm_la_CFLAGS = \
+ -I$(top_srcdir)
+
+endif