Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e Modified Files: configure.in Log Message: Initial GLX configuration support. =================================================================== RCS file: /cvs/e/e16/e/configure.in,v retrieving revision 1.197 retrieving revision 1.198 diff -u -3 -r1.197 -r1.198 --- configure.in 25 Feb 2007 00:33:03 -0000 1.197 +++ configure.in 25 Feb 2007 02:27:41 -0000 1.198 @@ -165,6 +165,23 @@ AC_SUBST(ECORE_CFLAGS) fi +# Is this reasonably correct? +AC_ARG_ENABLE(glx, + [ --enable-glx compile with GLX support (experimental) @<:@default=no@:>@],, + enable_glx=no) +if test "x$enable_glx" = "xyes"; then + AC_CHECK_HEADERS(GL/gl.h GL/glu.h GL/glx.h, , AC_MSG_ERROR([Cannot find GLX headers])) + AC_CHECK_LIB(GL, glXCreateNewContext, + [ + AC_DEFINE(HAVE_GLX, 1, [GLX support]) + GLX_LIBS="-lGL -lGLU" + ],[ + AC_MSG_ERROR([Cannot find GLX libraries]) + ]) + AC_SUBST(GLX_LIBS) +fi +AM_CONDITIONAL(HAVE_GLX, test "x$enable_glx" = "xyes") + AC_CHECK_LIB(Xext, XShapeQueryExtension, E_X_LIBS="-lXext $E_X_LIBS", AC_MSG_ERROR([Shape support is required but was not found]), @@ -339,6 +356,7 @@ echo echo "Experimental options - DO NOT USE unless you know what you are doing" echo " Compile with ecore/ecore_x ... $enable_ecore" +echo " GLX .......................... $enable_glx" echo " ScreenSaver .................. $enable_xscrnsaver" echo echo "Installation path .............. $prefix" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs