mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-25 13:21:04 +00:00
Check for stat() and sys/stat.h
This commit is contained in:
parent
64ae53b946
commit
62a2ef817c
1 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ AC_PROG_CPP
|
|||
AC_PROG_MAKE_SET
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_CHECK_HEADERS(unistd.h windows.h sys/ioctl.h sys/mman.h \
|
||||
AC_CHECK_HEADERS(unistd.h windows.h sys/ioctl.h sys/mman.h sys/stat.h \
|
||||
sys/socket.h netinet/in.h netdb.h arpa/inet.h sys/filio.h \
|
||||
sys/soundcard.h linux/soundcard.h machine/soundcard.h sys/audioio.h \
|
||||
dsound.h mmsystem.h initguid.h mme/mmsystem.h mme/mme_public.h \
|
||||
|
@ -45,8 +45,8 @@ dnl Checks for library functions.
|
|||
AC_FUNC_MMAP
|
||||
AC_FUNC_VPRINTF
|
||||
AC_CHECK_FUNCS(gethostname gethostbyname connect gettimeofday getwd mkdir \
|
||||
putenv select socket strerror strstr snprintf _snprintf vsnprintf \
|
||||
_vsnprintf)
|
||||
stat putenv select socket strerror strstr \
|
||||
snprintf _snprintf vsnprintf _vsnprintf)
|
||||
|
||||
AC_ARG_ENABLE(release,
|
||||
[ --enable-release compile release (with optimization)],
|
||||
|
@ -261,7 +261,7 @@ fi
|
|||
if test "x$HAS_DGA" != xyes; then
|
||||
DGA_LIBS=""
|
||||
else
|
||||
AC_DEFINE(HAS_DGA,1)
|
||||
AC_DEFINE(HAS_DGA)
|
||||
DGA_LIBS="-lXxf86dga -lXxf86vm"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue