diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-10-30 23:09:45 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-10-30 23:56:23 +0200 |
commit | 76bc07182b724bf177197799ea5ade112aed931b (patch) | |
tree | e7d10af76be9af4186af33cec5083d04d3661281 /configure.ac | |
parent | 9eefb0cf3ca7ecf10d0ad28de3413f39ac4438ef (diff) |
build: no need for error message in PKG_CHECK_MODULES
PKG_CHECK_MODULES already produces its own (and more verbose) messsage
when a module cannot be found.
Mucking around with CFLAGS and LIBS is also not needed since pkgconfig
takes care of providing variables, so let's use them in Makefile.am.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 7c3468b..c4cc36e 100644 --- a/configure.ac +++ b/configure.ac @@ -19,15 +19,7 @@ case "$host" in esac dnl Dependencies -LIBNFNETLINK_REQUIRED=0.0.41 - -PKG_CHECK_MODULES(LIBNFNETLINK, libnfnetlink >= $LIBNFNETLINK_REQUIRED,, - AC_MSG_ERROR(Cannot find libnfnetlink >= $LIBNFNETLINK_REQUIRED)) - -CFLAGS="$CFLAGS $LIBNFNETLINK_CFLAGS" -LIBNFQUEUE_LIBS="$LIBNFNETLINK_LIBS" - -AC_SUBST(LIBNFQUEUE_LIBS) +PKG_CHECK_MODULES([LIBNFNETLINK], [libnfnetlink >= 0.0.41]) dnl Output the makefiles AC_OUTPUT(Makefile include/Makefile include/libnetfilter_queue/Makefile src/Makefile utils/Makefile libnetfilter_queue.pc doxygen.cfg) |