]> git.saurik.com Git - wxWidgets.git/commitdiff
Use -h instead of -L to test for link
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 17 Oct 2001 11:26:30 +0000 (11:26 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 17 Oct 2001 11:26:30 +0000 (11:26 +0000)
  -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
configure.in

index 5f1b4239396e638f21af2ebe07434a6795a8c2d0..209b26649dcd85a1f136ec90f8d08081c65a7f9f 100755 (executable)
--- a/configure
+++ b/configure
@@ -18753,7 +18753,7 @@ cat >> $CONFIG_STATUS <<EOF
 EOF
 cat >> $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
index 78dc933a865be677bdadd8839d1359b310c70a6a..ddc3bbe691dd3ad108ce816c77fbd905f872a665 100644 (file)
@@ -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