Merged revisions 290289 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290289 | tilghman | 2010-10-05 09:15:46 -0500 (Tue, 05 Oct 2010) | 2 lines
  
  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/trunk@290291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2010-10-05 14:17:37 +00:00
parent bddb242d72
commit d275217c58
2 changed files with 16 additions and 1 deletions

View File

@@ -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.])
;;