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 +-- source4/build/m4/check_perl.m4 | 3 --- source4/build/smb_build/makefile.pm | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) (limited to 'source4/build') 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]) diff --git a/source4/build/m4/check_perl.m4 b/source4/build/m4/check_perl.m4 index af1e42e2cd..82ca242499 100644 --- a/source4/build/m4/check_perl.m4 +++ b/source4/build/m4/check_perl.m4 @@ -26,6 +26,3 @@ fi export PERL AC_PATH_PROG(YAPP, yapp, false) - -PIDL_ARGS="" -AC_SUBST(PIDL_ARGS) diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 48379b279d..9f571396eb 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -154,7 +154,6 @@ XSLTPROC=$self->{config}->{XSLTPROC} LEX=$self->{config}->{LEX} YACC=$self->{config}->{YACC} YAPP=$self->{config}->{YAPP} -PIDL_ARGS=$self->{config}->{PIDL_ARGS} GCOV=$self->{config}->{GCOV} -- cgit