This commit is contained in:
Bill Currie 2001-09-24 02:48:09 +00:00
parent 5f9a3d9617
commit 998855402c

View file

@ -78,13 +78,16 @@ AC_ARG_WITH(qf,
,
HAVE_QF=auto
)
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $INCLUDES"
AC_CHECK_HEADER(QF/qtypes.h, :, HAVE_QF=no)
if test "x$HAVE_QF" != xno; then
AC_CHECK_LIB(QFutil, Hash_NewTable,
:, HAVE_QF=no,
[$INCLUDES]
[]
)
fi
CFLAGS="$save_CFLAGS"
if test "x$HAVE_QF" != xno; then
AC_CHECK_LIB(QFgamecode, PR_Opcode,
:, HAVE_QF=no,