mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 11:51:17 +00:00
Check for vsnprintf() in libdb if we don't have it elsewhere.
This commit is contained in:
parent
368ae283a2
commit
e0bfb15dcf
1 changed files with 7 additions and 0 deletions
|
@ -48,6 +48,13 @@ dnl Checks for stricmp/strcasecmp
|
|||
AC_CHECK_FUNC(stricmp,,
|
||||
AC_CHECK_FUNC(strcasecmp, AC_DEFINE(stricmp,strcasecmp)))
|
||||
|
||||
dnl Check for vsnprintf
|
||||
if test "x$ac_cv_func_vsnprintf" = "xno" -a \
|
||||
"x$ac_cv_func__vsnprintf" = "xno"; then
|
||||
dnl libdb may have this
|
||||
AC_CHECK_LIB(db,vsnprintf)
|
||||
fi
|
||||
|
||||
dnl Checks for working -lm
|
||||
AC_CHECK_LIB(m, pow,, AC_MSG_ERROR([math library (-lm) appears broken]))
|
||||
|
||||
|
|
Loading…
Reference in a new issue