+# check for VoOTP
+AC_ARG_WITH([vootp],
+ [AS_HELP_STRING([--with-vootp],
+ [compile with VoOTP support (libvootp is required) @<:@default=no@:>@])
+ ],
+ [],
+ [with_vootp="check"])
+
+AM_CONDITIONAL(ENABLE_VOOTP, test "x$with_vootp" == "xyes" )
+
+AS_IF([test "x$with_vootp" == xyes -o "x$with_vootp" == xyes], [
+ PKG_CHECK_MODULES(VOOTP, libvootp >= 0.0)
+ ])
+