From 652d930d65ff54c868461e2f0575be70c005d51d Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Wed, 17 Oct 2001 11:26:30 +0000 Subject: [PATCH] Use -h instead of -L to test for link -h is documented as obsolete under Mac OS X but works -L is obsolete under Solaris8 Will need to fix this when -h no longer works under Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure | 2 +- configure.in | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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