Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
52ec1feb
Commit
52ec1feb
authored
Aug 26, 2011
by
Jan Djärv
Browse files
* configure.in: Add -MP to DEPFLAGS.
Fixes: debbugs:9372
parent
16e07ee0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ChangeLog
ChangeLog
+4
-0
configure.in
configure.in
+2
-2
No files found.
ChangeLog
View file @
52ec1feb
2011-08-26 Jan Djärv <jan.h.d@swipnet.se>
* configure.in: Add -MP to DEPFLAGS (Bug#9372).
2011-08-13 Jan Djärv <jan.h.d@swipnet.se>
* configure.in: Add header check: sys/socket.h (Bug#8477),
...
...
configure.in
View file @
52ec1feb
...
...
@@ -1390,7 +1390,7 @@ if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then
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 @@ if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment