diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-11-16 22:15:22 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-11-16 22:16:46 +0100 |
commit | 6c7680d72691a11e9bf7f91fe1938a3c192b3511 (patch) | |
tree | 8116563c60897a1da791e4c565fc8596ae2a47e0 /openbsc/src/osmo-nitb | |
parent | 1a2993adb7031c7e908f478e64cf73b44419b500 (diff) |
SMPP: build the smpp interface only in case of ./configure --enable-smpp
Diffstat (limited to 'openbsc/src/osmo-nitb')
-rw-r--r-- | openbsc/src/osmo-nitb/bsc_hack.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |