Diff for /froggix/configure.ac between versions 1.2 and 1.3

version 1.2, 2009/03/28 03:59:07 version 1.3, 2009/03/28 04:18:01
Line 55  CFLAGS="$CFLAGS $SDL_CFLAGS" Line 55  CFLAGS="$CFLAGS $SDL_CFLAGS"
 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"  CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
 LIBS="$LIBS $SDL_LIBS"  LIBS="$LIBS $SDL_LIBS"
   
   # Check for SDL_image library
   AC_CHECK_LIB(SDL_image, IMG_LoadPNG_RW, , AC_MSG_ERROR([
   *** Unable to find SDL_image libary with PNG support
   (http://www.libsdl.org/projects/SDL_image/)
   ]))
   
   # Check for SDL_image library
   AC_CHECK_LIB(SDL_ttf, TTF_OpenFont, , AC_MSG_ERROR([
   *** Unable to find SDL_ttf libary 
   (http://www.libsdl.org/projects/SDL_image/)
   ]))
   
   
   ### No need for OpenGL right now
 # Check for OpenGL  # Check for OpenGL
 AC_MSG_CHECKING(for OpenGL support)  #AC_MSG_CHECKING(for OpenGL support)
 HAVE_OPENGL=no  #HAVE_OPENGL=no
 AC_TRY_COMPILE([  #AC_TRY_COMPILE([
  #include <GL/gl.h>   #include <GL/gl.h>
 ],[  #],[
 ],[  #],[
 HAVE_OPENGL=yes  #HAVE_OPENGL=yes
 ])  #])
 AC_MSG_RESULT($HAVE_OPENGL)  #AC_MSG_RESULT($HAVE_OPENGL)
 if test x$HAVE_OPENGL = xyes; then  #if test x$HAVE_OPENGL = xyes; then
     CFLAGS="$CFLAGS -DHAVE_OPENGL"  #    CFLAGS="$CFLAGS -DHAVE_OPENGL"
     GL_LIBS="$SYS_GL_LIBS"  #    GL_LIBS="$SYS_GL_LIBS"
 else  #else
     GL_LIBS=""  #    GL_LIBS=""
 fi  #fi
 AC_SUBST(GL_LIBS)  #AC_SUBST(GL_LIBS)
   ### End of OpenGL
   
 # Check for standard C++ library  # Check for standard C++ library
 AC_CHECK_LIB(stdc++, main)  AC_CHECK_LIB(stdc++, main)

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>