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: https://origsvn.digium.com/svn/asterisk/trunk@35391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-06-22 10:30:51 +00:00
parent 0fdb56425d
commit fd0273875a
2 changed files with 7 additions and 5 deletions

View File

@@ -24,10 +24,10 @@ AC_REVISION($Revision$)
case "${host}" in
*freebsd*)
ac_default_prefix=/usr/local
AC_PREFIX_DEFAULT(/usr/local)
;;
*)
ac_default_prefix=/usr
AC_PREFIX_DEFAULT(/usr)
if test ${sysconfdir} = '${prefix}/etc'; then
sysconfdir=/etc
fi