Makes configure fail on missing GL headers
authorRafaël Carré <funman@videolan.org>
Sun, 12 Nov 2006 19:47:32 +0000 (19:47 +0000)
committerRafaël Carré <funman@videolan.org>
Sun, 12 Nov 2006 19:47:32 +0000 (19:47 +0000)
configure.ac

index 120b9e7..ed7e0f2 100644 (file)
@@ -3594,7 +3594,7 @@ if test "${enable_glx}" != "no" &&
       VLC_ADD_PLUGINS([glx])
       VLC_ADD_LDFLAGS([glx],[${X_LIBS} ${X_PRE_LIBS} -lX11 -lXext -lGL -lGLU])
       VLC_ADD_CPPFLAGS([glx],[${X_CFLAGS}])
-   ])
+   ],[AC_MSG_ERROR([Please install GL development package. Alternatively you can also configure with --disable-glx.])])
   CPPFLAGS="${CPPFLAGS_save}"
 fi