fix for configure under Solaris (don't use unportable test -L)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-06-23 16:20:03 +00:00
parent 1db61f2fa6
commit 6ef415205f
2 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@@ -16443,7 +16443,7 @@ cat >> $CONFIG_STATUS <<EOF
EOF EOF
cat >> $CONFIG_STATUS <<\EOF cat >> $CONFIG_STATUS <<\EOF
if test ! -L wx-config; then if test ! -f wx${TOOLKIT_NAME}-config; then
chmod +x wx-config chmod +x wx-config
mv wx-config wx${TOOLKIT_NAME}-config mv wx-config wx${TOOLKIT_NAME}-config
${LN_S} wx${TOOLKIT_NAME}-config wx-config ${LN_S} wx${TOOLKIT_NAME}-config wx-config

View File

@@ -4294,8 +4294,8 @@ AC_OUTPUT([
[ [
dnl don't move the file on itself - this happens when we run dnl don't move the file on itself - this happens when we run
dnl config.status which, as configure, executes these commands dnl config.status which, as configure, executes these commands
dnl but, unlike it, doesn't create wx-config dnl but, unlike it, doesn't create wx-config (which already
if test ! -L wx-config; then if test ! -f wx${TOOLKIT_NAME}-config; then
chmod +x wx-config chmod +x wx-config
mv wx-config wx${TOOLKIT_NAME}-config mv wx-config wx${TOOLKIT_NAME}-config
${LN_S} wx${TOOLKIT_NAME}-config wx-config ${LN_S} wx${TOOLKIT_NAME}-config wx-config