summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Biebl <mbiebel@gmail.com>2008-04-16 08:33:12 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-16 08:33:12 +0200
commit3285f4391000b40b7c8adead2e2999de15ff8da0 (patch)
tree040289e87608e06d92d68f4883a99c044d6e970f /configure.ac
parent4226f0dd4813277819406a4f13b460195d798f1a (diff)
downloadrsyslog-3285f4391000b40b7c8adead2e2999de15ff8da0.tar.gz
rsyslog-3285f4391000b40b7c8adead2e2999de15ff8da0.tar.xz
rsyslog-3285f4391000b40b7c8adead2e2999de15ff8da0.zip
made runtime include directory available to rest of rsyslog
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 9675a9b5..b0cc3e2e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -508,9 +508,11 @@ AC_ARG_ENABLE(rsyslogrt,
esac],
[enable_rsyslogrt=yes]
)
+if test "x$enable_rsyslogrt" = "xyes"; then
+ rsrt_cflags="-I\$(top_srcdir)/runtime -I\$(top_srcdir)"
+ rsrt_libs="\$(top_builddir)/runtime/librsyslog.la"
+fi
AM_CONDITIONAL(ENABLE_RSYSLOGRT, test x$enable_rsyslogrt = xyes)
-CFLAGS="-I$(top_srcdir)/runtime $CFLAGS$
-rsrt_libs=""
AC_SUBST(rsrt_cflags)
AC_SUBST(rsrt_libs)