Make the choice of "makedepend" program choosable through a switch.
authorRichard Levitte <levitte@openssl.org>
Mon, 19 Feb 2001 12:51:14 +0000 (12:51 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 19 Feb 2001 12:51:14 +0000 (12:51 +0000)
util/domd

index 23b7dcbade97b50d7f1cd33ef8418b0f66548267..26dbebf82642ab9301150d3285d9b87a23018ca1 100755 (executable)
--- a/util/domd
+++ b/util/domd
@@ -4,8 +4,11 @@
 
 TOP=$1
 shift
-MAKEDEPEND=$1
-shift
+if [ "$1" = "-MD" ]; then
+    shift
+    MAKEDEPEND=$1
+    shift
+fi
 if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi
 
 cp Makefile.ssl Makefile.save