ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.1.x/configure.ac
Revision: 5314
Committed: Tue Jan 6 13:27:34 2015 UTC (11 years, 6 months ago) by michael
Content type: application/pkix-attr-cert
Original Path: hopm/trunk/configure.ac
File size: 1332 byte(s)
Log Message:
- Require autoconf 2.69 and automake 1.14.1

File Contents

# User Rev Content
1 michael 5052 dnl Process this file with autoconf to produce a configure script.
2 michael 5314
3     AC_REVISION([$Id$])
4     AC_PREREQ(2.69)
5    
6 michael 5266 AC_INIT([hopm], [TRUNK], [bugs@ircd-hybrid.org])
7 michael 5314 AM_INIT_AUTOMAKE(1.14.1)
8     AM_MAINTAINER_MODE
9 michael 5052 AC_CONFIG_SRCDIR(src/opercmd.h)
10 michael 5145 AC_CONFIG_HEADER(src/setup.h)
11 michael 5061 AC_PREFIX_DEFAULT([\${HOME}/hopm])
12 michael 5052
13     dnl Checks for programs.
14 michael 5059 AC_PROG_CC_C99
15     AS_IF([test "$ac_cv_prog_cc_c99" = "no"],
16     [AC_MSG_ERROR([no suitable C99 compiler found. Aborting.])])
17 michael 5052 AC_PROG_LIBTOOL
18    
19     dnl check for yacc
20     AC_PROG_INSTALL
21     AC_PROG_YACC
22    
23     dnl check for lexx
24     AM_PROG_LEX
25    
26     dnl check if we need -lsocket or -lnsl
27 michael 5062 AC_SEARCH_LIBS([socket],[socket],,[AC_MSG_ERROR([socket library not found])])
28     AC_CHECK_FUNC(getaddrinfo, [], AC_SEARCH_LIBS(getaddrinfo, nsl))
29     AC_CHECK_FUNC(getnameinfo, [], AC_SEARCH_LIBS(getnameinfo, nsl))
30 michael 5052
31 michael 5264 AC_CHECK_FUNCS(strlcpy strlcat)
32 michael 5052
33     dnl AIX fun
34     AC_C_BIGENDIAN
35    
36 michael 5260 AC_CONFIG_FILES(Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile)
37 michael 5122 AC_OUTPUT
38 michael 5052
39    
40 michael 5110 echo "###############################################################################"
41     echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile."
42 michael 5052 echo
43 michael 5110 echo "HOPM will be installed in ${prefix}. To change this, run:"
44 michael 5052 echo " ./configure --prefix=DIRECTORY"
45 michael 5110 echo "###############################################################################"

Properties

Name Value
svn:eol-style native
svn:keywords Id