From 87283d98c996db225444cf0c80e19099edb6fe61 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 14 Jan 2014 19:36:28 +0100 Subject: [PATCH] configure.ac: Move sysclk-lwla chunk to correct location. --- configure.ac | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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])