aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2008-01-06 22:47:54 +0000
committerReuben Thomas <rrt@sc3d.org>2008-01-06 22:47:54 +0000
commita2a07b3584d1d75d40396b1c4b64fcf558c614be (patch)
treee163f89db9f942388b8cee04266660b36df326ba
parentd27057e0e4739673ea516be440110e7016550362 (diff)
downloadplptools-a2a07b3584d1d75d40396b1c4b64fcf558c614be.tar.gz
plptools-a2a07b3584d1d75d40396b1c4b64fcf558c614be.tar.bz2
plptools-a2a07b3584d1d75d40396b1c4b64fcf558c614be.zip
Bump version to 0.20.
Put correct required version of FUSE in comment. Fix a comment's English. Simplify libfuse test. Add test for libattr.
-rw-r--r--configure.ac24
1 files changed, 12 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index 8c3066e..85de1bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(plptools, 0.19, plptools-developers@lists.sourceforge.net)
+AC_INIT(plptools, 0.20, plptools-developers@lists.sourceforge.net)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE
@@ -103,15 +103,9 @@ AC_SUBST(LIBHISTORY)
# FUSE for plpfuse
AC_CHECK_HEADER(fuse.h,,
- [AC_MSG_ERROR([
- Can't find fuse.h - add the search path to CPPFLAGS and
- rerun configure, eg:
- export CPPFLAGS=-I/usr/local/include ])])
-AC_CHECK_LIB(fuse,fuse_new, [FUSE_LIBS="-lfuse"],
- [AC_MSG_ERROR([
- Can't find libfuse.a - add the search path to LDFLAGS
- and rerun configure, eg:
- export LDFLAGS=-L/usr/local/lib ])],)
+ [AC_MSG_ERROR([Need fuse.h to build plpfuse])])
+AC_CHECK_LIB(fuse,fuse_new,,
+ [AC_MSG_ERROR([Need libfuse to build plpfuse])])
# check for a supported version of FUSE
AC_MSG_CHECKING([For supported FUSE API version])
@@ -127,17 +121,23 @@ AC_RUN_IFELSE([
]])],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
- AC_MSG_FAILURE([plpfuse requires FUSE 2.5 or newer.])
+ AC_MSG_FAILURE([plpfuse requires FUSE 2.6 or newer.])
]
)
+# check for libattr for plpfuse
+AC_CHECK_HEADER(attr/attributes.h,,
+ [AC_MSG_ERROR([Need libattr to build plpfuse])])
+AC_CHECK_LIB(attr,attr_set,,
+ [AC_MSG_ERROR([Need libattr to build plpfuse])])
+
dnl these three are for solaris
AC_CHECK_LIB(socket, socket)
AC_CHECK_LIB(nsl, gethostbyname)
ac_save_LDFLAGS=$LDFLAGS; LDFLAGS="-L/usr/ucblib -R/usr/ucblib $LDFLAGS"
AC_CHECK_LIB(rpcsoc, svcudp_create,,LDFLAGS=$ac_save_LDFLAGS)
-dnl Check, if bot time.h and sys/time.h may be included
+dnl Check whether both time.h and sys/time.h may be included
AC_HEADER_TIME
dnl Type of sighandlers