summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2006-04-13 19:14:02 +0000
committerStefan Siegl <stesie@brokenpipe.de>2006-04-13 19:14:02 +0000
commite9628408d3d7a81f40448d4f7918f70667e33e44 (patch)
tree6638cfc09efde5ee6cd298804821b1361147c6f7
parent22740ae4d1f0758b1897781ad199ac1d0c24f608 (diff)
provide /include/fuse.h header file for compatibility reasons (quite like GNU/Linux's libfuse does)
-rw-r--r--configure.ac4
-rw-r--r--include/Makefile.am2
-rw-r--r--include/old/.cvsignore2
-rw-r--r--include/old/Makefile.am10
-rw-r--r--include/old/fuse.h9
5 files changed, 24 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 37f8a04eb..90a2fa81b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@
AC_PREREQ(2.59)
AC_INIT(libfuse, 0.1, hurdextras-hackers@nongnu.org)
-AC_REVISION($Revision: 1.7 $)
+AC_REVISION($Revision: 1.8 $)
AC_CONFIG_SRCDIR(src/main.c)
AM_CONFIG_HEADER(config.h)
@@ -40,7 +40,7 @@ CFLAGS="$CFLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -ggdb"
# Checks for library functions.
AC_CONFIG_FILES([fuse.pc Makefile]
- [include/Makefile src/Makefile]
+ [include/Makefile include/old/Makefile src/Makefile]
[example/Makefile
example-22/Makefile
example-23/Makefile
diff --git a/include/Makefile.am b/include/Makefile.am
index 7cd75170d..7e6f6157c 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -3,7 +3,7 @@
#
# Copyright (C) 2005,2006 Stefan Siegl <stesie@brokenpipe.de>, Germany
-SUBDIRS =
+SUBDIRS = old
fuseincludedir=$(includedir)/fuse
fuseinclude_HEADERS = \
diff --git a/include/old/.cvsignore b/include/old/.cvsignore
new file mode 100644
index 000000000..3dda72986
--- /dev/null
+++ b/include/old/.cvsignore
@@ -0,0 +1,2 @@
+Makefile.in
+Makefile
diff --git a/include/old/Makefile.am b/include/old/Makefile.am
new file mode 100644
index 000000000..f038a1cc1
--- /dev/null
+++ b/include/old/Makefile.am
@@ -0,0 +1,10 @@
+# Makefile.am
+# Used by automake and configure to create Makefile.
+#
+# Copyright (C) 2005,2006 Stefan Siegl <stesie@brokenpipe.de>, Germany
+
+SUBDIRS =
+
+fuseincludedir=$(includedir)
+fuseinclude_HEADERS = \
+ fuse.h
diff --git a/include/old/fuse.h b/include/old/fuse.h
new file mode 100644
index 000000000..3db0945a9
--- /dev/null
+++ b/include/old/fuse.h
@@ -0,0 +1,9 @@
+/*
+ This header is for compatibility with older software using FUSE.
+
+ Please use 'pkg-config --cflags fuse' to set include path. The
+ correct usage is still '#include <fuse.h>', not '#include
+ <fuse/fuse.h>'.
+*/
+
+#include "fuse/fuse.h"