]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
don't move the file to itself in AC_OUTPUT, this allows to run config.status after...
[wxWidgets.git] / configure
index d2e5edc1a5d8910f71d7bc08110c8d50a07d0715..9361d3d29a1887696e475ab941ac5f24f604f087 100755 (executable)
--- a/configure
+++ b/configure
@@ -16443,9 +16443,11 @@ cat >> $CONFIG_STATUS <<EOF
 EOF
 cat >> $CONFIG_STATUS <<\EOF
 
-            chmod +x wx-config
-            mv wx-config wx${TOOLKIT_NAME}-config
-            ${LN_S} wx${TOOLKIT_NAME}-config wx-config
+                                    if test ! -f wx${TOOLKIT_NAME}-config; then
+                chmod +x wx-config
+                mv wx-config wx${TOOLKIT_NAME}-config
+                ${LN_S} wx${TOOLKIT_NAME}-config wx-config
+            fi
 
                         
             if test ! -d lib; then