#
AC_PREREQ(2.61)
# Checks for programs.
-AC_INIT([gnunet], [0.9.0],[bug-gnunet@gnu.org])
+AC_INIT([gnunet], [0.9.1],[bug-gnunet@gnu.org])
AC_CANONICAL_TARGET
AC_CANONICAL_HOST
AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE([gnunet], [0.9.0])
+AM_INIT_AUTOMAKE([gnunet], [0.9.1])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_HEADERS([gnunet_config.h])
AH_TOP([#define _GNU_SOURCE 1])
LDFLAGS="$LDFLAGS -pie"
fi])
+
# Linker hardening options
# Currently these options are ELF specific - you can't use this with MacOSX
AC_ARG_ENABLE(linker-hardening,
# restore LIBS
LIBS=$SAVE_LIBS
+# test for libunistring
+gl_LIBUNISTRING
+if test $HAVE_LIBUNISTRING != yes; then
+ AC_MSG_ERROR([GNUnet requires libunistring])
+fi
+if test $gl_libunistring_hexversion -le 2305; then
+ AC_MSG_ERROR([GNUnet requires libunistring >= 0.9.1.1])
+fi
+# restore LIBS
+LIBS=$SAVE_LIBS
+
+
# Checks for standard header files.
AC_HEADER_DIRENT
src/datacache/Makefile
src/datastore/Makefile
src/dht/Makefile
+src/dns/Makefile
src/dv/Makefile
src/fragmentation/Makefile
src/fs/Makefile