forked from mia/Aegisub
revert r2240 changes to configure.in
Originally committed to SVN as r2241.
This commit is contained in:
parent
923b347356
commit
c4285b87fd
1 changed files with 10 additions and 14 deletions
24
configure.in
24
configure.in
|
@ -71,7 +71,7 @@ AC_C_BIGENDIAN(
|
||||||
AC_DEFINE([HAVE_BIG_ENDIAN], [1], [Big Endian]),
|
AC_DEFINE([HAVE_BIG_ENDIAN], [1], [Big Endian]),
|
||||||
AC_DEFINE([HAVE_LITTLE_ENDIAN], [1], [Little Endian]),
|
AC_DEFINE([HAVE_LITTLE_ENDIAN], [1], [Little Endian]),
|
||||||
AC_DEFINE([HAVE_DYNAMIC_ENDIAN], [1], [Unknown 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.])
|
AC_MSG_FAILURE([Please install a working OpenGL library.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#AC_AGI_COMPILE([OpenGLU], [openglu], [$GL_CFLAGS], [$GL_LIBS -lGLU],[
|
AC_AGI_COMPILE([OpenGLU], [openglu], [$GL_CFLAGS], [$GL_LIBS -lGLU],[
|
||||||
##ifdef __APPLE__
|
#include <GL/glu.h>
|
||||||
##include <OpenGL/glu.h>
|
int main(void) {
|
||||||
##else
|
return 0;
|
||||||
##include <GL/glu.h>
|
}])
|
||||||
##endif
|
|
||||||
#int main(void) {
|
if test "$agi_with_openglu" = "no"; then
|
||||||
# return 0;
|
AC_MSG_FAILURE([Please install a working OpenGL GLU library.])
|
||||||
#}])
|
fi
|
||||||
#
|
|
||||||
#if test "$agi_with_openglu" = "no"; then
|
|
||||||
# AC_MSG_FAILURE([Please install a working OpenGL GLU library.])
|
|
||||||
#fi
|
|
||||||
|
|
||||||
|
|
||||||
###########
|
###########
|
||||||
|
|
Loading…
Reference in a new issue