# HG changeset patch # User Shai Ayal # Date 1257961077 -7200 # Node ID 77f0a9f7422a4f9f71d075837643659f14ee17e4 # Parent 9b4a301d88ed6503c0eb9c396fd4c56c3e6dbb23 [mq]: remove_ftgl diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-11-11 Shai Ayal + + * configure.ac: Remove tests for ftgl since it is not needed + 2009-11-11 John W. Eaton * configure.ac: Fail if LT_INIT it is not defined. diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -741,13 +741,12 @@ ## libraries needed for graphics warn_freetype="" -warn_ftgl="" OCTAVE_OPENGL if test -n "$OPENGL_LIBS"; then AC_DEFINE(HAVE_OPENGL, 1, [Define if OpenGL is available]) -## ftgl (needs freetype 2) +## freetype 2 AC_CHECK_FT2([9.0.3],[AC_DEFINE(HAVE_FREETYPE, 1, [Define to 1 if you have Freetype library.])], [warn_freetype="FreeType library not found. Native renderer will not have on-screen text"]) if test -z "$warn_freetype"; then @@ -758,48 +757,6 @@ LIBS="$LIBS $FT2_LIBS $OPENGL_LIBS" CXXFLAGS="$CXXFLAGS $FT2_CFLAGS" CPPFLAGS="$CPPFLAGS $FT2_CFLAGS" - has_ftgl_h=yes - AC_CHECK_HEADERS([FTGL/ftgl.h ftgl.h], break, [ - AC_CHECK_HEADERS([FTGL/FTGL.h FTGL.h], [ - AC_DEFINE(HAVE_FTGL_UPPERCASE, 1, [Define to 1 if you have FTGL.h or FTGL/FTGL.h]) - break - ], has_ftgl_h=no)]) - if test "$has_ftgl_h" = yes; then - AC_MSG_CHECKING([for FTGLTextureFont in -lftgl]) - LIBS="$save_LIBS -lftgl $FT2_LIBS $OPENGL_LIBS" - AC_TRY_LINK([ -#ifdef HAVE_FTGL_FTGL_H -#ifdef HAVE_FTGL_UPPERCASE -#include -#else -#include -#endif -#include -#elif HAVE_FTGL_H -#ifdef HAVE_FTGL_UPPERCASE -#include -#else -#include -#endif -#include -#endif], [ -FTGLTextureFont font("");], [ - OPENGL_LIBS="-lftgl $FT2_LIBS $OPENGL_LIBS" - LIBS="$save_LIBS" - CPPFLAGS="$save_CPPFLAGS" - AC_DEFINE(HAVE_FTGL, 1, [Define to 1 if FTGL is present]) - AC_MSG_RESULT(yes) - XTRA_CXXFLAGS="$XTRA_CXXFLAGS $FT2_CFLAGS"], [ - AC_MSG_RESULT(no) - warn_ftgl="FTGL library not found. Native renderer will not have on-screen text" - ]) - LIBS="$save_LIBS" - CXXFLAGS="$save_CXXFLAGS" - CPPFLAGS="$save_CPPFLAGS" - else - warn_ftgl="FTGL headers not found. Native renderer will not have on-screen text" - fi - AC_LANG_POP(C++) fi fi @@ -2494,12 +2451,6 @@ warn_msg_printed=true fi -if test -n "$warn_ftgl"; then - AC_MSG_WARN("$warn_ftgl") - native_graphics=false - warn_msg_printed=true -fi - if test -n "$warn_fltk_config"; then AC_MSG_WARN("$warn_fltk_config") native_graphics=false