@@ -1623,29 +1623,34 @@ install-win-bundle-thirdparty:
16231623 if test -n " $$ ARCH" ; then export ARCH ; fi ; \
16241624 DESTDIR=' $(DESTDIR)' ; export DESTDIR ; \
16251625 ( cd ' $(DESTDIR)' || exit ; \
1626- GREP=$(GREP ) ' EGREP=' $(EGREP ) ' \
1626+ GREP=' $(GREP)' EGREP=' $(EGREP)' \
16271627 DESTDIR=" " ' $(abs_top_srcdir)/scripts/Windows/dllldd.sh' dllldddir . \
16281628 | while read D ; do \
1629+ BD=" ` basename \" $$ D\" ` " ; \
1630+ if test -e ' ./$(bindir)/' " $$ BD" && diff ' ./$(bindir)/' " $$ BD" " $$ D" 2> /dev/null > /dev/null ; then \
1631+ echo " DLL->bin $$ D : skip (already installed there)" 2>&1 ; \
1632+ continue ; \
1633+ fi ; \
16291634 echo " DLL->bin $$ D" 2>&1 ; \
16301635 cp -pf " $$ D" ' ./$(bindir)/' ; \
16311636 done ; \
16321637 ) || exit ; \
16331638 ( if test x" $( bindir) " = x" $( sbindir) " ; then exit 0 ; fi ; \
16341639 cd ' $(DESTDIR)/$(sbindir)' || exit ; \
1635- GREP=$(GREP ) ' EGREP=' $(EGREP ) ' \
1640+ GREP=' $(GREP)' EGREP=' $(EGREP)' \
16361641 ' $(abs_top_srcdir)/scripts/Windows/dllldd.sh' dllldddir . \
16371642 | while read D ; do \
1638- echo " DLL->sbin $$ D" 2>&1 ; \
1643+ echo " DLL->sbin $$ D (symlink from bindir) " 2>&1 ; \
16391644 ln -f ' $(DESTDIR)/$(bindir)' /" ` basename \" $$ D\" ` " ./ ; \
16401645 done ; \
16411646 ) || exit ; \
16421647 ( if test x" $( driverexecdir) " = x" $( bindir) " ; then exit 0 ; fi ; \
16431648 if test x" $( driverexecdir) " = x" $( sbindir) " ; then exit 0 ; fi ; \
16441649 cd ' $(DESTDIR)/$(driverexecdir)' || exit ; \
1645- GREP=$(GREP ) ' EGREP=' $(EGREP ) ' \
1650+ GREP=' $(GREP)' EGREP=' $(EGREP)' \
16461651 ' $(abs_top_srcdir)/scripts/Windows/dllldd.sh' dllldddir . \
16471652 | while read D ; do \
1648- echo " DLL->drv $$ D" 2>&1 ; \
1653+ echo " DLL->drv $$ D (symlink from bindir) " 2>&1 ; \
16491654 ln -f ' $(DESTDIR)/$(bindir)' /" ` basename \" $$ D\" ` " ./ ; \
16501655 done ; \
16511656 ) || exit ; \
@@ -1654,10 +1659,10 @@ install-win-bundle-thirdparty:
16541659 if test x" $( cgiexecdir) " = x" $( sbindir) " ; then exit 0 ; fi ; \
16551660 if test x" $( driverexecdir) " = x" $( cgiexecdir) " ; then exit 0 ; fi ; \
16561661 cd ' $(DESTDIR)/$(cgiexecdir)' || exit ; \
1657- GREP=$(GREP ) ' EGREP=' $(EGREP ) ' \
1662+ GREP=' $(GREP)' EGREP=' $(EGREP)' \
16581663 ' $(abs_top_srcdir)/scripts/Windows/dllldd.sh' dllldddir . \
16591664 | while read D ; do \
1660- echo " DLL->cgi $$ D" 2>&1 ; \
1665+ echo " DLL->cgi $$ D (symlink from bindir) " 2>&1 ; \
16611666 ln -f ' $(DESTDIR)/$(bindir)' /" ` basename \" $$ D\" ` " ./ ; \
16621667 done ; \
16631668 ) || exit ; \
@@ -1666,10 +1671,10 @@ install-win-bundle-thirdparty:
16661671 if test x" $( libexecdir) " = x" $( driverexecdir) " ; then exit 0 ; fi ; \
16671672 if test x" $( libexecdir) " = x" $( cgiexecdir) " ; then exit 0 ; fi ; \
16681673 cd ' $(DESTDIR)/$(libexecdir)' || exit ; \
1669- GREP=$(GREP ) ' EGREP=' $(EGREP ) ' \
1674+ GREP=' $(GREP)' EGREP=' $(EGREP)' \
16701675 ' $(abs_top_srcdir)/scripts/Windows/dllldd.sh' dllldddir . \
16711676 | while read D ; do \
1672- echo " DLL->libexec $$ D" 2>&1 ; \
1677+ echo " DLL->libexec $$ D (symlink from bindir) " 2>&1 ; \
16731678 ln -f ' $(DESTDIR)/$(bindir)' /" ` basename \" $$ D\" ` " ./ ; \
16741679 done ; \
16751680 ) || exit
0 commit comments