27 |
dnl LIBS="$LIBS $SDL_LIBS" |
dnl LIBS="$LIBS $SDL_LIBS" |
28 |
dnl CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" |
dnl CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" |
29 |
|
|
30 |
dnl Below we check for some additional header files from the "SDL family". |
dnl Below we check for some additional header files from the "SDL family". |
31 |
dnl Since AC_CHECK_HEADER uses the preprocessor to check for header |
dnl Since AC_CHECK_HEADER uses the preprocessor to check for header |
32 |
dnl files, add the necessary preprocessor flags. |
dnl files, add the necessary preprocessor flags. |
33 |
dnl CPPFLAGS="$CPPFLAGS $SDL_CFLAGS" |
dnl CPPFLAGS="$CPPFLAGS $SDL_CFLAGS" |
34 |
|
|
78 |
dnl AC_SUBST(LIBTOLUAFLAGS) |
dnl AC_SUBST(LIBTOLUAFLAGS) |
79 |
|
|
80 |
dnl |
dnl |
81 |
dnl Activatate optimizations when profiling, to get rid of |
dnl Activatate optimizations when profiling, to get rid of |
82 |
dnl inlineable functions. |
dnl inlineable functions. |
83 |
dnl |
dnl |
84 |
AC_MSG_CHECKING(whether to include profiling information) |
AC_MSG_CHECKING(whether to include profiling information) |
89 |
if test "x$enable_profile" = xyes; then |
if test "x$enable_profile" = xyes; then |
90 |
CXXFLAGS="$CXXFLAGS -pg -O2" |
CXXFLAGS="$CXXFLAGS -pg -O2" |
91 |
AC_MSG_RESULT(yes) |
AC_MSG_RESULT(yes) |
92 |
else |
else |
93 |
AC_MSG_RESULT(no) |
AC_MSG_RESULT(no) |
94 |
fi |
fi |
95 |
|
|
96 |
dnl ---------------------------------------- |
dnl ---------------------------------------- |
97 |
dnl Check for optimizations |
dnl Check for optimizations |
114 |
FC_EXPAND_DIR(ENIGMA_DATADIR, "$datadir/enigma") |
FC_EXPAND_DIR(ENIGMA_DATADIR, "$datadir/enigma") |
115 |
AC_DEFINE_UNQUOTED(DEFAULT_DATA_PATH, "./data:~/.enigma:$ENIGMA_DATADIR", [Default data dir]) |
AC_DEFINE_UNQUOTED(DEFAULT_DATA_PATH, "./data:~/.enigma:$ENIGMA_DATADIR", [Default data dir]) |
116 |
|
|
117 |
AC_OUTPUT([Makefile |
AC_OUTPUT([Makefile |
118 |
data/Makefile |
data/Makefile |
119 |
data/gfx/Makefile |
data/gfx/Makefile |
120 |
data/levels/Makefile |
data/levels/Makefile |
121 |
|
data/levels/Sokoban/Makefile |
122 |
data/fonts/Makefile |
data/fonts/Makefile |
123 |
data/sound/Makefile |
data/sound/Makefile |
124 |
doc/Makefile |
doc/Makefile |
127 |
lib-src/oxydlib/Makefile |
lib-src/oxydlib/Makefile |
128 |
lib-src/lua/Makefile |
lib-src/lua/Makefile |
129 |
src/Makefile |
src/Makefile |
130 |
src/px/Makefile |
src/px/Makefile |
131 |
]) |
]) |
132 |
|
|
133 |
echo |
echo |