Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the sigrok project. |
| 3 | ## |
Bert Vermeulen | c73d2ea | 2012-02-13 14:31:51 +0100 | [diff] [blame] | 4 | ## Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com> |
Alexandru Gagniuc | d375b3c | 2012-10-15 01:17:32 -0500 | [diff] [blame] | 5 | ## Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com> |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 6 | ## |
| 7 | ## This program is free software: you can redistribute it and/or modify |
| 8 | ## it under the terms of the GNU General Public License as published by |
| 9 | ## the Free Software Foundation, either version 3 of the License, or |
| 10 | ## (at your option) any later version. |
| 11 | ## |
| 12 | ## This program is distributed in the hope that it will be useful, |
| 13 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | ## GNU General Public License for more details. |
| 16 | ## |
| 17 | ## You should have received a copy of the GNU General Public License |
| 18 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | ## |
| 20 | |
Uwe Hermann | ef7228b | 2012-01-28 21:26:56 +0100 | [diff] [blame] | 21 | # We require at least autoconf 2.63 (AC_INIT format changed there). |
| 22 | AC_PREREQ([2.63]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 23 | |
Uwe Hermann | 3af71f0 | 2012-01-04 00:05:43 +0100 | [diff] [blame] | 24 | # libsigrok package version number (NOT the same as shared lib version!). |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 25 | m4_define([sr_package_version_major], [0]) |
Uwe Hermann | 6329840 | 2012-06-01 00:16:42 +0200 | [diff] [blame] | 26 | m4_define([sr_package_version_minor], [2]) |
| 27 | m4_define([sr_package_version_micro], [0]) |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 28 | m4_define([sr_package_version], [sr_package_version_major.sr_package_version_minor.sr_package_version_micro]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 29 | |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 30 | AC_INIT([libsigrok], [sr_package_version], [sigrok-devel@lists.sourceforge.net], |
Uwe Hermann | db8ae7b | 2011-12-30 10:50:00 +0100 | [diff] [blame] | 31 | [libsigrok], [http://www.sigrok.org]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 32 | AC_CONFIG_HEADER([config.h]) |
Uwe Hermann | d8521c9 | 2012-01-03 21:55:48 +0100 | [diff] [blame] | 33 | AC_CONFIG_MACRO_DIR([autostuff]) |
| 34 | AC_CONFIG_AUX_DIR([autostuff]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 35 | |
Uwe Hermann | ef7228b | 2012-01-28 21:26:56 +0100 | [diff] [blame] | 36 | # We require at least automake 1.11 (needed for 'silent rules'). |
Uwe Hermann | 22ca5aa | 2013-03-17 13:22:22 +0100 | [diff] [blame] | 37 | AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news color-tests]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 38 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
Pekka Nikander | 432e5e9 | 2012-05-11 19:23:21 +0300 | [diff] [blame] | 39 | m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 40 | |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 41 | AH_TOP([#ifndef SR_CONFIG_H |
| 42 | #define SR_CONFIG_H /* To stop multiple inclusions. */]) |
| 43 | AH_BOTTOM([#endif /* SR_CONFIG_H */]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 44 | |
Uwe Hermann | 1a081ca | 2012-02-01 23:40:35 +0100 | [diff] [blame] | 45 | # Enable more compiler warnings via -Wall and -Wextra. Add -fvisibility=hidden |
| 46 | # and enforce use of SR_API to explicitly mark all public API functions. |
Uwe Hermann | bdd7618 | 2012-12-28 11:22:16 +0100 | [diff] [blame] | 47 | CFLAGS="$CFLAGS -Wall -Wextra -fvisibility=hidden" |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 48 | |
| 49 | # Checks for programs. |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 50 | AC_PROG_CC |
| 51 | AC_PROG_CPP |
| 52 | AC_PROG_INSTALL |
| 53 | AC_PROG_LN_S |
| 54 | |
Uwe Hermann | bb203cd | 2013-03-12 23:00:58 +0100 | [diff] [blame] | 55 | # Required for per-target flags or subdir-objects with C sources. |
| 56 | AM_PROG_CC_C_O |
| 57 | |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 58 | # Initialize libtool. |
| 59 | LT_INIT |
| 60 | |
| 61 | # Initialize pkg-config. |
| 62 | # We require at least 0.22, as "Requires.private" behaviour changed there. |
| 63 | PKG_PROG_PKG_CONFIG([0.22]) |
| 64 | |
Uwe Hermann | 3af71f0 | 2012-01-04 00:05:43 +0100 | [diff] [blame] | 65 | # Library version for libsigrok (NOT the same as the package version). |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 66 | # Carefully read the libtool docs before updating these numbers! |
| 67 | # The algorithm for determining which number to change (and how) is nontrivial! |
| 68 | # http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info |
Peter Stuge | 44fc870 | 2012-12-03 02:42:57 +0100 | [diff] [blame] | 69 | SR_LIB_VERSION_CURRENT=2 |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 70 | SR_LIB_VERSION_REVISION=0 |
| 71 | SR_LIB_VERSION_AGE=0 |
| 72 | SR_LIB_VERSION="$SR_LIB_VERSION_CURRENT:$SR_LIB_VERSION_REVISION:$SR_LIB_VERSION_AGE" |
| 73 | SR_LIB_LDFLAGS="-version-info $SR_LIB_VERSION" |
| 74 | AC_SUBST(SR_LIB_VERSION_CURRENT) |
| 75 | AC_SUBST(SR_LIB_VERSION_REVISION) |
| 76 | AC_SUBST(SR_LIB_VERSION_AGE) |
| 77 | AC_SUBST(SR_LIB_VERSION) |
| 78 | AC_SUBST(SR_LIB_LDFLAGS) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 79 | |
Bert Vermeulen | 7c1cb43 | 2012-09-10 22:14:37 +0200 | [diff] [blame] | 80 | # Hardware support '--enable' options. |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 81 | |
Bert Vermeulen | dbf2482 | 2013-01-14 00:52:55 +0100 | [diff] [blame] | 82 | AC_ARG_ENABLE(all-drivers, AC_HELP_STRING([--enable-all-drivers], |
| 83 | [enable all drivers by default [default=yes]]), |
| 84 | [HW_ENABLED_DEFAULT="$enableval"], |
| 85 | [HW_ENABLED_DEFAULT="yes"]) |
| 86 | |
Bert Vermeulen | 6ac0db1 | 2012-09-02 11:58:29 +0200 | [diff] [blame] | 87 | AC_ARG_ENABLE(agilent-dmm, AC_HELP_STRING([--enable-agilent-dmm], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 88 | [enable Agilent DMM support [default=yes]]), |
| 89 | [HW_AGILENT_DMM="$enableval"], |
| 90 | [HW_AGILENT_DMM=$HW_ENABLED_DEFAULT]) |
Bert Vermeulen | 6ac0db1 | 2012-09-02 11:58:29 +0200 | [diff] [blame] | 91 | AM_CONDITIONAL(HW_AGILENT_DMM, test x$HW_AGILENT_DMM = xyes) |
| 92 | if test "x$HW_AGILENT_DMM" = "xyes"; then |
Uwe Hermann | 9eb2bb9 | 2012-10-27 21:07:39 +0200 | [diff] [blame] | 93 | AC_DEFINE(HAVE_HW_AGILENT_DMM, 1, [Agilent DMM support]) |
Bert Vermeulen | 6ac0db1 | 2012-09-02 11:58:29 +0200 | [diff] [blame] | 94 | fi |
| 95 | |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 96 | AC_ARG_ENABLE(alsa, AC_HELP_STRING([--enable-alsa], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 97 | [enable ALSA driver support [default=yes]]), |
| 98 | [HW_ALSA="$enableval"], |
| 99 | [HW_ALSA=$HW_ENABLED_DEFAULT]) |
Uwe Hermann | 0254651 | 2012-12-17 19:39:13 +0100 | [diff] [blame] | 100 | AM_CONDITIONAL(HW_ALSA, test x$HW_ALSA = xyes) |
| 101 | if test "x$HW_ALSA" = "xyes"; then |
| 102 | AC_DEFINE(HAVE_HW_ALSA, 1, [ALSA driver support]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 103 | fi |
| 104 | |
| 105 | AC_ARG_ENABLE(asix-sigma, AC_HELP_STRING([--enable-asix-sigma], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 106 | [enable ASIX SIGMA/SIGMA2 support [default=yes]]), |
| 107 | [LA_ASIX_SIGMA="$enableval"], |
| 108 | [LA_ASIX_SIGMA=$HW_ENABLED_DEFAULT]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 109 | AM_CONDITIONAL(LA_ASIX_SIGMA, test x$LA_ASIX_SIGMA = xyes) |
| 110 | if test "x$LA_ASIX_SIGMA" = "xyes"; then |
Uwe Hermann | 6352d03 | 2012-05-02 19:02:03 +0200 | [diff] [blame] | 111 | AC_DEFINE(HAVE_LA_ASIX_SIGMA, 1, [ASIX SIGMA/SIGMA2 support]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 112 | fi |
| 113 | |
Alexandru Gagniuc | 20cbc78 | 2012-11-21 21:20:39 -0600 | [diff] [blame] | 114 | AC_ARG_ENABLE(brymen-dmm, AC_HELP_STRING([--enable-brymen-dmm], |
| 115 | [enable Brymen DMM support [default=yes]]), |
| 116 | [HW_BRYMEN_DMM="$enableval"], |
Bert Vermeulen | 5a7587c | 2013-03-19 22:07:21 +0100 | [diff] [blame] | 117 | [HW_BRYMEN_DMM=$HW_ENABLED_DEFAULT]) |
Alexandru Gagniuc | 20cbc78 | 2012-11-21 21:20:39 -0600 | [diff] [blame] | 118 | AM_CONDITIONAL(HW_BRYMEN_DMM, test x$HW_BRYMEN_DMM = xyes) |
| 119 | if test "x$HW_BRYMEN_DMM" = "xyes"; then |
| 120 | AC_DEFINE(HAVE_HW_BRYMEN_DMM, 1, [brymen-dmm support]) |
| 121 | fi |
| 122 | |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 123 | AC_ARG_ENABLE(chronovu-la8, AC_HELP_STRING([--enable-chronovu-la8], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 124 | [enable ChronoVu LA8 support [default=yes]]), |
| 125 | [LA_CHRONOVU_LA8="$enableval"], |
| 126 | [LA_CHRONOVU_LA8=$HW_ENABLED_DEFAULT]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 127 | AM_CONDITIONAL(LA_CHRONOVU_LA8, test x$LA_CHRONOVU_LA8 = xyes) |
| 128 | if test "x$LA_CHRONOVU_LA8" = "xyes"; then |
| 129 | AC_DEFINE(HAVE_LA_CHRONOVU_LA8, 1, [ChronoVu LA8 support]) |
| 130 | fi |
| 131 | |
Bert Vermeulen | 4d729dd | 2012-10-29 22:33:47 +0100 | [diff] [blame] | 132 | AC_ARG_ENABLE(colead-slm, AC_HELP_STRING([--enable-colead-slm], |
| 133 | [enable Colead SLM support [default=yes]]), |
| 134 | [HW_COLEAD_SLM="$enableval"], |
Bert Vermeulen | dbf2482 | 2013-01-14 00:52:55 +0100 | [diff] [blame] | 135 | [HW_COLEAD_SLM=$HW_ENABLED_DEFAULT]) |
Bert Vermeulen | 4d729dd | 2012-10-29 22:33:47 +0100 | [diff] [blame] | 136 | AM_CONDITIONAL(HW_COLEAD_SLM, test x$HW_COLEAD_SLM = xyes) |
| 137 | if test "x$HW_COLEAD_SLM" = "xyes"; then |
| 138 | AC_DEFINE(HAVE_HW_COLEAD_SLM, 1, [Colead SLM support]) |
| 139 | fi |
| 140 | |
Bert Vermeulen | 589a101 | 2012-10-21 01:34:34 +0200 | [diff] [blame] | 141 | AC_ARG_ENABLE(demo, AC_HELP_STRING([--enable-demo], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 142 | [enable demo driver support [default=yes]]), |
| 143 | [LA_DEMO="$enableval"], |
| 144 | [LA_DEMO=$HW_ENABLED_DEFAULT]) |
Bert Vermeulen | 589a101 | 2012-10-21 01:34:34 +0200 | [diff] [blame] | 145 | AM_CONDITIONAL(LA_DEMO, test x$LA_DEMO = xyes) |
| 146 | if test "x$LA_DEMO" = "xyes"; then |
| 147 | AC_DEFINE(HAVE_LA_DEMO, 1, [Demo driver support]) |
| 148 | fi |
| 149 | |
Bert Vermeulen | 883a2e9 | 2012-09-10 22:31:29 +0200 | [diff] [blame] | 150 | AC_ARG_ENABLE(fluke-dmm, AC_HELP_STRING([--enable-fluke-dmm], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 151 | [enable Fluke DMM support [default=yes]]), |
| 152 | [HW_FLUKE_DMM="$enableval"], |
| 153 | [HW_FLUKE_DMM=$HW_ENABLED_DEFAULT]) |
Bert Vermeulen | 883a2e9 | 2012-09-10 22:31:29 +0200 | [diff] [blame] | 154 | AM_CONDITIONAL(HW_FLUKE_DMM, test x$HW_FLUKE_DMM = xyes) |
| 155 | if test "x$HW_FLUKE_DMM" = "xyes"; then |
| 156 | AC_DEFINE(HAVE_HW_FLUKE_DMM, 1, [Fluke DMM support]) |
| 157 | fi |
| 158 | |
Joel Holdsworth | f302a08 | 2012-02-11 12:08:49 +0000 | [diff] [blame] | 159 | AC_ARG_ENABLE(fx2lafw, AC_HELP_STRING([--enable-fx2lafw], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 160 | [enable fx2lafw support (for FX2 LAs). [default=yes]]), |
| 161 | [LA_FX2LAFW="$enableval"], |
| 162 | [LA_FX2LAFW=$HW_ENABLED_DEFAULT]) |
Joel Holdsworth | f302a08 | 2012-02-11 12:08:49 +0000 | [diff] [blame] | 163 | AM_CONDITIONAL(LA_FX2LAFW, test x$LA_FX2LAFW = xyes) |
| 164 | if test "x$LA_FX2LAFW" = "xyes"; then |
| 165 | AC_DEFINE(HAVE_LA_FX2LAFW, 1, [fx2lafw support]) |
| 166 | fi |
| 167 | |
Uwe Hermann | 9eb2bb9 | 2012-10-27 21:07:39 +0200 | [diff] [blame] | 168 | AC_ARG_ENABLE(hantek-dso, AC_HELP_STRING([--enable-hantek-dso], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 169 | [enable Hantek DSO support [default=yes]]), |
| 170 | [HW_HANTEK_DSO="$enableval"], |
| 171 | [HW_HANTEK_DSO=$HW_ENABLED_DEFAULT]) |
Bert Vermeulen | 589a101 | 2012-10-21 01:34:34 +0200 | [diff] [blame] | 172 | AM_CONDITIONAL(HW_HANTEK_DSO, test x$HW_HANTEK_DSO = xyes) |
| 173 | if test "x$HW_HANTEK_DSO" = "xyes"; then |
| 174 | AC_DEFINE(HAVE_HW_HANTEK_DSO, 1, [Hantek DSO support]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 175 | fi |
| 176 | |
Bert Vermeulen | 46697e3 | 2012-11-27 17:40:14 +0100 | [diff] [blame] | 177 | AC_ARG_ENABLE(lascar-el-usb, AC_HELP_STRING([--enable-lascar-el-usb], |
| 178 | [enable Lascar EL-USB support [default=yes]]), |
| 179 | [HW_LASCAR_EL_USB="$enableval"], |
Bert Vermeulen | dbf2482 | 2013-01-14 00:52:55 +0100 | [diff] [blame] | 180 | [HW_LASCAR_EL_USB=$HW_ENABLED_DEFAULT]) |
Bert Vermeulen | 46697e3 | 2012-11-27 17:40:14 +0100 | [diff] [blame] | 181 | AM_CONDITIONAL(HW_LASCAR_EL_USB, test x$HW_LASCAR_EL_USB = xyes) |
| 182 | if test "x$HW_LASCAR_EL_USB" = "xyes"; then |
| 183 | AC_DEFINE(HAVE_HW_LASCAR_EL_USB, 1, [Lascar EL-USB support]) |
| 184 | fi |
| 185 | |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 186 | AC_ARG_ENABLE(link-mso19, AC_HELP_STRING([--enable-link-mso19], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 187 | [enable Link Instruments MSO-19 support [default=yes]]), |
| 188 | [LA_LINK_MSO19="$enableval"], |
| 189 | [LA_LINK_MSO19=$HW_ENABLED_DEFAULT]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 190 | AM_CONDITIONAL(LA_LINK_MSO19, test x$LA_LINK_MSO19 = xyes) |
| 191 | if test "x$LA_LINK_MSO19" = "xyes"; then |
| 192 | AC_DEFINE(HAVE_LA_LINK_MSO19, 1, [Link Instruments MSO-19 support]) |
| 193 | fi |
| 194 | |
Uwe Hermann | 7ec5b54 | 2013-01-30 16:58:01 +0100 | [diff] [blame] | 195 | AC_ARG_ENABLE(mic-985xx, AC_HELP_STRING([--enable-mic-985xx], |
| 196 | [enable MIC 985xx support [default=yes]]), |
| 197 | [HW_MIC_985XX="$enableval"], |
Bert Vermeulen | 5a7587c | 2013-03-19 22:07:21 +0100 | [diff] [blame] | 198 | [HW_MIC_985XX=$HW_ENABLED_DEFAULT]) |
Uwe Hermann | 7ec5b54 | 2013-01-30 16:58:01 +0100 | [diff] [blame] | 199 | AM_CONDITIONAL(HW_MIC_985XX, test x$HW_MIC_985XX = xyes) |
| 200 | if test "x$HW_MIC_985XX" = "xyes"; then |
| 201 | AC_DEFINE(HAVE_HW_MIC_985XX, 1, [MIC 985xx support]) |
| 202 | fi |
| 203 | |
Bert Vermeulen | 35a078b | 2012-12-24 20:11:38 +0100 | [diff] [blame] | 204 | AC_ARG_ENABLE(nexus-osciprime, AC_HELP_STRING([--enable-nexus-osciprime], |
| 205 | [enable Nexus Osciprime support [default=yes]]), |
| 206 | [HW_NEXUS_OSCIPRIME="$enableval"], |
Bert Vermeulen | dbf2482 | 2013-01-14 00:52:55 +0100 | [diff] [blame] | 207 | [HW_NEXUS_OSCIPRIME=$HW_ENABLED_DEFAULT]) |
Bert Vermeulen | 35a078b | 2012-12-24 20:11:38 +0100 | [diff] [blame] | 208 | AM_CONDITIONAL(HW_NEXUS_OSCIPRIME, test x$HW_NEXUS_OSCIPRIME = xyes) |
| 209 | if test "x$HW_NEXUS_OSCIPRIME" = "xyes"; then |
| 210 | AC_DEFINE(HAVE_HW_NEXUS_OSCIPRIME, 1, [Nexus Osciprime support]) |
| 211 | fi |
| 212 | |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 213 | AC_ARG_ENABLE(ols, AC_HELP_STRING([--enable-ols], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 214 | [enable OpenBench Logic Sniffer (OLS) support [default=yes]]), |
| 215 | [LA_OLS="$enableval"], |
| 216 | [LA_OLS=$HW_ENABLED_DEFAULT]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 217 | AM_CONDITIONAL(LA_OLS, test x$LA_OLS = xyes) |
| 218 | if test "x$LA_OLS" = "xyes"; then |
| 219 | AC_DEFINE(HAVE_LA_OLS, 1, [OpenBench Logic Sniffer (OLS) support]) |
| 220 | fi |
| 221 | |
Martin Ling | f4816ac | 2012-12-29 22:22:10 +0100 | [diff] [blame] | 222 | AC_ARG_ENABLE(rigol-ds1xx2, AC_HELP_STRING([--enable-rigol-ds1xx2], |
| 223 | [enable Rigol DS1xx2 support [default=yes]]), |
| 224 | [HW_RIGOL_DS1XX2="$enableval"], |
Bert Vermeulen | dbf2482 | 2013-01-14 00:52:55 +0100 | [diff] [blame] | 225 | [HW_RIGOL_DS1XX2=$HW_ENABLED_DEFAULT]) |
Martin Ling | f4816ac | 2012-12-29 22:22:10 +0100 | [diff] [blame] | 226 | AM_CONDITIONAL(HW_RIGOL_DS1XX2, test x$HW_RIGOL_DS1XX2 = xyes) |
| 227 | if test "x$HW_RIGOL_DS1XX2" = "xyes"; then |
| 228 | AC_DEFINE(HAVE_HW_RIGOL_DS1XX2, 1, [Rigol DS1xx2 support]) |
| 229 | fi |
| 230 | |
Uwe Hermann | 21a7f26 | 2012-12-01 19:35:19 +0100 | [diff] [blame] | 231 | AC_ARG_ENABLE(serial-dmm, AC_HELP_STRING([--enable-serial-dmm], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 232 | [enable serial DMM support [default=yes]]), |
| 233 | [HW_SERIAL_DMM="$enableval"], |
| 234 | [HW_SERIAL_DMM=$HW_ENABLED_DEFAULT]) |
Uwe Hermann | 21a7f26 | 2012-12-01 19:35:19 +0100 | [diff] [blame] | 235 | AM_CONDITIONAL(HW_SERIAL_DMM, test x$HW_SERIAL_DMM = xyes) |
| 236 | if test "x$HW_SERIAL_DMM" = "xyes"; then |
| 237 | AC_DEFINE(HAVE_HW_SERIAL_DMM, 1, [Serial DMM support]) |
Alexandru Gagniuc | 7dc55d9 | 2012-10-20 20:39:37 -0500 | [diff] [blame] | 238 | fi |
| 239 | |
Uwe Hermann | aa2af32 | 2012-11-09 03:33:05 +0100 | [diff] [blame] | 240 | AC_ARG_ENABLE(tondaj-sl-814, AC_HELP_STRING([--enable-tondaj-sl-814], |
| 241 | [enable Tondaj SL-814 support [default=yes]]), |
| 242 | [HW_TONDAJ_SL_814="$enableval"], |
Bert Vermeulen | dbf2482 | 2013-01-14 00:52:55 +0100 | [diff] [blame] | 243 | [HW_TONDAJ_SL_814=$HW_ENABLED_DEFAULT]) |
Uwe Hermann | aa2af32 | 2012-11-09 03:33:05 +0100 | [diff] [blame] | 244 | AM_CONDITIONAL(HW_TONDAJ_SL_814, test x$HW_TONDAJ_SL_814 = xyes) |
| 245 | if test "x$HW_TONDAJ_SL_814" = "xyes"; then |
| 246 | AC_DEFINE(HAVE_HW_TONDAJ_SL_814, 1, [Tondaj SL-814 support]) |
| 247 | fi |
| 248 | |
Uwe Hermann | 79081ec | 2012-10-27 22:41:50 +0200 | [diff] [blame] | 249 | AC_ARG_ENABLE(uni-t-dmm, AC_HELP_STRING([--enable-uni-t-dmm], |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 250 | [enable UNI-T DMM support [default=yes]]), |
| 251 | [HW_UNI_T_DMM="$enableval"], |
| 252 | [HW_UNI_T_DMM=$HW_ENABLED_DEFAULT]) |
Uwe Hermann | 79081ec | 2012-10-27 22:41:50 +0200 | [diff] [blame] | 253 | AM_CONDITIONAL(HW_UNI_T_DMM, test x$HW_UNI_T_DMM = xyes) |
| 254 | if test "x$HW_UNI_T_DMM" = "xyes"; then |
| 255 | AC_DEFINE(HAVE_HW_UNI_T_DMM, 1, [UNI-T DMM support]) |
| 256 | fi |
| 257 | |
Bert Vermeulen | ac3898d | 2012-11-02 20:47:06 +0100 | [diff] [blame] | 258 | AC_ARG_ENABLE(victor-dmm, AC_HELP_STRING([--enable-victor-dmm], |
| 259 | [enable victor-dmm support [default=yes]]), |
| 260 | [HW_VICTOR_DMM="$enableval"], |
Bert Vermeulen | dbf2482 | 2013-01-14 00:52:55 +0100 | [diff] [blame] | 261 | [HW_VICTOR_DMM=$HW_ENABLED_DEFAULT]) |
Bert Vermeulen | ac3898d | 2012-11-02 20:47:06 +0100 | [diff] [blame] | 262 | AM_CONDITIONAL(HW_VICTOR_DMM, test x$HW_VICTOR_DMM = xyes) |
| 263 | if test "x$HW_VICTOR_DMM" = "xyes"; then |
| 264 | AC_DEFINE(HAVE_HW_VICTOR_DMM, 1, [victor-dmm support]) |
| 265 | fi |
| 266 | |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 267 | AC_ARG_ENABLE(zeroplus-logic-cube, |
Bert Vermeulen | 8a22e8c | 2013-01-14 00:59:46 +0100 | [diff] [blame] | 268 | AC_HELP_STRING([--enable-zeroplus-logic-cube], |
| 269 | [enable ZEROPLUS Logic Cube support [default=yes]]), |
| 270 | [LA_ZEROPLUS_LOGIC_CUBE="$enableval"], |
| 271 | [LA_ZEROPLUS_LOGIC_CUBE=$HW_ENABLED_DEFAULT]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 272 | AM_CONDITIONAL(LA_ZEROPLUS_LOGIC_CUBE, test x$LA_ZEROPLUS_LOGIC_CUBE = xyes) |
| 273 | if test "x$LA_ZEROPLUS_LOGIC_CUBE" = "xyes"; then |
Uwe Hermann | 8fdecce | 2012-05-30 22:55:03 +0200 | [diff] [blame] | 274 | AC_DEFINE(HAVE_LA_ZEROPLUS_LOGIC_CUBE, 1, [ZEROPLUS Logic Cube support]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 275 | fi |
| 276 | |
| 277 | # Checks for libraries. |
| 278 | |
| 279 | # This variable collects the pkg-config names of all detected libs. |
| 280 | # It is then used to construct the "Requires.private:" field in the |
| 281 | # libsigrok.pc file. |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 282 | SR_PKGLIBS="" |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 283 | |
Uwe Hermann | aba6926 | 2013-04-08 14:46:13 +0200 | [diff] [blame^] | 284 | # libglib-2.0 is always needed. Abort if it's not found. |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 285 | # Note: glib-2.0 is part of the libsigrok API (hard pkg-config requirement). |
Uwe Hermann | 7f64e88 | 2012-12-02 16:09:31 +0100 | [diff] [blame] | 286 | AM_PATH_GLIB_2_0([2.28.0], |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 287 | [CFLAGS="$CFLAGS $GLIB_CFLAGS"; LIBS="$LIBS $GLIB_LIBS"]) |
| 288 | |
Uwe Hermann | aba6926 | 2013-04-08 14:46:13 +0200 | [diff] [blame^] | 289 | # libzip is always needed. Abort if it's not found. |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 290 | PKG_CHECK_MODULES([libzip], [libzip >= 0.8], |
| 291 | [CFLAGS="$CFLAGS $libzip_CFLAGS"; LIBS="$LIBS $libzip_LIBS"; |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 292 | SR_PKGLIBS="$SR_PKGLIBS libzip"]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 293 | |
Uwe Hermann | aba6926 | 2013-04-08 14:46:13 +0200 | [diff] [blame^] | 294 | # libusb-1.0 is only needed for some hardware drivers. Disable the respective |
| 295 | # drivers if it is not found. |
| 296 | case "$build" in |
| 297 | *freebsd*) |
| 298 | # FreeBSD comes with an "integrated" libusb-1.0-style USB API. |
| 299 | # This means libusb-1.0 is always available, no need to check for it, |
| 300 | # and no need to (potentially) disable any drivers if it's not found. |
| 301 | AC_DEFINE_UNQUOTED(HAVE_LIBUSB_1_0, [1], |
| 302 | [Specifies whether we have a libusb.h header.]) |
| 303 | ;; |
| 304 | *) |
| 305 | PKG_CHECK_MODULES([libusb], [libusb-1.0 >= 1.0.9], |
| 306 | [have_libusb1_0="yes"; CFLAGS="$CFLAGS $libusb_CFLAGS"; |
| 307 | LIBS="$LIBS $libusb_LIBS"; |
| 308 | SR_PKGLIBS="$SR_PKGLIBS libusb-1.0"], |
| 309 | [have_libusb1_0="no"; LA_FX2LAFW="no"; HW_HANTEK_DSO="no"; |
| 310 | HW_LASCAR_EL_USB="no"; HW_NEXUS_OSCIPRIME="no"; |
| 311 | HW_UNI_T_DMM="no"; HW_VICTOR_DMM="no"; |
| 312 | LA_ZEROPLUS_LOGIC_CUBE="no"]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 313 | |
Uwe Hermann | aba6926 | 2013-04-08 14:46:13 +0200 | [diff] [blame^] | 314 | # Define HAVE_LIBUSB_1_0 in config.h if we found libusb-1.0. |
| 315 | if test "x$libusb_CFLAGS" != "x"; then |
| 316 | AC_DEFINE_UNQUOTED(HAVE_LIBUSB_1_0, [1], |
| 317 | [Specifies whether we have a libusb.h header.]) |
| 318 | fi |
| 319 | ;; |
| 320 | esac |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 321 | |
Uwe Hermann | aba6926 | 2013-04-08 14:46:13 +0200 | [diff] [blame^] | 322 | # libftdi is only needed for some hardware drivers. Disable them if not found. |
| 323 | PKG_CHECK_MODULES([libftdi], [libftdi >= 0.16], |
| 324 | [CFLAGS="$CFLAGS $libftdi_CFLAGS"; |
| 325 | LIBS="$LIBS $libftdi_LIBS"; |
| 326 | SR_PKGLIBS="$SR_PKGLIBS libftdi"], |
| 327 | [LA_ASIX_SIGMA="no"; LA_CHRONOVU_LA8="no"]) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 328 | |
Uwe Hermann | aba6926 | 2013-04-08 14:46:13 +0200 | [diff] [blame^] | 329 | # libudev is only needed for some hardware drivers. Disable them if not found. |
| 330 | PKG_CHECK_MODULES([libudev], [libudev >= 151], |
| 331 | [CFLAGS="$CFLAGS $libudev_CFLAGS"; LIBS="$LIBS $libudev_LIBS"; |
| 332 | SR_PKGLIBS="$SR_PKGLIBS libudev"], |
| 333 | [LA_LINK_MSO19="no"]) |
| 334 | |
| 335 | # ALSA is only needed for some hardware drivers. Disable them if not found. |
| 336 | PKG_CHECK_MODULES([alsa], [alsa >= 1.0], |
| 337 | [CFLAGS="$CFLAGS $alsa_CFLAGS"; LIBS="$LIBS $alsa_LIBS"; |
| 338 | SR_PKGLIBS="$SR_PKGLIBS alsa"], |
| 339 | [HW_ALSA="no"]) |
| 340 | |
| 341 | # The Check unit testing framework is optional. Disable if not found. |
Uwe Hermann | 79bb0e9 | 2013-03-07 09:37:42 +0100 | [diff] [blame] | 342 | PKG_CHECK_MODULES([check], [check >= 0.9.4], |
| 343 | [have_check="yes"; CFLAGS="$CFLAGS $check_CFLAGS"; |
| 344 | LIBS="$LIBS $check_LIBS"], [have_check="no"]) |
| 345 | AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes") |
| 346 | |
Uwe Hermann | 79081ec | 2012-10-27 22:41:50 +0200 | [diff] [blame] | 347 | # EZUSB FX2 firmware helper code is only needed for some hardware drivers. |
Bert Vermeulen | 28b9dd1 | 2012-07-11 12:36:13 +0200 | [diff] [blame] | 348 | AM_CONDITIONAL(NEED_EZUSB, \ |
| 349 | test "x$LA_FX2LAFW" != xno \ |
| 350 | -o "x$HW_HANTEK_DSO" != xno \ |
| 351 | ) |
| 352 | |
Uwe Hermann | 79081ec | 2012-10-27 22:41:50 +0200 | [diff] [blame] | 353 | # Serial port helper code is only needed for some hardware drivers. |
Bert Vermeulen | 28b9dd1 | 2012-07-11 12:36:13 +0200 | [diff] [blame] | 354 | AM_CONDITIONAL(NEED_SERIAL, \ |
Uwe Hermann | e42b82a | 2012-11-14 18:29:27 +0100 | [diff] [blame] | 355 | test "x$HW_AGILENT_DMM" != xno \ |
| 356 | -o "x$HW_COLEAD_SLM" != xno \ |
| 357 | -o "x$HW_FLUKE_DMM" != xno \ |
| 358 | -o "x$LA_LINK_MSO19" != xno \ |
| 359 | -o "x$LA_OLS" != xno \ |
Uwe Hermann | 21a7f26 | 2012-12-01 19:35:19 +0100 | [diff] [blame] | 360 | -o "x$HW_SERIAL_DMM" != xno \ |
Uwe Hermann | e42b82a | 2012-11-14 18:29:27 +0100 | [diff] [blame] | 361 | -o "x$HW_TONDAJ_SL_814" != xno \ |
Bert Vermeulen | 28b9dd1 | 2012-07-11 12:36:13 +0200 | [diff] [blame] | 362 | ) |
| 363 | |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 364 | AC_SUBST(SR_PKGLIBS) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 365 | |
| 366 | # Checks for header files. |
| 367 | # These are already checked: inttypes.h stdint.h stdlib.h string.h unistd.h. |
| 368 | AC_CHECK_HEADERS([fcntl.h sys/time.h termios.h]) |
| 369 | |
| 370 | # Checks for typedefs, structures, and compiler characteristics. |
| 371 | AC_C_INLINE |
| 372 | AC_TYPE_INT8_T |
| 373 | AC_TYPE_INT16_T |
| 374 | AC_TYPE_INT32_T |
| 375 | AC_TYPE_INT64_T |
| 376 | AC_TYPE_UINT8_T |
| 377 | AC_TYPE_UINT16_T |
| 378 | AC_TYPE_UINT32_T |
| 379 | AC_TYPE_UINT64_T |
| 380 | AC_TYPE_SIZE_T |
| 381 | |
| 382 | # Checks for library functions. |
| 383 | AC_CHECK_FUNCS([gettimeofday memset strchr strcspn strdup strerror strncasecmp strstr strtol strtoul strtoull]) |
| 384 | |
Uwe Hermann | fb6f197 | 2012-05-30 00:00:33 +0200 | [diff] [blame] | 385 | AC_SUBST(FIRMWARE_DIR, "$datadir/sigrok-firmware") |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 386 | AC_SUBST(MAKEFLAGS, '--no-print-directory') |
| 387 | AC_SUBST(AM_LIBTOOLFLAGS, '--silent') |
| 388 | |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 389 | SR_PACKAGE_VERSION_MAJOR=sr_package_version_major |
| 390 | SR_PACKAGE_VERSION_MINOR=sr_package_version_minor |
| 391 | SR_PACKAGE_VERSION_MICRO=sr_package_version_micro |
| 392 | SR_PACKAGE_VERSION=sr_package_version |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 393 | |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 394 | AC_SUBST(SR_PACKAGE_VERSION_MAJOR) |
| 395 | AC_SUBST(SR_PACKAGE_VERSION_MINOR) |
| 396 | AC_SUBST(SR_PACKAGE_VERSION_MICRO) |
| 397 | AC_SUBST(SR_PACKAGE_VERSION) |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 398 | |
Bert Vermeulen | 589a101 | 2012-10-21 01:34:34 +0200 | [diff] [blame] | 399 | AC_CONFIG_FILES([Makefile version.h hardware/Makefile |
Bert Vermeulen | 6ac0db1 | 2012-09-02 11:58:29 +0200 | [diff] [blame] | 400 | hardware/agilent-dmm/Makefile |
Uwe Hermann | db8ae7b | 2011-12-30 10:50:00 +0100 | [diff] [blame] | 401 | hardware/alsa/Makefile |
| 402 | hardware/asix-sigma/Makefile |
Alexandru Gagniuc | 20cbc78 | 2012-11-21 21:20:39 -0600 | [diff] [blame] | 403 | hardware/brymen-dmm/Makefile |
Uwe Hermann | db8ae7b | 2011-12-30 10:50:00 +0100 | [diff] [blame] | 404 | hardware/chronovu-la8/Makefile |
Bert Vermeulen | 4d729dd | 2012-10-29 22:33:47 +0100 | [diff] [blame] | 405 | hardware/colead-slm/Makefile |
Uwe Hermann | db8ae7b | 2011-12-30 10:50:00 +0100 | [diff] [blame] | 406 | hardware/common/Makefile |
Bert Vermeulen | 46697e3 | 2012-11-27 17:40:14 +0100 | [diff] [blame] | 407 | hardware/lascar-el-usb/Makefile |
Uwe Hermann | 7ec5b54 | 2013-01-30 16:58:01 +0100 | [diff] [blame] | 408 | hardware/mic-985xx/Makefile |
Bert Vermeulen | 35a078b | 2012-12-24 20:11:38 +0100 | [diff] [blame] | 409 | hardware/nexus-osciprime/Makefile |
Martin Ling | f4816ac | 2012-12-29 22:22:10 +0100 | [diff] [blame] | 410 | hardware/rigol-ds1xx2/Makefile |
Uwe Hermann | aa2af32 | 2012-11-09 03:33:05 +0100 | [diff] [blame] | 411 | hardware/tondaj-sl-814/Makefile |
Bert Vermeulen | ac3898d | 2012-11-02 20:47:06 +0100 | [diff] [blame] | 412 | hardware/victor-dmm/Makefile |
Uwe Hermann | 79081ec | 2012-10-27 22:41:50 +0200 | [diff] [blame] | 413 | hardware/common/dmm/Makefile |
Uwe Hermann | db8ae7b | 2011-12-30 10:50:00 +0100 | [diff] [blame] | 414 | hardware/demo/Makefile |
Bert Vermeulen | 883a2e9 | 2012-09-10 22:31:29 +0200 | [diff] [blame] | 415 | hardware/fluke-dmm/Makefile |
Joel Holdsworth | f302a08 | 2012-02-11 12:08:49 +0000 | [diff] [blame] | 416 | hardware/fx2lafw/Makefile |
Bert Vermeulen | 589a101 | 2012-10-21 01:34:34 +0200 | [diff] [blame] | 417 | hardware/hantek-dso/Makefile |
Uwe Hermann | db8ae7b | 2011-12-30 10:50:00 +0100 | [diff] [blame] | 418 | hardware/link-mso19/Makefile |
| 419 | hardware/openbench-logic-sniffer/Makefile |
Uwe Hermann | 21a7f26 | 2012-12-01 19:35:19 +0100 | [diff] [blame] | 420 | hardware/serial-dmm/Makefile |
Uwe Hermann | 79081ec | 2012-10-27 22:41:50 +0200 | [diff] [blame] | 421 | hardware/uni-t-dmm/Makefile |
Uwe Hermann | db8ae7b | 2011-12-30 10:50:00 +0100 | [diff] [blame] | 422 | hardware/zeroplus-logic-cube/Makefile |
| 423 | input/Makefile |
| 424 | output/Makefile |
| 425 | output/text/Makefile |
| 426 | libsigrok.pc |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 427 | contrib/Makefile |
Uwe Hermann | 79bb0e9 | 2013-03-07 09:37:42 +0100 | [diff] [blame] | 428 | tests/Makefile |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 429 | ]) |
| 430 | |
| 431 | AC_OUTPUT |
| 432 | |
| 433 | echo |
Uwe Hermann | 45aed07 | 2012-01-04 00:49:21 +0100 | [diff] [blame] | 434 | echo "libsigrok configuration summary:" |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 435 | echo |
Uwe Hermann | 6dddd90 | 2012-03-31 11:28:24 +0200 | [diff] [blame] | 436 | echo " - Package version (major.minor.micro): $SR_PACKAGE_VERSION" |
| 437 | echo " - Library version (current:revision:age): $SR_LIB_VERSION" |
Uwe Hermann | 45aed07 | 2012-01-04 00:49:21 +0100 | [diff] [blame] | 438 | echo " - Prefix: $prefix" |
| 439 | echo |
| 440 | echo "Detected libraries:" |
| 441 | echo |
| 442 | |
| 443 | # Note: This only works for libs with pkg-config integration. |
Uwe Hermann | aba6926 | 2013-04-08 14:46:13 +0200 | [diff] [blame^] | 444 | for lib in "glib-2.0" "libzip" "libusb-1.0" "libftdi" "libudev" "alsa" "check"; do |
Uwe Hermann | 45aed07 | 2012-01-04 00:49:21 +0100 | [diff] [blame] | 445 | if `$PKG_CONFIG --exists $lib`; then |
| 446 | ver=`$PKG_CONFIG --modversion $lib` |
| 447 | answer="yes ($ver)" |
| 448 | else |
| 449 | answer="no" |
| 450 | fi |
| 451 | echo " - $lib: $answer" |
| 452 | done |
| 453 | |
Bert Vermeulen | 589a101 | 2012-10-21 01:34:34 +0200 | [diff] [blame] | 454 | echo -e "\nEnabled hardware drivers:\n" |
Bert Vermeulen | 6ac0db1 | 2012-09-02 11:58:29 +0200 | [diff] [blame] | 455 | echo " - Agilent DMM..................... $HW_AGILENT_DMM" |
Uwe Hermann | 0254651 | 2012-12-17 19:39:13 +0100 | [diff] [blame] | 456 | echo " - ALSA............................ $HW_ALSA" |
Uwe Hermann | 6352d03 | 2012-05-02 19:02:03 +0200 | [diff] [blame] | 457 | echo " - ASIX SIGMA/SIGMA2............... $LA_ASIX_SIGMA" |
Alexandru Gagniuc | 20cbc78 | 2012-11-21 21:20:39 -0600 | [diff] [blame] | 458 | echo " - Brymen DMM...................... $HW_BRYMEN_DMM" |
Uwe Hermann | 45aed07 | 2012-01-04 00:49:21 +0100 | [diff] [blame] | 459 | echo " - ChronoVu LA8.................... $LA_CHRONOVU_LA8" |
Bert Vermeulen | 4d729dd | 2012-10-29 22:33:47 +0100 | [diff] [blame] | 460 | echo " - Colead SLM...................... $HW_COLEAD_SLM" |
Uwe Hermann | 45aed07 | 2012-01-04 00:49:21 +0100 | [diff] [blame] | 461 | echo " - Demo driver..................... $LA_DEMO" |
Bert Vermeulen | 883a2e9 | 2012-09-10 22:31:29 +0200 | [diff] [blame] | 462 | echo " - Fluke DMM....................... $HW_FLUKE_DMM" |
Uwe Hermann | b575052 | 2012-03-21 19:45:46 +0100 | [diff] [blame] | 463 | echo " - fx2lafw (for FX2 LAs)........... $LA_FX2LAFW" |
Bert Vermeulen | 589a101 | 2012-10-21 01:34:34 +0200 | [diff] [blame] | 464 | echo " - Hantek DSO...................... $HW_HANTEK_DSO" |
Bert Vermeulen | 46697e3 | 2012-11-27 17:40:14 +0100 | [diff] [blame] | 465 | echo " - Lascar EL-USB................... $HW_LASCAR_EL_USB" |
Uwe Hermann | 45aed07 | 2012-01-04 00:49:21 +0100 | [diff] [blame] | 466 | echo " - Link MSO-19..................... $LA_LINK_MSO19" |
Uwe Hermann | 7ec5b54 | 2013-01-30 16:58:01 +0100 | [diff] [blame] | 467 | echo " - MIC 985xx....................... $HW_MIC_985XX" |
Bert Vermeulen | 35a078b | 2012-12-24 20:11:38 +0100 | [diff] [blame] | 468 | echo " - Nexus Osciprime................. $HW_NEXUS_OSCIPRIME" |
Uwe Hermann | 45aed07 | 2012-01-04 00:49:21 +0100 | [diff] [blame] | 469 | echo " - Openbench Logic Sniffer......... $LA_OLS" |
Martin Ling | f4816ac | 2012-12-29 22:22:10 +0100 | [diff] [blame] | 470 | echo " - Rigol DS1xx2.................... $HW_RIGOL_DS1XX2" |
Uwe Hermann | 21a7f26 | 2012-12-01 19:35:19 +0100 | [diff] [blame] | 471 | echo " - Serial DMM...................... $HW_SERIAL_DMM" |
Uwe Hermann | aa2af32 | 2012-11-09 03:33:05 +0100 | [diff] [blame] | 472 | echo " - Tondaj SL-814................... $HW_TONDAJ_SL_814" |
Uwe Hermann | 79081ec | 2012-10-27 22:41:50 +0200 | [diff] [blame] | 473 | echo " - UNI-T DMM....................... $HW_UNI_T_DMM" |
Bert Vermeulen | 521a0cd | 2012-12-15 11:07:18 +0100 | [diff] [blame] | 474 | echo " - Victor DMM...................... $HW_VICTOR_DMM" |
Uwe Hermann | 8fdecce | 2012-05-30 22:55:03 +0200 | [diff] [blame] | 475 | echo " - ZEROPLUS Logic Cube............. $LA_ZEROPLUS_LOGIC_CUBE" |
Uwe Hermann | 826938d | 2011-12-30 10:42:39 +0100 | [diff] [blame] | 476 | echo |
| 477 | |