You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 12 години
преди 13 години
преди 13 години
преди 13 години
преди 12 години
преди 14 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
преди 11 години
преди 13 години
преди 13 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. dnl configure script for Lol Engine
  2. AC_INIT(lolengine, 0.0)
  3. AC_PREREQ(2.50)
  4. AC_CONFIG_AUX_DIR(.auto)
  5. AC_CANONICAL_SYSTEM
  6. AM_INIT_AUTOMAKE([subdir-objects no-define tar-ustar silent-rules])
  7. dnl AM_MAINTAINER_MODE
  8. AM_DEFAULT_VERBOSITY=0
  9. dnl Versioning of the separate software we ship
  10. LOLUNIT_VERSION=0.1
  11. AC_SUBST(LOLUNIT_VERSION)
  12. LOLREMEZ_VERSION=0.2
  13. AC_SUBST(LOLREMEZ_VERSION)
  14. AC_CONFIG_HEADER(config.h)
  15. AM_PROG_CC_C_O
  16. AC_PROG_CPP
  17. AC_PROG_CXX
  18. AC_PROG_CXXCPP
  19. AC_PROG_RANLIB
  20. AC_LIBTOOL_WIN32_DLL
  21. AM_PROG_LIBTOOL
  22. AC_LIBTOOL_CXX
  23. AC_C_CONST
  24. AC_C_INLINE
  25. dnl Ensure an error is thrown if pkg-config M4 files are not found.
  26. m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
  27. m4_pattern_forbid([^PKG_CHECK_MODULES$])
  28. m4_pattern_forbid([^PKG_PROG_PKG_CONFIG$])
  29. dnl Same for Lol Engine M4 files.
  30. m4_pattern_forbid([^LOL_])
  31. dnl Do not use PKG_CONFIG_LIBDIR when cross-compiling.
  32. if test "${build}" != "${host}" -a "${PKG_CONFIG_LIBDIR}" = ""; then
  33. export PKG_CONFIG_LIBDIR=/dev/null
  34. fi
  35. dnl AC_PROG_EGREP only exists in autoconf 2.54+, so we use AC_EGREP_CPP right
  36. dnl now otherwise it might be set in an obscure if statement. Same thing for
  37. dnl PKG_PROG_PKG_CONFIG which needs to be called first.
  38. AC_EGREP_CPP(yes, foo)
  39. PKG_PROG_PKG_CONFIG()
  40. dnl Check for a working implementation of sed
  41. AC_PROG_SED
  42. AC_MSG_CHECKING(for a sed that understands \t)
  43. if test "$(echo 'x\x' | "${SED}" 's/.*@<:@^x\t@:>@//')" != x; then
  44. AC_MSG_RESULT(no)
  45. AC_MSG_ERROR([[consider installing GNU sed]])
  46. else
  47. AC_MSG_RESULT(yes)
  48. fi
  49. dnl conditional builds
  50. AC_ARG_ENABLE(debug,
  51. [ --enable-debug build debug versions of the game (default no)])
  52. AC_ARG_ENABLE(release,
  53. [ --enable-release build final release of the game (default no)])
  54. AC_ARG_ENABLE(experimental,
  55. [ --enable-experimental experimental build (default no)])
  56. AC_ARG_ENABLE(doc,
  57. [ --enable-doc build documentation (needs doxygen and LaTeX)])
  58. dnl Common C headers
  59. AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h getopt.h)
  60. AC_CHECK_HEADERS(fastmath.h pthread.h libutil.h util.h pty.h glob.h unistd.h)
  61. AC_CHECK_HEADERS(execinfo.h)
  62. AC_CHECK_HEADERS(sys/ioctl.h sys/ptrace.h sys/stat.h sys/syscall.h sys/user.h)
  63. AC_CHECK_HEADERS(sys/wait.h)
  64. AC_CHECK_HEADERS(linux/kdev_t.h linux/major.h)
  65. AC_CHECK_HEADERS(security/pam_appl.h security/pam_misc.h)
  66. AC_CHECK_HEADERS(pam/pam_appl.h pam/pam_misc.h)
  67. dnl Common C++ headers
  68. AC_LANG_PUSH(C++)
  69. AC_CHECK_HEADERS(cxxabi.h)
  70. AC_LANG_POP(C++)
  71. dnl Common C functions
  72. AC_CHECK_FUNCS(getenv getcwd _getcwd backtrace_symbols)
  73. if test "${enable_debug}" = "yes"; then
  74. AC_DEFINE(LOL_DEBUG, 1, Define to 1 to activate debug)
  75. OPT_CXXFLAGS="-O"
  76. else
  77. OPT_CXXFLAGS="-O3 -ffast-math -fomit-frame-pointer"
  78. OPT_LDFLAGS="-fno-strength-reduce"
  79. fi
  80. if test "${enable_release}" = "yes"; then
  81. AC_DEFINE(LOL_RELEASE, 1, Define to 1 to activate final release)
  82. REL_CXXFLAGS=""
  83. else
  84. REL_CXXFLAGS="-g"
  85. fi
  86. if test "${enable_experimental}" = "yes"; then
  87. AC_DEFINE(LOL_EXPERIMENTAL, 1, Define to 1 to activate experimental build)
  88. fi
  89. # Build documentation?
  90. DOXYGEN="no"
  91. LATEX="no"
  92. if test "${enable_doc}" != "no"; then
  93. AC_PATH_PROG(DOXYGEN, doxygen, no)
  94. if test "${DOXYGEN}" != "no"; then
  95. # Build LaTeX documentation?
  96. AC_PATH_PROG(LATEX, pdflatex, no)
  97. AC_PATH_PROG(KPSEWHICH, kpsewhich, no)
  98. AC_PATH_PROG(DVIPS, dvips, no)
  99. if test "${DVIPS}" = "no" -o "${KPSEWHICH}" = "no"; then
  100. LATEX="no"
  101. fi
  102. if test "${LATEX}" != "no"; then
  103. AC_MSG_CHECKING(for a4.sty and a4wide.sty)
  104. if "${KPSEWHICH}" a4.sty >/dev/null 2>&1; then
  105. if "${KPSEWHICH}" a4wide.sty >/dev/null 2>&1; then
  106. AC_MSG_RESULT(yes)
  107. else
  108. LATEX="no"
  109. AC_MSG_RESULT(no)
  110. fi
  111. else
  112. LATEX="no"
  113. AC_MSG_RESULT(no)
  114. fi
  115. fi
  116. AC_PATH_PROG(DOT, dot, no)
  117. if test "${DOT}" != "no"; then
  118. USE_DOT="YES"
  119. else
  120. USE_DOT="NO"
  121. fi
  122. fi
  123. fi
  124. AM_CONDITIONAL(BUILD_DOCUMENTATION, test "${DOXYGEN}" != "no")
  125. AM_CONDITIONAL(USE_LATEX, test "${LATEX}" != "no")
  126. AM_CONDITIONAL(USE_DOT, test "${DOT}" != "no")
  127. dnl No exceptions
  128. LOL_TRY_CXXFLAGS(-fno-exceptions, [AM_CXXFLAGS="${AM_CXXFLAGS} -fno-exceptions"])
  129. LOL_TRY_CXXFLAGS(-fno-rtti, [AM_CXXFLAGS="${AM_CXXFLAGS} -fno-rtti"])
  130. dnl Optimizations
  131. AM_CXXFLAGS="${AM_CXXFLAGS} ${REL_CXXFLAGS} ${OPT_CXXFLAGS}"
  132. AM_LDFLAGS="${AM_LDFLAGS} ${REL_LDFLAGS} ${OPT_LDFLAGS}"
  133. dnl Debug symbols
  134. LOL_TRY_LDFLAGS(-rdynamic, [AM_LDFLAGS="${AM_LDFLAGS} -rdynamic"])
  135. dnl Code qui fait des warnings == code de porc == deux baffes dans ta gueule
  136. LOL_TRY_CXXFLAGS(-Wall, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wall"])
  137. LOL_TRY_CXXFLAGS(-Wextra, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wextra"])
  138. LOL_TRY_CXXFLAGS(-Wpointer-arith, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wpointer-arith"])
  139. LOL_TRY_CXXFLAGS(-Wcast-align, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wcast-align"])
  140. LOL_TRY_CXXFLAGS(-Wcast-qual, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wcast-qual"])
  141. LOL_TRY_CXXFLAGS(-Wshadow, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wshadow"])
  142. LOL_TRY_CXXFLAGS(-Wsign-compare, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wsign-compare"])
  143. dnl Add these even though they're implicitly set, so that we can safely
  144. dnl remove them from within a Makefile.
  145. LOL_TRY_CXXFLAGS(-Wmaybe-uninitialized, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wmaybe-uninitialized"])
  146. LOL_TRY_CXXFLAGS(-Wnarrowing, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wnarrowing"])
  147. LOL_TRY_CXXFLAGS(-Wunused, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wunused"])
  148. LOL_TRY_CXXFLAGS(-Wstrict-aliasing, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wstrict-aliasing"])
  149. LOL_TRY_CXXFLAGS(-Wparentheses, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wparentheses"])
  150. LOL_TRY_CXXFLAGS(-Wreorder, [AM_CXXFLAGS="${AM_CXXFLAGS} -Wreorder"])
  151. AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")
  152. AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
  153. dnl Unix-specific libutil
  154. AC_CHECK_LIB(util, forkpty,
  155. [UTIL_LIBS="${UTIL_LIBS} -lutil"
  156. dnl Override future forkpty detection
  157. ac_cv_func_forkpty="yes"])
  158. AC_CHECK_FUNCS(forkpty)
  159. dnl GCC-specific symbol demangling
  160. AC_LANG_PUSH(C++)
  161. AC_TRY_LINK(
  162. [#include <cxxabi.h>],
  163. [abi::__cxa_demangle(NULL, 0, 0, NULL);],
  164. [AC_DEFINE(HAVE_CXA_DEMANGLE, 1, Define to 1 if abi::__cxa_demangle is available)])
  165. AC_LANG_POP(C++)
  166. dnl Are we on the PS3?
  167. ac_cv_my_have_ps3="no"
  168. AC_CHECK_LIB(sysmodule_stub, cellSysmoduleLoadModule,
  169. [ac_cv_my_have_ps3="yes"
  170. LOL_LIBS="${LOL_LIBS} -lsysmodule_stub -lsysutil_stub -lresc_stub"
  171. dnl For PSGL
  172. AC_DEFINE(HAVE_GLES_2X, 1, Define to 1 if GLES 2.x is available) # FIXME: hack
  173. GL_LIBS="${GL_LIBS} -lPSGL -lgcm_cmd -lgcm_sys_stub"
  174. dnl This is the old way; we now use CELL_SDK instead of CELLSDK
  175. if test "x${CELLSDK}" != x -a "x${CELL_SDK}" = x; then
  176. CELL_SDK="${CELLSDK}"
  177. fi
  178. if test "x${enable_debug}" = xyes; then
  179. GL_LIBS="${GL_LIBS} -L${CELL_SDK}/target/ppu/lib/PSGL/RSX/debug"
  180. elif test "x${enable_release}" = xyes; then
  181. GL_LIBS="${GL_LIBS} -L${CELL_SDK}/target/ppu/lib/PSGL/RSX/ultra-opt"
  182. else
  183. GL_LIBS="${GL_LIBS} -L${CELL_SDK}/target/ppu/lib/PSGL/RSX/opt"
  184. fi
  185. dnl For the runtime Cg compiler
  186. GL_LIBS="${GL_LIBS} -lcgc -lPSGLcgc"
  187. dnl For the PNG decoder
  188. LOL_LIBS="${LOL_LIBS} -lpngdec_stub"
  189. dnl For the pad library
  190. LOL_LIBS="${LOL_LIBS} -lio_stub -lusbd_stub -lpadfilter"
  191. dnl Disable this warning, it's too verbose with vector.h
  192. AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-sign-compare"
  193. AC_PATH_PROG(MAKE_FSELF, make_fself, no)
  194. if test "${MAKE_FSELF}" = "no"; then
  195. AC_MSG_ERROR([[Building for PS3 but make_fself not found]])
  196. fi],
  197. [MAKE_FSELF=no])
  198. AM_CONDITIONAL(USE_PS3, test "${ac_cv_my_have_ps3}" != "no")
  199. dnl Are we building using MinGW?
  200. LOL_TRY_CXXFLAGS(-mwindows -mwin32,
  201. [AM_CXXFLAGS="${AM_CXXFLAGS} -mwindows -mwin32"
  202. LOL_LIBS="${LOL_LIBS} -uWinMain -u_WinMain@16"])
  203. dnl Are we on the Xbox 360?
  204. dnl Answer: NO! we don't know how to build for it anyway
  205. AM_CONDITIONAL(USE_X360, false)
  206. dnl Are we on an OS X or iOS platform?
  207. LOL_TRY_LDFLAGS(-framework Foundation,
  208. [LOL_LIBS="${LOL_LIBS} -framework Foundation"])
  209. LOL_TRY_LDFLAGS(-framework CoreGraphics,
  210. [LOL_LIBS="${LOL_LIBS} -framework CoreGraphics"])
  211. LOL_TRY_LDFLAGS(-framework CoreData,
  212. [LOL_LIBS="${LOL_LIBS} -framework CoreData"])
  213. LOL_TRY_LDFLAGS(-framework UIKit,
  214. [LOL_LIBS="${LOL_LIBS} -framework UIKit"])
  215. dnl Are we on a Direct3D 9 platform?
  216. #ac_cv_my_have_d3d9="no"
  217. #AC_CHECK_HEADERS(d3d9.h, [ac_cv_my_have_d3d9="yes"])
  218. #if test "${ac_cv_my_have_d3d9}" != "no"; then
  219. # D3D_LIBS="${D3D_LIBS} -ld3d9 -ld3dx9 -lxinput"
  220. # AC_DEFINE(USE_D3D9, 1, Define to 1 to use DirectX 9)
  221. #fi
  222. #AM_CONDITIONAL(USE_D3D9, test "${ac_cv_my_have_d3d9}" != "no")
  223. LOL_CHECK_OPENGL
  224. LOL_CHECK_SDL
  225. dnl Use Flex's FlexLexer.h or ours?
  226. ac_cv_my_have_flexlexer_h="no"
  227. AC_LANG_PUSH(C++)
  228. AC_CHECK_HEADERS(FlexLexer.h,
  229. dnl Ensure that FlexLexer::yleng is of type int, and not size_t like
  230. dnl on recent Apple systems. It would break all our existing code.
  231. [AC_MSG_CHECKING(for FlexLexer.h validity)
  232. AC_COMPILE_IFELSE(
  233. [AC_LANG_PROGRAM([#include <FlexLexer.h>
  234. class Foo : public FlexLexer
  235. {
  236. Foo() { int &test = yyleng; }
  237. }],
  238. [])],
  239. [AC_MSG_RESULT(yes)
  240. ac_cv_my_have_flexlexer_h="yes"],
  241. [AC_MSG_RESULT(no)])])
  242. AC_LANG_POP(C++)
  243. if test "x${ac_cv_my_have_flexlexer_h}" = "xno"; then
  244. LOL_CFLAGS="$LOL_CFLAGS -I\$(top_srcdir)/external/flex-2.5.35/include"
  245. fi
  246. dnl Use NativeClient?
  247. ac_cv_my_have_nacl="no"
  248. AC_LANG_PUSH(C++)
  249. AC_CHECK_HEADERS(ppapi/cpp/instance.h,
  250. [ac_cv_my_have_nacl="yes"
  251. dnl Disable this warning, it's too verbose with vector.h
  252. AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-sign-compare"])
  253. AC_LANG_POP(C++)
  254. AM_CONDITIONAL(USE_NACL, test "${ac_cv_my_have_nacl}" != "no")
  255. dnl Use Android? FIXME: super hacks!
  256. ac_cv_my_have_android="no"
  257. AC_CHECK_LIB(log, __android_log_vprint,
  258. [ac_cv_my_have_android="yes"
  259. LOL_LIBS="${LOL_LIBS} -llog -module"])
  260. AM_CONDITIONAL(USE_ANDROID, test "${ac_cv_my_have_android}" != "no")
  261. dnl Use EGL?
  262. ac_cv_my_have_egl="no"
  263. PKG_CHECK_MODULES(EGL, egl, [ac_cv_my_have_egl="yes"], [:])
  264. if test "${ac_cv_my_have_egl}" != "no"; then
  265. AC_DEFINE(USE_EGL, 1, Define to 1 to use libegl)
  266. EGL_LIBS="${EGL_LIBS} -lX11"
  267. fi
  268. AC_CHECK_LIB(EGL, main,
  269. [ac_cv_my_have_egl="yes"
  270. AC_DEFINE(USE_EGL, 1, Define to 1 to use libegl)
  271. EGL_LIBS="-lEGL"])
  272. dnl Raspberry Pi is different, check for it with extra libs; also we
  273. dnl look for a different function to bypass autoconf caching
  274. AC_CHECK_LIB(EGL, eglGetDisplay,
  275. [ac_cv_my_have_egl="yes"
  276. AC_DEFINE(USE_EGL, 1, Define to 1 to use libegl)
  277. EGL_LIBS="-lEGL -lvcos -lvchiq_arm -lbcm_host -lGLESv2"],
  278. [:],
  279. [-lvcos -lvchiq_arm -lbcm_host -lGLESv2])
  280. AM_CONDITIONAL(USE_EGL, test "${ac_cv_my_have_egl}" != "no")
  281. dnl Use libpng? (replacement for SDL_image)
  282. ac_cv_my_have_libpng="no"
  283. PKG_CHECK_MODULES(LIBPNG, libpng, [ac_cv_my_have_libpng="yes"], [:])
  284. if test "${ac_cv_my_have_libpng}" != "no"; then
  285. AC_DEFINE(USE_LIBPNG, 1, Define to 1 to use libpng)
  286. fi
  287. AM_CONDITIONAL(USE_LIBPNG, test "${ac_cv_my_have_libpng}" != "no")
  288. dnl Use Windows GDI+?
  289. ac_cv_my_have_gdiplus="no"
  290. AC_LANG_PUSH(C++)
  291. AC_CHECK_HEADERS(gdiplus.h,
  292. [ac_cv_my_have_gdiplus="yes"
  293. LOL_LIBS="${LOL_LIBS} -lgdiplus"],
  294. [ac_cv_my_have_gdiplus="no"],
  295. [#include <algorithm>
  296. using std::min;
  297. using std::max;
  298. #include <windows.h>])
  299. AC_LANG_POP(C++)
  300. if test "${ac_cv_my_have_gdiplus}" != "no"; then
  301. AC_DEFINE(USE_GDIPLUS, 1, Define to 1 to use GDI+)
  302. fi
  303. AM_CONDITIONAL(USE_GDIPLUS, test "${ac_cv_my_have_gdiplus}" = "yes")
  304. dnl Use libcaca? (required for font generation)
  305. ac_cv_my_have_caca="no"
  306. PKG_CHECK_MODULES(CACA, caca >= 0.99.beta17, [ac_cv_my_have_caca="yes"], [:])
  307. if test "${ac_cv_my_have_caca}" != "no"; then
  308. AC_DEFINE(USE_CACA, 1, Define to 1 to use libcaca)
  309. fi
  310. AM_CONDITIONAL(USE_CACA, test "${ac_cv_my_have_caca}" != "no")
  311. dnl Use libpipi? (required for video recording)
  312. ac_cv_my_have_pipi="no"
  313. PKG_CHECK_MODULES(PIPI, pipi, [ac_cv_my_have_pipi="yes"], [:])
  314. if test "${ac_cv_my_have_pipi}" != "no"; then
  315. AC_DEFINE(USE_PIPI, 1, Define to 1 to use libpipi)
  316. LOL_CFLAGS="${LOL_CFLAGS} ${PIPI_CFLAGS}"
  317. LOL_LIBS="${LOL_LIBS} ${PIPI_LIBS}"
  318. fi
  319. AM_CONDITIONAL(USE_PIPI, test "${ac_cv_my_have_pipi}" != "no")
  320. dnl Use GTK+? (required for the deushax editor)
  321. ac_cv_my_have_gtkgl="no"
  322. PKG_CHECK_MODULES(GTK, gtk+-2.0, [ac_cv_my_have_gtkgl="yes"], [:])
  323. PKG_CHECK_MODULES(GTKGL, gtkgl-2.0, [:], [ac_cv_my_have_gtkgl="no"])
  324. if test "${ac_cv_my_have_gtkgl}" != "no"; then
  325. AC_DEFINE(USE_GTKGL, 1, Define to 1 to use GtkGl)
  326. fi
  327. AM_CONDITIONAL(USE_GTKGL, test "${ac_cv_my_have_gtkgl}" != "no")
  328. dnl Can we build neercs?
  329. AM_CONDITIONAL(BUILD_NEERCS, test "${ac_cv_my_have_caca}" != "no")
  330. dnl Extra libraries we may need
  331. AC_SUBST(MATH_LIBS)
  332. AC_SUBST(PAM_LIBS)
  333. AC_SUBST(UTIL_LIBS)
  334. dnl How to use the Lol Engine outside this tree
  335. LOL_CFLAGS="$LOL_CFLAGS $SDL_CFLAGS $GL_CFLAGS $EGL_CFLAGS $LIBPNG_CFLAGS"
  336. LOL_LIBS="$LOL_LIBS $SDL_LIBS $GL_LIBS $EGL_LIBS $LIBPNG_LIBS $D3D_LIBS"
  337. LOL_DEPS="${LOL_DEPS} \$(top_builddir)/src/liblolcore.a"
  338. LOL_DEPS="${LOL_DEPS} \$(top_builddir)/src/bullet/liblolbullet.a"
  339. LOL_DEPS="${LOL_DEPS} \$(top_builddir)/src/lua/liblollua.a"
  340. dnl How to use the Lol Engine inside this tree
  341. AM_CPPFLAGS="${AM_CPPFLAGS} -I\$(top_srcdir)/src"
  342. AM_CPPFLAGS="${AM_CPPFLAGS} -DLOL_CONFIG_SOURCESUBDIR=\\\"\$(subdir)\\\""
  343. AM_CPPFLAGS="${AM_CPPFLAGS} ${LOL_CFLAGS}"
  344. AM_LDFLAGS="${AM_LDFLAGS} ${LOL_DEPS}"
  345. AM_LDFLAGS="${AM_LDFLAGS} ${LOL_LIBS}"
  346. dnl Extra flags
  347. AC_SUBST(LOL_CFLAGS)
  348. AC_SUBST(LOL_LIBS)
  349. AC_SUBST(LOL_DEPS)
  350. AC_SUBST(AM_CFLAGS)
  351. AC_SUBST(AM_CPPFLAGS)
  352. AC_SUBST(AM_CXXFLAGS)
  353. AC_SUBST(AM_LDFLAGS)
  354. AC_SUBST(USE_DOT)
  355. AC_CONFIG_FILES(
  356. [Makefile
  357. src/Makefile
  358. src/bullet/Makefile
  359. src/lua/Makefile
  360. src/data/Makefile
  361. src/data/font/Makefile
  362. tutorial/Makefile
  363. test/Makefile
  364. test/math/Makefile
  365. test/sandbox/Makefile
  366. test/xolotl/Makefile
  367. build/Makefile
  368. binaries/Makefile
  369. people/Makefile
  370. games/Makefile
  371. tools/Makefile
  372. tools/vimlol/Makefile
  373. tools/vslol/Makefile
  374. doc/Makefile
  375. doc/doxygen.cfg
  376. ])
  377. AC_CONFIG_FILES(
  378. [games/monsterz/Makefile
  379. ])
  380. AC_CONFIG_FILES(
  381. [games/deushax/Makefile
  382. games/deushax/art/Makefile
  383. games/deushax/art/test/Makefile
  384. games/deushax/gfx/Makefile
  385. games/deushax/maps/Makefile
  386. ])
  387. AC_CONFIG_FILES(
  388. [games/mrpigeon/Makefile
  389. ])
  390. AC_CONFIG_FILES(
  391. [games/orbital/Makefile
  392. ])
  393. AC_CONFIG_FILES(
  394. [tools/neercs/Makefile
  395. ])
  396. AC_CONFIG_FILES(
  397. [people/jnat/Makefile
  398. people/jnat/TestProject/Makefile
  399. people/peeweek/Makefile
  400. people/peeweek/private/Makefile
  401. people/touky/Makefile
  402. people/touky/private/Makefile
  403. people/touky/private/tactics/Makefile
  404. people/jylam/Makefile
  405. people/jylam/private/Makefile
  406. people/jylam/private/chat/Makefile
  407. ])
  408. AC_OUTPUT