From ffd335aca284c286030e2b26f1a02a0441748f46 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Tue, 27 Aug 2013 11:39:37 -0400 Subject: Started rewriting game from scratch with SDL2 Only the title screen is currently implemented --- configure.ac | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f311aa6..4206e6b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,44 +1,44 @@ -AC_INIT(mazeoflife, version-2.0) +AC_INIT(mazeoflife, version-3.0) AC_PREREQ([2.59]) AM_INIT_AUTOMAKE([1.10 no-define foreign]) AC_PROG_CXX AC_CONFIG_FILES([Makefile]) dnl Check for SDL -SDL_VERSION=1.2.0 -AM_PATH_SDL($SDL_VERSION, +SDL_VERSION=2.0.0 +AM_PATH_SDL2($SDL_VERSION, :, AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) ) CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" LIBS="$LIBS $SDL_LIBS" -dnl Check for SDL_ttf -AC_ARG_WITH([sdl-ttf-include-path], - [AS_HELP_STRING([--with-sdl-ttf-include-path], - [location of the SDL_ttf headers, defaults to /usr/include/SDL])], +dnl Check for SDL2_ttf +AC_ARG_WITH([sdl-ttf2-include-path], + [AS_HELP_STRING([--with-sdl2-ttf-include-path], + [location of the SDL2_ttf headers, defaults to /usr/include/SDL2])], [SDLTTF_CXXFLAGS="-I$withval"], - [SDLTTF_CXXFLAGS="-I/usr/include/SDL"]) + [SDLTTF_CXXFLAGS="-I/usr/include/SDL2"]) AC_SUBST([SDLTTF_CXXFLAGS]) -AC_ARG_WITH([sdl-ttf-lib-path], - [AS_HELP_STRING([--with-sdl-ttf-lib-path], [location of the SDL_ttf library])], - [SDLTTF_LIBS="-L$withval -lsdl_ttf"], - [SDLTTF_LIBS="-lsdl_ttf"]) +AC_ARG_WITH([sdl2-ttf-lib-path], + [AS_HELP_STRING([--with-sdl2-ttf-lib-path], [location of the SDL2_ttf library])], + [SDLTTF_LIBS="-L$withval -lsdl2_ttf"], + [SDLTTF_LIBS="-lsdl2_ttf"]) AC_SUBST([SDLTTF_LIBS]) -dnl Check for SDL_net -AC_ARG_WITH([sdl-net-include-path], - [AS_HELP_STRING([--with-sdl-net-include-path], - [location of the SDL_net headers, defaults to /usr/include/SDL])], +dnl Check for SDL2_net +AC_ARG_WITH([sdl2-net-include-path], + [AS_HELP_STRING([--with-sdl2-net-include-path], + [location of the SDL2_net headers, defaults to /usr/include/SDL2])], [SDLNET_CXXFLAGS="-I$withval"], - [SDLNET_CXXFLAGS="-I/usr/include/SDL"]) + [SDLNET_CXXFLAGS="-I/usr/include/SDL2"]) AC_SUBST([SDLNET_CXXFLAGS]) -AC_ARG_WITH([sdl-net-lib-path], - [AS_HELP_STRING([--with-sdl-net-lib-path], [location of the SDL_net library])], - [SDLNET_LIBS="-L$withval -lsdl_net"], - [SDLNET_LIBS="-lsdl_net"]) +AC_ARG_WITH([sdl2-net-lib-path], + [AS_HELP_STRING([--with-sdl2-net-lib-path], [location of the SDL2_net library])], + [SDLNET_LIBS="-L$withval -lsdl2_net"], + [SDLNET_LIBS="-lsdl2_net"]) AC_SUBST([SDLNET_LIBS]) AC_OUTPUT \ No newline at end of file -- cgit 1.4.1