mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-16 12:53:17 +00:00
avoid OS=DARWINdigists
This commit is contained in:
parent
af51bd4d46
commit
8e58aeb2ff
|
@ -28,10 +28,14 @@ AS_CASE([${host_os}],
|
||||||
[mingw32], [OS=WINDOWS32],
|
[mingw32], [OS=WINDOWS32],
|
||||||
[macos], [OS=DARWIN],
|
[macos], [OS=DARWIN],
|
||||||
[linux-android], [OS=ANDROID],
|
[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")"
|
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([host_os: ${host_os}])
|
||||||
AC_MSG_NOTICE([uname_os: ${uname_os}])
|
AC_MSG_NOTICE([uname_os: ${uname_os}])
|
||||||
AC_MSG_NOTICE([adjusted OS: ${OS}])
|
AC_MSG_NOTICE([adjusted OS: ${OS}])
|
||||||
|
|
Loading…
Reference in a new issue