From 024f455811f409cd506750939b389f05d942bb19 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 31 Aug 2009 14:26:40 +0000 Subject: [PATCH] Check for libyubikey v1.5+. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ec48b1c..5590c31 100644 --- a/configure.ac +++ b/configure.ac @@ -55,9 +55,9 @@ PKG_PROG_PKG_CONFIG AC_LIB_HAVE_LINKFLAGS(yubikey,, [#include ], - [yubikey_modhex_decode(0,0,0)]) + [yubikey_modhex_p("foo")]) if test "$ac_cv_libyubikey" != yes; then - AC_MSG_ERROR([libyubikey not found, see http://code.google.com/p/yubico-c/]) + AC_MSG_ERROR([libyubikey v1.5+ not found, see http://code.google.com/p/yubico-c/]) fi AC_ARG_WITH([backend], -- 2.39.5