[asterisk-commits] tilghman: branch 1.8 r290289 - in /branches/1.8: configure configure.ac
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 5 09:15:49 CDT 2010
Author: tilghman
Date: Tue Oct 5 09:15:46 2010
New Revision: 290289
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=290289
Log:
Restore run directory for OS X, as well as standardizing some other paths to Mac OS X.
Modified:
branches/1.8/configure
branches/1.8/configure.ac
Modified: branches/1.8/configure.ac
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/configure.ac?view=diff&rev=290289&r1=290288&r2=290289
==============================================================================
--- branches/1.8/configure.ac (original)
+++ branches/1.8/configure.ac Tue Oct 5 09:15:46 2010
@@ -87,6 +87,13 @@
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.])
;;
More information about the asterisk-commits
mailing list