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 години
преди 14 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
преди 13 години
преди 13 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  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. AM_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. AM_CONDITIONAL(USE_GLEW, test "${ac_cv_my_have_glew}" != "no")
  50. dnl conditional builds
  51. AC_ARG_ENABLE(debug,
  52. [ --enable-debug build debug versions of the game (default no)])
  53. AC_ARG_ENABLE(release,
  54. [ --enable-release build final release of the game (default no)])
  55. AC_ARG_ENABLE(experimental,
  56. [ --enable-experimental experimental build (default no)])
  57. AC_ARG_ENABLE(doc,
  58. [ --enable-doc build documentation (needs doxygen and LaTeX)])
  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(sys/ioctl.h sys/ptrace.h sys/stat.h sys/syscall.h sys/user.h)
  62. AC_CHECK_HEADERS(sys/wait.h)
  63. AC_CHECK_HEADERS(linux/kdev_t.h linux/major.h)
  64. AC_CHECK_HEADERS(security/pam_appl.h security/pam_misc.h)
  65. AC_CHECK_HEADERS(pam/pam_appl.h pam/pam_misc.h)
  66. AC_CHECK_FUNCS(getcwd _getcwd)
  67. if test "${enable_debug}" = "yes"; then
  68. AC_DEFINE(LOL_DEBUG, 1, Define to 1 to activate debug)
  69. OPT="-O"
  70. else
  71. OPT="-O3 -ffast-math -fno-strength-reduce -fomit-frame-pointer"
  72. fi
  73. if test "${enable_release}" = "yes"; then
  74. AC_DEFINE(LOL_RELEASE, 1, Define to 1 to activate final release)
  75. REL=""
  76. else
  77. REL="-g"
  78. fi
  79. if test "${enable_experimental}" = "yes"; then
  80. AC_DEFINE(LOL_EXPERIMENTAL, 1, Define to 1 to activate experimental build)
  81. fi
  82. # Build documentation?
  83. DOXYGEN="no"
  84. LATEX="no"
  85. if test "${enable_doc}" != "no"; then
  86. AC_PATH_PROG(DOXYGEN, doxygen, no)
  87. if test "${DOXYGEN}" != "no"; then
  88. # Build LaTeX documentation?
  89. AC_PATH_PROG(LATEX, pdflatex, no)
  90. AC_PATH_PROG(KPSEWHICH, kpsewhich, no)
  91. AC_PATH_PROG(DVIPS, dvips, no)
  92. if test "${DVIPS}" = "no" -o "${KPSEWHICH}" = "no"; then
  93. LATEX="no"
  94. fi
  95. if test "${LATEX}" != "no"; then
  96. AC_MSG_CHECKING(for a4.sty and a4wide.sty)
  97. if "${KPSEWHICH}" a4.sty >/dev/null 2>&1; then
  98. if "${KPSEWHICH}" a4wide.sty >/dev/null 2>&1; then
  99. AC_MSG_RESULT(yes)
  100. else
  101. LATEX="no"
  102. AC_MSG_RESULT(no)
  103. fi
  104. else
  105. LATEX="no"
  106. AC_MSG_RESULT(no)
  107. fi
  108. fi
  109. AC_PATH_PROG(DOT, dot, no)
  110. if test "${DOT}" != "no"; then
  111. USE_DOT="YES"
  112. else
  113. USE_DOT="NO"
  114. fi
  115. fi
  116. fi
  117. AM_CONDITIONAL(BUILD_DOCUMENTATION, test "${DOXYGEN}" != "no")
  118. AM_CONDITIONAL(USE_LATEX, test "${LATEX}" != "no")
  119. AM_CONDITIONAL(USE_DOT, test "${DOT}" != "no")
  120. dnl No exceptions
  121. CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-rtti"
  122. dnl Optimizations
  123. CXXFLAGS="${CXXFLAGS} ${REL} ${OPT}"
  124. dnl Code qui fait des warnings == code de porc == deux baffes dans ta gueule
  125. CXXFLAGS="${CXXFLAGS} -Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare"
  126. AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")
  127. AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
  128. AC_CHECK_LIB(util, forkpty,
  129. [UTIL_LIBS="${UTIL_LIBS} -lutil"
  130. dnl Override future forkpty detection
  131. ac_cv_func_forkpty="yes"])
  132. AC_CHECK_FUNCS(forkpty)
  133. dnl Are we on the PS3?
  134. ac_cv_my_have_ps3="no"
  135. AC_CHECK_LIB(sysmodule_stub, cellSysmoduleLoadModule,
  136. [ac_cv_my_have_ps3="yes"
  137. LOL_LIBS="${LOL_LIBS} -lsysmodule_stub -lsysutil_stub -lresc_stub"
  138. dnl For PSGL
  139. AC_DEFINE(HAVE_GLES_2X, 1, Define to 1 if GLES 2.x is available) # FIXME: hack
  140. GL_LIBS="${GL_LIBS} -lPSGL -lgcm_cmd -lgcm_sys_stub"
  141. dnl This is the old way; we now use CELL_SDK instead of CELLSDK
  142. if test "x${CELLSDK}" != x -a "x${CELL_SDK}" = x; then
  143. CELL_SDK="${CELLSDK}"
  144. fi
  145. if test "x${enable_debug}" = xyes; then
  146. GL_LIBS="${GL_LIBS} -L${CELL_SDK}/target/ppu/lib/PSGL/RSX/debug"
  147. elif test "x${enable_release}" = xyes; then
  148. GL_LIBS="${GL_LIBS} -L${CELL_SDK}/target/ppu/lib/PSGL/RSX/ultra-opt"
  149. else
  150. GL_LIBS="${GL_LIBS} -L${CELL_SDK}/target/ppu/lib/PSGL/RSX/opt"
  151. fi
  152. dnl For the runtime Cg compiler
  153. GL_LIBS="${GL_LIBS} -lcgc -lPSGLcgc"
  154. dnl For the PNG decoder
  155. LOL_LIBS="${LOL_LIBS} -lpngdec_stub"
  156. dnl For the pad library
  157. LOL_LIBS="${LOL_LIBS} -lio_stub -lusbd_stub -lpadfilter"
  158. dnl Disable this warning, it's too verbose with vector.h
  159. CXXFLAGS="${CXXFLAGS} -Wno-sign-compare"
  160. AC_PATH_PROG(MAKE_FSELF, make_fself, no)
  161. if test "${MAKE_FSELF}" = "no"; then
  162. AC_MSG_ERROR([[Building for PS3 but make_fself not found]])
  163. fi],
  164. [MAKE_FSELF=no])
  165. AM_CONDITIONAL(USE_PS3, test "${ac_cv_my_have_ps3}" != "no")
  166. dnl Are we building using MinGW?
  167. LIBS_save="$LIBS"
  168. LIBS="$LIBS -mwindows -mwin32"
  169. AC_MSG_CHECKING(for -mwindows -mwin32)
  170. AC_TRY_LINK([], [],
  171. [AC_MSG_RESULT(yes)
  172. CXXFLAGS="${CXXFLAGS} -mwindows -mwin32"
  173. dnl If we come across these symbols, try to link them
  174. LOL_LIBS="${LOL_LIBS} -uWinMain -u_WinMain@16 -u_SDL_main"],
  175. [AC_MSG_RESULT(no)])
  176. LIBS="$LIBS_save"
  177. dnl Are we on the Xbox 360?
  178. dnl Answer: NO! we don't know how to build for it anyway
  179. AM_CONDITIONAL(USE_X360, false)
  180. dnl Are we on a Direct3D 9 platform?
  181. #ac_cv_my_have_d3d9="no"
  182. #AC_CHECK_HEADERS(d3d9.h, [ac_cv_my_have_d3d9="yes"])
  183. #if test "${ac_cv_my_have_d3d9}" != "no"; then
  184. # D3D_LIBS="${D3D_LIBS} -ld3d9 -ld3dx9 -lxinput"
  185. # AC_DEFINE(USE_D3D9, 1, Define to 1 to use DirectX 9)
  186. #fi
  187. #AM_CONDITIONAL(USE_D3D9, test "${ac_cv_my_have_d3d9}" != "no")
  188. LOL_CHECK_OPENGL
  189. dnl Use SDL? (always required on Linux or Win32)
  190. ac_cv_my_have_sdl="no"
  191. ac_cv_my_have_sdl_image="no"
  192. ac_cv_my_have_sdl_mixer="no"
  193. dnl
  194. dnl First, try the proper pkg-config check
  195. PKG_CHECK_MODULES(SDL, sdl, [ac_cv_my_have_sdl="yes"], [:])
  196. PKG_CHECK_MODULES(SDLMIXER, SDL_mixer, [ac_cv_my_have_sdl_mixer="yes"], [:])
  197. PKG_CHECK_MODULES(SDLIMAGE, SDL_image, [ac_cv_my_have_sdl_image="yes"], [:])
  198. dnl
  199. dnl Then the old sdl-config method
  200. if test "x${cross_compiling}" != xyes -a "${ac_cv_my_have_sdl}" != yes; then
  201. AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
  202. if test "${SDL_CONFIG}" != "no"; then
  203. SDL_CFLAGS="${SDL_CFLAGS} `${SDL_CONFIG} --cflags`"
  204. SDL_LIBS="${SDL_LIBS} `${SDL_CONFIG} --libs`"
  205. ac_cv_my_have_sdl="yes"
  206. fi
  207. fi
  208. dnl
  209. dnl Maybe all this has failed, try direct inclusion
  210. save_CPPFLAGS="${CPPFLAGS}"
  211. save_LIBS="${LIBS}"
  212. CPPFLAGS="${CPPFLAGS} ${SDL_CFLAGS} ${SDLMIXER_CFLAGS} ${SDLIMAGE_CFLAGS}"
  213. LIBS="${LIBS} ${SDL_LIBS} ${SDLMIXER_LIBS} ${SDLIMAGE_LIBS}"
  214. AC_CHECK_HEADERS(SDL.h SDL/SDL.h, [ac_cv_my_have_sdl="yes"])
  215. AC_CHECK_HEADERS(SDL_mixer.h SDL/SDL_mixer.h, [ac_cv_my_have_sdl_mixer="yes"])
  216. AC_CHECK_HEADERS(SDL_image.h SDL/SDL_image.h, [ac_cv_my_have_sdl_image="yes"])
  217. AC_CHECK_LIB(SDL, main,
  218. [SDL_LIBS="${SDL_LIBS} -lSDL"],
  219. [ac_cv_my_have_sdl="no"])
  220. AC_CHECK_LIB(SDLmain, main,
  221. [SDL_LIBS="${SDL_LIBS} -lSDLmain -lSDL"])
  222. AC_CHECK_LIB(SDL_mixer, main,
  223. [SDLMIXER_LIBS="${SDLMIXER_LIBS} -lSDL_mixer"],
  224. [ac_cv_my_have_sdl_mixer="no"])
  225. AC_CHECK_LIB(SDL_image, main,
  226. [SDLIMAGE_LIBS="${SDLIMAGE_LIBS} -lSDL_image"],
  227. [ac_cv_my_have_sdl_image="no"])
  228. SDL_CFLAGS="${SDL_CFLAGS} ${SDLMIXER_CFLAGS} ${SDLIMAGE_CFLAGS}"
  229. SDL_LIBS="${SDL_LIBS} ${SDLMIXER_LIBS} ${SDLIMAGE_LIBS}"
  230. CPPFLAGS="${save_CPPFLAGS}"
  231. LIBS="${save_LIBS}"
  232. if test "${ac_cv_my_have_sdl}" = "no"; then
  233. AC_MSG_WARN([SDL not found])
  234. else
  235. AC_DEFINE(USE_SDL, 1, Define to 1 to use SDL)
  236. fi
  237. if test "${ac_cv_my_have_sdl_mixer}" = "no"; then
  238. AC_MSG_WARN([SDL_mixer not found])
  239. else
  240. AC_DEFINE(USE_SDL_MIXER, 1, Define to 1 to use SDL_mixer)
  241. fi
  242. if test "${ac_cv_my_have_sdl_image}" = "no"; then
  243. AC_MSG_WARN([SDL_image not found])
  244. else
  245. AC_DEFINE(USE_SDL_IMAGE, 1, Define to 1 to use SDL_image)
  246. fi
  247. AM_CONDITIONAL(USE_SDL, test "${ac_cv_my_have_sdl}" = "yes")
  248. AM_CONDITIONAL(USE_SDL_MIXER, test "${ac_cv_my_have_sdl_mixer}" = "yes")
  249. AM_CONDITIONAL(USE_SDL_IMAGE, test "${ac_cv_my_have_sdl_image}" = "yes")
  250. dnl Use Flex's FlexLexer.h or ours?
  251. ac_cv_my_have_flexlexer_h="no"
  252. AC_LANG_PUSH(C++)
  253. AC_CHECK_HEADERS(FlexLexer.h,
  254. dnl Ensure that FlexLexer::yleng is of type int, and not size_t like
  255. dnl on recent Apple systems. It would break all our existing code.
  256. [AC_MSG_CHECKING(for FlexLexer.h validity)
  257. AC_COMPILE_IFELSE(
  258. [AC_LANG_PROGRAM([#include <FlexLexer.h>
  259. class Foo : public FlexLexer
  260. {
  261. Foo() { int &test = yyleng; }
  262. }],
  263. [])],
  264. [AC_MSG_RESULT(yes)
  265. ac_cv_my_have_flexlexer_h="yes"],
  266. [AC_MSG_RESULT(no)])])
  267. AC_LANG_POP(C++)
  268. if test "x${ac_cv_my_have_flexlexer_h}" = "xno"; then
  269. LOL_CFLAGS="$LOL_CFLAGS -I\$(top_srcdir)/external/flex-2.5.35/include"
  270. fi
  271. dnl Use NativeClient?
  272. ac_cv_my_have_nacl="no"
  273. AC_LANG_PUSH(C++)
  274. AC_CHECK_HEADERS(ppapi/cpp/instance.h,
  275. [ac_cv_my_have_nacl="yes"
  276. dnl Disable this warning, it's too verbose with vector.h
  277. CXXFLAGS="${CXXFLAGS} -Wno-sign-compare"])
  278. AC_LANG_POP(C++)
  279. AM_CONDITIONAL(USE_NACL, test "${ac_cv_my_have_nacl}" != "no")
  280. dnl Use Android? FIXME: super hacks!
  281. ac_cv_my_have_android="no"
  282. AC_CHECK_LIB(log, __android_log_vprint,
  283. [ac_cv_my_have_android="yes"
  284. LOL_LIBS="${LOL_LIBS} -llog -module"])
  285. AM_CONDITIONAL(USE_ANDROID, test "${ac_cv_my_have_android}" != "no")
  286. dnl Use EGL?
  287. ac_cv_my_have_egl="no"
  288. PKG_CHECK_MODULES(EGL, egl, [ac_cv_my_have_egl="yes"], [:])
  289. if test "${ac_cv_my_have_egl}" != "no"; then
  290. AC_DEFINE(USE_EGL, 1, Define to 1 to use libegl)
  291. EGL_LIBS="${EGL_LIBS} -lX11"
  292. fi
  293. AC_CHECK_LIB(EGL, main,
  294. [ac_cv_my_have_egl="yes"
  295. AC_DEFINE(USE_EGL, 1, Define to 1 to use libegl)
  296. EGL_LIBS="-lEGL"])
  297. dnl Raspberry Pi is different, check for it with extra libs; also we
  298. dnl look for a different function to bypass autoconf caching
  299. AC_CHECK_LIB(EGL, eglGetDisplay,
  300. [ac_cv_my_have_egl="yes"
  301. AC_DEFINE(USE_EGL, 1, Define to 1 to use libegl)
  302. EGL_LIBS="-lEGL -lvcos -lvchiq_arm -lbcm_host -lGLESv2"],
  303. [:],
  304. [-lvcos -lvchiq_arm -lbcm_host -lGLESv2])
  305. AM_CONDITIONAL(USE_EGL, test "${ac_cv_my_have_egl}" != "no")
  306. dnl Use libpng? (replacement for SDL_image)
  307. ac_cv_my_have_libpng="no"
  308. PKG_CHECK_MODULES(LIBPNG, libpng, [ac_cv_my_have_libpng="yes"], [:])
  309. if test "${ac_cv_my_have_libpng}" != "no"; then
  310. AC_DEFINE(USE_LIBPNG, 1, Define to 1 to use libpng)
  311. fi
  312. AM_CONDITIONAL(USE_LIBPNG, test "${ac_cv_my_have_libpng}" != "no")
  313. dnl Use Windows GDI+?
  314. ac_cv_my_have_gdiplus="no"
  315. AC_LANG_PUSH(C++)
  316. AC_CHECK_HEADERS(gdiplus.h,
  317. [ac_cv_my_have_gdiplus="yes"
  318. LOL_LIBS="${LOL_LIBS} -lgdiplus"],
  319. [ac_cv_my_have_gdiplus="no"],
  320. [#include <algorithm>
  321. using std::min;
  322. using std::max;
  323. #include <windows.h>])
  324. AC_LANG_POP(C++)
  325. if test "${ac_cv_my_have_gdiplus}" != "no"; then
  326. AC_DEFINE(USE_GDIPLUS, 1, Define to 1 to use GDI+)
  327. fi
  328. AM_CONDITIONAL(USE_GDIPLUS, test "${ac_cv_my_have_gdiplus}" = "yes")
  329. dnl Use libcaca? (required for font generation)
  330. ac_cv_my_have_caca="no"
  331. PKG_CHECK_MODULES(CACA, caca >= 0.99.beta17, [ac_cv_my_have_caca="yes"], [:])
  332. if test "${ac_cv_my_have_caca}" != "no"; then
  333. AC_DEFINE(USE_CACA, 1, Define to 1 to use libcaca)
  334. fi
  335. AM_CONDITIONAL(USE_CACA, test "${ac_cv_my_have_caca}" != "no")
  336. dnl Use libpipi? (required for video recording)
  337. ac_cv_my_have_pipi="no"
  338. PKG_CHECK_MODULES(PIPI, pipi, [ac_cv_my_have_pipi="yes"], [:])
  339. if test "${ac_cv_my_have_pipi}" != "no"; then
  340. AC_DEFINE(USE_PIPI, 1, Define to 1 to use libpipi)
  341. LOL_CFLAGS="${LOL_CFLAGS} ${PIPI_CFLAGS}"
  342. LOL_LIBS="${LOL_LIBS} ${PIPI_LIBS}"
  343. fi
  344. AM_CONDITIONAL(USE_PIPI, test "${ac_cv_my_have_pipi}" != "no")
  345. dnl Use GTK+? (required for the deushax editor)
  346. ac_cv_my_have_gtkgl="no"
  347. PKG_CHECK_MODULES(GTK, gtk+-2.0, [ac_cv_my_have_gtkgl="yes"], [:])
  348. PKG_CHECK_MODULES(GTKGL, gtkgl-2.0, [:], [ac_cv_my_have_gtkgl="no"])
  349. if test "${ac_cv_my_have_gtkgl}" != "no"; then
  350. AC_DEFINE(USE_GTKGL, 1, Define to 1 to use GtkGl)
  351. fi
  352. AM_CONDITIONAL(USE_GTKGL, test "${ac_cv_my_have_gtkgl}" != "no")
  353. dnl Can we build neercs?
  354. AM_CONDITIONAL(BUILD_NEERCS, test "${ac_cv_my_have_caca}" != "no")
  355. dnl Extra libraries we may need
  356. AC_SUBST(MATH_LIBS)
  357. AC_SUBST(PAM_LIBS)
  358. AC_SUBST(UTIL_LIBS)
  359. dnl How to use the Lol Engine inside this tree
  360. LOL_CFLAGS="$LOL_CFLAGS -I\$(top_srcdir)/src"
  361. LOL_CFLAGS="$LOL_CFLAGS -DLOL_SOURCE_SUBDIR=\\\"\$(subdir)\\\""
  362. LOL_CFLAGS="$LOL_CFLAGS $SDL_CFLAGS $GL_CFLAGS $EGL_CFLAGS $LIBPNG_CFLAGS"
  363. LOL_LIBS="$LOL_LIBS $SDL_LIBS $GL_LIBS $EGL_LIBS $LIBPNG_LIBS $D3D_LIBS"
  364. dnl Extra flags
  365. AC_SUBST(LOL_CFLAGS)
  366. AC_SUBST(LOL_LIBS)
  367. AC_SUBST(USE_DOT)
  368. AC_CONFIG_FILES(
  369. [Makefile
  370. src/Makefile
  371. src/data/Makefile
  372. src/data/font/Makefile
  373. tutorial/Makefile
  374. test/Makefile
  375. test/math/Makefile
  376. test/sandbox/Makefile
  377. test/xolotl/Makefile
  378. build/Makefile
  379. binaries/Makefile
  380. people/Makefile
  381. games/Makefile
  382. tools/Makefile
  383. tools/vimlol/Makefile
  384. tools/vslol/Makefile
  385. doc/Makefile
  386. doc/doxygen.cfg
  387. ])
  388. AC_CONFIG_FILES(
  389. [games/monsterz/Makefile
  390. ])
  391. AC_CONFIG_FILES(
  392. [games/deushax/Makefile
  393. games/deushax/art/Makefile
  394. games/deushax/art/test/Makefile
  395. games/deushax/gfx/Makefile
  396. games/deushax/maps/Makefile
  397. ])
  398. AC_CONFIG_FILES(
  399. [games/mrpigeon/Makefile
  400. ])
  401. AC_CONFIG_FILES(
  402. [games/orbital/Makefile
  403. ])
  404. AC_CONFIG_FILES(
  405. [tools/neercs/Makefile
  406. ])
  407. AC_CONFIG_FILES(
  408. [people/jnat/Makefile
  409. people/jnat/TestProject/Makefile
  410. people/peeweek/Makefile
  411. people/touky/Makefile
  412. people/jylam/Makefile
  413. people/jylam/chat/Makefile
  414. ])
  415. AC_OUTPUT