From 6c7680d72691a11e9bf7f91fe1938a3c192b3511 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 16 Nov 2012 22:15:22 +0100 Subject: SMPP: build the smpp interface only in case of ./configure --enable-smpp --- openbsc/src/osmo-nitb/bsc_hack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/src/osmo-nitb') diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c index fa38f1f3f..b82a02621 100644 --- a/openbsc/src/osmo-nitb/bsc_hack.c +++ b/openbsc/src/osmo-nitb/bsc_hack.c @@ -312,10 +312,10 @@ int main(int argc, char **argv) /* start the SMS queue */ if (sms_queue_start(bsc_gsmnet, 20) != 0) return -1; - +#ifdef BUILD_SMPP if (smpp_openbsc_init(bsc_gsmnet, 6040) < 0) return -1; - +#endif if (daemonize) { rc = osmo_daemonize(); if (rc < 0) { -- cgit v1.2.3