/[svn]/hopm/trunk/configure.ac
ViewVC logotype

Contents of /hopm/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5314 - (show annotations)
Tue Jan 6 13:27:34 2015 UTC (4 years, 6 months ago) by michael
File size: 1332 byte(s)
- Require autoconf 2.69 and automake 1.14.1

1 dnl Process this file with autoconf to produce a configure script.
2
3 AC_REVISION([$Id$])
4 AC_PREREQ(2.69)
5
6 AC_INIT([hopm], [TRUNK], [bugs@ircd-hybrid.org])
7 AM_INIT_AUTOMAKE(1.14.1)
8 AM_MAINTAINER_MODE
9 AC_CONFIG_SRCDIR(src/opercmd.h)
10 AC_CONFIG_HEADER(src/setup.h)
11 AC_PREFIX_DEFAULT([\${HOME}/hopm])
12
13 dnl Checks for programs.
14 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 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 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
31 AC_CHECK_FUNCS(strlcpy strlcat)
32
33 dnl AIX fun
34 AC_C_BIGENDIAN
35
36 AC_CONFIG_FILES(Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile)
37 AC_OUTPUT
38
39
40 echo "###############################################################################"
41 echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile."
42 echo
43 echo "HOPM will be installed in ${prefix}. To change this, run:"
44 echo " ./configure --prefix=DIRECTORY"
45 echo "###############################################################################"

Properties

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

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26