Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
promise
OpenXG-RAN
Commits
8551399c
Commit
8551399c
authored
Nov 20, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6065
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
d3e5e2fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
openair-cn/configure.ac
openair-cn/configure.ac
+17
-1
No files found.
openair-cn/configure.ac
View file @
8551399c
...
@@ -226,6 +226,16 @@ AC_ARG_ENABLE([s11],
...
@@ -226,6 +226,16 @@ AC_ARG_ENABLE([s11],
AM_CONDITIONAL([DISABLE_S11], [test x$enable_s11 == xno])
AM_CONDITIONAL([DISABLE_S11], [test x$enable_s11 == xno])
dnl *** Enable GTPU IN KERNEL ***
AC_ARG_ENABLE([gtp1u_in_kernel],
AS_HELP_STRING([--enable-gtp1u-in-kernel], [Enable GTPU IN KERNEL]),
[case "${enableval}" in
yes) gtp1u_in_kernel=true; CFLAGS="$CFLAGS -DENABLE_USE_GTPU_IN_KERNEL" ;;
no ) gtp1u_in_kernel=false;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-gtp1u-in-kernel) ;;
esac],
[gtp1u_in_kernel=false])
dnl *** Enable PCAP for SGI ***
dnl *** Enable PCAP for SGI ***
AC_ARG_ENABLE([pcap_for_sgi],
AC_ARG_ENABLE([pcap_for_sgi],
AS_HELP_STRING([--enable-pcap-for-sgi], [Enable PCAP for SGI layer]),
AS_HELP_STRING([--enable-pcap-for-sgi], [Enable PCAP for SGI layer]),
...
@@ -254,7 +264,7 @@ AC_ARG_ENABLE([raw_socket_for_sgi],
...
@@ -254,7 +264,7 @@ AC_ARG_ENABLE([raw_socket_for_sgi],
no ) raw_socket_for_sgi=false;;
no ) raw_socket_for_sgi=false;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-raw-socket-for-sgi) ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-raw-socket-for-sgi) ;;
esac],
esac],
[if test x$pcap_for_sgi != xtrue && test x$netfilter_for_sgi != xtrue; then
[if test x$pcap_for_sgi != xtrue && test x$netfilter_for_sgi != xtrue
&& test x$gtp1u_in_kernel != xtrue
; then
raw_socket_for_sgi=true; CFLAGS="$CFLAGS -DENABLE_USE_RAW_SOCKET_FOR_SGI"
raw_socket_for_sgi=true; CFLAGS="$CFLAGS -DENABLE_USE_RAW_SOCKET_FOR_SGI"
else
else
raw_socket_for_sgi=false
raw_socket_for_sgi=false
...
@@ -264,6 +274,8 @@ AM_CONDITIONAL([ENABLE_USE_PCAP_FOR_SGI], [test x$pcap_for_sgi == xtrue])
...
@@ -264,6 +274,8 @@ AM_CONDITIONAL([ENABLE_USE_PCAP_FOR_SGI], [test x$pcap_for_sgi == xtrue])
AM_CONDITIONAL([ENABLE_USE_NETFILTER_FOR_SGI], [test x$netfilter_for_sgi == xtrue])
AM_CONDITIONAL([ENABLE_USE_NETFILTER_FOR_SGI], [test x$netfilter_for_sgi == xtrue])
AM_CONDITIONAL([ENABLE_USE_RAW_SOCKET_FOR_SGI], [test x$raw_socket_for_sgi == xtrue])
AM_CONDITIONAL([ENABLE_USE_RAW_SOCKET_FOR_SGI], [test x$raw_socket_for_sgi == xtrue])
AM_CONDITIONAL([ENABLE_USE_RAW_SOCKET_FOR_SGI], [ test x$pcap_for_sgi != xtrue && test x$netfilter_for_sgi != xtrue ])
AM_CONDITIONAL([ENABLE_USE_RAW_SOCKET_FOR_SGI], [ test x$pcap_for_sgi != xtrue && test x$netfilter_for_sgi != xtrue ])
AM_CONDITIONAL([ENABLE_USE_GTPU_IN_KERNEL], [ test x$gtp1u_in_kernel == xtrue ])
AM_CONDITIONAL([ENABLE_USE_GTPU_IN_KERNEL], [ test x$raw_socket_for_sgi == xtrue && x$pcap_for_sgi != xtrue && test x$netfilter_for_sgi != xtrue ])
AS_IF([test "x$enable_pcap_for_sgi" == "xyes"], [
AS_IF([test "x$enable_pcap_for_sgi" == "xyes"], [
dnl *** libpcap support ***
dnl *** libpcap support ***
...
@@ -408,4 +420,8 @@ if test x$raw_socket_for_sgi == xtrue; then
...
@@ -408,4 +420,8 @@ if test x$raw_socket_for_sgi == xtrue; then
echo "SGI raw socket.: yes"
echo "SGI raw socket.: yes"
fi
fi
if test x$gtp1u_in_kernel == xtrue; then
echo "GTPU in kernel.: yes"
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment