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 5064 by michael, Mon Dec 22 14:21:48 2014 UTC vs.
Revision 5157 by michael, Fri Dec 26 17:16:28 2014 UTC

# Line 1 | Line 1
1   dnl Process this file with autoconf to produce a configure script.
2   AC_INIT(hopm, [1.0.0beta1])
3   AC_CONFIG_SRCDIR(src/opercmd.h)
4 < AM_CONFIG_HEADER(src/setup.h)
4 > AC_CONFIG_HEADER(src/setup.h)
5   AM_INIT_AUTOMAKE()
6   AC_PREFIX_DEFAULT([\${HOME}/hopm])
7   AM_MAINTAINER_MODE
8  
9   AC_ARG_WITH(extra-fascism,
10 <    AC_HELP_STRING([--with-extra-fascism],
10 >    AS_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]),
16 > dnl     AS_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])
# Line 41 | Line 41 | AC_CHECK_HEADERS(sys/poll.h, have_poll_s
41   AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h strings.h)
42  
43   dnl Checks for typedefs, structures, and compiler characteristics.
44 AC_C_CONST
44   AC_TYPE_SIZE_T
45   AC_HEADER_TIME
46   AC_STRUCT_TM
47  
49 dnl Checks for library functions.
50 AC_TYPE_SIGNAL
51 AC_FUNC_STRFTIME
52
48   dnl check for yacc
49   AC_PROG_INSTALL
50   AC_PROG_YACC
# Line 65 | Line 60 | AC_CHECK_FUNC(getnameinfo, [], AC_SEARCH
60   AC_CHECK_FUNCS(strlcpy strlcat inet_aton inet_pton socket strdup strstr)
61  
62   dnl Check if we can use gethostbyname2 for ipv6
63 < AC_CHECK_FUNCS(gethostbyname gethostbyname2)
63 > AC_CHECK_FUNCS(gethostbyname)
64  
65   dnl AIX fun
66   AC_C_BIGENDIAN
67  
73 AC_CHECK_SIZEOF(int)
74 AC_CHECK_SIZEOF(short)
75 AC_CHECK_SIZEOF(long)
76
77
78 AH_BOTTOM([
79 #if SIZEOF_INT==4
80 typedef signed int int32;
81 typedef unsigned int uint32;
82 #elif SIZEOF_LONG==4
83 typedef signed long int32;
84 typedef unsigned long uint32;
85 #else
86 #  error "No 32-bit integer type!"
87 #endif
88
89 #if SIZEOF_SHORT!=2
90 #  error "Your short int data type is not 2 bytes: hopm (firedns) is not going to work for you."
91 #endif
92 ])
68  
69   AC_CONFIG_SUBDIRS(src/libopm)
70  
71 < dnl This comes last because configure won't actually work with -Werror in
72 < dnl the CFLAGS
98 < AC_ARG_WITH(werror,
99 <    AC_HELP_STRING([--with-werror],
100 <    [use -Werror to abort compilation on any warning]),
101 <    [CFLAGS="$CFLAGS -Werror"])
102 <
103 < AC_OUTPUT(Makefile src/Makefile)
71 > AC_CONFIG_FILES(Makefile doc/Makefile src/Makefile)
72 > AC_OUTPUT
73  
74  
75 < echo "##############################################################################"
76 < echo "Everything is now configured, but you can find some more (infrequently"
108 < echo "changed) options in options.h.  To compile HOPM now, just type make.  It"
109 < echo "requires GNU Make, which may be installed as gmake on your system."
75 > echo "###############################################################################"
76 > echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
77   echo
78 < echo "hopm will be installed in ${prefix}.  To change this, run:"
78 > echo "HOPM will be installed in ${prefix}.  To change this, run:"
79   echo "   ./configure --prefix=DIRECTORY"
80 < echo "##############################################################################"
80 > echo "###############################################################################"

Comparing hopm/trunk/configure.ac (property svn:eol-style):
Revision 5064 by michael, Mon Dec 22 14:21:48 2014 UTC vs.
Revision 5157 by michael, Fri Dec 26 17:16:28 2014 UTC

# Line 0 | Line 1
1 + native

Comparing hopm/trunk/configure.ac (property svn:keywords):
Revision 5064 by michael, Mon Dec 22 14:21:48 2014 UTC vs.
Revision 5157 by michael, Fri Dec 26 17:16:28 2014 UTC

# Line 0 | Line 1
1 + Id

Diff Legend

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