emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105574: * configure.in: Add -MP to D


From: Jan D.
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105574: * configure.in: Add -MP to DEPFLAGS.
Date: Fri, 26 Aug 2011 09:12:16 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105574
fixes bug(s): http://debbugs.gnu.org/9372
committer: Jan D. <address@hidden>
branch nick: trunk
timestamp: Fri 2011-08-26 09:12:16 +0200
message:
  * configure.in: Add -MP to DEPFLAGS.
modified:
  ChangeLog
  configure.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2011-08-24 07:31:56 +0000
+++ b/ChangeLog 2011-08-26 07:12:16 +0000
@@ -1,3 +1,7 @@
+2011-08-26  Jan Djärv  <address@hidden>
+
+       * configure.in: Add -MP to DEPFLAGS (Bug#9372).
+
 2011-08-13  Jan Djärv  <address@hidden>
 
        * configure.in: Add header check: sys/socket.h (Bug#8477),

=== modified file 'configure.in'
--- a/configure.in      2011-08-24 07:31:56 +0000
+++ b/configure.in      2011-08-26 07:12:16 +0000
@@ -1390,7 +1390,7 @@
    if test $HAVE_GNU_MAKE = yes; then
       AC_MSG_CHECKING([whether gcc understands -MMD -MF])
       SAVE_CFLAGS="$CFLAGS"
-      CFLAGS="$CFLAGS -MMD -MF deps.d"
+      CFLAGS="$CFLAGS -MMD -MF deps.d -MP"
       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], , 
ac_enable_autodepend=no)
       CFLAGS="$SAVE_CFLAGS"
       test -f deps.d || ac_enable_autodepend=no
@@ -1398,7 +1398,7 @@
       AC_MSG_RESULT([$ac_enable_autodepend])
    fi
    if test $ac_enable_autodepend = yes; then
-      DEPFLAGS='-MMD -MF ${DEPDIR}/$*.d'
+      DEPFLAGS='-MMD -MF ${DEPDIR}/$*.d -MP'
       ## In parallel builds, another make might create depdir between
       ## the first test and mkdir, so stick another test on the end.
       ## Or use install-sh -d?  mkdir -p is not portable.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]