revert r2240 changes to configure.in

Originally committed to SVN as r2241.
This commit is contained in:
Karl Blomster 2008-07-05 13:01:39 +00:00
parent 923b347356
commit c4285b87fd

View file

@ -71,7 +71,7 @@ AC_C_BIGENDIAN(
AC_DEFINE([HAVE_BIG_ENDIAN], [1], [Big Endian]),
AC_DEFINE([HAVE_LITTLE_ENDIAN], [1], [Little Endian]),
AC_DEFINE([HAVE_DYNAMIC_ENDIAN], [1], [Unknown endian]),
AC_DEFINE([HAVE_UNIVERSAL_ENDIAN], [1], [Universal Endian (MAC Universal PPC/Intel Binaries, detecting correct during build)])
AC_DEFINE([HAVE_UNIVERSAL_ENDIAN], [1], [Universal Endian (MAC Universal PPC/Intel Binaries, uses HAVE_DYNAMIC_ENDIAN)])
)
@ -204,19 +204,15 @@ if test "$agi_with_opengl" = "no"; then
AC_MSG_FAILURE([Please install a working OpenGL library.])
fi
#AC_AGI_COMPILE([OpenGLU], [openglu], [$GL_CFLAGS], [$GL_LIBS -lGLU],[
##ifdef __APPLE__
##include <OpenGL/glu.h>
##else
##include <GL/glu.h>
##endif
#int main(void) {
# return 0;
#}])
#
#if test "$agi_with_openglu" = "no"; then
# AC_MSG_FAILURE([Please install a working OpenGL GLU library.])
#fi
AC_AGI_COMPILE([OpenGLU], [openglu], [$GL_CFLAGS], [$GL_LIBS -lGLU],[
#include <GL/glu.h>
int main(void) {
return 0;
}])
if test "$agi_with_openglu" = "no"; then
AC_MSG_FAILURE([Please install a working OpenGL GLU library.])
fi
###########