Commit a7c79ac2 authored by Matthieu Dorier's avatar Matthieu Dorier

corrected configure.ac to correctly accept --disable-sizecheck

parent 83d6707d
......@@ -86,8 +86,11 @@ LIBS="$REMI_LIBS $LIBS"
CPPFLAGS="$REMI_CFLAGS $CPPFLAGS"
CFLAGS="$REMI_CFLAGS $CFLAGS"
AC_ARG_ENABLE(sizecheck, [Adds a header in regions to keep track of region sizes],
[AC_DEFINE([USE_SIZECHECK_HEADERS], 1, [Enable sizechecks])], [])
AC_ARG_ENABLE([sizecheck],
AS_HELP_STRING([--enable-sizecheck], [Adds a header in regions to keep track of region sizes (may degrade performance) @<:@default=no@:>@]),
[AS_CASE(${enableval}, [yes], [AC_DEFINE([USE_SIZECHECK_HEADERS], 1, [Enable sizecheck])], [no], [],
[AC_MSG_ERROR([bad value ${enableval} for --enable-sizecheck])])],
[enable_sizecheck=yes])
AC_CONFIG_FILES([Makefile maint/bake-client.pc maint/bake-server.pc])
AC_OUTPUT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment