1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-29 08:26:08 +03:00

avoid OS=DARWINdigists

This commit is contained in:
Barak A. Pearlmutter 2016-12-28 23:38:15 +01:00
parent af51bd4d46
commit 8e58aeb2ff

View File

@ -28,10 +28,14 @@ AS_CASE([${host_os}],
[mingw32], [OS=WINDOWS32],
[macos], [OS=DARWIN],
[linux-android], [OS=ANDROID],
[OS="$(echo ${host_os}|tr "a-z" "A-Z_")"])
[OS="$(echo ${host_os}|tr "a-z" "A-Z")"])
uname_os="$(uname | tr "a-z" "A-Z")"
# Avoid, e.g., OS=DARWIN15.6.0
AS_CASE([${uname_os}],
[DARWIN], [OS=DARWIN])
AC_MSG_NOTICE([host_os: ${host_os}])
AC_MSG_NOTICE([uname_os: ${uname_os}])
AC_MSG_NOTICE([adjusted OS: ${OS}])