From: Greg Hudson Date: Fri, 20 Dec 2013 04:47:22 +0000 (-0500) Subject: Test for verto_set_flags in system libverto X-Git-Tag: krb5-1.13-alpha1~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a47d639770f32418c6e3fa8a0503019c9b376d2a;p=thirdparty%2Fkrb5.git Test for verto_set_flags in system libverto libkrad relies on verto_set_flags, which was added to libverto in release 0.2.4. Make sure the system libverto has this function before choosing it over the built-in version. ticket: 7808 (new) target_version: 1.12.1 tags: pullup --- diff --git a/src/configure.in b/src/configure.in index 0dbfbb4dfc..5e616b62d7 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1264,7 +1264,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_set_flags], [VERTO_VERSION=sys], [if test "x$with_system_verto" = xyes; then AC_MSG_ERROR([cannot detect system libverto]) fi])