diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-01-01 06:55:33 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-01-01 06:55:33 +0000 |
commit | 1425c6ec32b6a65159ec15245eb0eca23827e9d7 (patch) | |
tree | b186e62f16ccf2ec05eaf6d76811a511126bc2e8 /source3/configure.in | |
parent | 8d09eecf6987fe55c06cd1bcf202170cd8a47d8e (diff) | |
download | samba-1425c6ec32b6a65159ec15245eb0eca23827e9d7.tar.gz samba-1425c6ec32b6a65159ec15245eb0eca23827e9d7.tar.bz2 samba-1425c6ec32b6a65159ec15245eb0eca23827e9d7.zip |
try to handle broken const in headers on cray unicos
(This used to be commit 8143052e6917d4ae774192ed463ea7359cf0a5fb)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
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. |