[1945] | 1 | # -*- Autoconf -*- |
---|
| 2 | # Process this file with autoconf to produce a configure script. |
---|
| 3 | |
---|
| 4 | AC_PREREQ(2.59) |
---|
[1950] | 5 | AC_INIT(orxonox, 0.1-pre-alpha, orxonox-dev@mail.datacore.ch) |
---|
[1951] | 6 | AC_CONFIG_SRCDIR([.]) |
---|
[1945] | 7 | AC_CONFIG_HEADER([config.h]) |
---|
| 8 | AM_INIT_AUTOMAKE |
---|
| 9 | |
---|
| 10 | # Checks for programs. |
---|
| 11 | AC_PROG_CXX |
---|
| 12 | AC_PROG_CC |
---|
| 13 | |
---|
| 14 | # Checks for libraries. |
---|
| 15 | # FIXME: Replace `main' with a function in `-lGL': |
---|
| 16 | AC_CHECK_LIB([GL], [main]) |
---|
| 17 | # FIXME: Replace `main' with a function in `-lGLU': |
---|
| 18 | AC_CHECK_LIB([GLU], [main]) |
---|
| 19 | # FIXME: Replace `main' with a function in `-lOSMesa': |
---|
| 20 | AC_CHECK_LIB([OSMesa], [main]) |
---|
| 21 | # FIXME: Replace `main' with a function in `-lX11': |
---|
| 22 | AC_CHECK_LIB([X11], [main]) |
---|
| 23 | # FIXME: Replace `main' with a function in `-lXt': |
---|
| 24 | AC_CHECK_LIB([Xt], [main]) |
---|
| 25 | # FIXME: Replace `main' with a function in `-lglut': |
---|
| 26 | AC_CHECK_LIB([glut], [main]) |
---|
| 27 | # FIXME: Replace `main' with a function in `-lm': |
---|
| 28 | AC_CHECK_LIB([m], [main]) |
---|
| 29 | |
---|
| 30 | # Checks for header files. |
---|
| 31 | AC_HEADER_STDC |
---|
| 32 | AC_CHECK_HEADERS([stdlib.h string.h]) |
---|
| 33 | |
---|
| 34 | # Checks for typedefs, structures, and compiler characteristics. |
---|
| 35 | AC_HEADER_STDBOOL |
---|
| 36 | |
---|
| 37 | # Checks for library functions. |
---|
| 38 | AC_FUNC_MALLOC |
---|
| 39 | AC_CHECK_FUNCS([bzero sqrt]) |
---|
| 40 | |
---|
[1946] | 41 | AC_CONFIG_FILES([Makefile |
---|
| 42 | console/Makefile |
---|
[1945] | 43 | gui/Makefile |
---|
| 44 | src/Makefile]) |
---|
| 45 | AC_OUTPUT |
---|