Backport to Glide 2

Most games were using Glide 2, meaning there is more wrappers for Glide
2 available than for Glide 3. In particular, it seems there is no open
source Glide 3 wrapper.

FossilOrigin-Name: 16bb6bc399e5b4db4f5117199f6b534231c42072555575b70f40795651805648
This commit is contained in:
Jonathan Schleifer 2023-01-10 01:12:33 +00:00
parent c322610fe4
commit 4ea8389306
10 changed files with 255 additions and 543 deletions

View file

@ -69,14 +69,14 @@ AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [
AC_SUBST(LIBOBJ3DENGINE_DEP, "../src/libobj3dengine.a")
])
AC_CHECK_LIB(glide3x, main, [
LIBS="-lglide3x $LIBS"
AC_CHECK_LIB(glide2x, main, [
LIBS="-lglide2x $LIBS"
AC_CHECK_HEADER(glide.h, [], [
AC_MSG_ERROR([glide.h not found. Please install Glide 3 SDK!])
AC_MSG_ERROR([glide.h not found. Please install Glide 2 SDK!])
])
], [
AC_MSG_ERROR([glide3x not found. Please install Glide 3 SDK!])
AC_MSG_ERROR([glide2x not found. Please install Glide 2 SDK!])
])
AS_IF([test x"$GOBJC" = x"yes"], [