lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disallow metapost versions 1.504 < x < 1.803. (issue 13413046)


From: julien . rioux
Subject: Disallow metapost versions 1.504 < x < 1.803. (issue 13413046)
Date: Wed, 11 Sep 2013 10:01:05 +0000

Reviewers: dak, lemzwerg,

Message:
Please review.

Description:
Disallow metapost versions 1.504 < x < 1.803.

Add a check in ./configure to avoid these buggy
versions of metapost:

1.504 < mpost --version < 1.803

Fixes issue 3539:
Configure should forbid mpost 1.802 from TexLive 2013
http://code.google.com/p/lilypond/issues/detail?id=3539

Please review this at https://codereview.appspot.com/13413046/

Affected files (+8, -0 lines):
  M aclocal.m4


Index: aclocal.m4
diff --git a/aclocal.m4 b/aclocal.m4
index 87d8474316adf7dced50154d180d117ff572ac0a..8c03fcc196e45944256ec47ecbe7cf0900d8b0df 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1167,6 +1167,14 @@ AC_DEFUN(STEPMAKE_TEXMF_DIRS, [
 AC_DEFUN(STEPMAKE_TEXMF, [
     STEPMAKE_PROGS(METAFONT, mf-nowin mf mfw mfont, $1)
     STEPMAKE_PROGS(METAPOST, mpost, $1)
+    if test "$METAPOST" != ""; then
+       ver=`STEPMAKE_GET_VERSION($METAPOST)`
+       num=`STEPMAKE_NUMERIC_VERSION($ver)`
+       # Avoid buggy metapost versions: 1.504 < x < 1.803
+       if test "$num" -gt "1504000" -a "$num" -lt "1803000"; then
+ STEPMAKE_ADD_ENTRY($1, ["mpost (due to a bug in metapost, versions 1.504 < x < 1.803 are not supported; installed: $ver)"])
+       fi
+    fi

     AC_MSG_CHECKING(for working metafont mode)
     modelist='ljfour lj4 lj3 lj2 ljet laserjet'





reply via email to

[Prev in Thread] Current Thread [Next in Thread]