Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Fix PKG_CHECK_MODULES check arguments #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions m4/ktf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ AC_LANG_POP([C++])

AC_DEFUN([AC_CHECK_NETLINK],
[
PKG_CHECK_MODULES(LIBNL3, libnl-3.0 >= 3.1, [have_libnl3=yes],[ dnl
PKG_CHECK_MODULES(LIBNL3, [libnl-3.0 >= 3.1], [have_libnl3=yes],[ dnl
have_libnl3=no
PKG_CHECK_MODULES([NETLINK], [libnl-1 >= 1.1])
])
Expand All @@ -81,7 +81,7 @@ AC_CHECK_LIBDIR
# Also look for dependencies below --prefix, if set:
#
AS_IF([test "x$prefix" != "x" ],[export PKG_CONFIG_PATH=$prefix/$libsuffix/pkgconfig])
PKG_CHECK_MODULES(GTEST, gtest >= 1.9.0, [HAVE_GTEST="yes"])
PKG_CHECK_MODULES(GTEST, [gtest >= 1.9.0], [HAVE_GTEST="yes"])

ktf_build="$(pwd)/../ktf"
ktf_src="$ac_confdir/../ktf"
Expand Down Expand Up @@ -197,7 +197,7 @@ AC_DEFUN([AM_CONFIG_KTF],
AC_CHECK_LIBDIR

AS_IF([test "x$gtest_prefix" != "x" ],[export PKG_CONFIG_PATH=$gtest_prefix/$libsuffix/pkgconfig])
PKG_CHECK_MODULES(GTEST, gtest >= 1.9.0, [HAVE_GTEST="yes"])
PKG_CHECK_MODULES(GTEST, [gtest >= 1.9.0], [HAVE_GTEST="yes"])

AC_CHECK_ASSERT_CNT

Expand Down