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
(parent:
83159ed
)
add LLCPP flags to enable extra functions to use in user-level libcfs code.
author
zam
<zam>
Mon, 14 May 2007 08:30:04 +0000
(08:30 +0000)
committer
zam
<zam>
Mon, 14 May 2007 08:30:04 +0000
(08:30 +0000)
build/autoconf/lustre-build.m4
patch
|
blob
|
history
diff --git
a/build/autoconf/lustre-build.m4
b/build/autoconf/lustre-build.m4
index
76970fd
..
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"
-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"