make the AIS checking a little more generic, and have a more useful configure script command line option for OpenAIS

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2008-07-01 17:22:47 +00:00
parent 6fa1dab33d
commit 00696f5f37
8 changed files with 120 additions and 896 deletions

View File

@@ -35,6 +35,8 @@ ael/ael_lex.o: ASTCFLAGS+=-I. -Iael -Wno-unused
ael/ael.tab.o: ael/ael.tab.c ael/ael.tab.h ../include/asterisk/ael_structs.h
ael/ael.tab.o: ASTCFLAGS+=-I. -Iael -DYYENABLE_NLS=0
ais/clm.o ais/evt.o: ASTCFLAGS+=${AIS_INCLUDE}
$(if $(filter res_ais,$(EMBEDDED_MODS)),modules.link,res_ais.so): ais/clm.o ais/evt.o
$(if $(filter res_snmp,$(EMBEDDED_MODS)),modules.link,res_snmp.so): snmp/agent.o

View File

@@ -25,12 +25,12 @@
* \arg http://www.openais.org/
*/
#ifndef AST_AIS_H
#define AST_AIS_H
#ifndef RES_AIS_AIS_H
#define RES_AIS_AIS_H
#include <openais/saAis.h>
#include <openais/saClm.h>
#include <openais/saEvt.h>
#include <saAis.h>
#include <saClm.h>
#include <saEvt.h>
extern SaVersionT ais_version;
@@ -45,4 +45,4 @@ int ast_ais_evt_unload_module(void);
const char *ais_err2str(SaAisErrorT error);
#endif /* AST_AIS_H */
#endif /* RES_AIS_AIS_H */

View File

@@ -29,8 +29,7 @@
*/
/*** MODULEINFO
<depend>SaClm</depend>
<depend>SaEvt</depend>
<depend>ais</depend>
***/
#include "asterisk.h"