Project

General

Profile

Bug #175 » 0001-Fix-autoconf-code-for-Prelude-option-Fix-175.patch

Fix for 175 - Pierre Chifflier, 06/08/2010 03:11 PM

View differences:

configure.in
#prelude
AC_ARG_ENABLE(prelude,
[ --enable-prelude Enable Prelude support for alerts],
[ enable_prelude=yes ],
[ enable_prelude=no ])
if test "$enable_prelude" = "yes"; then
AS_HELP_STRING([--enable-prelude], [Enable Prelude support for alerts]))
AS_IF([test "x$enable_prelude" = "xyes"], [
CFLAGS="$CFLAGS -DPRELUDE"
AM_PATH_LIBPRELUDE(0.9.9, , AC_MSG_ERROR(Cannot find libprelude: Is libprelude-config in the path?), no)
if test "x${LIBPRELUDE_CFLAGS}" != "x"; then
......
if test "x${LIBPRELUDE_LIBS}" != "x"; then
LDFLAGS="${LDFLAGS} ${LIBPRELUDE_LIBS}"
fi
fi
])
#libnet
(1-1/2)