diff --git a/configure b/configure index 48188bc9cd..2c20ae7d22 100755 --- a/configure +++ b/configure @@ -16443,7 +16443,7 @@ cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF - if test ! -L wx-config; then + 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 diff --git a/configure.in b/configure.in index e58f95be1b..13cf15da31 100644 --- a/configure.in +++ b/configure.in @@ -4294,8 +4294,8 @@ AC_OUTPUT([ [ dnl don't move the file on itself - this happens when we run dnl config.status which, as configure, executes these commands - dnl but, unlike it, doesn't create wx-config - if test ! -L wx-config; then + dnl but, unlike it, doesn't create wx-config (which already + 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