mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-05 00:15:17 +00:00
[#2071] propagate all flags from configure to distcheck
This commit is contained in:
committed by
Francis Dupont
parent
602860f1fc
commit
d1d4aefec6
@@ -13,6 +13,7 @@ AC_ARG_WITH([gssapi],
|
||||
ENABLE_GSSAPI=no
|
||||
GSSAPI_CFLAGS=
|
||||
GSSAPI_LIBS=
|
||||
DISTCHECK_GSSAPI_CONFIGURE_FLAG="--with-gssapi=$gssapi_path"
|
||||
|
||||
AC_MSG_CHECKING([for gssapi support])
|
||||
if test "x$gssapi_path" = "x" ; then
|
||||
@@ -86,6 +87,7 @@ fi
|
||||
|
||||
AC_SUBST(GSSAPI_CFLAGS)
|
||||
AC_SUBST(GSSAPI_LIBS)
|
||||
AC_SUBST(DISTCHECK_GSSAPI_CONFIGURE_FLAG)
|
||||
AM_CONDITIONAL([HAVE_GSSAPI], [test $ENABLE_GSSAPI = "yes"])
|
||||
|
||||
])dnl AX_GSS_API
|
||||
|
@@ -4,10 +4,14 @@ AC_DEFUN([AX_SYSREPO], [
|
||||
[AS_HELP_STRING([--with-libyang[[=PATH]]], [optional path to the libyang installation directory])],
|
||||
[with_libyang="${withval}"])
|
||||
|
||||
DISTCHECK_LIBYANG_CONFIGURE_FLAG="--with-libyang=$with_libyang"
|
||||
|
||||
AC_ARG_WITH([sysrepo],
|
||||
[AS_HELP_STRING([--with-sysrepo[[=PATH]]], [optional path to the sysrepo installation directory])],
|
||||
[with_sysrepo="${withval}"])
|
||||
|
||||
DISTCHECK_SYSREPO_CONFIGURE_FLAG="--with-sysrepo=$with_sysrepo"
|
||||
|
||||
# If --with-libyang was omitted, assume it was passed and give it the value
|
||||
# from --with-sysrepo.
|
||||
if test -z "${with_libyang}"; then
|
||||
@@ -220,4 +224,6 @@ AC_DEFUN([AX_SYSREPO], [
|
||||
AC_SUBST(SRPD_PLUGINS_PATH)
|
||||
AC_SUBST(SYSREPO_VERSION)
|
||||
AC_SUBST(SYSREPOCPP_VERSION)
|
||||
AC_SUBST(DISTCHECK_LIBYANG_CONFIGURE_FLAG)
|
||||
AC_SUBST(DISTCHECK_SYSREPO_CONFIGURE_FLAG)
|
||||
])
|
||||
|
Reference in New Issue
Block a user