mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-12 13:42:21 +00:00
f10de7dd58
api that the quake2 binary uses
67 lines
1.9 KiB
Text
67 lines
1.9 KiB
Text
# Process this file with autoconf to produce a configure script.
|
|
AC_INIT
|
|
AC_PREREQ(2.50)
|
|
AM_INIT_AUTOMAKE(quake2, 0.1, quake2-devel@quakeforge.net)
|
|
#AC_CONFIG_SRCDIR(src/main.c)
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
# Checks for programs.
|
|
AC_PROG_CC
|
|
AC_PROG_RANLIB
|
|
#AC_PROG_LIBTOOL
|
|
|
|
# Checks for libraries.
|
|
AC_CHECK_LIB(GL, glBegin)
|
|
# FIXME: Replace `main' with a function in `-lX11':
|
|
#AC_CHECK_LIB(X11, [main])
|
|
# FIXME: Replace `main' with a function in `-lXext':
|
|
#AC_CHECK_LIB([Xext], [main])
|
|
# FIXME: Replace `main' with a function in `-lXxf86dga':
|
|
#AC_CHECK_LIB([Xxf86dga], [main])
|
|
# FIXME: Replace `main' with a function in `-lXxf86vm':
|
|
#AC_CHECK_LIB([Xxf86vm], [main])
|
|
AC_CHECK_LIB(dl, dlopen)
|
|
AC_CHECK_LIB(m, sin)
|
|
# FIXME: Replace `main' with a function in `-lossaudio':
|
|
#AC_CHECK_LIB([ossaudio], [main])
|
|
# FIXME: Replace `main' with a function in `-lpthread':
|
|
AC_CHECK_LIB([pthread], [main])
|
|
# FIXME: Replace `main' with a function in `-lvga':
|
|
#AC_CHECK_LIB([vga], [main])
|
|
|
|
# Checks for header files.
|
|
AC_PATH_X
|
|
AC_HEADER_DIRENT
|
|
AC_HEADER_STDC
|
|
AC_HEADER_SYS_WAIT
|
|
AC_CHECK_HEADERS([arpa/inet.h errno.h fcntl.h float.h limits.h mntent.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h termios.h unistd.h])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
AC_TYPE_SIZE_T
|
|
AC_HEADER_TIME
|
|
AC_STRUCT_TM
|
|
AC_TYPE_UID_T
|
|
|
|
# Checks for library functions.
|
|
AC_FUNC_ERROR_AT_LINE
|
|
AC_PROG_GCC_TRADITIONAL
|
|
AC_FUNC_MALLOC
|
|
AC_FUNC_MEMCMP
|
|
AC_FUNC_MMAP
|
|
AC_TYPE_SIGNAL
|
|
AC_FUNC_STAT
|
|
AC_FUNC_VPRINTF
|
|
AC_CHECK_FUNCS([bzero floor getcwd gethostbyname getmntent getpagesize gettimeofday memmove memset mkdir munmap pow putenv select socket sqrt strcasecmp strchr strdup strerror strrchr strstr])
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
src/Makefile
|
|
game/Makefile
|
|
game/baseq2/Makefile
|
|
game/ctf/Makefile])
|
|
# ref_gl/Makefile
|
|
# ref_soft/Makefile])
|
|
AC_OUTPUT
|