softpipe: fix softpipe_delete_fs_state() failed assertion
[mesa.git] / configure.ac
index b6481a69fd71e94707ec33498bc3d2ca02defc62..fa4fd71271717ea735e4d56d65d092c6e646bc5b 100644 (file)
@@ -228,6 +228,9 @@ if test "x$GXX" = xyes; then
     # gcc's builtin memcmp is slower than glibc's
     # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43052
     CXXFLAGS="$CXXFLAGS -fno-builtin-memcmp"
+
+    # Silence C++11 warnings that we don't care about.
+    CXXFLAGS="$CXXFLAGS -Wno-narrowing"
 fi
 
 dnl even if the compiler appears to support it, using visibility attributes isn't
@@ -689,9 +692,9 @@ AC_SUBST([API_DEFINES])
 
 AC_ARG_ENABLE([shared-glapi],
     [AS_HELP_STRING([--enable-shared-glapi],
-        [EXPERIMENTAL.  Enable shared glapi for OpenGL @<:@default=no@:>@])],
+        [Enable shared glapi for OpenGL @<:@default=yes@:>@])],
     [enable_shared_glapi="$enableval"],
-    [enable_shared_glapi=no])
+    [enable_shared_glapi=yes])
 
 SHARED_GLAPI="0"
 if test "x$enable_shared_glapi" = xyes; then
@@ -2153,6 +2156,7 @@ AC_CONFIG_FILES([configs/current
                src/mapi/glapi/gen/Makefile
                src/mapi/shared-glapi/Makefile
                src/mapi/glapi/tests/Makefile
+               src/mapi/shared-glapi/tests/Makefile
                src/gtest/Makefile
                src/mesa/Makefile
                src/mesa/libdricore/Makefile