From: Uwe Hermann Date: Tue, 14 Jan 2014 18:36:28 +0000 (+0100) Subject: configure.ac: Move sysclk-lwla chunk to correct location. X-Git-Tag: libsigrok-0.3.0~291 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=87283d98c996db225444cf0c80e19099edb6fe61;p=libsigrok.git configure.ac: Move sysclk-lwla chunk to correct location. --- diff --git a/configure.ac b/configure.ac index 7ea0a648..4192c8e4 100644 --- a/configure.ac +++ b/configure.ac @@ -220,13 +220,9 @@ AC_ARG_ENABLE(serial-dmm, AC_HELP_STRING([--enable-serial-dmm], [HW_SERIAL_DMM=$HW_ENABLED_DEFAULT]) AC_ARG_ENABLE(sysclk-lwla, AC_HELP_STRING([--enable-sysclk-lwla], - [enable SysClk LWLA support [default=yes]]), + [enable Sysclk LWLA support [default=yes]]), [HW_SYSCLK_LWLA="$enableval"], [HW_SYSCLK_LWLA=$HW_ENABLED_DEFAULT]) -AM_CONDITIONAL(HW_SYSCLK_LWLA, test x$HW_SYSCLK_LWLA = xyes) -if test "x$HW_SYSCLK_LWLA" = "xyes"; then - AC_DEFINE(HAVE_HW_SYSCLK_LWLA, 1, [SysClk LWLA support]) -fi AC_ARG_ENABLE(teleinfo, AC_HELP_STRING([--enable-teleinfo], [enable Teleinfo support [default=yes]]), @@ -524,6 +520,11 @@ if test "x$HW_SERIAL_DMM" = "xyes"; then AC_DEFINE(HAVE_HW_SERIAL_DMM, 1, [Serial DMM support]) fi +AM_CONDITIONAL(HW_SYSCLK_LWLA, test x$HW_SYSCLK_LWLA = xyes) +if test "x$HW_SYSCLK_LWLA" = "xyes"; then + AC_DEFINE(HAVE_HW_SYSCLK_LWLA, 1, [Sysclk LWLA 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])