From 65e8ca4b039401c865dd4202694d131526d39cae Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 7 Mar 2012 21:57:35 +1100 Subject: [PATCH] Revert "Add a debug build option to allow optimising out checks in hot code paths." This reverts commit fcb1a3568874a6a29cbe2a3e16120e30460f548e. Did not end up using this in any meaningful fashion. --- configure.ac | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index 3ef8ccd..b51e1e1 100644 --- a/configure.ac +++ b/configure.ac @@ -60,7 +60,7 @@ AS_IF([test "$HAVE_POD2MAN" != "yes"], AC_MSG_FAILURE([pod2man is needed to generate manual from POD])) -AC_ARG_ENABLE( + AC_ARG_ENABLE( asm, [AC_HELP_STRING([--enable-asm],[Enable native Assembly code])], ASM=$enableval, @@ -80,14 +80,6 @@ AC_ARG_ENABLE([static-bin], ) AM_CONDITIONAL([STATIC], [test "x$static" = "xyes"]) -AC_ARG_ENABLE([debug-build], - [AC_HELP_STRING([--enable-debug],[Build debugging code in @<:@default=no@:>@])], - [debugbuild=$enableval] - ) -if test x"$debugbuild" = xyes; then - AC_DEFINE(DEBUG_BUILD, 1, [ ]) -fi - AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/mman.h) AC_CHECK_HEADERS(ctype.h errno.h sys/resource.h) AC_CHECK_HEADERS(endian.h sys/endian.h arpa/inet.h)