1 [+ autogen5 template +]
2 dnl Process this file with autoconf to produce a configure script.
3 dnl Created by Anjuta application wizard.
5 AC_INIT([+NameLower+], [+Version+])
7 SDL_REQUIRED=[+SDL_Version+]
9 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
10 AM_CONFIG_HEADER(config.h)
19 [+IF (=(get "HaveLangCPP") "1")+]
24 [+IF (=(get "HaveI18n") "1")+]
25 dnl ***************************************************************************
26 dnl Internatinalization
27 dnl ***************************************************************************
28 GETTEXT_PACKAGE=[+NameLower+]
29 AC_SUBST(GETTEXT_PACKAGE)
30 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
32 IT_PROG_INTLTOOL([0.35.0])
37 dnl ***************************************************************************
39 dnl ***************************************************************************
40 AM_PATH_SDL($SDL_REQUIRED,
42 AC_MSG_ERROR([SDL version $SDL_REQUIRED not found]))
43 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44 CFLAGS="$CFLAGS $SDL_CFLAGS"
45 CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
46 LIBS="$LIBS $SDL_LIBS"
48 [+IF (=(get "HaveSDL_image") "1")+]
49 dnl ***************************************************************************
50 dnl Check for SDL_image
51 dnl ***************************************************************************
52 AC_CHECK_LIB(SDL_image, IMG_Load,
53 [ LIBS="$LIBS -lSDL_image" ],
54 AC_MSG_ERROR([SDL_image not found]))
57 [+IF (=(get "HaveSDL_gfx") "1")+]
58 dnl ***************************************************************************
60 dnl ***************************************************************************
61 AC_CHECK_LIB(SDL_gfx, SDL_initFramerate,
62 [ LIBS="$LIBS -lSDL_gfx" ],
63 AC_MSG_ERROR([SDL_gfx not found]))
66 [+IF (=(get "HaveSDL_ttf") "1")+]
67 dnl ***************************************************************************
69 dnl ***************************************************************************
70 AC_CHECK_LIB(SDL_ttf, TTF_OpenFont,
71 [ LIBS="$LIBS -lSDL_ttf" ],
72 AC_MSG_ERROR([SDL_ttf not found]))
75 [+IF (=(get "HaveSDL_mixer") "1")+]
76 dnl ***************************************************************************
77 dnl Check for SDL_mixer
78 dnl ***************************************************************************
79 AC_CHECK_LIB(SDL_mixer, Mix_OpenAudio,
80 [ LIBS="$LIBS -lSDL_mixer" ],
81 AC_MSG_ERROR([SDL_mixer not found]))
84 [+IF (=(get "HaveSDL_net") "1")+]
85 dnl ***************************************************************************
87 dnl ***************************************************************************
88 AC_CHECK_LIB(SDL_net, SDLNet_Init,
89 [ LIBS="$LIBS -lSDL_net" ],
90 AC_MSG_ERROR([SDL_net not found]))
96 [+IF (=(get "HaveI18n") "1")+]po/Makefile.in[+ENDIF+]