]> err.no Git - yubikey-personalization.old/commitdiff
Check for libyubikey v1.5+.
authorSimon Josefsson <simon@josefsson.org>
Mon, 31 Aug 2009 14:26:40 +0000 (14:26 +0000)
committerSimon Josefsson <simon@josefsson.org>
Mon, 31 Aug 2009 14:26:40 +0000 (14:26 +0000)
configure.ac

index ec48b1c319e0694ba7b4139effae300b30199848..5590c31f21bd654df2eef1b3b7e439e4de969621 100644 (file)
@@ -55,9 +55,9 @@ PKG_PROG_PKG_CONFIG
 
 AC_LIB_HAVE_LINKFLAGS(yubikey,,
   [#include <yubikey.h>],
-  [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],