summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2013-06-06 12:23:24 +0200
committerBadlop <badlop@process-one.net>2013-06-06 12:24:18 +0200
commit0080f1f308ff1959adbe9d3d3a2dc33b3a07e518 (patch)
treecf86f76619b83baef08eff73a484640b702f12e8 /src
parentfix getting ServerHost from Host due to binary portage (EJAB-1638) (diff)
Detect correctly newer Darwin versions (EJAB-1594)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/configure4
-rw-r--r--src/configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/configure b/src/configure
index 031a731e..5347cc48 100755
--- a/src/configure
+++ b/src/configure
@@ -4972,8 +4972,8 @@ test -n "$target_alias" &&
case "$target_os" in
- *darwin10*)
- echo "Target OS is 'Darwin10'"
+ *darwin*)
+ echo "Target OS is 'Darwin'"
ac_ext=erl
ac_compile='$ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&5'
ac_link='$ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&5 && echo "#!/bin/sh" > conftest$ac_exeext && $as_echo "\"$ERL\" -run conftest start -run init stop -noshell" >> conftest$ac_exeext && chmod +x conftest$ac_exeext'
diff --git a/src/configure.ac b/src/configure.ac
index b97ff1e2..58ba71d4 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -159,8 +159,8 @@ AC_CANONICAL_SYSTEM
case "$target_os" in
- *darwin10*)
- echo "Target OS is 'Darwin10'"
+ *darwin*)
+ echo "Target OS is 'Darwin'"
AC_LANG(Erlang)
AC_RUN_IFELSE(
[AC_LANG_PROGRAM([],[dnl