diff --git a/configure b/configure index 5f1b423939..209b26649d 100755 --- a/configure +++ b/configure @@ -18753,7 +18753,7 @@ cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF - if test ! -L wx-config; then + if test ! -h wx-config; then chmod +x wx-config mv wx-config wx${TOOLCHAIN_NAME}-config ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config diff --git a/configure.in b/configure.in index 78dc933a86..ddc3bbe691 100644 --- a/configure.in +++ b/configure.in @@ -4643,7 +4643,10 @@ AC_OUTPUT([ dnl Otherwise running config.status or rerunning configure dnl would stomp the wx-config link or try to move it onto dnl itself. - if test ! -L wx-config; then + dnl Use -h instead of -L to test for link (GD) + dnl -h is documented as obsolete under Mac OS X but works + dnl -L is obsolete under Solaris8 + if test ! -h wx-config; then chmod +x wx-config mv wx-config wx${TOOLCHAIN_NAME}-config ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config