mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@181436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
8
configure
vendored
8
configure
vendored
@@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.ac Revision: 177160 .
|
# From configure.ac Revision: 180941 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.61 for asterisk 1.4.
|
# Generated by GNU Autoconf 2.61 for asterisk 1.4.
|
||||||
#
|
#
|
||||||
@@ -3974,8 +3974,10 @@ case "${host_os}" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test ${localstatedir} = '${prefix}/var'; then
|
if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
|
||||||
localstatedir=/var
|
if test ${localstatedir} = '${prefix}/var'; then
|
||||||
|
localstatedir=/var
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BUILD_PLATFORM=${build}
|
BUILD_PLATFORM=${build}
|
||||||
|
@@ -38,8 +38,10 @@ case "${host_os}" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test ${localstatedir} = '${prefix}/var'; then
|
if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
|
||||||
localstatedir=/var
|
if test ${localstatedir} = '${prefix}/var'; then
|
||||||
|
localstatedir=/var
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BUILD_PLATFORM=${build}
|
BUILD_PLATFORM=${build}
|
||||||
|
Reference in New Issue
Block a user