aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2011-08-26 09:12:16 +0200
committerJan Djärv2011-08-26 09:12:16 +0200
commit52ec1febdd45af74ee71bc42b2ebd74fabc73ed8 (patch)
treee707ff55e8526f5f70671212d15ecf3f8e041881
parent16e07ee0c37e8487937e3709c23a116119926b2b (diff)
downloademacs-52ec1febdd45af74ee71bc42b2ebd74fabc73ed8.tar.gz
emacs-52ec1febdd45af74ee71bc42b2ebd74fabc73ed8.zip
* configure.in: Add -MP to DEPFLAGS.
Fixes: debbugs:9372
-rw-r--r--ChangeLog4
-rw-r--r--configure.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 55deca05751..dd803790093 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12011-08-26 Jan Djärv <jan.h.d@swipnet.se>
2
3 * configure.in: Add -MP to DEPFLAGS (Bug#9372).
4
12011-08-13 Jan Djärv <jan.h.d@swipnet.se> 52011-08-13 Jan Djärv <jan.h.d@swipnet.se>
2 6
3 * configure.in: Add header check: sys/socket.h (Bug#8477), 7 * configure.in: Add header check: sys/socket.h (Bug#8477),
diff --git a/configure.in b/configure.in
index cfb9dc8bab2..f62f364715f 100644
--- a/configure.in
+++ b/configure.in
@@ -1390,7 +1390,7 @@ if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then
1390 if test $HAVE_GNU_MAKE = yes; then 1390 if test $HAVE_GNU_MAKE = yes; then
1391 AC_MSG_CHECKING([whether gcc understands -MMD -MF]) 1391 AC_MSG_CHECKING([whether gcc understands -MMD -MF])
1392 SAVE_CFLAGS="$CFLAGS" 1392 SAVE_CFLAGS="$CFLAGS"
1393 CFLAGS="$CFLAGS -MMD -MF deps.d" 1393 CFLAGS="$CFLAGS -MMD -MF deps.d -MP"
1394 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], , ac_enable_autodepend=no) 1394 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], , ac_enable_autodepend=no)
1395 CFLAGS="$SAVE_CFLAGS" 1395 CFLAGS="$SAVE_CFLAGS"
1396 test -f deps.d || ac_enable_autodepend=no 1396 test -f deps.d || ac_enable_autodepend=no
@@ -1398,7 +1398,7 @@ if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then
1398 AC_MSG_RESULT([$ac_enable_autodepend]) 1398 AC_MSG_RESULT([$ac_enable_autodepend])
1399 fi 1399 fi
1400 if test $ac_enable_autodepend = yes; then 1400 if test $ac_enable_autodepend = yes; then
1401 DEPFLAGS='-MMD -MF ${DEPDIR}/$*.d' 1401 DEPFLAGS='-MMD -MF ${DEPDIR}/$*.d -MP'
1402 ## In parallel builds, another make might create depdir between 1402 ## In parallel builds, another make might create depdir between
1403 ## the first test and mkdir, so stick another test on the end. 1403 ## the first test and mkdir, so stick another test on the end.
1404 ## Or use install-sh -d? mkdir -p is not portable. 1404 ## Or use install-sh -d? mkdir -p is not portable.