diff options
author | Tom Lane | 2011-12-03 00:52:22 +0000 |
---|---|---|
committer | Tom Lane | 2011-12-03 00:52:22 +0000 |
commit | 28b78e8863bbec8a0e13c067df98d543c0084e7b (patch) | |
tree | 422849a386c5919a17d5313f4c30c611c010de57 | |
parent | c2e412ad41e24460fa119e4de156b05a21e05433 (diff) |
Dodge an ancient ksh bug that breaks configure on some platforms.REL8_4_10
8.4.10's configure script suddenly started failing on platforms that use
older versions of ksh as /bin/sh. It turns out to be a ksh bug that's
triggered by here-document delimiters falling across bufferload boundaries:
https://mailman.research.att.com/pipermail/ast-developers/2010q4/000797.html
Hopefully this will get fixed before we trip over it again, but to make
8.4.10 releasable, add a comment to move the boundaries to dodge the bug.
Per buildfarm members koi and warthog, plus a report from Bjorn Munch of
the identical failure on Solaris 10.
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | configure.in | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure index 119cded2944..72c7d936ef3 100755 --- a/configure +++ b/configure @@ -27415,6 +27415,9 @@ ac_config_headers="$ac_config_headers src/include/pg_config.h" ac_config_headers="$ac_config_headers src/interfaces/ecpg/include/ecpg_config.h" +# This comment is to lengthen the configure script to dodge this ksh93 bug: +# https://mailman.research.att.com/pipermail/ast-developers/2010q4/000797.html + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure diff --git a/configure.in b/configure.in index b95e5379875..a08d9f92279 100644 --- a/configure.in +++ b/configure.in @@ -1878,6 +1878,9 @@ echo >src/include/stamp-h AC_CONFIG_HEADERS([src/interfaces/ecpg/include/ecpg_config.h], [echo >src/interfaces/ecpg/include/stamp-h]) +# This comment is to lengthen the configure script to dodge this ksh93 bug: +# https://mailman.research.att.com/pipermail/ast-developers/2010q4/000797.html + AC_OUTPUT # Warn about unknown options |