/[svn]/liblscp/trunk/configure.ac
ViewVC logotype

Annotation of /liblscp/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 946 - (hide annotations) (download)
Mon Nov 27 18:33:02 2006 UTC (13 years ago) by capela
File size: 1914 byte(s)
* As of the LSCP 1.2 working draft document, added
  some missing client interface functions:
    lscp_get_total_voice_count();
    lscp_get_total_voice_count_max();
  and for the new MIDI instrument mapping features:
    lscp_map_midi_instrument();
    lscp_unmap_midi_instrument();
    lscp_get_midi_instruments();
    lscp_get_midi_instrument_info();
    lscp_clear_midi_instruments();

1 capela 754 # 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 capela 946 AM_INIT_AUTOMAKE(liblscp, 0.4.0)
6 capela 754
7     #------------------------------------------------------------------------------------
8     # Rules for library version information:
9     #
10     # 1. Start with version information of `0:0:0' for each libtool library.
11     # 2. Update the version information only immediately before a public release of
12     # your software. More frequent updates are unnecessary, and only guarantee
13     # that the current interface number gets larger faster.
14     # 3. If the library source code has changed at all since the last update, then
15     # increment revision (`c:r:a' becomes `c:r+1:a').
16     # 4. If any interfaces have been added, removed, or changed since the last update,
17     # increment current, and set revision to 0.
18     # 5. If any interfaces have been added since the last public release, then increment
19     # age.
20     # 6. If any interfaces have been removed since the last public release, then set age
21     # to 0.
22    
23 capela 946 SHARED_VERSION_INFO="1:0:0"
24 capela 754
25     AC_SUBST(SHARED_VERSION_INFO)
26    
27     # Checks for programs.
28     AC_PROG_CC
29     AC_PROG_LIBTOOL
30     AM_PROG_LIBTOOL
31    
32     # Checks for header files.
33     AC_HEADER_STDC
34     AC_CHECK_HEADERS(stdlib.h string.h netdb.h arpa/inet.h netinet/tcp.h netinet/in.h sys/socket.h unistd.h)
35    
36     # Checks for typedefs, structures, and compiler characteristics.
37     AC_C_CONST
38     AC_TYPE_SIZE_T
39    
40     # Checks for library functions.
41     AC_CHECK_FUNCS(strdup strtok_r memset memmove socket connect bind listen setsockopt getsockopt getsockname gethostbyname)
42    
43     # Checks for pthread library.
44     AC_CHECK_LIB(pthread, pthread_create)
45    
46     AC_ENABLE_STATIC(no)
47     AC_ENABLE_SHARED(yes)
48    
49     # Checks for doxygen.
50     AC_CHECK_PROG(ac_doxygen, doxygen, [doc], [])
51     AC_SUBST(ac_doxygen)
52    
53     AC_OUTPUT(Makefile src/Makefile lscp/Makefile examples/Makefile debian/Makefile doc/Makefile doc/liblscp.doxygen lscp.pc liblscp.spec lscp/version.h)
54    

  ViewVC Help
Powered by ViewVC