Back out Bug 450717
authorGinn Chen <ginn.chen@sun.com>
Mon, 08 Sep 2008 15:19:23 +0800
changeset 18950 6c2c634949be89437fdd76a7c62cf43fff015200
parent 18949 8d748ca9fec99cdbeb844bb89d63c4a34cfe2fc1
child 18951 a96364d5b84e9d745db2054e70144f73ab1d2c11
push idunknown
push userunknown
push dateunknown
bugs450717
milestone1.9.1b1pre
Back out Bug 450717
configure.in
--- a/configure.in
+++ b/configure.in
@@ -7113,19 +7113,19 @@ MOZ_ARG_DISABLE_BOOL(md,
    fi
   dnl Default is to use -xM if using Sun Studio on Solaris
    if test -z "$GNU_CC" && test -z "$GNU_CXX" && test "$OS_ARCH" = "SunOS"; then
      _cpp_md_flag=1
    fi])
 if test "$_cpp_md_flag"; then
   COMPILER_DEPEND=1
   if test "$OS_ARCH" = "OpenVMS"; then
-    _DEPEND_CFLAGS='$(subst =, ,$(filter-out %/.pp,-MM=-MD=-MF=$(MDDEPDIR)/$(basename $(@F)).pp))'
+    _DEPEND_CFLAGS='$(subst =, ,$(filter-out %/.pp,-MM=-MD=-MF=$(MDDEPDIR)/$(*F).pp))'
   else
-    _DEPEND_CFLAGS='$(filter-out %/.pp,-Wp,-MD,$(MDDEPDIR)/$(basename $(@F)).pp)'
+    _DEPEND_CFLAGS='$(filter-out %/.pp,-Wp,-MD,$(MDDEPDIR)/$(*F).pp)'
   fi
   dnl Sun Studio on Solaris use -xM instead of -MD, see config/rules.mk
   if test -z "$GNU_CC" && test -z "$GNU_CXX" && test "$OS_ARCH" = "SunOS"; then
     _DEPEND_CFLAGS=
   fi
 else
   COMPILER_DEPEND=
   _USE_CPP_INCLUDE_FLAG=