From: Greg Hudson Date: Tue, 29 Nov 2011 22:49:56 +0000 (+0000) Subject: Fix --with-system-verto without pkg-config X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e6e2928c0dc113d99f1c5dd8b35fee146c577ec3;p=krb5.git Fix --with-system-verto without pkg-config If we're using the system verto and pkg-config isn't found but libverto is, set VERTO_LIBS to just -lverto as there won't be a k5ev module. ticket: 7029 target_version: 1.10 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25493 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/configure.in b/src/configure.in index 953d5767d..3101439fd 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1224,7 +1224,7 @@ if test "x$with_system_verto" != xno; then VERTO_LIBS=`pkg-config --libs libverto` VERTO_VERSION=sys else - AC_CHECK_LIB([verto], [verto_run], [VERTO_VERSION=sys], + AC_CHECK_LIB([verto], [verto_run], [VERTO_VERSION=sys; VERTO_LIBS=-lverto], [if test "x$with_system_verto" = xyes; then AC_MSG_ERROR([cannot detect system libverto]) fi])