Got rid of configure warnings when using a newer autoconf
authorChristopher John Purnell <cjp@lost.org.uk>
Sun, 3 Aug 2003 23:14:57 +0000 (23:14 +0000)
committerChristopher John Purnell <cjp@lost.org.uk>
Sun, 3 Aug 2003 23:14:57 +0000 (23:14 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@154 7f0cb862-5218-0410-a997-914c9d46530a

configure.in

index be9d6ce..fa8c7a0 100644 (file)
@@ -26,7 +26,7 @@ AC_HAVE_HEADERS( GL/gl.h GL/glu.h GL/glx.h )
 
 save_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS $X_CFLAGS"
-AC_CHECK_HEADERS( X11/extensions/xf86vmode.h )
+AC_CHECK_HEADERS(X11/extensions/xf86vmode.h,,,[#include <X11/Xlib.h>])
 CFLAGS="$save_CFLAGS"
 
 dnl Checks for typedefs, structures, and compiler characteristics.