[asterisk-commits] mvanbaak: trunk r147306 - in /trunk: configure configure.ac
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 7 13:53:35 CDT 2008
Author: mvanbaak
Date: Tue Oct 7 13:53:34 2008
New Revision: 147306
URL: http://svn.digium.com/view/asterisk?view=rev&rev=147306
Log:
Make sure the configs on OpenBSD are in /etc/asterisk by default
(closes issue #13641)
Reported by: jtodd
Modified:
trunk/configure
trunk/configure.ac
Modified: trunk/configure.ac
URL: http://svn.digium.com/view/asterisk/trunk/configure.ac?view=diff&rev=147306&r1=147305&r2=147306
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Tue Oct 7 13:53:34 2008
@@ -27,12 +27,24 @@
AC_USE_SYSTEM_EXTENSIONS # 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
More information about the asterisk-commits
mailing list