From: Badlop Date: Thu, 6 Jun 2013 10:23:24 +0000 (+0200) Subject: Detect correctly newer Darwin versions (EJAB-1594) X-Git-Tag: v2.1.13~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ca775e1997391ad5f04b196cd069e62e61b4bbe;p=ejabberd Detect correctly newer Darwin versions (EJAB-1594) --- diff --git a/src/configure b/src/configure index cd9f81e9e..ae22514e0 100755 --- a/src/configure +++ b/src/configure @@ -4984,8 +4984,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 1d25dd871..e74030096 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -157,8 +157,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