From 13ba98b4ae9ae1c81daa50145c5018b0439e73b4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 9 Jan 2011 10:56:38 -0800 Subject: [PATCH] build: Fix the CDMA modem autoconf/automake mess --- Makefile.am | 7 +++---- configure.ac | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4c9fd8ec..eb160019 100644 --- a/Makefile.am +++ b/Makefile.am @@ -245,10 +245,9 @@ conf_DATA += plugins/phonesim.conf endif endif -if CDMA_ATMODEM -builtin_modules += cdma_atmodem -builtin_sources += drivers/cdmamodem/cdmamodem.h \ - drivers/cdmamodem/cdmamodem.c +if CDMAMODEM +builtin_modules += cdmamodem +builtin_sources += drivers/cdmamodem/cdmamodem.h drivers/cdmamodem/cdmamodem.c endif builtin_modules += g1 diff --git a/configure.ac b/configure.ac index 2a260406..c33780f8 100644 --- a/configure.ac +++ b/configure.ac @@ -158,10 +158,10 @@ AC_ARG_ENABLE(atmodem, AC_HELP_STRING([--disable-atmodem], [enable_atmodem=${enableval}]) AM_CONDITIONAL(ATMODEM, test "${enable_atmodem}" != "no") -AC_ARG_ENABLE(cdmaatmodem, AC_HELP_STRING([--disable-cdmamodem], +AC_ARG_ENABLE(cdmamodem, AC_HELP_STRING([--disable-cdmamodem], [disable CDMA AT modem support]), - [enable_cdma_atmodem=${enableval}]) -AM_CONDITIONAL(CDMA_ATMODEM, test "${enable_cdma_atmodem}" != "no") + [enable_cdmamodem=${enableval}]) +AM_CONDITIONAL(CDMAMODEM, test "${enable_cdmamodem}" != "no") AC_ARG_ENABLE(phonesim, AC_HELP_STRING([--disable-phonesim], [disable Phone simulator support]),