From: Christian Grothoff Date: Mon, 4 Jun 2012 09:30:57 +0000 (+0000) Subject: #2404, patch 01: configure support for GNU Hurd X-Git-Tag: initial-import-from-subversion-38251~13262 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8baa7b150d95a86ad4f59c71216bd1462768928d;p=oweals%2Fgnunet.git #2404, patch 01: configure support for GNU Hurd --- diff --git a/configure.ac b/configure.ac index 2a8d61261..228ff17e0 100644 --- a/configure.ac +++ b/configure.ac @@ -162,6 +162,11 @@ netbsd*) 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]) @@ -184,6 +189,7 @@ AM_CONDITIONAL(SOLARIS, test "$build_target" = "solaris") 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)