[Snow-users-list] [PATCH] Scheme detection

Marijn Schouten (hkBst) hkBst at gentoo.org
Sun May 18 07:44:38 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list, Eli,

the following patch is needed to detect Gambit, MzScheme and RScheme on my system. On
Gentoo I've renamed the Gambit Compiler executable to gambit-compiler until upstream
decides on a name that doesn't conflict with ghostscript. Further:

$ rs
RScheme (v0.7.3.4-b7u, 2007-05-30)

$ mzscheme -qv
Welcome to MzScheme v372 [3m], Copyright (c) 2004-2007 PLT Scheme Inc.


- --- configure.old       2008-05-18 13:32:25.000000000 +0200
+++ configure   2008-05-18 13:32:25.000000000 +0200
@@ -242,7 +242,7 @@
~     t "$sym" -flags "-:d-" -input ",q" -rx "Gambit v???"  -vrx "[0-9][0-9A-Za-z.+]*\(
beta [0-9][0-9]*\)*" "$@"
~   }
~   t_gambit      -exe "gsi"
- -  t_gambit comp -exe "gambit-gsc"
+  t_gambit comp -exe "gambit-compiler"
~   t_gambit comp -exe "gsc"

~   t gauche -exe "gosh" -flags "-V" -rx "[Vv]ersion ???"
@@ -267,11 +267,11 @@
~   t_mit "mit-scheme"
~   t_mit "scheme"

- -  t mzscheme -label "MzScheme" -flags "-qv" -rx "[Vv]ersion ???,"
+  t mzscheme -label "MzScheme" -flags "-qv" -rx "Welcome to MzScheme v???" -vrx "[0-9]*"

~   t petite -label "Petite Chez Scheme" -rx "[Vv]ersion ???"

- -  t rscheme -exe "rs" -rx "RScheme (v???,"
+  t rscheme -exe "rs" -rx "RScheme (v???," -vrx "[0-9][0-9A-Za-z.]*\(-b[0-9]u\)*"

~   t scheme48 -input ",exit" -rx "[Ss]cheme 48 ???"


Marijn

- --
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgwFqUACgkQp/VmCx0OL2zezwCfWY354tm8y/u+aElS1HgaAve3
vFUAnAsbkfUZ5Rm12awRMm9VZUoH3lSA
=HMVo
-----END PGP SIGNATURE-----


More information about the Snow-users-list mailing list