-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
47 lines (35 loc) · 956 Bytes
/
configure.ac
File metadata and controls
47 lines (35 loc) · 956 Bytes
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
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
AC_INIT([gladdware-gamelib], [0.0.1], [gladdware@alexgladd.com])
AC_CONFIG_SRCDIR([src/App.h])
AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE
# KBuild-style compilation
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# configure for posix threads
AX_PTHREAD
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
# init libtool
AC_ENABLE_SHARED
AC_DISABLE_STATIC
LT_INIT
# Checks for libraries.
AC_CHECK_LIB([m], [roundl])
AC_CHECK_LIB([rt], [clock_gettime])
PKG_CHECK_MODULES([LIBGL], [gl])
PKG_CHECK_MODULES([LIBGLU], [glu])
PKG_CHECK_MODULES([LIBSDL], [sdl])
PKG_CHECK_MODULES([LIBSDL_IMAGE], [SDL_image])
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
# Makefile output
AC_CONFIG_FILES([\
Makefile \
src/Makefile \
tst/Makefile
])
AC_OUTPUT