pull up r25493 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 5 Dec 2011 23:43:11 +0000 (23:43 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 5 Dec 2011 23:43:11 +0000 (23:43 +0000)
 ------------------------------------------------------------------------
 r25493 | ghudson | 2011-11-29 17:49:56 -0500 (Tue, 29 Nov 2011) | 9 lines

 ticket: 7029
 subject: Fix --with-system-verto without pkg-config
 target_version: 1.10
 tags: pullup

 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
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25517 dc483132-0cff-0310-8789-dd5450dbe970

src/configure.in

index 6aae2f5d69d2c6fef6c89cdfe8d0e7ee9033ca69..d3e407a7c2bd2b40b358f444c7776583ef5a2ca3 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])