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:04:56 +0000 (11:04 +0200)
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 89663ab4d10586b96807c56de53fd60d2488093c)

source3/configure.in

index 6d9830d712fbdfebb58a5b9957d00b083f95044c..b3e448f21ca166c5efef5de714f30eb558937323 100644 (file)
@@ -337,7 +337,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>
@@ -358,8 +358,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