From 286bef323a52a499945ce459d07e2352a4875f2e Mon Sep 17 00:00:00 2001 From: simon75j Date: Mon, 31 Aug 2009 14:26:40 +0000 Subject: [PATCH] Check for libyubikey v1.5+. git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@172 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- 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