mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Up the minimum OS X version to 10.6.
* This allows us to remove some special-case build logic. * 10.5 is down to less that 8% of the OS X market share. 10.4 is down to under 2%. * Apple is no longer releasing security updates for 10.5 and earlier. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
Makefile
4
Makefile
@@ -252,10 +252,8 @@ MOD_SUBDIRS_MENUSELECT_TREE:=$(MOD_SUBDIRS:%=%-menuselect-tree)
|
|||||||
|
|
||||||
ifneq ($(findstring darwin,$(OSARCH)),)
|
ifneq ($(findstring darwin,$(OSARCH)),)
|
||||||
_ASTCFLAGS+=-D__Darwin__
|
_ASTCFLAGS+=-D__Darwin__
|
||||||
_SOLINK=-Xlinker -macosx_version_min -Xlinker 10.4 -Xlinker -undefined -Xlinker dynamic_lookup
|
_SOLINK=-Xlinker -macosx_version_min -Xlinker 10.6 -Xlinker -undefined -Xlinker dynamic_lookup
|
||||||
ifeq ($(shell if test `/usr/bin/sw_vers -productVersion | cut -c4` -gt 5; then echo 6; else echo 0; fi),6)
|
|
||||||
_SOLINK+=/usr/lib/bundle1.o
|
_SOLINK+=/usr/lib/bundle1.o
|
||||||
endif
|
|
||||||
SOLINK=-bundle $(_SOLINK)
|
SOLINK=-bundle $(_SOLINK)
|
||||||
DYLINK=-Xlinker -dylib $(_SOLINK)
|
DYLINK=-Xlinker -dylib $(_SOLINK)
|
||||||
_ASTLDFLAGS+=-L/usr/local/lib
|
_ASTLDFLAGS+=-L/usr/local/lib
|
||||||
|
15
configure
vendored
15
configure
vendored
@@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.ac Revision: 378915 .
|
# From configure.ac Revision: 379477 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.69 for asterisk trunk.
|
# Generated by GNU Autoconf 2.69 for asterisk trunk.
|
||||||
#
|
#
|
||||||
@@ -16419,20 +16419,7 @@ elif test "${prefix}" = /usr || test "${prefix}" = NONE; then
|
|||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not needed" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not needed" >&5
|
||||||
$as_echo "not needed" >&6; }
|
$as_echo "not needed" >&6; }
|
||||||
else
|
else
|
||||||
case "${host_os}" in
|
|
||||||
darwin*)
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not supported" >&5
|
|
||||||
$as_echo "not supported" >&6; }
|
|
||||||
# We set macosx_version_min to 10.4, which doesn't
|
|
||||||
# support rpath. However, we set install_name on our
|
|
||||||
# dylibs, so it's not strictly necessary.
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: required" >&5
|
|
||||||
$as_echo "required" >&6; }
|
|
||||||
AST_RPATH="-Wl,-rpath,${libdir}"
|
AST_RPATH="-Wl,-rpath,${libdir}"
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
11
configure.ac
11
configure.ac
@@ -1071,18 +1071,7 @@ if test "${check_rpath}" != yes; then
|
|||||||
elif test "${prefix}" = /usr || test "${prefix}" = NONE; then
|
elif test "${prefix}" = /usr || test "${prefix}" = NONE; then
|
||||||
AC_MSG_RESULT(not needed)
|
AC_MSG_RESULT(not needed)
|
||||||
else
|
else
|
||||||
case "${host_os}" in
|
|
||||||
darwin*)
|
|
||||||
AC_MSG_RESULT(not supported)
|
|
||||||
# We set macosx_version_min to 10.4, which doesn't
|
|
||||||
# support rpath. However, we set install_name on our
|
|
||||||
# dylibs, so it's not strictly necessary.
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
AC_MSG_RESULT(required)
|
|
||||||
AST_RPATH="-Wl,-rpath,${libdir}"
|
AST_RPATH="-Wl,-rpath,${libdir}"
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
AC_SUBST(AST_RPATH)
|
AC_SUBST(AST_RPATH)
|
||||||
|
|
||||||
|
@@ -55,10 +55,8 @@ endif
|
|||||||
|
|
||||||
ifneq ($(findstring darwin,$(OSARCH)),)
|
ifneq ($(findstring darwin,$(OSARCH)),)
|
||||||
AST_LIBS+=-lresolv
|
AST_LIBS+=-lresolv
|
||||||
ASTLINK=-Xlinker -macosx_version_min -Xlinker 10.4 -Xlinker -undefined -Xlinker dynamic_lookup -force_flat_namespace
|
ASTLINK=-Xlinker -macosx_version_min -Xlinker 10.6 -Xlinker -undefined -Xlinker dynamic_lookup -force_flat_namespace
|
||||||
ifeq ($(shell if test `/usr/bin/sw_vers -productVersion | cut -c4` -gt 5; then echo 6; else echo 0; fi),6)
|
|
||||||
ASTLINK+=/usr/lib/bundle1.o
|
ASTLINK+=/usr/lib/bundle1.o
|
||||||
endif
|
|
||||||
else
|
else
|
||||||
# These are used for all but Darwin
|
# These are used for all but Darwin
|
||||||
ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
|
ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
|
||||||
|
Reference in New Issue
Block a user