ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.1.x/configure.ac
(Generate patch)

Comparing:
hopm/trunk/configure.ac (file contents), Revision 5058 by michael, Mon Dec 22 13:36:06 2014 UTC vs.
hopm/branches/1.1.x/configure.ac (file contents), Revision 9491 by michael, Sat Jul 4 19:39:34 2020 UTC

# Line 1 | Line 1
1   dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(bopm, [3.1.3])
3 AC_CONFIG_SRCDIR(src/opercmd.h)
4 AM_CONFIG_HEADER(src/setup.h)
5 AM_INIT_AUTOMAKE()
6 AC_PREFIX_DEFAULT([\${HOME}/bopm])
7 AM_MAINTAINER_MODE
8
9 AC_ARG_WITH(extra-fascism,
10    AC_HELP_STRING([--with-extra-fascism],
11    [Add extra gcc3-specific warning flags]),
12    [CFLAGS="$CFLAGS -g -O0 -W -Wall -Wfloat-equal -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"])
13
14 dnl ipv6?
15 dnl AC_ARG_ENABLE(ipv6,
16 dnl     AC_HELP_STRING([--enable-ipv6], [Enable IPV6 support]),
17 dnl     [ac_cv_ipv6=$enableval], [ac_cv_ipv6="no"])
18
19 dnl AC_MSG_CHECKING([whether to enable IPv6 features])
20
21 dnl if test "$ac_cv_ipv6" = "yes" ; then
22 dnl         AC_DEFINE(IPV6, 1, [Use Ipv6 Support])
23 dnl         AC_MSG_RESULT([yes])
24 dnl else
25 dnl         AC_MSG_RESULT([no])
26 dnl fi
27
28 dnl Checks for programs.
29 AC_PROG_CC
30 AC_PROG_LIBTOOL
31
32 dnl Checks for libraries.
33
34 dnl Checks for header files.
35 AC_HEADER_STDC
2  
3 < AC_CHECK_HEADERS(sys/poll.h, have_poll_sys_h=yes, have_sys_poll_h=no)
3 > AC_REVISION([$Id$])
4 > AC_PREREQ(2.69)
5  
6 < AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h strings.h)
7 <
8 < dnl Checks for typedefs, structures, and compiler characteristics.
9 < AC_C_CONST
10 < AC_TYPE_SIZE_T
11 < AC_HEADER_TIME
12 < AC_STRUCT_TM
46 <
47 < dnl Checks for library functions.
48 < AC_TYPE_SIGNAL
49 < AC_FUNC_STRFTIME
6 > AC_INIT([hopm], [1.1.8], [bugs@ircd-hybrid.org])
7 > AM_INIT_AUTOMAKE(1.15)
8 > AM_MAINTAINER_MODE
9 > AC_CONFIG_SRCDIR(src/opercmd.h)
10 > AC_CONFIG_HEADER(src/setup.h)
11 > AC_CONFIG_MACRO_DIR([m4])
12 > AC_PREFIX_DEFAULT([\${HOME}/hopm])
13  
14 < AC_FUNC_SNPRINTF
14 > dnl Checks for programs.
15 > AC_PROG_CC_C99
16 > AS_IF([test "$ac_cv_prog_cc_c99" = "no"],
17 >    [AC_MSG_ERROR([no suitable C99 compiler found. Aborting.])])
18 > LT_INIT
19  
20   dnl check for yacc
21   AC_PROG_INSTALL
# Line 57 | Line 24 | AC_PROG_YACC
24   dnl check for lexx
25   AM_PROG_LEX
26  
27 < dnl check if we need -lsocket or -lnsl
28 < ETR_SOCKET_NSL
27 > AX_GCC_STACK_PROTECT_CC
28 > AX_GCC_STACK_PROTECT_LIB
29 >
30 > AX_LIBRARY_NET
31 > AX_ARG_OPENSSL
32 > AX_ARG_ENABLE_ASSERT
33 > AX_ARG_ENABLE_WARNINGS
34 > AX_ARG_ENABLE_EFENCE
35 >
36 > AC_CHECK_FUNCS(strlcpy strlcat)
37  
38 < AC_CHECK_FUNCS(inet_aton inet_pton socket strdup strstr)
38 > AC_CONFIG_FILES(Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile)
39 > AC_OUTPUT
40  
65 dnl Check if we can use gethostbyname2 for ipv6
66 AC_CHECK_FUNCS(gethostbyname gethostbyname2)
41  
42 < dnl AIX fun
43 < AC_C_BIGENDIAN
70 <
71 < AC_CHECK_SIZEOF(int)
72 < AC_CHECK_SIZEOF(short)
73 < AC_CHECK_SIZEOF(long)
74 <
75 <
76 < dnl teehee - taken from MRTG / Tobias Oetiker
77 < dnl echo $ECHO_N "checking for POSIX-compliant goat $ECHO_C"
78 < dnl for bleh in 1 2 3; do
79 < dnl  echo $ECHO_N "."        
80 < dnl  sleep 1
81 < dnl done
82 < dnl AC_MSG_RESULT([ http://www.blitzed.org/goat_winter_2001.phtml])
83 <
84 < AH_BOTTOM([
85 < #if SIZEOF_INT==4
86 < typedef signed int int32;
87 < typedef unsigned int uint32;
88 < #elif SIZEOF_LONG==4
89 < typedef signed long int32;
90 < typedef unsigned long uint32;
91 < #else
92 < #  error "No 32-bit integer type!"
93 < #endif
94 <
95 < #if SIZEOF_SHORT!=2
96 < #  error "Your short int data type is not 2 bytes: firedns is not going to work for you.  mail bopm@lists.blitzed.org!"
97 < #endif
98 < ])
99 <
100 < AC_CONFIG_SUBDIRS(src/libopm)
101 <
102 < dnl This comes last because configure won't actually work with -Werror in
103 < dnl the CFLAGS
104 < AC_ARG_WITH(werror,
105 <    AC_HELP_STRING([--with-werror],
106 <    [use -Werror to abort compilation on any warning]),
107 <    [CFLAGS="$CFLAGS -Werror"])
108 <
109 < AC_OUTPUT(Makefile src/Makefile)
110 <
111 <
112 < echo "##############################################################################"
113 < echo "Everything is now configured, but you can find some more (infrequently"
114 < echo "changed) options in options.h.  To compile BOPM now, just type make.  It"
115 < echo "requires GNU Make, which may be installed as gmake on your system."
42 > echo "###############################################################################"
43 > echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
44   echo
45 < echo "bopm will be installed in ${prefix}.  To change this, run:"
45 > echo "HOPM will be installed in ${prefix}.  To change this, run:"
46   echo "   ./configure --prefix=DIRECTORY"
47 < echo "##############################################################################"
120 < echo
47 > echo "###############################################################################"

Comparing:
hopm/trunk/configure.ac (property svn:eol-style), Revision 5058 by michael, Mon Dec 22 13:36:06 2014 UTC vs.
hopm/branches/1.1.x/configure.ac (property svn:eol-style), Revision 9491 by michael, Sat Jul 4 19:39:34 2020 UTC

# Line 0 | Line 1
1 + native

Comparing:
hopm/trunk/configure.ac (property svn:keywords), Revision 5058 by michael, Mon Dec 22 13:36:06 2014 UTC vs.
hopm/branches/1.1.x/configure.ac (property svn:keywords), Revision 9491 by michael, Sat Jul 4 19:39:34 2020 UTC

# Line 0 | Line 1
1 + Id

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)