mirror of
https://github.com/vgough/encfs.git
synced 2025-06-20 03:37:50 +02:00
bump version to 1.5.1
improve configure check for rlog to use RLOG_LIBS if set and pkg-check fails git-svn-id: http://encfs.googlecode.com/svn/trunk@45 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
parent
61c4ae51f6
commit
b5cecb2b71
18
configure.ac
18
configure.ac
@ -1,7 +1,10 @@
|
|||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_INIT(encfs/encfs.h) dnl a source file from your sub dir
|
AC_INIT(encfs/encfs.h) dnl a source file from your sub dir
|
||||||
AM_INIT_AUTOMAKE(encfs, 1.5) dnl searches for some needed programs
|
AM_INIT_AUTOMAKE(encfs, 1.5.1) dnl searches for some needed programs
|
||||||
|
|
||||||
|
RELEASE=1
|
||||||
|
AC_SUBST(RELEASE)
|
||||||
|
|
||||||
dnl without this order in this file, automake will be confused!
|
dnl without this order in this file, automake will be confused!
|
||||||
dnl
|
dnl
|
||||||
@ -13,9 +16,6 @@ unset CDPATH
|
|||||||
AC_LANG_CPLUSPLUS
|
AC_LANG_CPLUSPLUS
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
|
|
||||||
RELEASE=1
|
|
||||||
AC_SUBST(RELEASE)
|
|
||||||
|
|
||||||
dnl almost the same like KDE_SET_PEFIX but the path is /usr/local
|
dnl almost the same like KDE_SET_PEFIX but the path is /usr/local
|
||||||
dnl
|
dnl
|
||||||
unset CDPATH
|
unset CDPATH
|
||||||
@ -178,12 +178,14 @@ if test "x$with_openssl" != "xyes"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# check for RLOG
|
# check for RLOG
|
||||||
PKG_CHECK_MODULES(RLOG, librlog >= 1.3,
|
PKG_CHECK_MODULES(RLOG, librlog >= 1.3, with_rlog="yes", with_rlog="test")
|
||||||
with_rlog="yes",
|
|
||||||
[ # do old-style test instead..
|
# manual check for rlog, unless environment variable already set
|
||||||
|
if test "$with_rlog" = "test" && test "x$RLOG_LIBS" = "x"; then
|
||||||
AC_MSG_WARN([Checking for librlog the hard way])
|
AC_MSG_WARN([Checking for librlog the hard way])
|
||||||
AC_CHECK_LIB(rlog, RLogVersion, [RLOG_LIBS="-lrlog"],
|
AC_CHECK_LIB(rlog, RLogVersion, [RLOG_LIBS="-lrlog"],
|
||||||
[AC_MSG_ERROR([EncFS depends on librlog, by the same author.])]) ])
|
[AC_MSG_ERROR([EncFS depends on librlog])])
|
||||||
|
fi
|
||||||
|
|
||||||
# look for pod2man program for building man pages
|
# look for pod2man program for building man pages
|
||||||
AC_PATH_PROG(POD2MAN, pod2man, [no])
|
AC_PATH_PROG(POD2MAN, pod2man, [no])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user