| 1 | --- configure.ac.orig 2014-04-19 16:17:19.000000000 +0200 |
| 2 | +++ configure.ac 2014-04-19 16:18:11.000000000 +0200 |
| 3 | @@ -72,15 +72,11 @@ |
| 4 | LDFLAGS="$LDFLAGS $PTHREAD_LIBS $USER_LDFLAGS $FUSE_LIBS" |
| 5 | |
| 6 | dnl Look for fuse headers. |
| 7 | -AX_EXT_HAVE_HEADER(fuse.h, /usr/include/fuse /usr/local/include/fuse \ |
| 8 | - /opt/include/fuse /opt/local/include/fuse \ |
| 9 | - /usr/include/osxfuse /usr/local/include/osxfuse) |
| 10 | +AX_EXT_HAVE_HEADER(fuse.h, @PREFIX@/include @PREFIX@/include/osxfuse) |
| 11 | |
| 12 | dnl Ensure the necessary paths are added to LDPATH |
| 13 | -AX_EXT_HAVE_LIB(/usr/lib /usr/local/lib /opt/lib /opt/local/lib, fuse, |
| 14 | - fuse_new, []) |
| 15 | -AX_EXT_HAVE_LIB(/usr/lib /usr/local/lib /opt/lib /opt/local/lib, osxfuse, |
| 16 | - fuse_new, []) |
| 17 | +AX_EXT_HAVE_LIB(@PREFIX@/lib , fuse, fuse_new, []) |
| 18 | +AX_EXT_HAVE_LIB(@PREFIX@/lib, osxfuse, fuse_new, []) |
| 19 | |
| 20 | if test "$GXX" = "yes"; then |
| 21 | CXXFLAGS="-W -Wall -Wpointer-arith -Wwrite-strings $CXXFLAGS" |