Fix --with-system-verto without pkg-config
authorGreg Hudson <ghudson@mit.edu>
Tue, 29 Nov 2011 22:49:56 +0000 (22:49 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 29 Nov 2011 22:49:56 +0000 (22:49 +0000)
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

src/configure.in

index 953d5767d1fa4072b8183d555c62c23affd34217..3101439fdbd93a7489d8f501c79e4e0a0a96b65a 100644 (file)
@@ -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])