-
Notifications
You must be signed in to change notification settings - Fork 4
/
configure.ac
52 lines (41 loc) · 1.28 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.63])
AC_INIT([awesometd], [0.5], [[email protected]])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE(awesometd, 0.4-devel, [-Wall -Werror foreign])
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_INSTALL
AC_PROG_LN_S
# Checks for libraries.
# FIXME: Replace `main' with a function in `-lGL':
PKG_CHECK_MODULES([GL],[gl])
PKG_CHECK_MODULES([SDL],[sdl])
PKG_CHECK_MODULES([sqlite3],[sqlite3])
AC_CHECK_LIB([jpeg],[main])
AC_CHECK_LIB([png],[main])
AC_CHECK_LIB([z],[main])
AC_CHECK_LIB([tiff],[main])
AC_CHECK_LIB([png],[main])
AC_CHECK_LIB([z],[main])
AC_CHECK_LIB([SDL_image],[main])
#AC_CHECK_LIB([SDL_mixer],[main])
#AC_CHECK_LIB([mikmod],[main])
#AC_CHECK_LIB([freetype],[main])
#AC_CHECK_LIB([SDL_ttf],[main])
#PKG_CHECK_MODULES([GLIB],[glib-2.0])
AC_CHECK_LIB([GL], [main])
# FIXME: Replace `main' with a function in `-lm':
AC_CHECK_LIB([m], [main])
# Checks for header files.
AC_CHECK_HEADERS([stdint.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_UINT32_T
# Checks for library functions.
AC_CHECK_FUNCS([memmove memset sqrt])
AC_CONFIG_FILES([Makefile
src/Makefile])
AC_OUTPUT