]> sigrok.org Git - libsigrok.git/blobdiff - configure.ac
set proper build defaults for brymen-dmm and mic-985xx drivers
[libsigrok.git] / configure.ac
index 908afe9a905022d90ec413a10beee59eac36b884..9e098f9e9eca20779d67150fb2ebd5c34d7d9fc5 100644 (file)
@@ -34,7 +34,7 @@ AC_CONFIG_MACRO_DIR([autostuff])
 AC_CONFIG_AUX_DIR([autostuff])
 
 # We require at least automake 1.11 (needed for 'silent rules').
-AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign std-options])
+AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news color-tests])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 
@@ -114,7 +114,7 @@ fi
 AC_ARG_ENABLE(brymen-dmm, AC_HELP_STRING([--enable-brymen-dmm],
        [enable Brymen DMM support [default=yes]]),
        [HW_BRYMEN_DMM="$enableval"],
-       [HW_BRYMEN_DMM=yes])
+       [HW_BRYMEN_DMM=$HW_ENABLED_DEFAULT])
 AM_CONDITIONAL(HW_BRYMEN_DMM, test x$HW_BRYMEN_DMM = xyes)
 if test "x$HW_BRYMEN_DMM" = "xyes"; then
        AC_DEFINE(HAVE_HW_BRYMEN_DMM, 1, [brymen-dmm support])
@@ -195,7 +195,7 @@ fi
 AC_ARG_ENABLE(mic-985xx, AC_HELP_STRING([--enable-mic-985xx],
        [enable MIC 985xx support [default=yes]]),
        [HW_MIC_985XX="$enableval"],
-       [HW_MIC_985XX=yes])
+       [HW_MIC_985XX=$HW_ENABLED_DEFAULT])
 AM_CONDITIONAL(HW_MIC_985XX, test x$HW_MIC_985XX = xyes)
 if test "x$HW_MIC_985XX" = "xyes"; then
        AC_DEFINE(HAVE_HW_MIC_985XX, 1, [MIC 985xx support])