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

Annotation of /liblscp/trunk/configure.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 419 - (hide annotations) (download)
Wed Mar 2 16:25:27 2005 UTC (14 years, 5 months ago) by capela
File size: 1900 byte(s)
Mini bitsy regression.

1 capela 103 # 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 419 AM_INIT_AUTOMAKE(liblscp, 0.2.6.1)
6 capela 103
7 capela 380 #------------------------------------------------------------------------------------
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 419 SHARED_VERSION_INFO="0:3:0"
24 capela 380
25     AC_SUBST(SHARED_VERSION_INFO)
26    
27 capela 103 # Checks for programs.
28     AC_PROG_CC
29     AC_PROG_LIBTOOL
30 capela 380 AM_PROG_LIBTOOL
31 capela 103
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 schoenebeck 199 AC_OUTPUT(Makefile src/Makefile lscp/Makefile examples/Makefile doc/Makefile doc/liblscp.doxygen lscp.pc liblscp.spec lscp/version.h)

  ViewVC Help
Powered by ViewVC