summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2017-09-07 22:52:27 -0400
committerBen Gamari <ben@smart-cactus.org>2017-09-07 22:53:32 -0400
commitcb4878ffd18a3c70f98bdbb413cd3c4d1f054e1f (patch)
tree379532dc519012d670f5baf3909788b62e1026b7 /aclocal.m4
parentbe514a694f2cddbb1b23af971430364a223eb894 (diff)
downloadhaskell-cb4878ffd18a3c70f98bdbb413cd3c4d1f054e1f.tar.gz
Drop special handling of iOS and Android
As far as GHC is concerned, iOS **is** Darwin, and Android **is** Linux. Depends on D3352 Reviewers: austin, hvr, bgamari Reviewed By: bgamari Subscribers: Ericson2314, ryantrinkle, rwbarton, thomie, erikd Differential Revision: https://phabricator.haskell.org/D3579
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m410
1 files changed, 2 insertions, 8 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index d365dba0e2..8146e796c3 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -237,13 +237,10 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
checkOS() {
case [$]1 in
- linux)
+ linux|linux-android)
test -z "[$]2" || eval "[$]2=OSLinux"
;;
- ios)
- test -z "[$]2" || eval "[$]2=OSiOS"
- ;;
- darwin)
+ darwin|ios)
test -z "[$]2" || eval "[$]2=OSDarwin"
;;
solaris2)
@@ -279,9 +276,6 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
aix)
test -z "[$]2" || eval "[$]2=OSAIX"
;;
- linux-android)
- test -z "[$]2" || eval "[$]2=OSAndroid"
- ;;
*)
echo "Unknown OS '[$]1'"
exit 1