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

Annotation of /liblscp/trunk/configure.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 370 - (hide annotations) (download)
Fri Feb 11 13:32:19 2005 UTC (19 years, 1 month ago) by capela
File size: 939 byte(s)
Minor error message prefix correction.

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 370 AM_INIT_AUTOMAKE(liblscp, 0.2.4.1)
6 capela 103
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     AC_ENABLE_STATIC(no)
26     AC_ENABLE_SHARED(yes)
27    
28     # Checks for doxygen.
29     AC_CHECK_PROG(ac_doxygen, doxygen, [doc], [])
30     AC_SUBST(ac_doxygen)
31    
32 schoenebeck 199 AC_OUTPUT(Makefile src/Makefile lscp/Makefile examples/Makefile doc/Makefile doc/liblscp.doxygen lscp.pc liblscp.spec lscp/version.h)
33 capela 103

  ViewVC Help
Powered by ViewVC