diff --git a/configure.ac b/configure.ac index e76105a..9e9897a 100644 --- a/configure.ac +++ b/configure.ac @@ -58,6 +58,8 @@ AS_IF([test "x$with_alsa" != "xyes" -a "x$with_sdr" != "xyes"],[AC_MSG_NOTICE( W SOAPY_CFLAGS="$soapy_0_8_0_or_higher" +AM_CONDITIONAL(HAVE_MOBILE, true) + AC_CONFIG_FILES([src/liblogging/Makefile src/liboptions/Makefile src/libmobile/Makefile diff --git a/src/dcf77/main.c b/src/dcf77/main.c index 5c410b1..8a52c9e 100755 --- a/src/dcf77/main.c +++ b/src/dcf77/main.c @@ -661,3 +661,6 @@ error: void osmo_cc_set_log_cat(int __attribute__((unused)) cc_log_cat) {} +void *get_sender_by_empfangsfrequenz(void); +void *get_sender_by_empfangsfrequenz(void) { return NULL; } + diff --git a/src/libsound/Makefile.am b/src/libsound/Makefile.am index 6cd6535..091c27d 100644 --- a/src/libsound/Makefile.am +++ b/src/libsound/Makefile.am @@ -6,3 +6,8 @@ libsound_a_SOURCES = \ sound_alsa.c AM_CPPFLAGS += -DHAVE_ALSA + +if HAVE_MOBILE +AM_CPPFLAGS += -DHAVE_MOBILE +endif + diff --git a/src/magnetic/main.c b/src/magnetic/main.c index 2281752..b247f44 100644 --- a/src/magnetic/main.c +++ b/src/magnetic/main.c @@ -367,4 +367,11 @@ done: void osmo_cc_set_log_cat(int __attribute__((unused)) cc_log_cat) {} +void display_measurements_add(void); +void *display_measurements_update(void); +void *get_sender_by_empfangsfrequenz(void); +void display_measurements_add(void) {} +void *display_measurements_update(void) { return NULL; } +void *get_sender_by_empfangsfrequenz(void) { return NULL; } + #endif /* ARDUINO */