]> err.no Git - yubikey-personalization.old/commitdiff
Check for libyubikey v1.5+.
authorsimon75j <simon75j@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Mon, 31 Aug 2009 14:26:40 +0000 (14:26 +0000)
committersimon75j <simon75j@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Mon, 31 Aug 2009 14:26:40 +0000 (14:26 +0000)
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@172 b62f149e-849f-11dd-9899-c7ba65f7c4c7

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],