/[svn]/hopm/branches/1.0.x/configure.ac
ViewVC logotype

Contents of /hopm/branches/1.0.x/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5293 - (show annotations)
Sat Jan 3 21:19:52 2015 UTC (7 years, 7 months ago) by michael
File size: 1288 byte(s)
- Bump version to 1.0.0

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

Properties

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

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