configure.ac: Move sysclk-lwla chunk to correct location.

This commit is contained in:
Uwe Hermann 2014-01-14 19:36:28 +01:00
parent 7ebe9b9e7e
commit 87283d98c9
1 changed files with 6 additions and 5 deletions

View File

@ -220,13 +220,9 @@ AC_ARG_ENABLE(serial-dmm, AC_HELP_STRING([--enable-serial-dmm],
[HW_SERIAL_DMM=$HW_ENABLED_DEFAULT]) [HW_SERIAL_DMM=$HW_ENABLED_DEFAULT])
AC_ARG_ENABLE(sysclk-lwla, AC_HELP_STRING([--enable-sysclk-lwla], 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="$enableval"],
[HW_SYSCLK_LWLA=$HW_ENABLED_DEFAULT]) [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], AC_ARG_ENABLE(teleinfo, AC_HELP_STRING([--enable-teleinfo],
[enable Teleinfo support [default=yes]]), [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]) AC_DEFINE(HAVE_HW_SERIAL_DMM, 1, [Serial DMM support])
fi 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) AM_CONDITIONAL(HW_TELEINFO, test x$HW_TELEINFO = xyes)
if test "x$HW_TELEINFO" = "xyes"; then if test "x$HW_TELEINFO" = "xyes"; then
AC_DEFINE(HAVE_HW_TELEINFO, 1, [Teleinfo support]) AC_DEFINE(HAVE_HW_TELEINFO, 1, [Teleinfo support])