Add bx509d
This commit is contained in:
48
configure.ac
48
configure.ac
@@ -182,6 +182,54 @@ AM_CONDITIONAL([HAVE_CAPNG], [test "$with_capng" != "no"])
|
||||
AC_SUBST([CAPNG_CFLAGS])
|
||||
AC_SUBST([CAPNG_LIBS])
|
||||
|
||||
dnl libmicrohttpd
|
||||
AC_ARG_WITH([microhttpd],
|
||||
AC_HELP_STRING([--with-microhttpd], [use microhttpd to serve KDC REST API @<:@default=check@:>@]),
|
||||
[],
|
||||
[with_microhttpd=check])
|
||||
if test "$with_microhttpd" != "no"; then
|
||||
PKG_CHECK_MODULES([MICROHTTPD], [libmicrohttpd >= 0.9.59],
|
||||
[with_microhttpd=yes],[with_microhttpd=no])
|
||||
fi
|
||||
if test "$with_microhttpd" = "yes"; then
|
||||
AC_DEFINE_UNQUOTED([HAVE_MICROHTTPD], 1, [whether libmicrohttpd is available for KDC REST API])
|
||||
fi
|
||||
AM_CONDITIONAL([HAVE_MICROHTTPD], [test "$with_microhttpd" != "no"])
|
||||
AC_SUBST([MICROHTTPD_CFLAGS])
|
||||
AC_SUBST([MICROHTTPD_LIBS])
|
||||
|
||||
dnl libcjwt
|
||||
AC_ARG_WITH([cjwt],
|
||||
AC_HELP_STRING([--with-cjwt], [(Experimental) use cjwt to validate JWT tokens @<:@default=check@:>@]),
|
||||
[],
|
||||
[with_cjwt=check])
|
||||
if test "$with_cjwt" != "no"; then
|
||||
PKG_CHECK_MODULES([CJWT], [libcjwt >= 1.0.0],
|
||||
[with_cjwt=yes],[with_cjwt=no])
|
||||
fi
|
||||
if test "$with_cjwt" = "yes"; then
|
||||
AC_DEFINE_UNQUOTED([HAVE_CJWT], 1, [whether libcjwt is available for KDC REST API])
|
||||
fi
|
||||
AM_CONDITIONAL([HAVE_CJWT], [test "$with_cjwt" != "no"])
|
||||
AC_SUBST([CJWT_CFLAGS])
|
||||
AC_SUBST([CJWT_LIBS])
|
||||
|
||||
dnl libcjson
|
||||
AC_ARG_WITH([cjson],
|
||||
AC_HELP_STRING([--with-cjson], [(Experimental) use cJSON to extract private claims from JWT tokens @<:@default=check@:>@]),
|
||||
[],
|
||||
[with_cjson=check])
|
||||
if test "$with_cjson" != "no"; then
|
||||
PKG_CHECK_MODULES([CJSON], [libcjson >= 1.0.0],
|
||||
[with_cjson=yes],[with_cjson=no])
|
||||
fi
|
||||
if test "$with_cjson" = "yes"; then
|
||||
AC_DEFINE_UNQUOTED([HAVE_CJSON], 1, [whether libcjson is available for KDC REST API])
|
||||
fi
|
||||
AM_CONDITIONAL([HAVE_CJSON], [test "$with_cjson" != "no"])
|
||||
AC_SUBST([CJSON_CFLAGS])
|
||||
AC_SUBST([CJSON_LIBS])
|
||||
|
||||
dnl Check for sqlite
|
||||
rk_TEST_PACKAGE(sqlite3,
|
||||
[#include <sqlite3.h>
|
||||
|
Reference in New Issue
Block a user