mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
now cross builds out-of-the-box
This commit is contained in:
parent
7254dc0052
commit
9f158b148e
1 changed files with 12 additions and 1 deletions
|
@ -69,6 +69,17 @@ fi
|
|||
|
||||
dnl Checks for library functions.
|
||||
|
||||
AC_MSG_CHECKING(for timeGetTime in -lwinmm)
|
||||
save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -lwinmm"
|
||||
AC_TRY_COMPILE(
|
||||
[#include <windows.h>],
|
||||
[timeGetTime ();],
|
||||
AC_MSG_RESULT(yes),
|
||||
LIBS="$save_LIBS"
|
||||
AC_MSG_RESULT(no)
|
||||
)
|
||||
|
||||
AC_ARG_WITH(qf,
|
||||
[ --with-qf=DIR location of QF libs and headers (prefix)],
|
||||
if test "x$withval" != xyes ; then
|
||||
|
@ -80,7 +91,7 @@ AC_ARG_WITH(qf,
|
|||
)
|
||||
AC_CHECK_HEADER(QF/qtypes.h, :, HAVE_QF=no)
|
||||
if test "x$HAVE_QF" != xno; then
|
||||
AC_CHECK_LIB(QFutil, Qopen,
|
||||
AC_CHECK_LIB(QFutil, Hash_NewTable,
|
||||
:, HAVE_QF=no,
|
||||
[]
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue