summaryrefslogtreecommitdiff
path: root/source4/build/m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-22 00:04:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:57 -0500
commit30bfba96d3b7007aa47e037328ea0f2b8e7d1d6e (patch)
tree67f9568febf9749b8938dac87c6a587938f83d04 /source4/build/m4
parentfa5e920a7b4a2eba450189af35e0b5eeab80cdbc (diff)
downloadsamba-30bfba96d3b7007aa47e037328ea0f2b8e7d1d6e.tar.gz
samba-30bfba96d3b7007aa47e037328ea0f2b8e7d1d6e.tar.bz2
samba-30bfba96d3b7007aa47e037328ea0f2b8e7d1d6e.zip
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)
Diffstat (limited to 'source4/build/m4')
-rw-r--r--source4/build/m4/check_cc.m43
-rw-r--r--source4/build/m4/check_perl.m43
2 files changed, 1 insertions, 5 deletions
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)