From: Uwe Hermann Date: Fri, 21 Jun 2013 13:18:33 +0000 (+0200) Subject: configure.ac: Move an AM_CONDITIONAL to the correct location. X-Git-Tag: libsigrok-0.2.1~44 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=32be5b22462fa271c8837694d7f242a0bda2f2f7;p=libsigrok.git configure.ac: Move an AM_CONDITIONAL to the correct location. --- diff --git a/configure.ac b/configure.ac index 1e26764e..310bd717 100644 --- a/configure.ac +++ b/configure.ac @@ -108,10 +108,6 @@ AC_ARG_ENABLE(cem-dt-885x, AC_HELP_STRING([--enable-cem-dt-885x], [enable CEM DT-885x support [default=yes]]), [HW_CEM_DT_885X="$enableval"], [HW_CEM_DT_885X=yes]) -AM_CONDITIONAL(HW_CEM_DT_885X, test x$HW_CEM_DT_885X = xyes) -if test "x$HW_CEM_DT_885X" = "xyes"; then - AC_DEFINE(HAVE_HW_CEM_DT_885X, 1, [CEM DT-885x support]) -fi AC_ARG_ENABLE(chronovu-la8, AC_HELP_STRING([--enable-chronovu-la8], [enable ChronoVu LA8 support [default=yes]]), @@ -320,6 +316,11 @@ if test "x$HW_BRYMEN_DMM" = "xyes"; then AC_DEFINE(HAVE_HW_BRYMEN_DMM, 1, [Brymen DMM support]) fi +AM_CONDITIONAL(HW_CEM_DT_885X, test x$HW_CEM_DT_885X = xyes) +if test "x$HW_CEM_DT_885X" = "xyes"; then + AC_DEFINE(HAVE_HW_CEM_DT_885X, 1, [CEM DT-885x support]) +fi + AM_CONDITIONAL(HW_CHRONOVU_LA8, test x$HW_CHRONOVU_LA8 = xyes) if test "x$HW_CHRONOVU_LA8" = "xyes"; then AC_DEFINE(HAVE_HW_CHRONOVU_LA8, 1, [ChronoVu LA8 support])