aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-11 22:20:13 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-11 22:20:13 +0000
commit733727884e56105ccad3b343d05d0d5f6a5d2344 (patch)
tree02006a0549e82a5cb0fd0422adc4ca0e4de9000d /configure
parent6935aa38e469d898a30dcb8d785422105a4c7169 (diff)
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/trunk@181444 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 2d9228067..323f98eb8 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 178605 .
+# From configure.ac Revision: 180944 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for asterisk 1.6.
#
@@ -4113,8 +4113,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}