Commit b822b841 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Check for Xpm headers and add /usr/local/lib to /etc/ld.so.conf if

necessary.
parent 982ebc63
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
# Mar 31 1999 - Ove Kven # Mar 31 1999 - Ove Kven
# First version # First version
# Dec 9 1999 - Ove Kven
# require Xpm
# Feb 25 2000 - Ove Kven
# auto-add /usr/local/lib to /etc/ld.so.conf
# defaults # defaults
...@@ -12,7 +16,7 @@ DOREG=yes ...@@ -12,7 +16,7 @@ DOREG=yes
# startup... # startup...
echo "WINE Installer v0.1" echo "WINE Installer v0.2"
echo echo
if ! [ -f configure ] if ! [ -f configure ]
then { then {
...@@ -47,6 +51,12 @@ else { ...@@ -47,6 +51,12 @@ else {
rm -f config.cache rm -f config.cache
exit 1 exit 1
} }
elif ! grep -qs "xpm_h=yes" config.cache
then {
echo "Install the Xpm development headers and try again."
rm -f config.cache
exit 1
}
fi fi
} }
fi fi
...@@ -87,6 +97,15 @@ else { ...@@ -87,6 +97,15 @@ else {
exit 1 exit 1
} }
fi fi
if [ -f /etc/ld.so.conf ] && ! grep -qs "/usr/local/lib" /etc/ld.so.conf
then {
echo
echo "/usr/local/lib didn't exist in your /etc/ld.so.conf, adding it now..."
echo /usr/local/lib >>/etc/ld.so.conf
echo "Re-running ldconfig..."
ldconfig
}
fi
} }
fi fi
echo echo
...@@ -160,8 +179,10 @@ then { ...@@ -160,8 +179,10 @@ then {
then { then {
echo echo
echo "Registry install failed. Perhaps you weren't running X." echo "Registry install failed. Perhaps you weren't running X."
exit 1
} }
fi fi
# FIXME: perhaps install registry to $sysconfdir/winesystem.reg and $sysconfdir/wineuser.reg?
} }
fi fi
echo echo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment