git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af3772e
)
r25976: libreplace: not all platforms like _XOPEN_SOURCE=600
author
Stefan Metzmacher
<metze@samba.org>
Thu, 15 Nov 2007 15:40:32 +0000
(16:40 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 18 Jan 2008 16:02:11 +0000
(17:02 +0100)
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific
metze
(cherry picked from commit
d19ab62081ce4ee4273ff752ad0443782a994826
)
source/lib/replace/libreplace_cc.m4
patch
|
blob
|
history
diff --git
a/source/lib/replace/libreplace_cc.m4
b/source/lib/replace/libreplace_cc.m4
index 3f0a337083c7b06bba626e196b21fdd525057e03..bf5056838d0ca2a30539ca5bc75f1104f38bf562 100644
(file)
--- a/
source/lib/replace/libreplace_cc.m4
+++ b/
source/lib/replace/libreplace_cc.m4
@@
-49,8
+49,6
@@
AC_PROG_INSTALL
AC_ISC_POSIX
AC_N_DEFINE(_XOPEN_SOURCE_EXTENDED)
-AC_N_DEFINE(_XOPEN_SOURCE,600)
-AC_N_DEFINE(_OSF_SOURCE)
AC_SYS_LARGEFILE
@@
-78,6
+76,11
@@
case "$host_os" in
CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"
fi
;;
+ *osf*)
+ # this brings in socklen_t
+ AC_N_DEFINE(_XOPEN_SOURCE,600)
+ AC_N_DEFINE(_OSF_SOURCE)
+ ;;
#
# VOS may need to have POSIX support and System V compatibility enabled.
#