/[resiprocate]/main/contrib/ares/configure.ac
ViewVC logotype

Contents of /main/contrib/ares/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5295 - (show annotations) (download)
Mon Aug 22 00:30:05 2005 UTC (14 years, 3 months ago) by jason
File size: 789 byte(s)
merged 5270:HEAD from b-directory-reorg
1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.51)
3
4 AC_INIT([ares_init.c],,)
5
6 PACKAGE=ares
7 VERSION=1.1.2
8 ARES_VERSION=${VERSION}
9
10 AC_MSG_RESULT([Configuring ${PACKAGE} ${VERSION}])
11
12 dnl AC_CONFIG_SRCDIR([config.h.in])
13 dnl AC_CONFIG_HEADER([config.h])
14
15 AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})
16 AC_SUBST(ARES_VERSION)
17
18 AC_REVISION($Revision:$)
19 AC_LANG(C)
20 dnl AC_PROG_GXX
21
22 AC_PROG_CC
23 AC_PROG_INSTALL
24 AC_PROG_MAKE_SET
25 AC_PROG_RANLIB
26
27 AC_CANONICAL_HOST
28 case $host_os in
29 solaris*)
30 AC_DEFINE([ETC_INET], [], [Solaris ETC_INET flag])
31 ;;
32 esac
33
34 AC_ARG_WITH(ipv6,
35 AC_HELP_STRING([--with-ipv6],[enable ipv6]),
36 [CFLAGS="${CFLAGS} -DUSE_IPV6=1"])
37
38 AC_SEARCH_LIBS(gethostbyname, nsl)
39 AC_SEARCH_LIBS(socket, socket)
40
41 AM_MAINTAINER_MODE
42
43 AC_OUTPUT(Makefile)
44

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27