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:
parent
c5fbf9bd68
commit
c80680a9c4
|
@ -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"])
|
||||
|
||||
|
|
Reference in New Issue