From 1425c6ec32b6a65159ec15245eb0eca23827e9d7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 1 Jan 2002 06:55:33 +0000 Subject: try to handle broken const in headers on cray unicos (This used to be commit 8143052e6917d4ae774192ed463ea7359cf0a5fb) --- source3/configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 2e46609ccc..1b1cd2b732 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -106,6 +106,14 @@ case "$host_os" in ;; esac ;; + +# +# CRAY Unicos has broken const handling + *unicos*) + AC_MSG_RESULT([disabling const]) + CPPFLAGS="$CPPFLAGS -Dconst=" + ;; + # # AIX4.x doesn't even admit to having large # files *at all* unless the -D_LARGE_FILE or -D_LARGE_FILE_API flags are set. -- cgit