forked from mia/Aegisub
Skip some pointless configure checks on OS X
This commit is contained in:
parent
8f5bfb0cae
commit
096398425a
|
@ -125,8 +125,10 @@ AC_SUBST([BUILD_DATE])
|
||||||
###################################################
|
###################################################
|
||||||
# Check for pthreads and setup variables / compiler
|
# Check for pthreads and setup variables / compiler
|
||||||
###################################################
|
###################################################
|
||||||
|
AS_IF([test x$build_darwin != xyes], [
|
||||||
ACX_PTHREAD([], [AC_MSG_FAILURE([You must have working pthreads.])])
|
ACX_PTHREAD([], [AC_MSG_FAILURE([You must have working pthreads.])])
|
||||||
CC="$PTHREAD_CC"
|
CC="$PTHREAD_CC"
|
||||||
|
])
|
||||||
|
|
||||||
######################
|
######################
|
||||||
# Check compiler flags
|
# Check compiler flags
|
||||||
|
@ -188,12 +190,16 @@ AC_ARG_ENABLE(sanity-checks,
|
||||||
### Required Dependencies
|
### Required Dependencies
|
||||||
#########################
|
#########################
|
||||||
|
|
||||||
|
AS_IF([test x$build_darwin != xyes], [
|
||||||
AC_PATH_XTRA
|
AC_PATH_XTRA
|
||||||
AS_IF([test x$no_x = xyes && test x$build_darwin != xyes],
|
AS_IF([test x$no_x = xyes],
|
||||||
[AC_MSG_FAILURE([You must have a working copy of X installed.])])
|
[AC_MSG_FAILURE([You must have a working copy of X installed.])])
|
||||||
|
|
||||||
AX_CHECK_GL
|
AX_CHECK_GL
|
||||||
AS_IF([test x$no_gl = xyes], [AC_MSG_FAILURE([Aegisub requires GL support.])])
|
AS_IF([test x$no_gl = xyes], [AC_MSG_FAILURE([Aegisub requires GL support.])])
|
||||||
|
], [
|
||||||
|
AC_CHECK_HEADERS([OpenGL/gl.h])
|
||||||
|
])
|
||||||
AC_SUBST(GL_CFLAGS)
|
AC_SUBST(GL_CFLAGS)
|
||||||
AC_SUBST(GL_LIBS)
|
AC_SUBST(GL_LIBS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue