aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-11 22:22:07 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-11 22:22:07 +0000
commite7f7da61bca1e698957876686fba9af0ee12b0d1 (patch)
treecf2a27f36542dd542e2e040f5b9b28a2dbed6d90 /configure
parentcc97c2a81f209b588d14095aa3671ae511d34fff (diff)
Merged revisions 181444 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r181444 | qwell | 2009-03-11 17:20:13 -0500 (Wed, 11 Mar 2009) | 11 lines Merged revisions 181436 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r181436 | qwell | 2009-03-11 17:18:42 -0500 (Wed, 11 Mar 2009) | 4 lines 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. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@181450 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index 4410cc8d8..330b53edd 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 177163 .
+# From configure.ac Revision: 180946 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for asterisk 1.6.
#
@@ -4059,8 +4059,10 @@ case "${host_os}" in
;;
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}