summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-07-21 10:23:26 +0000
committerwlemb <wlemb>2000-07-21 10:23:26 +0000
commit39839c08d0e396cedd840cc5ad194ad0c253a1a4 (patch)
tree40e49a4bfad742a2f7b18eb68f3784f72a396173
parentf18ee87c527997720f5cab83461ff8bd371357d4 (diff)
downloadgroff-39839c08d0e396cedd840cc5ad194ad0c253a1a4.tar.gz
* Makefile.in (ENVSETUP): Don't assume POSIX make semantics for
commands that fail. Don't assume that "export a=b" is valid shell syntax. This is needed for Solaris 2.5.1. * src/libs/libgroff/tmpfile.cc, src/utils/indxbib/indxbib.cc: Fix comment about missing Solaris headers. * PROBLEMS: Add section about problems with Sun Make and VPATH. * src/roff/nroff/nroff.sh: Fix main loop syntax.
-rw-r--r--ChangeLog13
-rw-r--r--Makefile.in8
-rw-r--r--PROBLEMS18
-rw-r--r--src/libs/libgroff/tmpfile.cc3
-rw-r--r--src/utils/indxbib/indxbib.cc3
5 files changed, 40 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 9be77c1c..2c3f0f67 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2000-06-28 Paul Eggert <eggert@twinsun.com>
+
+ * Makefile.in (ENVSETUP): Don't assume POSIX make semantics for
+ commands that fail. Don't assume that "export a=b" is valid shell
+ syntax. This is needed for Solaris 2.5.1.
+
+ * src/libs/libgroff/tmpfile.cc, src/utils/indxbib/indxbib.cc: Fix
+ comment about missing Solaris headers.
+
+ * PROBLEMS: Add section about problems with Sun Make and VPATH.
+
2000-06-25 Werner LEMBERG <wl@gnu.org>
* src/devics/grodvi/dvi.cc: Replace _setmode() (for MSC) with
@@ -212,7 +223,7 @@
2000-05-28 Keith Thompson <kst@sdsc.edu>
- * src/roff/nroff/nroff.sh: Fix infinite loop syntax.
+ * src/roff/nroff/nroff.sh: Fix main loop syntax.
* src/utils/indxbib/indxbib.cc: Add declaration of mkstemp().
diff --git a/Makefile.in b/Makefile.in
index ab07b8c6..ccbd522d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -368,8 +368,12 @@ TARGETS=all install install_bin install_data clean distclean mostlyclean \
# This ENVSETUP gork is required by the DJGPP build on Windows 9X,
# where Make needs to be case-sensitive to find files like BI and VERSION.
-ENVSETUP=`test -f $(srcdir)/makefile.ccpg*\
- && test -f $(srcdir)/Makefile.ccpg* && echo export FNCASE=y`
+ENVSETUP=\
+ if test -f $(srcdir)/makefile.ccpg* && \
+ test -f $(srcdir)/Makefile.ccpg*; \
+ then FNCASE=y; export FNCASE; \
+ else :; \
+ fi
do=all
dodirs=$(ALLDIRS) dot
diff --git a/PROBLEMS b/PROBLEMS
index 391fcdac..b73db2f4 100644
--- a/PROBLEMS
+++ b/PROBLEMS
@@ -98,6 +98,24 @@ argument is a const char *. Fix the declaration of open() in
----------------------------------------------------------------------
+* On a host using Unix make (e.g. Solaris), if you are compiling for
+ multiple architectures by building in a subdirectory, the make stops
+ with a message like this:
+
+ make: Fatal error: Don't know how to make target `assert.o'
+
+ or like this:
+
+ make: Fatal error: Can't find /u/src/groff/src/include/Makefile.sub': No such file or directory
+
+This occurs because GNU make and Unix make handle VPATH differently,
+and the groff build relies on GNU make's VPATH handling.
+
+Use GNU make to work around the problem. In Solaris 8, GNU make is
+on the Software Companion CD and is installed as /opt/sfw/bin/gmake.
+
+----------------------------------------------------------------------
+
* On Ultrix, the make stops with the message
*** Error code 1
diff --git a/src/libs/libgroff/tmpfile.cc b/src/libs/libgroff/tmpfile.cc
index 378fc929..ffc165ce 100644
--- a/src/libs/libgroff/tmpfile.cc
+++ b/src/libs/libgroff/tmpfile.cc
@@ -30,7 +30,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "nonposix.h"
extern "C" {
- // Sun's stdlib.h fails to declare this.
+ // Solaris 2.5.1 has these functions,
+ // but its stdlib.h fails to declare them.
char *mktemp(char *);
int mkstemp(char *);
}
diff --git a/src/utils/indxbib/indxbib.cc b/src/utils/indxbib/indxbib.cc
index bd4780d7..3185fe2c 100644
--- a/src/utils/indxbib/indxbib.cc
+++ b/src/utils/indxbib/indxbib.cc
@@ -38,7 +38,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "nonposix.h"
extern "C" {
- // Sun's stdlib.h fails to declare this.
+ // Solaris 2.5.1 has these functions,
+ // but its stdlib.h fails to declare them.
char *mktemp(char *);
int mkstemp(char *);
}