depcomp
libtool
INSTALL
+fuse.pc
just add '-DFUSE_DIRFIL_COMPAT' compile flag or fix the source.
Do not use the "use_ino" mount flag with filesystems compiled with
FUSE_DIRFIL_COMPAT.
+
+ * Add pkg-config support. To compile a FUSE based filesystem you
+ can do "gcc -Wall `pkg-config --cflags --libs fuse` myfs.c -o myfs"
+ or similar. Note, that the PKG_CONFIG_PATH environment variable
+ usually needs to be set to "/usr/local/lib/pkgconfig".
+
+ * fuse.h is now installed in ${prefix}/include/fuse/
2004-11-02 Miklos Szeredi <miklos@szeredi.hu>
SUBDIRS = @subdirs@
EXTRA_DIST = \
- fuse.spec \
+ fuse.pc.in \
README* \
Filesystems \
BUGS \
doc/how-fuse-works
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = fuse.pc
+
+$(pkgconfig_DATA): config.status
AC_SUBST(subdirs)
-AC_OUTPUT([Makefile kernel/Makefile lib/Makefile util/Makefile example/Makefile include/Makefile include/linux/Makefile patch/Makefile])
-
+AC_CONFIG_FILES([fuse.pc Makefile kernel/Makefile lib/Makefile util/Makefile example/Makefile include/Makefile include/linux/Makefile patch/Makefile])
+AC_OUTPUT
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: fuse
+Description: Filesystem in Userspace
+Version: @VERSION@
+Libs: -L${libdir} -lfuse
+Cflags: -I${includedir}/fuse
SUBDIRS = linux
-include_HEADERS = fuse.h
+fuseincludedir=$(includedir)/fuse
+fuseinclude_HEADERS = fuse.h
+
+# remove fuse.h from old place to avoid collision with new one
+install-data-local:
+ @if test -f $(includedir)/fuse.h; then \
+ echo "Removing old FUSE header from $(includedir)/fuse.h"; \
+ rm -f $(includedir)/fuse.h; \
+ fi