c05df36e0d
This release has many fixes including thread locking issues, crashes, resource leaks and others.
51 lines
2.1 KiB
Plaintext
51 lines
2.1 KiB
Plaintext
$OpenBSD: patch-configure_ac,v 1.20 2012/01/28 08:16:22 sthen Exp $
|
|
--- configure.ac.orig Mon Dec 19 21:31:34 2011
|
|
+++ configure.ac Sat Jan 28 01:04:17 2012
|
|
@@ -55,7 +55,7 @@ AC_SUBST([astvarrundir], ['${localstatedir}/run/a
|
|
|
|
case "${host_os}" in
|
|
*bsd*)
|
|
- if test ${prefix} = 'NONE'; then
|
|
+ if test ${prefix} != 'NONE'; then
|
|
astvarlibdir='${prefix}/share/asterisk'
|
|
astdbdir='${localstatedir}/db/asterisk'
|
|
fi
|
|
@@ -1585,7 +1585,7 @@ if test "${USE_IMAP_TK}" != "no"; then
|
|
)
|
|
else #looking in imap directory didn't work, try c-client
|
|
imap_ldflags=""
|
|
- imap_libs="-lc-client"
|
|
+ imap_libs="-lcrypto -lssl -lgssapi -lkrb5 -lc-client"
|
|
imap_include="-DUSE_SYSTEM_CCLIENT"
|
|
CPPFLAGS="${saved_cppflags}"
|
|
LIBS="${saved_libs}"
|
|
@@ -1771,7 +1771,7 @@ AST_EXT_TOOL_CHECK([NETSNMP], [net-snmp-config], , [--
|
|
|
|
AST_EXT_LIB_CHECK([NEWT], [newt], [newtBell], [newt.h])
|
|
|
|
-AST_EXT_LIB_CHECK([UNIXODBC], [odbc], [SQLConnect], [sql.h], [])
|
|
+AST_EXT_LIB_CHECK([UNIXODBC], [iodbc], [SQLConnect], [sql.h], [-pthread])
|
|
|
|
AST_EXT_LIB_CHECK([OGG], [ogg], [ogg_sync_init], [])
|
|
|
|
@@ -1924,7 +1924,8 @@ if test "${PBX_PWLIB}" = "1" -a "${USE_OPENH323}" != "
|
|
AST_CHECK_OPENH323()
|
|
AST_CHECK_PWLIB_VERSION([OpenH323], [OPENH323], [openh323buildopts.h], [1], [17], [3], [], [1], [19], [0])
|
|
AST_CHECK_OPENH323_BUILD()
|
|
- PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
|
|
+ dnl PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
|
|
+ PLATFORM_OPENH323="h323"
|
|
AST_CHECK_PWLIB_BUILD([OpenH323], [OPENH323],
|
|
[Define if your system has the OpenH323 libraries.],
|
|
[#include "ptlib.h"
|
|
@@ -2076,7 +2077,8 @@ AST_EXT_LIB_CHECK([USB], [usb], [usb_init], [usb.h], [
|
|
|
|
if test "${OSARCH}" = "OpenBSD";
|
|
then
|
|
- AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc -logg])
|
|
+dnl XXX should use pkg-config
|
|
+ AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc -lvorbis -logg])
|
|
else
|
|
AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc])
|
|
fi
|