git.netxms.org
/
public
/
netxms.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2ef2ea
)
fixed JDK 8 detection on Linux
author
Victor Kirhenshtein
<victor@netxms.org>
Wed, 17 Aug 2016 16:03:52 +0000
(19:03 +0300)
committer
Victor Kirhenshtein
<victor@netxms.org>
Wed, 17 Aug 2016 16:03:52 +0000
(19:03 +0300)
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index
19fd96c
..
7c87af1
100644
(file)
--- 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