mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Restore run directory for OS X, as well as standardizing some other paths to Mac OS X.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -87,6 +87,13 @@ case "${host_os}" in
|
||||
LDFLAGS=-L/usr/local/lib
|
||||
;;
|
||||
darwin*)
|
||||
AC_PREFIX_DEFAULT([/usr/local])
|
||||
if test ${prefix} = 'NONE'; then
|
||||
astlibdir=/Library/Application Support/Asterisk/Modules
|
||||
astvarlibdir=/Library/Application Support/Asterisk
|
||||
astlogdir=/Library/Logs/Asterisk
|
||||
astvarrundir=/Library/Application Support/Asterisk/Run
|
||||
fi
|
||||
AC_DEFINE([AST_POLL_COMPAT], 1, [Define to 1 if internal poll should be used.])
|
||||
AC_DEFINE([_DARWIN_UNLIMITED_SELECT], 1, [Define to 1 if running on Darwin.])
|
||||
;;
|
||||
|
Reference in New Issue
Block a user