Actively prevent user from specifying --enable-xrdpdebug

This commit is contained in:
matt335672 2021-06-04 14:43:18 +01:00
parent d126a31067
commit 7e03f8d006
2 changed files with 9 additions and 1 deletions

View File

@ -57,7 +57,7 @@ jobs:
arch: amd64
os: ubuntu-latest
name_extra: and DEBUG
CONF_FLAGS_EXTRA: "--enable-xrdpdebug"
CONF_FLAGS_EXTRA: "--enable-devel-all"
# Maximal 32-bit arch builds
- CC: gcc

View File

@ -166,6 +166,14 @@ AC_ARG_ENABLE(rdpsndaudin, AS_HELP_STRING([--enable-rdpsndaudin],
[], [enable_rdpsndaudin=no])
AM_CONDITIONAL(XRDP_RDPSNDAUDIN, [test x$enable_rdpsndaudin = xyes])
# Obsolete options
AC_ARG_ENABLE(xrdpdebug, AS_HELP_STRING([--enable-xrdpdebug],
[This option is no longer supported - use --enable-devel-all]))
if test "x$enable_xrdpdebug" != x; then
AC_MSG_ERROR([--enable-xrdpdebug must be replaced with one or more --enable-devel-* options])
fi
# configure compiler options and CFLAGS
AX_GCC_FUNC_ATTRIBUTE([format])
AX_TYPE_SOCKLEN_T