Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add LLCPP flags to enable extra functions to use in user-level libcfs code.
[fs/lustre-release.git]
/
build
/
autoconf
/
lustre-build.m4
diff --git
a/build/autoconf/lustre-build.m4
b/build/autoconf/lustre-build.m4
index
bf770e1
..
b34e9b8
100644
(file)
--- a/
build/autoconf/lustre-build.m4
+++ b/
build/autoconf/lustre-build.m4
@@
-447,9
+447,11
@@
fi
])
])
+AC_CHECK_FUNCS(strnlen pread pwrite directio)
+
CPPFLAGS="-I\$(top_builddir)/lnet/include -I\$(top_srcdir)/lnet/include -I\$(top_builddir)/lustre/include -I\$(top_srcdir)/lustre/include $CPPFLAGS"
CPPFLAGS="-I\$(top_builddir)/lnet/include -I\$(top_srcdir)/lnet/include -I\$(top_builddir)/lustre/include -I\$(top_srcdir)/lustre/include $CPPFLAGS"
-LLCPPFLAGS="-D__arch_lib__ -D_LARGEFILE64_SOURCE=1"
+LLCPPFLAGS="-D__arch_lib__ -D_LARGEFILE64_SOURCE=1
-D_GNU_SOURCE -D_XOPEN_SOURCE=500
"
AC_SUBST(LLCPPFLAGS)
LLCFLAGS="-g -Wall -fPIC"
AC_SUBST(LLCPPFLAGS)
LLCFLAGS="-g -Wall -fPIC"
@@
-523,7
+525,7
@@
LC_CONFIG_CLIENT_SERVER
# three macros for cmd3
LC_CONFIG_SPLIT
LC_CONFIG_LDISKFS
# three macros for cmd3
LC_CONFIG_SPLIT
LC_CONFIG_LDISKFS
-L
C
_CONFIG_CDEBUG
+L
N
_CONFIG_CDEBUG
LB_CONFIG_MODULES
LB_CONFIG_MODULES