configure: Don't create makefiles in directories that are symlinks in a Wow64 build.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2016-03-07 16:26:42 +09:00
parent eee837e931
commit c6d6dcee47
3 changed files with 13 additions and 6 deletions

4
aclocal.m4 vendored
View file

@ -299,6 +299,10 @@ wine_fn_config_makefile ()
ac_enable=$[2]
ac_flags=$[3]
case $ac_dir in
dnl These are created as symlinks for wow64 builds
fonts|server) test -z "$with_wine64" || return ;;
esac
AS_VAR_IF([$ac_enable],[no],[wine_fn_disabled_rules; return])
wine_fn_all_rules
wine_fn_install_rules

9
configure vendored
View file

@ -7511,6 +7511,9 @@ wine_fn_config_makefile ()
ac_enable=$2
ac_flags=$3
case $ac_dir in
fonts|server) test -z "$with_wine64" || return ;;
esac
if eval test \"x\$"$ac_enable"\" = x"no"; then :
wine_fn_disabled_rules; return
fi
@ -18263,15 +18266,15 @@ fi
if test -n "$with_wine64"
then
wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
fonts server tools:
wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
fonts server:
\$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
$with_wine64/loader/wine:
\$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
$with_wine64/loader/wine-preloader:
\$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
clean::
\$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
\$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
else
WINELOADER_INSTALL="wine.inf"

View file

@ -3596,15 +3596,15 @@ fi
if test -n "$with_wine64"
then
WINE_APPEND_RULE(
[all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
fonts server tools:
[all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
fonts server:
\$(RM) \$[@] && \$(LN_S) $with_wine64/\$[@] \$[@]
$with_wine64/loader/wine:
\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine \$[@]
$with_wine64/loader/wine-preloader:
\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine-preloader \$[@]
clean::
\$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader])
\$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader])
else
AC_SUBST(WINELOADER_INSTALL,"wine.inf")
WINE_APPEND_RULE(