Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/automake/configure.ac @ 2141

Last change on this file since 2141 was 1951, checked in by bensch, 20 years ago

orxonox/branches/automake: fixed little error in configure.ac and eddited console/Makefile.am, but it still does not compile. CFLAGS are not handed on

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