[Commits] (markie) Add environment check for cygwin

commits at osafoundation.org commits at osafoundation.org
Thu Apr 29 14:57:52 PDT 2004


Commit by: markie
Modified files:
external/Makefile.inc 1.10 1.11

Log message:
Add environment check for cygwin


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/external/Makefile.inc.diff?r1=text&tr1=1.10&r2=text&tr2=1.11

Index: external/Makefile.inc
diff -u external/Makefile.inc:1.10 external/Makefile.inc:1.11
--- external/Makefile.inc:1.10	Sat Apr 24 12:32:41 2004
+++ external/Makefile.inc	Thu Apr 29 14:57:21 2004
@@ -77,6 +77,17 @@
         else \
             $(GCJ_HOME)/bin/gcj.exe --v; \
         fi
+	@if expr "$VS71COMNTOOLSx" = "x"  > /dev/null; then \
+		echo You do not have MSVS installed for this user; \
+            false; \
+     else \
+		echo "Setting your environment variables..."; \
+		. $(BUILD_ROOT)/cygenv.sh; \
+		echo "(after exiting cygenv.sh)"; \
+		echo PATH is $(PATH); \
+		echo INCLUDE is $(INCLUDE); \
+		echo LIB is $(LIB);\
+	fi
 else
 	@if [ ! -f $(GCJ_HOME)/bin/gcj ]; then \
             echo GCJ_HOME is incorrect; \



More information about the Commits mailing list