X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=1b91c78f008bad14a3ae8791eb5bc0da301d2c14;hb=122d33d47d17fd56c6306190b7066d8819b43145;hp=63280d05a7e712cb39040a9c60c8fe9f6cc6249f;hpb=9b2f03bbd2e5d5a6efe056645b34e17ace9d8b90;p=libsigrok.git diff --git a/configure.ac b/configure.ac index 63280d05..1b91c78f 100644 --- a/configure.ac +++ b/configure.ac @@ -203,10 +203,6 @@ AC_ARG_ENABLE(teleinfo, AC_HELP_STRING([--enable-teleinfo], [enable Teleinfo support [default=yes]]), [HW_TELEINFO="$enableval"], [HW_TELEINFO=$HW_ENABLED_DEFAULT]) -AM_CONDITIONAL(HW_TELEINFO, test x$HW_TELEINFO = xyes) -if test "x$HW_TELEINFO" = "xyes"; then - AC_DEFINE(HAVE_HW_TELEINFO, 1, [Teleinfo support]) -fi AC_ARG_ENABLE(tondaj-sl-814, AC_HELP_STRING([--enable-tondaj-sl-814], [enable Tondaj SL-814 support [default=yes]]), @@ -441,6 +437,11 @@ if test "x$HW_SERIAL_DMM" = "xyes"; then AC_DEFINE(HAVE_HW_SERIAL_DMM, 1, [Serial DMM support]) fi +AM_CONDITIONAL(HW_TELEINFO, test x$HW_TELEINFO = xyes) +if test "x$HW_TELEINFO" = "xyes"; then + AC_DEFINE(HAVE_HW_TELEINFO, 1, [Teleinfo support]) +fi + AM_CONDITIONAL(HW_TONDAJ_SL_814, test x$HW_TONDAJ_SL_814 = xyes) if test "x$HW_TONDAJ_SL_814" = "xyes"; then AC_DEFINE(HAVE_HW_TONDAJ_SL_814, 1, [Tondaj SL-814 support])