aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-05 14:15:46 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-05 14:15:46 +0000
commitbd17e241eeb7dacbfb055c384afa326f591add71 (patch)
tree366a8c741debd659e85da44133879535333ccb75 /configure.ac
parent913c7bcb4f078808d88d58cdff46caa891271615 (diff)
Restore run directory for OS X, as well as standardizing some other paths to Mac OS X.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@290289 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6365b1557..bacef335b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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.])
;;