From 13244a040eaceb2c5342a54da419f7e469a66fb7 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 30 Mar 1993 20:33:58 +0000 Subject: [PATCH] * configure: Extend test for working `const' keyword to handle AIX 3.2 cc. --- configure1.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure1.in b/configure1.in index ee068601bf..fcce3ada2c 100755 --- a/configure1.in +++ b/configure1.in @@ -884,11 +884,14 @@ echo "Checking if the compiler supports \`const'." rm -f conftest* compile='${default_cc} conftest.c -o conftest >/dev/null 2>&1' echo " -main() { exit(0); } t() { /* Ultrix mips cc rejects this. */ +main() { exit(0); } t() { +/* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *p; char **p2; +/* AIX 3.2 cc rejects this. */ +p += p ? p-p : 0; /* HPUX 7.0 cc rejects these. */ ++p; p2 = (char const* const*) p; -- 2.39.2