diff options
author | Robert Roth <robert.roth.off@gmail.com> | 2013-08-22 01:11:06 +0300 |
---|---|---|
committer | Robert Roth <robert.roth.off@gmail.com> | 2013-08-22 01:11:06 +0300 |
commit | bebcb377afae21189379e953272c6a2920e26b5e (patch) | |
tree | 85d0d5fd6c2b286f08509e578317766d511dc960 /libgtop-sysdeps.m4 | |
parent | 4cffb2f094c7730ee10a835ecd142a7e143c536e (diff) | |
download | libgtop-bebcb377afae21189379e953272c6a2920e26b5e.tar.gz |
Revert "Fixed missing cache-id warning" as it breaks jhbuild.
This reverts commit 4cffb2f094c7730ee10a835ecd142a7e143c536e.
Diffstat (limited to 'libgtop-sysdeps.m4')
-rw-r--r-- | libgtop-sysdeps.m4 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libgtop-sysdeps.m4 b/libgtop-sysdeps.m4 index 6b1bde34..161e1a62 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(cv_msginfo_needs, - cv_msginfo_needs= + AC_CACHE_VAL(msginfo_needs, + msginfo_needs= for def in nothing KERNEL _KERNEL; do AC_COMPILE_IFELSE([#define $def #include <sys/types.h> @@ -254,21 +254,21 @@ main (void) return 0; }], [ - cv_msginfo_needs=$def - if test ${cv_msginfo_needs} = KERNEL; then + msginfo_needs=$def + if test ${msginfo_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 ${cv_msginfo_needs} = _KERNEL; then + elif test ${msginfo_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 "${cv_msginfo_needs}" && break + test -n "${msginfo_needs}" && break done ) - AC_MSG_RESULT($cv_msginfo_needs) - if test -z "${cv_msginfo_needs}"; then + AC_MSG_RESULT($msginfo_needs) + if test -z "${msginfo_needs}"; then AC_MSG_ERROR([Could not find the definition of 'struct msginfo']) fi ;; |