]> granicus.if.org Git - ejabberd/commitdiff
Detect correctly newer Darwin versions (EJAB-1594)
authorBadlop <badlop@process-one.net>
Thu, 6 Jun 2013 10:23:24 +0000 (12:23 +0200)
committerBadlop <badlop@process-one.net>
Thu, 6 Jun 2013 10:23:24 +0000 (12:23 +0200)
src/configure
src/configure.ac

index cd9f81e9eea9f8509bc5bb3752db87cf3eee8213..ae22514e09d365e845f013fba662f132c7c57805 100755 (executable)
@@ -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'
index 1d25dd8711a59d1e42d8104f00c2516f9cc77a00..e74030096a76d828be9aa613a2115152b9c36155 100644 (file)
@@ -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