Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a2a84db
)
- LIBCFS_DEBUG is used as #ifdef and cannot be defined as 0 in disable case
author
yury
<yury>
Fri, 30 Mar 2007 13:32:23 +0000
(13:32 +0000)
committer
yury
<yury>
Fri, 30 Mar 2007 13:32:23 +0000
(13:32 +0000)
lnet/autoconf/lustre-lnet.m4
patch
|
blob
|
history
diff --git
a/lnet/autoconf/lustre-lnet.m4
b/lnet/autoconf/lustre-lnet.m4
index
795d1c9
..
c569683
100644
(file)
--- a/
lnet/autoconf/lustre-lnet.m4
+++ b/
lnet/autoconf/lustre-lnet.m4
@@
-78,9
+78,7
@@
AC_ARG_ENABLE([libcfs_assert],
[disable libcfs LASSERT, LASSERTF]),
[],[disable_libcfs_assert='no'])
AC_MSG_RESULT([$disable_libcfs_assert])
-if test x$disable_libcfs_assert != xno; then
- AC_DEFINE(LIBCFS_DEBUG, 0, [disable libcfs LASSERT, LASSERTF])
-else
+if test x$disable_libcfs_assert = xno; then
AC_DEFINE(LIBCFS_DEBUG, 1, [enable libcfs LASSERT, LASSERTF])
fi
])