mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
Make sure the configs on OpenBSD are in /etc/asterisk by default
(closes issue #13641) Reported by: jtodd git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
18
configure
vendored
18
configure
vendored
@@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.ac Revision: 146738 .
|
# From configure.ac Revision: 146925 .
|
||||||
# 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.6.
|
# Generated by GNU Autoconf 2.61 for asterisk 1.6.
|
||||||
#
|
#
|
||||||
@@ -4053,12 +4053,24 @@ _ACEOF
|
|||||||
# note- does not work on FreeBSD
|
# note- does not work on FreeBSD
|
||||||
|
|
||||||
case "${host_os}" in
|
case "${host_os}" in
|
||||||
freebsd*|openbsd*)
|
freebsd*)
|
||||||
ac_default_prefix=/usr/local
|
ac_default_prefix=/usr/local
|
||||||
CPPFLAGS=-I/usr/local/include
|
CPPFLAGS=-I/usr/local/include
|
||||||
LDFLAGS=-L/usr/local/lib
|
LDFLAGS=-L/usr/local/lib
|
||||||
;;
|
;;
|
||||||
|
openbsd*)
|
||||||
|
ac_default_prefix=/usr/local
|
||||||
|
if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
|
||||||
|
if test ${sysconfdir} = '${prefix}/etc'; then
|
||||||
|
sysconfdir=/etc
|
||||||
|
fi
|
||||||
|
if test ${mandir} = '${prefix}/man'; then
|
||||||
|
mandir=/usr/share/man
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
CPPFLAGS=-I/usr/local/include
|
||||||
|
LDFLAGS=-L/usr/local/lib
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
ac_default_prefix=/usr
|
ac_default_prefix=/usr
|
||||||
if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
|
if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
|
||||||
|
16
configure.ac
16
configure.ac
@@ -27,12 +27,24 @@ AC_GNU_SOURCE
|
|||||||
AC_USE_SYSTEM_EXTENSIONS # note- does not work on FreeBSD
|
AC_USE_SYSTEM_EXTENSIONS # note- does not work on FreeBSD
|
||||||
|
|
||||||
case "${host_os}" in
|
case "${host_os}" in
|
||||||
freebsd*|openbsd*)
|
freebsd*)
|
||||||
ac_default_prefix=/usr/local
|
ac_default_prefix=/usr/local
|
||||||
CPPFLAGS=-I/usr/local/include
|
CPPFLAGS=-I/usr/local/include
|
||||||
LDFLAGS=-L/usr/local/lib
|
LDFLAGS=-L/usr/local/lib
|
||||||
;;
|
;;
|
||||||
|
openbsd*)
|
||||||
|
ac_default_prefix=/usr/local
|
||||||
|
if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
|
||||||
|
if test ${sysconfdir} = '${prefix}/etc'; then
|
||||||
|
sysconfdir=/etc
|
||||||
|
fi
|
||||||
|
if test ${mandir} = '${prefix}/man'; then
|
||||||
|
mandir=/usr/share/man
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
CPPFLAGS=-I/usr/local/include
|
||||||
|
LDFLAGS=-L/usr/local/lib
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
ac_default_prefix=/usr
|
ac_default_prefix=/usr
|
||||||
if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
|
if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
|
||||||
|
Reference in New Issue
Block a user