1 dnl Process this file with autoconf to produce a configure script.
4 AM_INIT_AUTOMAKE(freeglut,2.0.0)
5 AM_CONFIG_HEADER(config.h)
7 dnl Checks for programs.
13 AC_SUBST(LIBTOOL_DEPS)
15 dnl Checks for libraries.
18 AC_CHECK_LIB(Xxf86vm,XF86VidModeSwitchToMode,
19 LIBXXF86VM=-lXxf86vm,LIBXXF86VM=,$X_LIBS -lXext -lX11)
22 dnl Checks for header files.
24 AC_HAVE_HEADERS( GL/gl.h GL/glu.h GL/glx.h )
27 CFLAGS="$CFLAGS $X_CFLAGS"
28 AC_CHECK_HEADERS(X11/extensions/xf86vmode.h,,,[#include <X11/Xlib.h>])
31 dnl Checks for typedefs, structures, and compiler characteristics.
33 dnl Checks for library functions.
42 progs/demos/Makefile \
43 progs/demos/Fractals/Makefile \
44 progs/demos/Fractals_random/Makefile \
45 progs/demos/Lorenz/Makefile \
46 progs/demos/One/Makefile \