From: Stefan Metzmacher Date: Mon, 9 Jun 2008 08:37:12 +0000 (+0200) Subject: build/m4: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_ X-Git-Tag: samba-4.0.0alpha5~68^2~4^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0241af873fdefd5856932190ca0019a2d3c05703;p=thirdparty%2Fsamba.git build/m4: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_ AC_CACHE_VAL() variables must contain _cv_ to be cached. metze --- diff --git a/source/build/m4/check_cc.m4 b/source/build/m4/check_cc.m4 index 569be387214..51531ca7765 100644 --- a/source/build/m4/check_cc.m4 +++ b/source/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 @@ -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