configure: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
authorStefan Metzmacher <metze@samba.org>
Mon, 9 Jun 2008 08:27:12 +0000 (10:27 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Jun 2008 09:15:18 +0000 (11:15 +0200)
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(cherry picked from commit 89663ab4d10586b96807c56de53fd60d2488093c)

source/configure.in

index ca24a087baffa3d8f36c178f8d309eb741696c6f..d6dd4019bd0fe3e3b17c8f92bb6d5aba1ec155f0 100644 (file)
@@ -336,7 +336,7 @@ fi
 # and don't truncate the values to INT_MAX
 # a runtime test is needed here
 AC_SUBST(PIDL_ARGS)
-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>
@@ -357,8 +357,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_MSG_WARN([using --unit-enums for pidl])
        PIDL_ARGS="$PIDL_ARGS --uint-enums"
 fi