-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfigure.in
73 lines (55 loc) · 1.41 KB
/
configure.in
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
dnl File generated by Zed2Soft Project Manager for the Zed2Soft Science Environment
dnl Creation date: Mon Apr 14 08:27:48 2014
AC_PREREQ(2.65)
AC_INIT(biteye, 0.1)
AC_CONFIG_HEADERS(src/config.h)
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.11.1])
cflags_were_set=false
if test "${CFLAGS+set}" = set; then
GLOBAL_CFLAGS=$CFLAGS
CFLAGS=
cflags_were_set=:
fi
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_AS
AC_PROG_LIBTOOL
AC_PROG_INSTALL
dnl the following needs to come after the expansion of AC_PROG_CC
if $cflags_were_set; then :; else
GLOBAL_CFLAGS=$CFLAGS
CFLAGS=
fi
AC_SUBST(AM_CFLAGS)
AC_C_INLINE
if test "$ac_cv_c_inline" != no ; then
AC_DEFINE([HAVE_INLINE], [0], [This compiler supports inline functions])
AC_DEFINE(HAVE_INLINE,1)
AC_SUBST(HAVE_INLINE)
fi
AC_HEADER_TIME
dnl Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_FUNC_FORK
AC_FUNC_MALLOC
GLOBAL_LDFLAGS="-lm -lpthread -ldl -export-dynamic -rdynamic"
dnl Macro snippets imported from dependency `util'
dnl Macro snippets imported from dependency `sim-static'
SDL_VERSION=1.2.5
AM_PATH_SDL($SDL_VERSION,
:,
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
)
GLOBAL_CFLAGS="$SDL_CFLAGS $GLOBAL_CFLAGS"
GLOBAL_LDFLAGS="$SDL_LIBS $GLOBAL_LDFLAGS"
AC_SUBST(SDL_CFLAGS)
AC_SUBST(SDL_LIBS)
AC_SUBST(GLOBAL_CFLAGS)
AC_SUBST(GLOBAL_LDFLAGS)
AC_OUTPUT([
Makefile
src/Makefile
util/Makefile
sim-static/Makefile
])