diff --git a/aclocal.m4 b/aclocal.m4 index 0062982096b..14cf916e9a6 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -179,6 +179,8 @@ wine_fn_all_dir_rules () then dnl makedep is in tools so tools makefile cannot depend on it ac_alldeps="$[2] $ac_makedep" + else + ac_alldeps="$[2] include/config.h" fi case $[2] in *.in) ac_input=$ac_input:$[2] ;; diff --git a/configure b/configure index 99efc84dd82..2da54779495 100755 --- a/configure +++ b/configure @@ -14842,6 +14842,8 @@ wine_fn_all_dir_rules () if test $ac_dir != tools then ac_alldeps="$2 $ac_makedep" + else + ac_alldeps="$2 include/config.h" fi case $2 in *.in) ac_input=$ac_input:$2 ;;