mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
add basic autoconf support for res_snmp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
10
configure.ac
10
configure.ac
@@ -367,6 +367,16 @@ AC_SUBST([pq_INCLUDE])
|
||||
AC_SUBST([pq_LIB])
|
||||
AC_SUBST([PBX_LIBpq])
|
||||
|
||||
NETSNMP_LIBS=
|
||||
PBX_NETSNMP=0
|
||||
AC_PATH_TOOL([NET_SNMP_CONFIG], [net-snmp-config], No)
|
||||
if test "x${NET_SNMP_CONFIG}" != "xNo" ; then
|
||||
NETSNMP_LIBS=`${NET_SNMP_CONFIG} --agent-libs`
|
||||
PBX_NETSNMP=1
|
||||
fi
|
||||
AC_SUBST([NETSNMP_LIBS])
|
||||
AC_SUBST([PBX_NETSNMP])
|
||||
|
||||
AC_CHECK_HEADER([h323.h], [PBX_H323=1], [PBX_H323=0])
|
||||
AC_SUBST(PBX_H323)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user