commit 1e0aa8294b45c6876a37447223d13c92a66cb11e
parent 3dc4a621deea75f68f3217c5cf31426ae635e874
Author: David Barksdale <amatus.amongus@gmail.com>
Date: Mon, 18 Jun 2007 19:43:41 +0000
Modified configure script to better detect compatability with GNUnet
Diffstat:
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,5 @@
+2007-06-18 David Barksdale <amatus@gnu.org> 0.7.2a
+* Modified configure script to better detect compatability with GNUnet
2007-06-18 David Barksdale <amatus@gnu.org> 0.7.2
* Gratuitous version incrementation
2007-06-12 David Barksdale <amatus@gnu.org> 0.6
diff --git a/configure.ac b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(gnunet-fuse, 0.7.2)
+AC_INIT(gnunet-fuse, 0.7.2a)
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
@@ -20,8 +20,8 @@ AC_ARG_WITH(gnunet,
no)
;;
yes)
- AC_CHECK_HEADERS(GNUnet/gnunet_util.h,
- AC_CHECK_LIB([gnunetutil_boot], [GNUNET_init],
+ AC_CHECK_HEADERS(GNUnet/gnunet_ecrs_lib.h,
+ AC_CHECK_LIB([gnunetecrs], [ECRS_downloadPartialFile],
gnunet=1))
;;
*)
@@ -29,22 +29,22 @@ AC_ARG_WITH(gnunet,
LIBPATH="$with_gnunet/lib $LIBPATH"
CPPFLAGS="-I$with_gnunet/include $CPPFLAGS"
INCLUDEPATH="$with_gnunet/include $INCLUDEPATH"
- AC_CHECK_HEADERS(GNUnet/gnunet_util.h,
- AC_CHECK_LIB([gnunetutil_boot], [GNUNET_init],
+ AC_CHECK_HEADERS(GNUnet/gnunet_ecrs_lib.h,
+ AC_CHECK_LIB([gnunetecrs], [ECRS_downloadPartialFile],
EXT_LIB_PATH="-L$with_gnunet/lib $EXT_LIB_PATH"
gnunet=1))
;;
esac
],
[AC_MSG_RESULT([--with-gnunet not specified])
- AC_CHECK_HEADERS(gnunet_util.h,
- AC_CHECK_LIB([GNUnet/gnunet_util.h], [os_init],
+ AC_CHECK_HEADERS(GNUnet/gnunet_ecrs_lib.h,
+ AC_CHECK_LIB([gnunetecrs], [ECRS_downloadPartialFile],
gnunet=1))])
if test "$gnunet" != 1
then
AC_MSG_ERROR([gnunet-fuse requires GNUnet])
fi
-AC_CHECK_HEADERS([GNUnet/gnunet_ecrs_lib.h GNUnet/gnunet_getoption_lib.h],,
+AC_CHECK_HEADERS([GNUnet/gnunet_util.h GNUnet/gnunet_getoption_lib.h],,
AC_MSG_ERROR([compiling gnunet-fuse requires GNUnet core headers]
))