From: Victor Kirhenshtein Date: Wed, 17 Aug 2016 16:03:52 +0000 (+0300) Subject: fixed JDK 8 detection on Linux X-Git-Tag: 2.1-M0~118 X-Git-Url: http://git.netxms.org/public/netxms.git/commitdiff_plain/a041dc1398d20f7f61f2f74d3bef1f32cea3065d?ds=sidebyside fixed JDK 8 detection on Linux --- diff --git a/configure.ac b/configure.ac index 19fd96ce5..7c87af10e 100644 --- a/configure.ac +++ b/configure.ac @@ -266,6 +266,9 @@ AC_ARG_WITH(jdk, LD_RUN_PATH="${withval}/lib${LD_RUN_PATH:+:}${LD_RUN_PATH}" LDFLAGS="$LDFLAGS -L${withval}/lib" CPPFLAGS="$CPPFLAGS -I${withval}/include" + if test -d "${withval}/include/linux"; then + CPPFLAGS="$CPPFLAGS -I${withval}/include/linux" + fi if test -d "${withval}/include/solaris"; then CPPFLAGS="$CPPFLAGS -I${withval}/include/solaris" fi