blob: 03b1fb9e75fdc0f4d44cfa794f376a24d8368099 [file] [log] [blame]
Upstream-Status: Inappropriate [configuration]
Don't use host include or lib paths in *FLAGS
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Index: configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -84,12 +84,6 @@ AX_PTHREAD([
LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC"],[])
-dnl Not all compilers include /usr/local in the include and link path
-if test -d /usr/local/include; then
- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
-fi
-
dnl Add enable/disable option
AC_ARG_ENABLE([java],
[AS_HELP_STRING([--disable-java], [Do not build the java bindings or jar file])])