File: configure.in

package info (click to toggle)
monopd 0.9.3-4.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 788 kB
  • ctags: 575
  • sloc: cpp: 5,666; sh: 712; makefile: 27
file content (29 lines) | stat: -rw-r--r-- 993 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Process this file with autoconf to produce a configure script.
AC_INIT(src/main.cpp)
AM_INIT_AUTOMAKE(monopd, 0.9.3)
AM_CONFIG_HEADER(config.h)
AC_LANG(C++)

# Checks for programs.
AC_PROG_CXX

# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADER([libcapsinetwork/listener.h], [], [AC_MSG_ERROR([Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/])])
AC_CHECK_HEADER([libcapsinetwork/socket.h], [], [AC_MSG_ERROR([Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/])])
AC_CHECK_HEADER([cmath], [], [AC_MSG_ERROR([Your STL doesn't come with cmath, upgrade your libstdc++.])])
AC_CHECK_HEADER([math++/nodes.h], [], [AC_MSG_ERROR([Please install libmath++ >= 0.0.3 from http://www.surakware.net/download/])])

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_OUTPUT([
  Makefile
  conf/Makefile
  doc/Makefile
  doc/api/Makefile
  games/Makefile
  src/Makefile
])