9
0
Fork 0

ggsn: fix autotool pkg-config invokation

see https://autotools.io/pkgconfig/pkg_check_modules.html, Optional Modules
for explanation

Signed-off-by: Andreas Schultz <aschultz@tpip.net>
This commit is contained in:
Andreas Schultz 2015-11-17 12:22:44 +01:00 committed by Holger Hans Peter Freyther
parent c5fbf9bd68
commit c80680a9c4
1 changed files with 2 additions and 2 deletions

View File

@ -50,9 +50,9 @@ AC_ARG_ENABLE([gtp-kernel],
AS_HELP_STRING([--enable-gtp-kernel], [Build GTP tunneling kernel]),
[enable_gtp_kernel="$enableval"], [enable_gtp_kernel="no"])
if test "x$enable_gtp_kernel" = "xyes"; then
AS_IF([test "x$enable_gtp_kernel" = "xyes"], [
PKG_CHECK_MODULES([LIBGTPNL], [libgtpnl >= 1.0.0])
fi
])
AM_CONDITIONAL([ENABLE_GTP_KERNEL], [test "$enable_gtp_kernel" = "yes"])