]> git.saurik.com Git - wxWidgets.git/commitdiff
wx-config symlink creation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 22 Jul 2004 07:43:05 +0000 (07:43 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 22 Jul 2004 07:43:05 +0000 (07:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 92e3ecea5d58bb955cd590f900094d858979e9c1..d309658b2fd40d7524a2c746fa66966560f5363a 100755 (executable)
--- a/configure
+++ b/configure
@@ -42870,7 +42870,9 @@ echo "$as_me: executing $ac_dest commands" >&6;}
             if test -f wx-config; then
                 chmod +x wx-config
                 mv -f wx-config lib/wx/config/${WXCONFIG_DATA_FILE}
-                ( cd lib/wx/config ; ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
+                ( cd lib/wx/config ;
+                  rm -f ${TOOLCHAIN_NAME}
+                  ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
                 rm -f wx${TOOLCHAIN_NAME}-config
                 ${LN_S} wx-config wx${TOOLCHAIN_NAME}-config
             fi
index 9d40bf52bd83573c13fc0ecd290f00067f363ff7..94f7a16e151925fabadf9e7d200c4be8f9d36331 100644 (file)
@@ -6305,7 +6305,9 @@ AC_CONFIG_COMMANDS([default],
             if test -f wx-config; then
                 chmod +x wx-config
                 mv -f wx-config lib/wx/config/${WXCONFIG_DATA_FILE}
-                ( cd lib/wx/config ; ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
+                ( cd lib/wx/config ; 
+                  rm -f ${TOOLCHAIN_NAME}
+                  ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
                 rm -f wx${TOOLCHAIN_NAME}-config
                 ${LN_S} wx-config wx${TOOLCHAIN_NAME}-config
             fi