Initial revision
[freeglut] / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(Makefile.am)
3
4 AM_INIT_AUTOMAKE(freeglut,0.1)
5 AM_CONFIG_HEADER(config.h)
6
7 dnl Checks for programs.
8 AC_PROG_CC
9 AC_C_CONST
10 AC_EXEEXT
11 AC_PROG_RANLIB
12 AC_LIBTOOL_DLOPEN
13 AM_PROG_LIBTOOL
14 AC_SUBST(LIBTOOL_DEPS)
15
16 dnl Checks for libraries.
17
18 dnl Checks for header files.
19 AC_STDC_HEADERS
20 AC_HAVE_HEADERS( GL/gl.h GL/glu.h GL/glx.h )
21
22 dnl Checks for typedefs, structures, and compiler characteristics.
23
24 dnl Checks for library functions.
25
26 AC_CHECK_LIBM
27 AC_SUBST(LIBM)
28
29 AC_OUTPUT(Makefile freeglut-1.3/Makefile include/Makefile include/GL/Makefile genfonts/Makefile tests/Makefile )