aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-22 10:30:51 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-22 10:30:51 +0000
commit078081a36ef139a937b29c55b59df35677e2a5b1 (patch)
tree8c7b4e4ce7df24b3e3046f2e1b7a78f5b6c07096 /configure
parentf8dcb3fd1e84d5d052efa921d880ee64ded1cd9c (diff)
use the AC_PREFIX_DEFAULT macro to set the default prefix instead of setting
the variable directly, so that the configure --help information shows the correct default prefix git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35391 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 541ee3b58..dc7f60543 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 33953 .
+# From configure.ac Revision: 33995 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59e.
#
@@ -566,6 +566,8 @@ PACKAGE_BUGREPORT=
ac_unique_file="asterisk"
ac_unique_file="asterisk.c"
+ac_default_prefix=/usr/local
+ac_default_prefix=/usr
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
@@ -2023,10 +2025,10 @@ ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
case "${host}" in
*freebsd*)
- ac_default_prefix=/usr/local
+
;;
*)
- ac_default_prefix=/usr
+
if test ${sysconfdir} = '${prefix}/etc'; then
sysconfdir=/etc
fi