mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Sort the checked functions.
This commit is contained in:
parent
0bd613b73d
commit
ceea60059a
1 changed files with 7 additions and 5 deletions
|
@ -10,16 +10,18 @@ AC_FUNC_VPRINTF
|
||||||
AC_FUNC_VA_COPY
|
AC_FUNC_VA_COPY
|
||||||
AC_FUNC__VA_COPY
|
AC_FUNC__VA_COPY
|
||||||
AC_CHECK_FUNCS(
|
AC_CHECK_FUNCS(
|
||||||
access _access gethostname gethostbyname connect gettimeofday getuid \
|
access _access connect dlopen fcntl ftime _ftime getaddrinfo \
|
||||||
getwd ioctl mkdir _mkdir ftime _ftime fcntl stat putenv select socket \
|
gethostbyname gethostname getnameinfo getpagesize gettimeofday getuid \
|
||||||
strerror strcasestr strnlen strstr snprintf _snprintf vsnprintf \
|
getwd ioctl mkdir _mkdir mprotect putenv select snprintf _snprintf \
|
||||||
_vsnprintf strsep dlopen getaddrinfo getnameinfo mprotect getpagesize
|
socket stat strcasestr strerror strnlen strsep strstr vsnprintf \
|
||||||
|
_vsnprintf
|
||||||
)
|
)
|
||||||
|
|
||||||
DL_LIBS=""
|
DL_LIBS=""
|
||||||
if test "x$ac_cv_func_dlopen" != "xyes"; then
|
if test "x$ac_cv_func_dlopen" != "xyes"; then
|
||||||
AC_CHECK_LIB(dl, dlopen,
|
AC_CHECK_LIB(dl, dlopen,
|
||||||
AC_DEFINE(HAVE_DLOPEN, 1, [Define if you have the dlopen function.]) DL_LIBS="-ldl"
|
AC_DEFINE(HAVE_DLOPEN, 1, [Define if you have the dlopen function.])
|
||||||
|
DL_LIBS="-ldl"
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
AC_SUBST(DL_LIBS)
|
AC_SUBST(DL_LIBS)
|
||||||
|
|
Loading…
Reference in a new issue