25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Detect correctly newer Darwin versions (EJAB-1594)

This commit is contained in:
Badlop 2013-06-06 12:23:24 +02:00
parent 58e769d68f
commit 0080f1f308
2 changed files with 4 additions and 4 deletions

4
src/configure vendored
View File

@ -4972,8 +4972,8 @@ test -n "$target_alias" &&
case "$target_os" in case "$target_os" in
*darwin10*) *darwin*)
echo "Target OS is 'Darwin10'" echo "Target OS is 'Darwin'"
ac_ext=erl ac_ext=erl
ac_compile='$ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&5' 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' 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'

View File

@ -159,8 +159,8 @@ AC_CANONICAL_SYSTEM
case "$target_os" in case "$target_os" in
*darwin10*) *darwin*)
echo "Target OS is 'Darwin10'" echo "Target OS is 'Darwin'"
AC_LANG(Erlang) AC_LANG(Erlang)
AC_RUN_IFELSE( AC_RUN_IFELSE(
[AC_LANG_PROGRAM([],[dnl [AC_LANG_PROGRAM([],[dnl