*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@665 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-14 16:16:45 +00:00
parent de79b039a5
commit 09032f392c
2 changed files with 42 additions and 14 deletions
+21 -7
View File
@@ -14,11 +14,10 @@ MACHINE_NAME=`uname -m`
case ${SYSTEM_NAME} in
Linux)
SYSTEM_PREFIX=
SYSTEM_PREFIX=linux_
;;
*)
echo "Your operating system does not have a pre-compiled Cube client."
exit 1
SYSTEM_PREFIX=native_
;;
esac
@@ -27,11 +26,26 @@ i486|i586|i686)
MACHINE_PREFIX=
;;
*)
echo "Your processor does not have a pre-compiled Cube client."
exit 1
MACHINE_PREFIX=
;;
esac
cd ${CUBE_DIR}
exec ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}ac_client $*
if test -x ${CUBE_DIR}/bin_unix/native_client
then
SYSTEM_PREFIX=native_
MACHINE_PREFIX=
fi
if test -x ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}client
then
cd ${CUBE_DIR}
exec ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}client $*
else
echo "Your processor does not have a pre-compiled Cube client."
echo "Please follow the following steps to build a native client:"
echo "1) Ensure you have the SDL, SDL-image, SDL-mixer, and OpenGL libraries installed."
echo "2) Change directory to source/src/ and type \"make install\"."
echo "3) If the build succeeds, return to this directory and run this script again."
exit 1
fi
+21 -7
View File
@@ -14,11 +14,10 @@ MACHINE_NAME=`uname -m`
case ${SYSTEM_NAME} in
Linux)
SYSTEM_PREFIX=
SYSTEM_PREFIX=linux_
;;
*)
echo "Your operating system does not have a pre-compiled Cube server."
exit 1
SYSTEM_PREFIX=native_
;;
esac
@@ -27,11 +26,26 @@ i486|i586|i686)
MACHINE_PREFIX=
;;
*)
echo "Your processor does not have a pre-compiled Cube server."
exit 1
MACHINE_PREFIX=
;;
esac
cd ${CUBE_DIR}
exec ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}ac_server $*
if test -x ${CUBE_DIR}/bin_unix/native_server
then
SYSTEM_PREFIX=native_
MACHINE_PREFIX=
fi
if test -x ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}server
then
cd ${CUBE_DIR}
exec ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}server $*
else
echo "Your processor does not have a pre-compiled Cube server."
echo "Please follow the following steps to build a native server:"
echo "1) Ensure you have the SDL, SDL-image, SDL-mixer, and OpenGL libraries installed."
echo "2) Change directory to source/src/ and type \"make install\"."
echo "3) If the build succeeds, return to this directory and run this script again."
exit 1
fi