aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-30 21:41:23 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-30 21:41:23 +0000
commitabe4d4eff47990d2debcf442dcdbd153fad39e4d (patch)
tree4c9c7ed3149d7fe8b69a4555b27d6c141dd1d518 /configure
parent5f9b4f15bc96837386fdac7c0ae04d579e6a3e3e (diff)
Merged revisions 134650 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r134650 | tilghman | 2008-07-30 16:40:08 -0500 (Wed, 30 Jul 2008) | 12 lines Merged revisions 134649 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r134649 | tilghman | 2008-07-30 16:38:50 -0500 (Wed, 30 Jul 2008) | 4 lines Qwell pointed out, via IRC, that the previous fix only worked when explicitly set. When nothing is set, and the option is implied, it breaks, because configure sets the prefix to 'NONE'. Fixing. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@134651 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index dd327de24..27dc08442 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 134126 .
+# From configure.ac Revision: 134539 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for asterisk 1.6.
#
@@ -4041,7 +4041,7 @@ case "${host_os}" in
*)
ac_default_prefix=/usr
- if test ${prefix} = '/usr'; then
+ if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
if test ${sysconfdir} = '${prefix}/etc'; then
sysconfdir=/etc
fi