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
This commit is contained in:
parent
8082483b70
commit
652d930d65
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user