summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>1999-11-18 17:44:32 +0000
committerDave Love <fx@gnu.org>1999-11-18 17:44:32 +0000
commit91193697af8c6a4cdd8b0725993e9cdf0dd10aad (patch)
tree3ebf801aa44aeec41dad8fa37ce401a2204a9af2 /configure.in
parentba3a0c6dc6c1c76358f3973fdcd3604b1dbcfce2 (diff)
downloademacs-91193697af8c6a4cdd8b0725993e9cdf0dd10aad.tar.gz
Fix NON_GNU_CPP for Irix 6 to avoid failing tests.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index ea62ad40ad8..826c8d50272 100644
--- a/configure.in
+++ b/configure.in
@@ -748,12 +748,17 @@ case "${canonical}" in
;;
mips-sgi-irix6.5 )
machine=iris4d opsys=irix6-5
- NON_GNU_CPP=/lib/cpp
- NON_GCC_TEST_OPTIONS="-n32 -G0"
+ # Without defining _LANGUAGE_C, things get masked out in the headers
+ # so that, for instance, grepping for `free' in stdlib.h fails and
+ # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
+ NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
+ NON_GCC_TEST_OPTIONS="-n32 -G0 -D_LANGUAGE_C"
;;
mips-sgi-irix6* )
machine=iris4d opsys=irix6-0
- NON_GNU_CPP=/lib/cpp
+ # It's not clear whether -D_LANGUAGE_C is necessary as for 6.5,
+ # but presumably it does no harm.
+ NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
NON_GCC_TEST_OPTIONS=-32
;;
mips-sgi-irix5.[01]* )