fixed symlinks creation on platforms where ln -s is cp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-07-22 19:24:53 +00:00
parent 83f98b0d1d
commit b3de4970ca
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@@ -42859,12 +42859,12 @@ echo "$as_me: executing $ac_dest commands" >&6;}
( cd lib/wx/config ; ( cd lib/wx/config ;
rm -f ${TOOLCHAIN_NAME} rm -f ${TOOLCHAIN_NAME}
${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} ) ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
rm -f wx${TOOLCHAIN_NAME}-config
${LN_S} wx-config wx${TOOLCHAIN_NAME}-config
fi fi
if test -f wx-config-wrapper; then if test -f wx-config-wrapper; then
chmod +x wx-config-wrapper chmod +x wx-config-wrapper
mv -f wx-config-wrapper wx-config mv -f wx-config-wrapper wx-config
rm -f wx${TOOLCHAIN_NAME}-config
${LN_S} wx-config wx${TOOLCHAIN_NAME}-config
fi fi
;; ;;
esac esac

View File

@@ -6295,12 +6295,12 @@ AC_CONFIG_COMMANDS([default],
( cd lib/wx/config ; ( cd lib/wx/config ;
rm -f ${TOOLCHAIN_NAME} rm -f ${TOOLCHAIN_NAME}
${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} ) ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
rm -f wx${TOOLCHAIN_NAME}-config
${LN_S} wx-config wx${TOOLCHAIN_NAME}-config
fi fi
if test -f wx-config-wrapper; then if test -f wx-config-wrapper; then
chmod +x wx-config-wrapper chmod +x wx-config-wrapper
mv -f wx-config-wrapper wx-config mv -f wx-config-wrapper wx-config
rm -f wx${TOOLCHAIN_NAME}-config
${LN_S} wx-config wx${TOOLCHAIN_NAME}-config
fi fi
], ],
[ [