]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* README: Describe potential "pre-C99 build failure", and work-around.
authorJim Meyering <jim@meyering.net>
Sat, 19 Aug 2006 16:23:17 +0000 (16:23 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 19 Aug 2006 16:23:17 +0000 (16:23 +0000)
ChangeLog
README

index 30ba76732210264836fe31defc02a20b9bd41db9..c572bed93a95dcd7e25e49613ef43bf8277302c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-08-19  Jim Meyering  <jim@meyering.net>
 
+       * README: Describe potential "pre-C99 build failure", and work-around.
+
        Some of my 2006-07-03 changes to tests/*/Makefile.am were being
        backed out due to updates provoked by the copyright changes.
        * tests/Makefile.am.in (PATH): Prepend $(VG_PATH_PREFIX), so that
diff --git a/README b/README
index 196cc711479d5567264ab17ad9464f9dd8d90525..89c53fa6fbbfc843114257048b3494e13a24613f 100644 (file)
--- a/README
+++ b/README
@@ -60,6 +60,22 @@ the ls `time-1' test to fail.  I believe that is due to a bug in the
 way Sun implemented link(2) and chmod(2).
 
 
+***********************
+pre-C99 build failure
+-----------------------
+
+There is a new, implicit build requirement:
+To build the coreutils from source, you should have a C99-conforming
+compiler, due to the use of declarations after non-declaration statements
+in several files in src/.  There is code in configure to find and, if
+possible, enable an appropriate compiler.  However, if configure doesn't
+find a C99 compiler, it continues nonetheless, and your build will fail.
+If that happens, simply apply the included patch using the following
+command, and then run make again:
+
+  cd src && patch < c99-to-c89.diff
+
+
 ***********************
 HPUX 11.x build failure
 -----------------------