aboutsummaryrefslogtreecommitdiff
path: root/m4/tuklib_physmem.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-10-09 19:41:51 +0300
commit076258cc458f1e705041ac7a729b15ffe8c5214a (patch)
tree578cb685edeb596d33bcfed4edcead4c41695bcf /m4/tuklib_physmem.m4
parentxzgrep: Avoid passing both -q and -l to grep. (diff)
downloadxz-076258cc458f1e705041ac7a729b15ffe8c5214a.tar.xz
Add support for AmigaOS/AROS to tuklib_physmem().
Thanks to Fredrik Wikstrom.
Diffstat (limited to '')
-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