summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-06-09 10:23:27 +0200
committerStefan Metzmacher <metze@samba.org>2008-06-09 11:04:50 +0200
commit7f70c126b218a6a7b4e6d2f00df08dd365072d53 (patch)
treeb0b417105e5984e951bf19eb18c767df8cd171c1
parent2c0360fe2685e31830ff2221e944b69b1753805f (diff)
downloadsamba-7f70c126b218a6a7b4e6d2f00df08dd365072d53.tar.gz
samba-7f70c126b218a6a7b4e6d2f00df08dd365072d53.tar.bz2
samba-7f70c126b218a6a7b4e6d2f00df08dd365072d53.zip
configure: fix warnings with autoconf-2.62 rename samba_stat_hires => samba_cv_stat_hires
AC_CACHE_VAL() variables must contain _cv_ to be cached. metze (This used to be commit 426b1e36e262ae47ea62e36e1df8a76c930394bc)
-rw-r--r--source3/configure.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 93c3b3e514..6d9830d712 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1269,7 +1269,7 @@ fi
# "struct timespec" or "timespec_t". Linux doesn't have timespec_t, so we
# prefer struct timespec.
-AC_CACHE_CHECK([whether struct stat has sub-second timestamps], samba_stat_hires,
+AC_CACHE_CHECK([whether struct stat has sub-second timestamps], samba_cv_stat_hires,
[
AC_TRY_COMPILE(
[
@@ -1297,10 +1297,10 @@ AC_CACHE_CHECK([whether struct stat has sub-second timestamps], samba_stat_hires
t.tv_sec = s.st_atim.tv_sec;
t.tv_nsec = s.st_atim.tv_nsec;
],
- samba_stat_hires=yes, samba_stat_hires=no)
+ samba_cv_stat_hires=yes, samba_cv_stat_hires=no)
])
-if test x"$samba_stat_hires" = x"yes" ; then
+if test x"$samba_cv_stat_hires" = x"yes" ; then
AC_DEFINE(HAVE_STAT_ST_MTIM, 1, [whether struct stat contains st_mtim])
AC_DEFINE(HAVE_STAT_ST_ATIM, 1, [whether struct stat contains st_atim])
AC_DEFINE(HAVE_STAT_ST_CTIM, 1, [whether struct stat contains st_ctim])
@@ -1308,7 +1308,7 @@ if test x"$samba_stat_hires" = x"yes" ; then
[whether struct stat has sub-second timestamps])
fi
-AC_CACHE_CHECK([whether struct stat has sub-second timestamps without struct timespec], samba_stat_hires_notimespec,
+AC_CACHE_CHECK([whether struct stat has sub-second timestamps without struct timespec], samba_cv_stat_hires_notimespec,
[
AC_TRY_COMPILE(
[
@@ -1336,10 +1336,10 @@ AC_CACHE_CHECK([whether struct stat has sub-second timestamps without struct tim
t.tv_sec = s.st_atime;
t.tv_nsec = s.st_atimensec;
],
- samba_stat_hires=yes, samba_stat_hires=no)
+ samba_cv_stat_hires=yes, samba_cv_stat_hires=no)
])
-if test x"$samba_stat_hires_notimespec" = x"yes" ; then
+if test x"$samba_cv_stat_hires_notimespec" = x"yes" ; then
AC_DEFINE(HAVE_STAT_ST_MTIMENSEC, 1, [whether struct stat contains st_mtimensec])
AC_DEFINE(HAVE_STAT_ST_ATIMENSEC, 1, [whether struct stat contains st_atimensec])
AC_DEFINE(HAVE_STAT_ST_CTIMENSEC, 1, [whether struct stat contains st_ctimensec])