From: Simon Josefsson Date: Mon, 31 Aug 2009 14:26:40 +0000 (+0000) Subject: Check for libyubikey v1.5+. X-Git-Tag: yubikey-personalisation_1.3.5-1~4^2~75 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024f455811f409cd506750939b389f05d942bb19;p=yubikey-personalization.old Check for libyubikey v1.5+. --- 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],