Module: wine Branch: master Commit: 6ff553d36f29cd2615164f396e31359b90c3eaee URL: http://source.winehq.org/git/wine.git/?a=commit;h=6ff553d36f29cd2615164f396e...
Author: Alexandre Julliard julliard@winehq.org Date: Sat Nov 23 15:41:15 2013 +0100
configure: Add a rule to prevent rebuilding makedep when tools are disabled.
---
configure | 3 +++ configure.ac | 4 ++++ 2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/configure b/configure index 17e8af6..8556682 100755 --- a/configure +++ b/configure @@ -17524,6 +17524,9 @@ then $(CC) -Iinclude -I$srcdir/include $(ALLCFLAGS) -o $@ $srcdir/tools/makedep.c $(LDFLAGS) clean:: __clean__ $(RM) tools/makedep$ac_exeext" +else + wine_fn_append_rule "$(MAKEDEP): + @echo "You need to run make in $TOOLSDIR first" && false" fi
if test -n "$with_wine64" diff --git a/configure.ac b/configure.ac index 98a73f2..faadbef 100644 --- a/configure.ac +++ b/configure.ac @@ -3525,6 +3525,10 @@ then $(CC) -Iinclude -I$srcdir/include $(ALLCFLAGS) -o $@ $srcdir/tools/makedep.c $(LDFLAGS) clean:: __clean__ $(RM) tools/makedep$ac_exeext]) +else + WINE_APPEND_RULE( +[$(MAKEDEP): + @echo "You need to run make in $TOOLSDIR first" && false]) fi
if test -n "$with_wine64"