build/m4: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
authorStefan Metzmacher <metze@samba.org>
Mon, 9 Jun 2008 08:37:12 +0000 (10:37 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Jun 2008 08:54:24 +0000 (10:54 +0200)
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 0241af873fdefd5856932190ca0019a2d3c05703)

source4/build/m4/check_cc.m4

index 569be387214b8247f38be27b54c4213387508951..51531ca7765d65ecc6425de9fe394edec812ac89 100644 (file)
@@ -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