summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-06-09 10:37:12 +0200
committerStefan Metzmacher <metze@samba.org>2008-06-09 10:54:24 +0200
commitb0d43b862ab909c262d2298e0b344c4eecc0efee (patch)
tree21dfe22cec2a7bc5f48a03f3a8ccf11f8a8bcf00 /source4/build
parent4a0582438f79347a6233e3e2a30dae692cae655f (diff)
downloadsamba-b0d43b862ab909c262d2298e0b344c4eecc0efee.tar.gz
samba-b0d43b862ab909c262d2298e0b344c4eecc0efee.tar.bz2
samba-b0d43b862ab909c262d2298e0b344c4eecc0efee.zip
build/m4: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached. metze (This used to be commit 0241af873fdefd5856932190ca0019a2d3c05703)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/check_cc.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4
index 569be38721..51531ca776 100644
--- a/source4/build/m4/check_cc.m4
+++ b/source4/build/m4/check_cc.m4
@@ -30,7 +30,7 @@ fi
# check if the compiler can handle negative enum values
# and don't truncate the values to INT_MAX
# a runtime test is needed here
-AC_CACHE_CHECK([that the C compiler understands negative enum values],SMB_BUILD_CC_NEGATIVE_ENUM_VALUES, [
+AC_CACHE_CHECK([that the C compiler understands negative enum values],samba_cv_CC_NEGATIVE_ENUM_VALUES, [
AC_TRY_RUN(
[
#include <stdio.h>
@@ -45,8 +45,8 @@ AC_CACHE_CHECK([that the C compiler understands negative enum values],SMB_BUILD_
return 0;
}
],
- 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
+ samba_cv_CC_NEGATIVE_ENUM_VALUES=yes,samba_cv_CC_NEGATIVE_ENUM_VALUES=no)])
+if test x"$samba_cv_CC_NEGATIVE_ENUM_VALUES" != x"yes"; then
AC_DEFINE(USE_UINT_ENUMS, 1, [Whether the compiler has uint enum support])
fi