diff --git a/build/autoconf/lustre-build.m4 b/build/autoconf/lustre-build.m4
index 51780bc2f2b21bdb4622506e3a44afe0e7e39e25..4a95cd93ab76a5af58ce6e03e160c0b8ed5f53d3 100644
--- a/build/autoconf/lustre-build.m4
+++ b/build/autoconf/lustre-build.m4
@@ -305,7 +305,7 @@ AC_ARG_ENABLE([bgl],
 	[enable_bgl='yes'],[enable_bgl='no'])
 AC_MSG_RESULT([$enable_bgl])
 if test x$enable_bgl != xno; then
-        AC_DEFINE(BGL_SUPPORT, 1, Enable BGL Features)
+        AC_DEFINE(HAVE_BGL_SUPPORT, 1, Enable BGL Features)
         enable_doc='no'
         enable_tests='no'
         enable_server='no'