projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
These change a bunch of assignments to calls to set the current window correctly...
[freeglut]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
76c33dd
..
fa8c7a0
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1,7
+1,7
@@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(Makefile.am)
dnl Process this file with autoconf to produce a configure script.
AC_INIT(Makefile.am)
-AM_INIT_AUTOMAKE(freeglut,0.1)
+AM_INIT_AUTOMAKE(freeglut,2.0.0)
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
@@
-16,10
+16,19
@@
AC_SUBST(LIBTOOL_DEPS)
dnl Checks for libraries.
AC_PATH_XTRA
dnl Checks for libraries.
AC_PATH_XTRA
+AC_CHECK_LIB(Xxf86vm,XF86VidModeSwitchToMode,
+ LIBXXF86VM=-lXxf86vm,LIBXXF86VM=,$X_LIBS -lXext -lX11)
+AC_SUBST(LIBXXF86VM)
+
dnl Checks for header files.
AC_STDC_HEADERS
AC_HAVE_HEADERS( GL/gl.h GL/glu.h GL/glx.h )
dnl Checks for header files.
AC_STDC_HEADERS
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,,,[#include <X11/Xlib.h>])
+CFLAGS="$save_CFLAGS"
+
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.