Revision 72, 1.2 kB
(checked in by pieterpalmers, 19 years ago)
|
- Added the beginning of OSC IPC
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
Line | |
---|
1 |
# Process this file with autoconf to produce a configure script. |
---|
2 |
AC_INIT(src/client.c) |
---|
3 |
AM_CONFIG_HEADER(src/config.h) |
---|
4 |
|
---|
5 |
AM_INIT_AUTOMAKE(libfreebobctl, 0.0.1) |
---|
6 |
|
---|
7 |
# Checks for programs. |
---|
8 |
AC_PROG_CC |
---|
9 |
AC_PROG_LIBTOOL |
---|
10 |
|
---|
11 |
# Checks for header files. |
---|
12 |
AC_HEADER_STDC |
---|
13 |
AC_CHECK_HEADERS(stdlib.h string.h netdb.h arpa/inet.h netinet/tcp.h netinet/in.h sys/socket.h unistd.h) |
---|
14 |
|
---|
15 |
# Checks for typedefs, structures, and compiler characteristics. |
---|
16 |
AC_C_CONST |
---|
17 |
AC_TYPE_SIZE_T |
---|
18 |
|
---|
19 |
# Checks for library functions. |
---|
20 |
AC_CHECK_FUNCS(strdup strtok_r memset memmove socket connect bind listen setsockopt getsockopt getsockname gethostbyname) |
---|
21 |
|
---|
22 |
# Checks for pthread library. |
---|
23 |
AC_CHECK_LIB(pthread, pthread_create) |
---|
24 |
|
---|
25 |
# Check for libXML2 |
---|
26 |
PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.6.0) |
---|
27 |
AC_SUBST([LIBXML_LIBS]) |
---|
28 |
AC_SUBST([LIBXML_CFLAGS]) |
---|
29 |
|
---|
30 |
# Check for liblo |
---|
31 |
PKG_CHECK_MODULES(LIBLO, liblo >= 0.17) |
---|
32 |
AC_SUBST([LIBLO_LIBS]) |
---|
33 |
AC_SUBST([LIBLO_CFLAGS]) |
---|
34 |
|
---|
35 |
AC_ENABLE_STATIC(no) |
---|
36 |
AC_ENABLE_SHARED(yes) |
---|
37 |
|
---|
38 |
# Checks for doxygen. |
---|
39 |
AC_CHECK_PROG(ac_doxygen, doxygen, [doc], []) |
---|
40 |
AC_SUBST(ac_doxygen) |
---|
41 |
|
---|
42 |
AC_OUTPUT(Makefile src/Makefile freebobctl/Makefile examples/Makefile doc/Makefile freebobctl/version.h doc/libfreebobctl.doxygen libfreebobctl.pc libfreebobctl.spec) |
---|
43 |
|
---|