From f4635499bc96a597764f9cefb0b7b44f532e9c9b Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Sat, 18 Jan 2014 10:43:36 +0100 Subject: Added enable-pugl as configure parameter. Added nativewindow_pugl files. --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d85c345..fdabdbf 100644 --- a/configure.ac +++ b/configure.ac @@ -36,11 +36,12 @@ if test x$with_experimental == xyes; then CXXFLAGS="$CXXFLAGS -DEXPERIMENTAL" fi -AC_ARG_WITH(pugl, [ --with-pugl Build with Pugl support]) -if test x$with_pugl == xyes; then +AC_ARG_ENABLE(pugl, [ --enable-pugl Build with Pugl support]) +if test x$enable_pugl == xyes; then AC_MSG_WARN([*** Building with pugl support!]) CXXFLAGS="$CXXFLAGS -DPUGL -lGL -lGLU -lglut" fi +AM_CONDITIONAL([ENABLE_PUGL], [test "x$enable_pugl" = "xyes"]) AC_ARG_WITH(test, [ --with-test Build unit tests]) if test x$with_test == xyes; then -- cgit v1.2.3