/usr/share/anjuta/templates/sdl/configure.ac.tpl is in anjuta-common 2:3.18.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | [+ autogen5 template +]
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
AC_INIT([+NameHLower+], [+Version+])
AC_CONFIG_HEADERS([config.h])
SDL_REQUIRED=[+SDL_Version+]
AM_INIT_AUTOMAKE([1.11])
AM_SILENT_RULES([yes])
AC_PROG_CC
AC_PATH_XTRA
[+IF (=(get "HaveLangCPP") "1")+]
AC_PROG_CPP
AC_PROG_CXX
[+ENDIF+]
[+IF (=(get "HaveI18n") "1")+]
dnl ***************************************************************************
dnl Internationalization
dnl ***************************************************************************
IT_PROG_INTLTOOL([0.35.0])
GETTEXT_PACKAGE=[+NameHLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
[+ENDIF+]
LT_INIT
dnl ***************************************************************************
dnl Check for SDL
dnl ***************************************************************************
AM_PATH_SDL($SDL_REQUIRED,
:,
AC_MSG_ERROR([SDL version $SDL_REQUIRED not found]))
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
CFLAGS="$CFLAGS $SDL_CFLAGS"
CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
LIBS="$LIBS $SDL_LIBS"
[+IF (=(get "HaveSDL_image") "1")+]
dnl ***************************************************************************
dnl Check for SDL_image
dnl ***************************************************************************
AC_CHECK_LIB(SDL_image, IMG_Load,
[ LIBS="$LIBS -lSDL_image" ],
AC_MSG_ERROR([SDL_image not found]))
[+ENDIF+]
[+IF (=(get "HaveSDL_gfx") "1")+]
dnl ***************************************************************************
dnl Check for SDL_gfx
dnl ***************************************************************************
AC_CHECK_LIB(SDL_gfx, SDL_initFramerate,
[ LIBS="$LIBS -lSDL_gfx" ],
AC_MSG_ERROR([SDL_gfx not found]))
[+ENDIF+]
[+IF (=(get "HaveSDL_ttf") "1")+]
dnl ***************************************************************************
dnl Check for SDL_ttf
dnl ***************************************************************************
AC_CHECK_LIB(SDL_ttf, TTF_OpenFont,
[ LIBS="$LIBS -lSDL_ttf" ],
AC_MSG_ERROR([SDL_ttf not found]))
[+ENDIF+]
[+IF (=(get "HaveSDL_mixer") "1")+]
dnl ***************************************************************************
dnl Check for SDL_mixer
dnl ***************************************************************************
AC_CHECK_LIB(SDL_mixer, Mix_OpenAudio,
[ LIBS="$LIBS -lSDL_mixer" ],
AC_MSG_ERROR([SDL_mixer not found]))
[+ENDIF+]
[+IF (=(get "HaveSDL_net") "1")+]
dnl ***************************************************************************
dnl Check for SDL_net
dnl ***************************************************************************
AC_CHECK_LIB(SDL_net, SDLNet_Init,
[ LIBS="$LIBS -lSDL_net" ],
AC_MSG_ERROR([SDL_net not found]))
[+ENDIF+]
AC_OUTPUT([
Makefile
src/Makefile
[+IF (=(get "HaveI18n") "1")+]po/Makefile.in[+ENDIF+]
])
|