You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2007/05/10 17:56:07 UTC

svn commit: r536898 - /incubator/stdcxx/trunk/etc/config/eccp.config

Author: sebor
Date: Thu May 10 08:56:06 2007
New Revision: 536898

URL: http://svn.apache.org/viewvc?view=rev&rev=536898
Log:
2007-05-10  Martin Sebor  <se...@roguewave.com>

	STDCXX-409
	* eccp.config (BUILDDIR): Set to the CWD if not defined on the command
	line to avoid setting the template directory to a bogus directory.

Modified:
    incubator/stdcxx/trunk/etc/config/eccp.config

Modified: incubator/stdcxx/trunk/etc/config/eccp.config
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/eccp.config?view=diff&rev=536898&r1=536897&r2=536898
==============================================================================
--- incubator/stdcxx/trunk/etc/config/eccp.config (original)
+++ incubator/stdcxx/trunk/etc/config/eccp.config Thu May 10 08:56:06 2007
@@ -10,6 +10,11 @@
 ECCP_MAJOR     := $(shell echo "$(CCVER)" | sed -n "s/^\([^\.]*\).*/\1/p")
 ECCP_MINOR     := $(shell echo "$(CCVER)" | sed -n "s/^.*\.\([0-9]*\).*/\1/p")
 
+ifeq ($(BUILDDIR),)
+    # set to the CWD when not defined
+    BUILDDIR=$(shell pwd)/build
+endif
+
 ifeq ($(ECCP_MAJOR),2)
     CPPFLAGS        = -I$(TOPDIR)/include/ansi --incl_suffixes ::
     CXXFLAGS        = -A -B -x