diff options
author | mvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-07 18:53:34 +0000 |
---|---|---|
committer | mvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-07 18:53:34 +0000 |
commit | aca7b817044a3d7a38fb64523786a107180bdf73 (patch) | |
tree | 800d9c308b6162f2618f7630cc625769df47523e /configure | |
parent | 8c0e9e8e608545eab82f6699051100158e69f00c (diff) |
Make sure the configs on OpenBSD are in /etc/asterisk by default
(closes issue #13641)
Reported by: jtodd
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147306 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 146738 . +# From configure.ac Revision: 146925 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for asterisk 1.6. # @@ -4053,12 +4053,24 @@ _ACEOF # note- does not work on FreeBSD case "${host_os}" in - freebsd*|openbsd*) + freebsd*) ac_default_prefix=/usr/local CPPFLAGS=-I/usr/local/include 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 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then |