AC_PREREQ(2.59)
AC_INIT(l7vsd)
PACKAGENAME=l7vsd
-VERSION=3.0.0-0
+VERSION=3.0.0-1
AM_INIT_AUTOMAKE($PACKAGENAME, $VERSION, no-define )
AC_CONFIG_SRCDIR([config.h.in])
[AC_MSG_ERROR( l7vsd require log4cxx library. )] )
AC_CHECK_LIB(rt, main, :,
[AC_MSG_ERROR( l7vsd require rt library. )] )
-AC_CHECK_LIB(boost_thread-gcc41-mt, main, :,
+AC_CHECK_LIB(boost_thread-mt, main, :,
[AC_MSG_ERROR( l7vsd require boost library. )] )
-AC_CHECK_LIB(boost_system-gcc41-mt, main, :,
+AC_CHECK_LIB(boost_system-mt, main, :,
[AC_MSG_ERROR( l7vsd require boost library. )] )
# Checks for header files.
AC_CHECK_HEADERS([limits.h unistd.h])
+# Checks for declarations.
+AC_CHECK_DECLS([IP_TRANSPARENT], [], [], [[
+ #include <sys/socket.h>
+ #include <linux/in.h>
+]])
+
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_SUBST( libdir, [/usr/lib64] )
else
AC_SUBST( libdir, [/usr/lib] )
+ AC_SUBST( CXXFLAGS, -march=i686 )
fi
AC_ARG_WITH(
l7vs-moddir,
[ --with-l7vs-moddir=DIR l7vs module is to be installed in DIR.
[default=LIBDIR/l7vs] ],
- [ l7vs_moddir-"$withval" ],
+ [ l7vs_moddir="$withval" ],
[ l7vs_moddir="${libdir}/l7vs" ]
)
AC_ARG_WITH(
l7vs-buffer-size,
- [ --wigh-l7vs-buffer-size=NUM l7vsd using heap buffer size.
+ [ --with-l7vs-buffer-size=NUM l7vsd using heap buffer size.
[default=4096] ],
[ l7vs_max_buffer_size="$withval" ],
[ l7vs_max_buffer_size=4096 ]
AC_SUBST(l7vs_config)
AC_SUBST(MANDIR)
AC_SUBST(snmpagent_libs)
+AC_SUBST(ultramonkeyl7_version,ultramonkeyl7-$VERSION)
-AC_CONFIG_FILES([parameter/Makefile]
- [logger/Makefile]
- [module/Makefile]
- [module/schedule/Makefile]
- [module/protocol/Makefile]
- [src/Makefile]
+AC_CONFIG_FILES([doc/Makefile]
+ [doc/conf/Makefile]
+ [doc/sslfiles/Makefile]
+ [doc/heartbeat-ra/Makefile]
+ [l7directord/Makefile]
+ [l7vsd/Makefile]
+ [l7vsd/init.d/Makefile]
+ [l7vsd/module/Makefile]
+ [l7vsd/module/protocol/Makefile]
+ [l7vsd/module/schedule/Makefile]
+ [l7vsd/src/Makefile]
[snmpagent/Makefile]
- [Makefile]
- [conf/Makefile]
- [modtester/Makefile])
+ [Makefile])
AC_OUTPUT(l7vsd.spec)