diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-04 09:30:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-04 09:30:57 +0000 |
commit | 8baa7b150d95a86ad4f59c71216bd1462768928d (patch) | |
tree | a9359697eddbf21872a144c6dc8fe67af3822cde /configure.ac | |
parent | a8384a53e6f3f4391d1a45f91bf6b6b4cce32d67 (diff) | |
download | gnunet-8baa7b150d95a86ad4f59c71216bd1462768928d.tar.gz gnunet-8baa7b150d95a86ad4f59c71216bd1462768928d.zip |
#2404, patch 01: configure support for GNU Hurd
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2a8d61261..228ff17e0 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -162,6 +162,11 @@ netbsd*) | |||
162 | UNIXONLY="" | 162 | UNIXONLY="" |
163 | funcstocheck="" | 163 | funcstocheck="" |
164 | ;; | 164 | ;; |
165 | gnu*) | ||
166 | AC_DEFINE_UNQUOTED(GNU,1,[This is a GNU system]) | ||
167 | build_target="gnu" | ||
168 | UNIXONLY="#" | ||
169 | ;; | ||
165 | *) | 170 | *) |
166 | AC_MSG_RESULT(Unrecognised OS $host_os) | 171 | AC_MSG_RESULT(Unrecognised OS $host_os) |
167 | AC_DEFINE_UNQUOTED(OTHEROS,1,[Some strange OS]) | 172 | AC_DEFINE_UNQUOTED(OTHEROS,1,[Some strange OS]) |
@@ -184,6 +189,7 @@ AM_CONDITIONAL(SOLARIS, test "$build_target" = "solaris") | |||
184 | AM_CONDITIONAL(XFREEBSD, test "$build_target" = "freebsd") | 189 | AM_CONDITIONAL(XFREEBSD, test "$build_target" = "freebsd") |
185 | AM_CONDITIONAL(OPENBSD, test "$build_target" = "openbsd") | 190 | AM_CONDITIONAL(OPENBSD, test "$build_target" = "openbsd") |
186 | AM_CONDITIONAL(LINUX, test "$build_target" = "linux") | 191 | AM_CONDITIONAL(LINUX, test "$build_target" = "linux") |
192 | AM_CONDITIONAL(GNU, test "$build_target" = "gnu") | ||
187 | 193 | ||
188 | AC_MSG_RESULT([$build_target]) | 194 | AC_MSG_RESULT([$build_target]) |
189 | AC_SUBST(build_target) | 195 | AC_SUBST(build_target) |