Commit 13fef465 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

When checking programs exists, check prog.exe too

parent 476e8ef5
...@@ -91,15 +91,15 @@ ifeq "$(HP2PS_ABS)" "" ...@@ -91,15 +91,15 @@ ifeq "$(HP2PS_ABS)" ""
HP2PS_ABS := $(dir $(TEST_HC))/hp2ps HP2PS_ABS := $(dir $(TEST_HC))/hp2ps
endif endif
ifeq "$(wildcard $(TEST_HC))" "" ifeq "$(wildcard $(TEST_HC) $(TEST_HC).exe)" ""
$(error Cannot find ghc: $(TEST_HC)) $(error Cannot find ghc: $(TEST_HC))
endif endif
ifeq "$(wildcard $(GHC_PKG))" "" ifeq "$(wildcard $(GHC_PKG) $(GHC_PKG).exe)" ""
$(error Cannot find ghc-pkg: $(GHC_PKG)) $(error Cannot find ghc-pkg: $(GHC_PKG))
endif endif
ifeq "$(wildcard $(HP2PS_ABS))" "" ifeq "$(wildcard $(HP2PS_ABS) $(HP2PS_ABS).exe)" ""
$(error Cannot find hp2ps: $(HP2PS_ABS)) $(error Cannot find hp2ps: $(HP2PS_ABS))
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment