Last change
on this file since 1829 was
1814,
checked in by bensch, 21 years ago
|
orxonox/brnaches/bensch: added autoproject configuration
|
File size:
973 bytes
|
Rev | Line | |
---|
[1814] | 1 | dnl Process this file with autoconf to produce a configure script. |
---|
| 2 | |
---|
| 3 | AC_INIT(orxonox.cc) |
---|
| 4 | dnl Every other copy of the package version number gets its value from here |
---|
| 5 | AM_INIT_AUTOMAKE(orxonox, 0.1.0) |
---|
| 6 | |
---|
| 7 | dnl create a config.h file (Automake will add -DHAVE_CONFIG_H) |
---|
| 8 | AM_CONFIG_HEADER(config.h) |
---|
| 9 | |
---|
| 10 | AC_SUBST(VERSION) |
---|
| 11 | |
---|
| 12 | ISODATE=`date +%Y-%m-%d` |
---|
| 13 | AC_SUBST(ISODATE) |
---|
| 14 | |
---|
| 15 | AC_CANONICAL_HOST |
---|
| 16 | |
---|
| 17 | dnl Checks for programs. |
---|
| 18 | AC_PROG_INSTALL |
---|
| 19 | AC_PROG_CC |
---|
| 20 | AC_PROG_CXX |
---|
| 21 | |
---|
| 22 | dnl Checks for libraries. |
---|
| 23 | |
---|
| 24 | dnl Checks for header files. |
---|
| 25 | AC_HEADER_STDC |
---|
| 26 | AC_CHECK_HEADERS(unistd.h sys/param.h sys/time.h time.h sys/mkdev.h sys/sysmacros.h string.h memory.h fcntl.h dirent.h sys/ndir.h ndir.h alloca.h locale.h ) |
---|
| 27 | |
---|
| 28 | jm_CHECK_TYPE_STRUCT_UTIMBUF |
---|
| 29 | AC_HEADER_MAJOR |
---|
| 30 | AC_FUNC_ALLOCA |
---|
| 31 | AC_STRUCT_TM |
---|
| 32 | AC_STRUCT_ST_BLOCKS |
---|
| 33 | AC_FUNC_CLOSEDIR_VOID |
---|
| 34 | AC_CHECK_FUNCS(mkfifo) |
---|
| 35 | AC_CHECK_FUNC(mknod) |
---|
| 36 | |
---|
| 37 | dnl Checks for typedefs, structures, and compiler characteristics. |
---|
| 38 | |
---|
| 39 | dnl Checks for library functions. |
---|
| 40 | |
---|
| 41 | AC_OUTPUT(Makefile orxonox.lsm orxonox.spec) |
---|
Note: See
TracBrowser
for help on using the repository browser.