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 23b7dcb..26dbebf 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