summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Roth <robert.roth.off@gmail.com>2013-08-22 01:37:02 +0300
committerRobert Roth <robert.roth.off@gmail.com>2013-08-22 01:37:02 +0300
commit552ea7ec3a30a2fd38a416ba9ce430b98dbe58e7 (patch)
treee61a55d7d262f703802ee07d55274a5d35eb9774
parent43f19912e3487d9369f48d9353789fcb8ca28399 (diff)
downloadlibgtop-552ea7ec3a30a2fd38a416ba9ce430b98dbe58e7.tar.gz
Fixed automake warning
-rw-r--r--libgtop-sysdeps.m416
1 files changed, 8 insertions, 8 deletions
diff --git a/libgtop-sysdeps.m4 b/libgtop-sysdeps.m4
index 85d434d9..fad6af9b 100644
--- a/libgtop-sysdeps.m4
+++ b/libgtop-sysdeps.m4
@@ -237,8 +237,8 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
fi
AC_MSG_CHECKING(what we need to define to get struct msginfo)
- AC_CACHE_VAL(msginfo_needs,
- msginfo_needs=
+ AC_CACHE_VAL(msginfo_cv_needs,
+ msginfo_cv_needs=
for def in nothing KERNEL _KERNEL; do
AC_COMPILE_IFELSE([AC_LANG_SOURCE([#define $def
#include <sys/types.h>
@@ -254,21 +254,21 @@ main (void)
return 0;
}])],
[
- msginfo_needs=$def
- if test ${msginfo_needs} = KERNEL; then
+ msginfo_cv_needs=$def
+ if test ${msginfo_cv_needs} = KERNEL; then
AC_DEFINE(STRUCT_MSGINFO_NEEDS_KERNEL, 1,
[Define to 1 if we need to define KERNEL to get 'struct msginfo'])
- elif test ${msginfo_needs} = _KERNEL; then
+ elif test ${msginfo_cv_needs} = _KERNEL; then
AC_DEFINE(STRUCT_MSGINFO_NEEDS__KERNEL, 1,
[Define to 1 if we need to define _KERNEL to get 'struct msginfo'])
fi
]
)
- test -n "${msginfo_needs}" && break
+ test -n "${msginfo_cv_needs}" && break
done
)
- AC_MSG_RESULT($msginfo_needs)
- if test -z "${msginfo_needs}"; then
+ AC_MSG_RESULT($msginfo_cv_needs)
+ if test -z "${msginfo_cv_needs}"; then
AC_MSG_ERROR([Could not find the definition of 'struct msginfo'])
fi
;;