[MLton-commit] r4842
Matthew Fluet
fluet at mlton.org
Sun Nov 19 12:03:10 PST 2006
MacPorts installs GNU sed as 'gnused'
----------------------------------------------------------------------
U mlton/trunk/bin/mmake
U mlton/trunk/bin/msed
----------------------------------------------------------------------
Modified: mlton/trunk/bin/mmake
===================================================================
--- mlton/trunk/bin/mmake 2006-11-19 19:56:24 UTC (rev 4841)
+++ mlton/trunk/bin/mmake 2006-11-19 20:03:10 UTC (rev 4842)
@@ -9,6 +9,8 @@
if gmake -v >/dev/null 2>&1; then
make='gmake'
+elif gnumake -v >/dev/null 2>&1; then
+ make='gnumake'
elif make -v 2>&1 | grep -q GNU; then
make=`which make`
else
Modified: mlton/trunk/bin/msed
===================================================================
--- mlton/trunk/bin/msed 2006-11-19 19:56:24 UTC (rev 4841)
+++ mlton/trunk/bin/msed 2006-11-19 20:03:10 UTC (rev 4842)
@@ -9,6 +9,8 @@
if gsed --version >/dev/null 2>&1; then
sed='gsed'
+elif gnused --version >/dev/null 2>&1; then
+ sed='gnused'
elif sed --version 2>&1 | grep -q GNU; then
sed=`which sed`
else
More information about the MLton-commit
mailing list