summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-21 23:50:13 +0000
committerKarl Berry <karl@freefriends.org>2009-05-21 23:50:13 +0000
commitf2ce4f92fe35c54839788fb10e031e2a570da350 (patch)
tree6b9008407523b956b934e02faa571501acd047bd /Build
parent4d0940126da076e43963a11c69673bf583b30248 (diff)
GCLIB_CHECK, BROKEN_COMPILER, workarounds for older systems
git-svn-id: svn://tug.org/texlive/trunk@13362 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/utils/asymptote/Makefile.in3
-rw-r--r--Build/source/utils/asymptote/path.h5
-rw-r--r--Build/source/utils/asymptote/path3.h7
3 files changed, 11 insertions, 4 deletions
diff --git a/Build/source/utils/asymptote/Makefile.in b/Build/source/utils/asymptote/Makefile.in
index 91613c1ff75..eba734e3710 100644
--- a/Build/source/utils/asymptote/Makefile.in
+++ b/Build/source/utils/asymptote/Makefile.in
@@ -96,6 +96,7 @@ asy.o: asy.rc asy.ico Makefile
all: asy man faq asy-keywords.el
+GCLIB_CHECK = $(MAKE) check
$(GCLIB): $(GC).tar.gz
gunzip -c $(GC).tar.gz > $(GC).tar
tar -xf $(GC).tar
@@ -108,7 +109,7 @@ $(GCLIB): $(GC).tar.gz
fi
cd $(GC); \
./configure $(GCOPTIONS); \
- $(MAKE) check
+ $(GCLIB_CHECK)
$(GCPPLIB): $(GCLIB)
diff --git a/Build/source/utils/asymptote/path.h b/Build/source/utils/asymptote/path.h
index 1b31408c4a1..95702bada05 100644
--- a/Build/source/utils/asymptote/path.h
+++ b/Build/source/utils/asymptote/path.h
@@ -450,7 +450,10 @@ extern const double third;
}
-// Delete the following line to work around problems with old broken compilers.
+// Do -DOMIT_SOLVEDKNOT_DECL to work around redefinition error reported by
+// old (broken) compilers.
+#ifndef BROKEN_COMPILER
GC_DECLARE_PTRFREE(camp::solvedKnot);
+#endif
#endif
diff --git a/Build/source/utils/asymptote/path3.h b/Build/source/utils/asymptote/path3.h
index 4c61b3065d4..872e19d72bd 100644
--- a/Build/source/utils/asymptote/path3.h
+++ b/Build/source/utils/asymptote/path3.h
@@ -380,7 +380,10 @@ double bound(triple *p, double (*m)(double, double),
int depth=maxdepth);
}
-// Delete the following line to work around problems with old broken compilers.
-GC_DECLARE_PTRFREE(camp::solvedKnot3);
+// Do -DOMIT_SOLVEDKNOT_DECL to work around redefinition error reported by
+// old (broken) compilers.
+#ifndef BROKEN_COMPILER
+GC_DECLARE_PTRFREE(camp::solvedKnot);
+#endif
#endif