From 8baa7b150d95a86ad4f59c71216bd1462768928d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 4 Jun 2012 09:30:57 +0000 Subject: [PATCH] #2404, patch 01: configure support for GNU Hurd --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- 2.25.1