#
AC_PREREQ(2.61)
# Checks for programs.
-AC_INIT([gnunet], [0.9.2],[bug-gnunet@gnu.org])
+AC_INIT([gnunet], [0.9.3],[bug-gnunet@gnu.org])
AC_CANONICAL_TARGET
AC_CANONICAL_HOST
AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE([gnunet], [0.9.2])
+AM_INIT_AUTOMAKE([gnunet], [0.9.3])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_HEADERS([gnunet_config.h])
AH_TOP([#define _GNU_SOURCE 1])
UNIXONLY=""
funcstocheck=""
;;
+gnu*)
+ AC_DEFINE_UNQUOTED(GNU,1,[This is a GNU system])
+ build_target="gnu"
+ UNIXONLY="#"
+ ;;
*)
AC_MSG_RESULT(Unrecognised OS $host_os)
AC_DEFINE_UNQUOTED(OTHEROS,1,[Some strange OS])
AM_CONDITIONAL(XFREEBSD, test "$build_target" = "freebsd")
AM_CONDITIONAL(OPENBSD, test "$build_target" = "openbsd")
AM_CONDITIONAL(LINUX, test "$build_target" = "linux")
+AM_CONDITIONAL(GNU, test "$build_target" = "gnu")
AC_MSG_RESULT([$build_target])
AC_SUBST(build_target)
AC_CHECK_HEADERS([nss.h],[nss=true],[nss=false])
-if test x$nss = xnss
+if test x$nss = xfalse
then
AM_CONDITIONAL(HAVE_GLIBCNSS, false)
AC_MSG_WARN([No GNU libc nss header, will not build NSS plugin])