mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
* pandora_agent.c: Uses pandora_types.h instead module_types.h. Now delete the XML after sent. * configure.in: Change version. * pandora_config.c: Read remote_config variable and other small changes. * pandora_util.c: New function to produce timestamp strings, now report timestamp in XML. * TODO: Small doc about design goals and pending things to implement. * pandora_type.h: Renamed file with contains all structs. * util/pandora_agent_installer: Specific installer for Busybox. * util/pandora_agent_daemon: Specific daemon launcher for Busybox. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
AC_PREREQ(2.59)
|
|
|
|
m4_define([pandora_major_version], [4])
|
|
m4_define([pandora_minor_version], [dev])
|
|
m4_define([pandora_micro_version], [0])
|
|
m4_define([pandora_build_version], [])
|
|
m4_define([pandora_version], m4_format('%s.%s.%s%s', pandora_major_version, pandora_minor_version, pandora_micro_version, pandora_build_version))
|
|
|
|
AC_INIT([pandora], [pandora_version], [http://pandorafms.org], [pandora])
|
|
AC_CONFIG_SRCDIR([pandora_agent.c])
|
|
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
|
|
|
|
AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS")
|
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
AM_MAINTAINER_MODE
|
|
|
|
AC_ISC_POSIX
|
|
AC_PROG_CC
|
|
AM_PROG_CC_STDC
|
|
AC_STDC_HEADERS
|
|
|
|
if test "x${prefix}" = "xNONE"; then
|
|
AC_DEFINE_UNQUOTED(CONF_FILE, "${ac_default_prefix}/etc/pandora/pandora_agent.conf", [Path to the configuracion file will be installed])
|
|
else
|
|
AC_DEFINE_UNQUOTED(CONF_FILE, "${prefix}/etc/pandora/pandora_agent.conf", [Path to the configuration file will be installed])
|
|
fi
|
|
|
|
|
|
AC_SUBST(PANDORA_CFLAGS)
|
|
AC_SUBST(PANDORA_LIBS)
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
|
|
AC_OUTPUT
|