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:
Tilghman Lesher
2010-10-05 14:15:46 +00:00
parent bbc7614ac9
commit bba086cfd6
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.])
;;