/[hydra]/hydra3/configure.in
ViewVC logotype

Contents of /hydra3/configure.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Sun Apr 20 17:13:12 2003 UTC (20 years, 11 months ago) by nmav
Branch: MAIN, hydra3
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
Imported sources from vnull (hydra3)

1 # Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.53)
3 AC_INIT(aclocal.m4)
4
5 AC_PREFIX_DEFAULT(/usr/local/hydra)
6 AC_CONFIG_SRCDIR([src/hydra.c])
7 AC_CONFIG_AUX_DIR([build])
8 AM_INIT_AUTOMAKE(hydra, 0.0.0)
9 AM_CONFIG_HEADER([src/config.h])
10
11 # Checks for programs.
12 AC_PROG_CC
13 AC_PROG_INSTALL
14 AC_LIBTOOL_DLOPEN
15 AC_PROG_LIBTOOL
16
17 # Checks for libraries.
18 AC_CHECK_LIB([dl], [dlopen])
19 AC_CHECK_LIB([expat], [XML_ParserCreate])
20 AC_CHECK_LIB([pthread], [pthread_create])
21 AC_CHECK_LIB([vstr], [vstr_init])
22
23 # Checks for header files.
24 AC_HEADER_STDC
25 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h])
26
27 # Checks for typedefs, structures, and compiler characteristics.
28 AC_C_CONST
29 AC_C_INLINE
30 AC_TYPE_PID_T
31 AC_TYPE_SIZE_T
32 AC_HEADER_TIME
33 AC_STRUCT_TM
34
35 # Checks for library functions.
36 AC_FUNC_FORK
37 AC_FUNC_MALLOC
38 AC_CHECK_FUNCS([dup2 inet_ntoa memmove memset select socket strcasecmp strchr strdup strstr recvmsg sendmsg])
39
40 AC_ARG_WITH(debug,
41 [AC_HELP_STRING([--with-debug], [only for maintainers])],
42 [if test "x$withval" = "xyes" ; then
43 CFLAGS="-DDEBUG -g -ggdb -O0 -Wall -Werror"
44 fi ])
45
46 AC_CONFIG_FILES([Makefile
47 src/Makefile
48 src/common/Makefile
49 src/common/sysdeps/Makefile
50 src/common/sysdeps/linux/Makefile
51 src/common/sysdeps/freebsd/Makefile
52 src/common/pollers/Makefile
53 src/common/pollers/select/Makefile
54 src/runners/Makefile
55 src/runners/cgid/Makefile
56 src/threads/Makefile])
57 AC_OUTPUT
58

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26