mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-28 02:05:26 +00:00
Merge branch 'gles3' of github.com:projectM-visualizer/projectm into gles3
This commit is contained in:
34
configure.ac
34
configure.ac
@ -57,14 +57,14 @@ AS_IF([test "x$enable_threading" = "xyes"], [
|
||||
])
|
||||
])
|
||||
|
||||
dnl FTGL
|
||||
AC_ARG_ENABLE([ftgl],
|
||||
AS_HELP_STRING([--enable-ftgl], [FTGL support to display text such as preset title, stats, fps, ...]),
|
||||
[], [enable_ftgl=no])
|
||||
AS_IF([test "x$enable_ftgl" = "xyes"], [
|
||||
PKG_CHECK_MODULES(FTGL, [ftgl], [], [AC_MSG_ERROR([libftgl is required.])])
|
||||
AC_DEFINE([USE_FTGL], [1], [Define USE_FTGL])
|
||||
])
|
||||
#dnl FTGL
|
||||
#AC_ARG_ENABLE([ftgl],
|
||||
# AS_HELP_STRING([--enable-ftgl], [FTGL support to display text such as preset title, stats, fps, ...]),
|
||||
# [], [enable_ftgl=no])
|
||||
#AS_IF([test "x$enable_ftgl" = "xyes"], [
|
||||
# PKG_CHECK_MODULES(FTGL, [ftgl], [], [AC_MSG_ERROR([libftgl is required.])])
|
||||
# AC_DEFINE([USE_FTGL], [1], [Define USE_FTGL])
|
||||
#])
|
||||
|
||||
AC_CHECK_HEADER([glm/glm.hpp],, AC_MSG_ERROR(libglm is required.))
|
||||
|
||||
@ -79,15 +79,15 @@ dnl Cg framework OSX -- replace with GLSL someday!
|
||||
CG_CFLAGS=
|
||||
CG_LDFLAGS=
|
||||
FRAMEWORK_SEARCH_PATHS="-F/Library/Frameworks -F$HOME/Library/Frameworks"
|
||||
AC_ARG_ENABLE([cg],
|
||||
AS_HELP_STRING([--enable-cg], [Cg framework for shaders]),
|
||||
[], [enable_cg=no])
|
||||
AS_IF([test "x$enable_cg" = "xyes"], [
|
||||
dnl AC_CHECK_HEADERS([Cg/cg.h], [], [AC_MSG_ERROR([Cg framework not found.])])
|
||||
AC_DEFINE([USE_CG], [1], [Define USE_CG])
|
||||
CG_LDFLAGS+="$FRAMEWORK_SEARCH_PATHS -framework Cg"
|
||||
CG_CFLAGS+="$FRAMEWORK_SEARCH_PATHS"
|
||||
])
|
||||
#AC_ARG_ENABLE([cg],
|
||||
#AS_HELP_STRING([--enable-cg], [Cg framework for shaders]),
|
||||
#[], [enable_cg=no])
|
||||
#AS_IF([test "x$enable_cg" = "xyes"], [
|
||||
#dnl AC_CHECK_HEADERS([Cg/cg.h], [], [AC_MSG_ERROR([Cg framework not found.])])
|
||||
#AC_DEFINE([USE_CG], [1], [Define USE_CG])
|
||||
#CG_LDFLAGS+="$FRAMEWORK_SEARCH_PATHS -framework Cg"
|
||||
#CG_CFLAGS+="$FRAMEWORK_SEARCH_PATHS"
|
||||
#])
|
||||
AC_SUBST([CG_CFLAGS])
|
||||
AC_SUBST([CG_LDFLAGS])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user