/compile
/libtool
/INSTALL
-/fuse.pc
+/*.pc
/.pc
/patches*
/m4
+2013-07-25 Miklos Szeredi <miklos@szeredi.hu>
+
+ * libfuse: fuse -> fuse3. Allow 2.X and 3.X to coexist. Includes
+ are now stored under /usr/include/fuse3 and library is named
+ libfuse3.*. Invoke pkg-config with "fuse3" as the first argument
+ to build with version 3 of the library.
+
2013-07-24 Miklos Szeredi <miklos@szeredi.hu>
* libfuse: remove "-D_FILE_OFFSET_BITS=64" from fuse.pc, add
SUBDIRS = @subdirs2@ doc
EXTRA_DIST = \
- fuse.pc.in \
+ fuse3.pc.in \
README* \
Filesystems \
FAQ
pkgconfigdir = @pkgconfigdir@
-pkgconfig_DATA = fuse.pc
+pkgconfig_DATA = fuse3.pc
$(pkgconfig_DATA): config.status
fi
fi
-AC_CONFIG_FILES([fuse.pc Makefile lib/Makefile util/Makefile example/Makefile include/Makefile doc/Makefile])
+AC_CONFIG_FILES([fuse3.pc Makefile lib/Makefile util/Makefile example/Makefile include/Makefile doc/Makefile])
AC_OUTPUT
if test "$util_linux_ok" = no; then
noinst_PROGRAMS = fusexmp fusexmp_fh null hello hello_ll fioc fioclient \
fsel fselclient cusexmp
-LDADD = ../lib/libfuse.la
-fusexmp_fh_LDADD = ../lib/libfuse.la ../lib/libulockmgr.la
+LDADD = ../lib/libfuse3.la
+fusexmp_fh_LDADD = ../lib/libfuse3.la ../lib/libulockmgr.la
fioclient_CPPFLAGS =
fioclient_LDFLAGS =
*
* \section section_compile compiling this example
*
- * gcc -Wall cusexmp.c `pkg-config fuse --cflags --libs` -o cusexmp
+ * gcc -Wall cusexmp.c `pkg-config fuse3 --cflags --libs` -o cusexmp
*
* \section section_source the complete source
* \include cusexmp.c
*
* \section section_compile compiling this example
*
- * gcc -Wall fioc.c `pkg-config fuse --cflags --libs` -o fioc
+ * gcc -Wall fioc.c `pkg-config fuse3 --cflags --libs` -o fioc
*
* \section section_source the complete source
* \include fioc.c
*
* \section section_compile compiling this example
*
- * gcc -Wall fsel.c `pkg-config fuse --cflags --libs` -o fsel
+ * gcc -Wall fsel.c `pkg-config fuse3 --cflags --libs` -o fsel
*
* \section section_source the complete source
* \include fsel.c
*
* \section section_compile compiling this example
*
- * gcc -Wall fusexmp.c `pkg-config fuse --cflags --libs` -o fusexmp
+ * gcc -Wall fusexmp.c `pkg-config fuse3 --cflags --libs` -o fusexmp
*
* \section section_source the complete source
* \include fusexmp.c
*
* \section section_compile compiling this example
*
- * gcc -Wall fusexmp_fh.c `pkg-config fuse --cflags --libs` -lulockmgr -o fusexmp_fh
+ * gcc -Wall fusexmp_fh.c `pkg-config fuse3 --cflags --libs` -lulockmgr -o fusexmp_fh
*
* \section section_source the complete source
* \include fusexmp_fh.c
*
* \section section_compile compiling this example
*
- * gcc -Wall hello.c `pkg-config fuse --cflags --libs` -o hello
+ * gcc -Wall hello.c `pkg-config fuse3 --cflags --libs` -o hello
*
* \section section_usage usage
\verbatim
*
* \section section_compile compiling this example
*
- * gcc -Wall hello_ll.c `pkg-config fuse --cflags --libs` -o hello_ll
+ * gcc -Wall hello_ll.c `pkg-config fuse3 --cflags --libs` -o hello_ll
*
* \section section_usage usage
\verbatim
*
* \section section_compile compiling this example
*
- * gcc -Wall null.c `pkg-config fuse --cflags --libs` -o null
+ * gcc -Wall null.c `pkg-config fuse3 --cflags --libs` -o null
*
* \section section_source the complete source
* \include null.c
+++ /dev/null
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-Name: fuse
-Description: Filesystem in Userspace
-Version: @VERSION@
-Libs: -L${libdir} -lfuse -pthread
-Libs.private: @libfuse_libs@
-Cflags: -I${includedir}/fuse
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: fuse
+Description: Filesystem in Userspace
+Version: @VERSION@
+Libs: -L${libdir} -lfuse -pthread
+Libs.private: @libfuse_libs@
+Cflags: -I${includedir}/fuse3
## Process this file with automake to produce Makefile.in
-fuseincludedir=$(includedir)/fuse
+fuseincludedir=$(includedir)/fuse3
fuseinclude_HEADERS = \
fuse.h \
AM_CPPFLAGS = -I$(top_srcdir)/include -DFUSERMOUNT_DIR=\"$(bindir)\" \
-D_REENTRANT -DFUSE_USE_VERSION=30
-lib_LTLIBRARIES = libfuse.la libulockmgr.la
+lib_LTLIBRARIES = libfuse3.la libulockmgr.la
if BSD
mount_source = mount_bsd.c
iconv_source =
endif
-libfuse_la_SOURCES = \
+libfuse3_la_SOURCES = \
fuse.c \
fuse_i.h \
fuse_loop.c \
$(iconv_source) \
$(mount_source)
-libfuse_la_LDFLAGS = -pthread @libfuse_libs@ -version-number 3:0:0 \
+libfuse3_la_LDFLAGS = -pthread @libfuse_libs@ -version-number 0:0:0 \
-Wl,--version-script,$(srcdir)/fuse_versionscript
if NETBSD
-libfuse_la_LIBADD = -lperfuse -lpuffs
+libfuse3_la_LIBADD = -lperfuse -lpuffs
endif
libulockmgr_la_SOURCES = ulockmgr.c