configure: Avoid incorrectly cleaning up symlink targets when running in the source dir.

This commit is contained in:
Alexandre Julliard 2010-02-05 17:24:12 +01:00
parent f5af1ca399
commit 9acf1d18ce
2 changed files with 6 additions and 6 deletions

2
aclocal.m4 vendored
View File

@ -147,7 +147,7 @@ dnl
dnl Usage: WINE_CONFIG_SYMLINK(name,target)
dnl
AC_DEFUN([WINE_CONFIG_SYMLINK],[AC_CONFIG_LINKS([$1:]m4_default([$2],[$1]))dnl
ALL_SYMLINKS="$ALL_SYMLINKS \\
m4_if([$2],,[test "$srcdir" = "." || ])ALL_SYMLINKS="$ALL_SYMLINKS \\
$1"])
dnl **** Create a make rules file from config.status ****

10
configure vendored
View File

@ -13686,19 +13686,19 @@ ac_config_commands="$ac_config_commands include/stamp-h"
ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
ALL_SYMLINKS="$ALL_SYMLINKS \\
test "$srcdir" = "." || ALL_SYMLINKS="$ALL_SYMLINKS \\
dlls/wineps.drv/generic.ppd"
ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
ALL_SYMLINKS="$ALL_SYMLINKS \\
test "$srcdir" = "." || ALL_SYMLINKS="$ALL_SYMLINKS \\
fonts/marlett.ttf"
ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
ALL_SYMLINKS="$ALL_SYMLINKS \\
test "$srcdir" = "." || ALL_SYMLINKS="$ALL_SYMLINKS \\
fonts/symbol.ttf"
ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
ALL_SYMLINKS="$ALL_SYMLINKS \\
test "$srcdir" = "." || ALL_SYMLINKS="$ALL_SYMLINKS \\
fonts/tahoma.ttf"
ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
ALL_SYMLINKS="$ALL_SYMLINKS \\
test "$srcdir" = "." || ALL_SYMLINKS="$ALL_SYMLINKS \\
fonts/tahomabd.ttf"
ac_config_links="$ac_config_links wine:tools/winewrapper"
ALL_SYMLINKS="$ALL_SYMLINKS \\