mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-11-10 07:12:01 +00:00
- Applied patch from Ulrich 'Q' Spoerlein to fix build
problems on FreeBSD.
This commit is contained in:
parent
263c46a443
commit
2e808bd20e
3 changed files with 10 additions and 3 deletions
2
THANKS
2
THANKS
|
@ -24,4 +24,4 @@ Faried Nawaz <fn@hungry.org>
|
||||||
'RvB' <hansmaulwurf@blinkenlights.ch>
|
'RvB' <hansmaulwurf@blinkenlights.ch>
|
||||||
Victor Shkamerda <vvs@auto.bnm.org>
|
Victor Shkamerda <vvs@auto.bnm.org>
|
||||||
Jeff Teunissen <deek@quakeforge.net>
|
Jeff Teunissen <deek@quakeforge.net>
|
||||||
Ulrich 'Q' Spoerlein <q@uni.de>
|
Ulrich 'Q' Spoerlein <q@galgenberg.net>
|
||||||
|
|
|
@ -158,7 +158,14 @@ if test "x$HAVE_OPENGL" != xno; then
|
||||||
AC_CHECK_LIB(GL, glBegin,
|
AC_CHECK_LIB(GL, glBegin,
|
||||||
OPENGL_LIBS="$OPENGL_LIBS -lGL"
|
OPENGL_LIBS="$OPENGL_LIBS -lGL"
|
||||||
HAVE_OPENGL=yes,
|
HAVE_OPENGL=yes,
|
||||||
HAVE_OPENGL=no,
|
dnl add -lX11 and -lXext on FreeBSD if the first
|
||||||
|
dnl test failed
|
||||||
|
AC_CHECK_LIB(GL, glBegin,
|
||||||
|
OPENGL_LIBS="$OPENGL_LIBS -lX11 -lXext"
|
||||||
|
HAVE_OPENGL=yes,
|
||||||
|
HAVE_OPENGL=no,
|
||||||
|
[$OPENGL_LIBS]
|
||||||
|
),
|
||||||
[$OPENGL_LIBS]
|
[$OPENGL_LIBS]
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -86,7 +86,7 @@ endif
|
||||||
# ref_tdfx
|
# ref_tdfx
|
||||||
if BUILD_TDFX
|
if BUILD_TDFX
|
||||||
ref_tdfx_la_SOURCES = $(REF_GL_COMMON) rw_in_svgalib.c gl_fxmesa.c
|
ref_tdfx_la_SOURCES = $(REF_GL_COMMON) rw_in_svgalib.c gl_fxmesa.c
|
||||||
ref_tdfx_la_CFLAGS = $(std_cflags) -fPIC @SVGALIB_CFLAGS@
|
ref_tdfx_la_CFLAGS = $(std_cflags) -fPIC @SVGALIB_CFLAGS@ @OPENGL_CFLAGS@
|
||||||
ref_tdfx_la_LIBADD = @SVGALIB_LIBS@
|
ref_tdfx_la_LIBADD = @SVGALIB_LIBS@
|
||||||
ref_tdfx_la_LDFLAGS = $(module_ldflags)
|
ref_tdfx_la_LDFLAGS = $(module_ldflags)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue