From 6ff553d36f29cd2615164f396e31359b90c3eaee Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sat, 23 Nov 2013 15:41:15 +0100 Subject: [PATCH] configure: Add a rule to prevent rebuilding makedep when tools are disabled. --- configure | 3 +++ configure.ac | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/configure b/configure index 17e8af6cf1e..855668255b1 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 98a73f2521d..faadbef23c1 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"