# HG changeset patch # User Stu Tomlinson # Date 1178843976 0 # Node ID d603b5fb729280b8d9429ed163fdee503ba9bec4 # Parent fe6fd0568d0422abef9deaa3b77274b934a633b9 disapproval of revision 'cde234fe820467241e86dc0c48917384759d7f4a' diff -r fe6fd0568d04 -r d603b5fb7292 configure.ac --- a/configure.ac Fri Apr 27 17:55:38 2007 +0000 +++ b/configure.ac Fri May 11 00:39:36 2007 +0000 @@ -807,22 +807,7 @@ AC_CHECK_HEADER(sys/utsname.h) AC_CHECK_FUNC(uname) -AC_ARG_ENABLE(fortify, [AC_HELP_STRING([--disable-fortify], [compile without FORTIFY_SOURCE support])], enable_fortify="$enableval", enable_fortify=yes) - -AC_ARG_ENABLE(mcheck, [AC_HELP_STRING([--enable-mcheck], [compile with mcheck (malloc debugging) support])], enable_mcheck="$enableval", enable_mcheck="$enable_debug") -if test "x$enable_mcheck" = "xyes" ; then - orig_LIBS="$LIBS" - LIBS="$LIBS -lmcheck" - AC_MSG_CHECKING(for mcheck support) - AC_TRY_COMPILE([], [ - int main() {return 0;} - ], [ - AC_MSG_RESULT(yes) - ], [ - AC_MSG_RESULT(no) - LIBS="$orig_LIBS" - ]) -fi +AC_ARG_ENABLE(fortify, [AC_HELP_STRING([--disable-fortify], [compile without FORTIFY_SOURCE support])], , enable_fortify=yes) if test "x$GCC" = "xyes"; then dnl We enable -Wall later.