summaryrefslogtreecommitdiffstats
path: root/extras/japi/configure.ac
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-09-13 09:59:50 +0200
committerFlorin Coras <florin.coras@gmail.com>2018-11-13 16:13:24 +0000
commit24195081f1355c91cd716f09f88db0721671cbd0 (patch)
treeb4edc26fa395ef5515903e5338fdf429f6c5984f /extras/japi/configure.ac
parente82eb635b1377c2b14d28127a121eabd10b3b83d (diff)
japi: Move Java API binding to cmake
Change-Id: I264d547a06e3636d021a74cd26efb8137f629cbc Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'extras/japi/configure.ac')
-rw-r--r--extras/japi/configure.ac57
1 files changed, 0 insertions, 57 deletions
diff --git a/extras/japi/configure.ac b/extras/japi/configure.ac
deleted file mode 100644
index f6e7b53ac7f..00000000000
--- a/extras/japi/configure.ac
+++ /dev/null
@@ -1,57 +0,0 @@
-AC_INIT(japi, 18.10)
-LT_INIT
-AM_INIT_AUTOMAKE
-AM_SILENT_RULES([yes])
-AC_PREFIX_DEFAULT([/usr])
-
-PKG_CHECK_MODULES([CHECK], [check], [HAVE_CHECK=1], [HAVE_CHECK=0])
-AM_CONDITIONAL([USE_CHECK],[test "$HAVE_CHECK" -eq 1])
-
-AC_PROG_CC
-AC_PROG_CXX
-
-# Check if compiler supports specific flag
-AC_DEFUN([CC_CHECK_FLAG],
-[
- AC_MSG_CHECKING([if $CC supports $1])
- AC_LANG_PUSH([C])
- ac_saved_cflags="$CFLAGS"
- CFLAGS="-Werror $1"
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
- [cc_flag_check=yes],
- [cc_flag_check=no]
-)
- AC_MSG_RESULT([$cc_flag_check])
- CFLAGS="$ac_saved_cflags"
- AC_LANG_POP([C])
-])
-
-CC_CHECK_FLAG("-Wno-address-of-packed-member")
-AS_IF([test "$cc_flag_check" = yes],
- [CFLAGS="${CFLAGS} -Wno-address-of-packed-member"], [])
-
-AM_CONDITIONAL(ENABLE_ACL_PLUGIN, test "yes" = "yes")
-AM_CONDITIONAL(ENABLE_NAT_PLUGIN, test "yes" = "yes")
-AM_CONDITIONAL(ENABLE_L2E_PLUGIN, test "yes" = "yes")
-AM_CONDITIONAL(ENABLE_GBP_PLUGIN, test "yes" = "yes")
-AM_CONDITIONAL(ENABLE_PPPOE_PLUGIN, test "yes" = "yes")
-AM_CONDITIONAL(ENABLE_GTPU_PLUGIN, test "yes" = "yes")
-AM_CONDITIONAL(ENABLE_IOAM_PLUGIN, test "yes" = "yes")
-AM_CONDITIONAL(ENABLE_NSH_PLUGIN, test "yes" = "yes")
-
-AX_VPP_FIND_JDK8
-AC_SUBST(JAVA_HOME)
-AC_SUBST(JAVAC)
-AC_SUBST(JAVAH)
-AC_SUBST(JAR)
-
-AS_CASE([$host_cpu],
- [x86_64], [CPU_FLAGS="-march=corei7 -mtune=corei7-avx"],
- [aarch64], [CPU_FLAGS="-march=armv8-a+crc"],
- [CPU_FLAGS=""],
-)
-AC_SUBST([CPU_FLAGS])
-
-AC_OUTPUT([Makefile java/Makefile])
-
-AC_CONFIG_MACRO_DIR([m4])