aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-10-09 19:41:51 +0300
committerLasse Collin <lasse.collin@tukaani.org>2014-12-17 21:15:02 +0200
commit4fdcccd85e140acd99a1ef4684cd3a1957380376 (patch)
tree299fc73f74e4ff4797cb98f896a450d03abe005e /m4
parentxzgrep: Avoid passing both -q and -l to grep. (diff)
downloadxz-4fdcccd85e140acd99a1ef4684cd3a1957380376.tar.xz
Add support for AmigaOS/AROS to tuklib_physmem().
Thanks to Fredrik Wikstrom.
Diffstat (limited to 'm4')
-rw-r--r--m4/tuklib_physmem.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/tuklib_physmem.m4 b/m4/tuklib_physmem.m4
index 12499256..ea02208f 100644
--- a/m4/tuklib_physmem.m4
+++ b/m4/tuklib_physmem.m4
@@ -53,7 +53,8 @@ AC_CACHE_CHECK([how to detect the amount of physical memory],
# a non-compilable text instead of #error to generate an error.
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__OS2__) \
- || defined(__DJGPP__) || defined(__VMS)
+ || defined(__DJGPP__) || defined(__VMS) \
+ || defined(AMIGA) || defined(__AROS__)
int main(void) { return 0; }
#else
compile error