[S] Change in libosmo-sigtran[master]: Use config.h with AC_CONFIG_HEADER for defines
daniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41522?usp=email ) Change subject: Use config.h with AC_CONFIG_HEADER for defines ...................................................................... Use config.h with AC_CONFIG_HEADER for defines Change-Id: I15c25b04dc7ef62f46e2429042613ff8f7ca9ce9 --- M configure.ac M src/ipa.c M src/ss7_as.c M src/ss7_as.h M src/ss7_as_vty.c M src/ss7_asp.c M src/ss7_asp.h M src/ss7_asp_vty.c M src/ss7_vty.c M src/xua_asp_fsm.c M stp/stp_main.c 11 files changed, 23 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/22/41522/1 diff --git a/configure.ac b/configure.ac index c8f3c91..2f9a352 100644 --- a/configure.ac +++ b/configure.ac @@ -41,6 +41,9 @@ PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.11.0) PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 1.6.0) +dnl Generate the output +AC_CONFIG_HEADER(config.h) + # TCAP loadsharing AC_ARG_ENABLE([tcap-loadsharing], [AS_HELP_STRING([--enable-tcap-loadsharing], [Build with TCAP loadsharing. Requires libosmo-asn1-tcap [default=no]])], [osmo_ac_tcap="$enableval"],[osmo_ac_tcap="no"]) diff --git a/src/ipa.c b/src/ipa.c index 2a9f7f8..d3999e1 100644 --- a/src/ipa.c +++ b/src/ipa.c @@ -20,6 +20,8 @@ * */ +#include "config.h" + #include <stdint.h> #include <errno.h> #include <unistd.h> diff --git a/src/ss7_as.c b/src/ss7_as.c index 808047d..f1c9528 100644 --- a/src/ss7_as.c +++ b/src/ss7_as.c @@ -21,6 +21,8 @@ * */ +#include "config.h" + #include <string.h> #include <errno.h> #include <unistd.h> diff --git a/src/ss7_as.h b/src/ss7_as.h index b787a92..50df338 100644 --- a/src/ss7_as.h +++ b/src/ss7_as.h @@ -1,5 +1,7 @@ #pragma once +#include "config.h" + #include <stdint.h> #include <osmocom/core/linuxlist.h> #include <osmocom/core/fsm.h> diff --git a/src/ss7_as_vty.c b/src/ss7_as_vty.c index 7878825..f7f3cfe 100644 --- a/src/ss7_as_vty.c +++ b/src/ss7_as_vty.c @@ -21,6 +21,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <unistd.h> #include <errno.h> diff --git a/src/ss7_asp.c b/src/ss7_asp.c index 076d91f..161e070 100644 --- a/src/ss7_asp.c +++ b/src/ss7_asp.c @@ -21,6 +21,8 @@ * */ +#include "config.h" + #include <string.h> #include <errno.h> #include <unistd.h> diff --git a/src/ss7_asp.h b/src/ss7_asp.h index 5d8002c..da4257a 100644 --- a/src/ss7_asp.h +++ b/src/ss7_asp.h @@ -1,5 +1,7 @@ #pragma once +#include "config.h" + #include <stdint.h> #include <osmocom/core/linuxlist.h> #include <osmocom/core/fsm.h> diff --git a/src/ss7_asp_vty.c b/src/ss7_asp_vty.c index 9cdaca8..389b02d 100644 --- a/src/ss7_asp_vty.c +++ b/src/ss7_asp_vty.c @@ -20,6 +20,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ + +#include "config.h" #include <stdlib.h> #include <unistd.h> diff --git a/src/ss7_vty.c b/src/ss7_vty.c index 74ca934..1234c50 100644 --- a/src/ss7_vty.c +++ b/src/ss7_vty.c @@ -20,6 +20,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <unistd.h> #include <errno.h> diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c index b0f26fb..f70e313 100644 --- a/src/xua_asp_fsm.c +++ b/src/xua_asp_fsm.c @@ -9,6 +9,8 @@ * osmo-ss7.git */ +#include "config.h" + #include <errno.h> #include <osmocom/core/fsm.h> diff --git a/stp/stp_main.c b/stp/stp_main.c index 2d31ef0..fb5d202 100644 --- a/stp/stp_main.c +++ b/stp/stp_main.c @@ -18,6 +18,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <stdio.h> #include <string.h> -- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41522?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: I15c25b04dc7ef62f46e2429042613ff8f7ca9ce9 Gerrit-Change-Number: 41522 Gerrit-PatchSet: 1 Gerrit-Owner: daniel <dwillmann@sysmocom.de>
participants (1)
-
daniel