From 30bfba96d3b7007aa47e037328ea0f2b8e7d1d6e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 22 Jan 2007 00:04:59 +0000 Subject: r20942: Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument. (This used to be commit 6bada0dcf0c7915d366c7917189375dbabecdd4f) --- source4/build/m4/check_cc.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/build/m4/check_cc.m4') diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index 324ddb3c03..e6b090d9dc 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -47,8 +47,7 @@ AC_CACHE_CHECK([that the C compiler understands negative enum values],SMB_BUILD_ ], SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes,SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=no)]) if test x"$SMB_BUILD_CC_NEGATIVE_ENUM_VALUES" != x"yes"; then - AC_MSG_WARN([using --unit-enums for pidl]) - PIDL_ARGS="$PIDL_ARGS --uint-enums" + AC_DEFINE(USE_UINT_ENUMS, 1, [Whether the compiler has uint enum support]) fi AC_MSG_CHECKING([for test routines]) -- cgit