mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
Use correct name for OpenGL library on OpenBSD by default.
This commit is contained in:
parent
5e330890fc
commit
bb1a342629
2 changed files with 7 additions and 0 deletions
|
@ -106,6 +106,8 @@ AC_ARG_WITH(gl-driver,
|
||||||
if test "x$gl_driver" = xauto -o "x$gl_driver" = xyes; then
|
if test "x$gl_driver" = xauto -o "x$gl_driver" = xyes; then
|
||||||
if test "$SYSTYPE" = WIN32; then
|
if test "$SYSTYPE" = WIN32; then
|
||||||
gl_driver="OPENGL32.DLL"
|
gl_driver="OPENGL32.DLL"
|
||||||
|
elif test "$SYSTYPE" = OPENBSD; then
|
||||||
|
gl_driver="libGL.so"
|
||||||
else
|
else
|
||||||
gl_driver="libGL.so.1"
|
gl_driver="libGL.so.1"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -93,6 +93,11 @@ case "${host}" in
|
||||||
AC_MSG_RESULT([Win32 driver])
|
AC_MSG_RESULT([Win32 driver])
|
||||||
WIN32_LIBS=' $(NET_LIBS)'
|
WIN32_LIBS=' $(NET_LIBS)'
|
||||||
;;
|
;;
|
||||||
|
*-openbsd*)
|
||||||
|
SYSTYPE=OPENBSD
|
||||||
|
AC_MSG_RESULT([OpenBSD driver])
|
||||||
|
WIN32_LIBS=''
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
SYSTYPE=POSIX
|
SYSTYPE=POSIX
|
||||||
AC_MSG_RESULT([default POSIX driver])
|
AC_MSG_RESULT([default POSIX driver])
|
||||||
|
|
Loading…
Reference in a new issue