~ubuntu-branches/ubuntu/karmic/rsyslog/karmic-200908151517

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2008-05-03 09:59:59 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080503095959-3zue1idtwaf9zu6m
Tags: 3.16.1-1
* New upstream release.
  - Fixes a segfault in the imklog input plugin. Closes: #479117

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Process this file with autoconf to produce a configure script.
3
3
 
4
4
AC_PREREQ(2.61)
5
 
AC_INIT([rsyslog],[3.14.2],[rsyslog@lists.adiscon.com])
 
5
AC_INIT([rsyslog],[3.16.1],[rsyslog@lists.adiscon.com])
6
6
AM_INIT_AUTOMAKE
7
7
AC_CONFIG_SRCDIR([syslogd.c])
8
8
AC_CONFIG_HEADERS([config.h])
466
466
        [enable_relp=no]
467
467
)
468
468
if test "x$enable_relp" = "xyes"; then
469
 
  AC_CHECK_HEADERS(
470
 
    [librelp.h],,
471
 
    [AC_MSG_FAILURE([RELP library is missing (no headers)])]
472
 
  )
473
 
# I don't know how to tell that librelp needs -lrt, so I disable
474
 
# this check for now - the header check should work well enough...
475
 
# rgerhards, 2008-03-25
476
 
#  AC_CHECK_LIB(
477
 
#    [relp],
478
 
#    [relpEngineGetVersion],
479
 
#    [relp_cflags=""
480
 
     relp_libs="-lrelp"
481
 
#    ],
482
 
#    [AC_MSG_FAILURE([RELP library is missing])]
483
 
#  )
 
469
        PKG_CHECK_MODULES(RELP, relp)
484
470
fi
485
471
AM_CONDITIONAL(ENABLE_RELP, test x$enable_relp = xyes)
486
 
AC_SUBST(relp_cflags)
487
 
AC_SUBST(relp_libs)
488
 
 
 
472
AC_SUBST(RELP_CFLAGS)
 
473
AC_SUBST(RELP_LIBS)
489
474
 
490
475
# RFC 3195 support
491
476
# WARNING: THIS IS NOT REALLY PRESENT YET - needs to be build manually!