[asterisk-commits] qwell: branch 1.4 r181436 - in /branches/1.4: configure configure.ac
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Mar 11 17:18:47 CDT 2009
Author: qwell
Date: Wed Mar 11 17:18:42 2009
New Revision: 181436
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=181436
Log:
Allow prefix to set localstatedir (when used and different from the default).
This is similar to the /etc change that was made for the non-FreeBSD case.
Modified:
branches/1.4/configure
branches/1.4/configure.ac
Modified: branches/1.4/configure.ac
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/configure.ac?view=diff&rev=181436&r1=181435&r2=181436
==============================================================================
--- branches/1.4/configure.ac (original)
+++ branches/1.4/configure.ac Wed Mar 11 17:18:42 2009
@@ -38,8 +38,10 @@
;;
esac
-if test ${localstatedir} = '${prefix}/var'; then
- localstatedir=/var
+if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
+ if test ${localstatedir} = '${prefix}/var'; then
+ localstatedir=/var
+ fi
fi
BUILD_PLATFORM=${build}
More information about the asterisk-commits
mailing list