blob: 03b1fb9e75fdc0f4d44cfa794f376a24d8368099 [file] [log] [blame]
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05301Upstream-Status: Inappropriate [configuration]
2
3Don't use host include or lib paths in *FLAGS
4
5Signed-off-by: Armin Kuster <akuster808@gmail.com>
6
7Index: configure.ac
8===================================================================
9--- a/configure.ac
10+++ b/configure.ac
11@@ -84,12 +84,6 @@ AX_PTHREAD([
12 LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
13 CC="$PTHREAD_CC"],[])
14
15-dnl Not all compilers include /usr/local in the include and link path
16-if test -d /usr/local/include; then
17- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
18- LDFLAGS="$LDFLAGS -L/usr/local/lib"
19-fi
20-
21 dnl Add enable/disable option
22 AC_ARG_ENABLE([java],
23 [AS_HELP_STRING([--disable-java], [Do not build the java bindings or jar file])])