Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | Upstream-Status: Inappropriate [configuration] |
| 2 | |
| 3 | Don't use host include or lib paths in *FLAGS |
| 4 | |
| 5 | Signed-off-by: Armin Kuster <akuster808@gmail.com> |
| 6 | |
| 7 | Index: 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])]) |