[enet-cvs] CVS: enet Makefile.am, NONE, 1.1 configure.in, NONE,
1.1 README, 1.2, 1.3
Lee Salzman
enet at sferik.cubik.org
Mon Nov 3 06:42:50 PST 2003
Update of /home/enet/cvsroot/enet
In directory sferik:/tmp/cvs-serv2063
Modified Files:
README
Added Files:
Makefile.am configure.in
Log Message:
Added autoconf stuff
--- NEW FILE: Makefile.am ---
lib_LIBRARIES = libenet.a
libenet_a_SOURCES = host.c list.c memory.c packet.c peer.c protocol.c unix.c win32.c
INCLUDES = -Iinclude/
--- NEW FILE: configure.in ---
AC_INIT(libenet, 11-3-2003)
AM_INIT_AUTOMAKE(libenet.a, 11-3-2003)
AC_PROG_CC
AC_PROG_RANLIB
AC_CHECK_FUNC(gethostbyaddr_r, [AC_DEFINE(HAS_GETHOSTBYADDR_R)])
AC_CHECK_FUNC(gethostbyname_r, [AC_DEFINE(HAS_GETHOSTBYNAME_R)])
AC_CHECK_FUNC(poll, [AC_DEFINE(HAS_POLL)])
AC_CHECK_FUNC(fcntl, [AC_DEFINE(HAS_FCNTL)])
AC_CHECK_MEMBER(struct msghdr.msg_flags, [AC_DEFINE(HAS_MSGHDR_FLAGS)], , [#include <sys/socket.h>])
AC_EGREP_HEADER(MSG_MAXIOVLEN, /usr/include/sys/socket.h, AC_DEFINE(ENET_BUFFER_MAXIMUM, [MSG_MAXIOVLEN]))
AC_EGREP_HEADER(MSG_MAXIOVLEN, socket.h, AC_DEFINE(ENET_BUFFER_MAXIMUM, [MSG_MAXIOVLEN]))
AC_OUTPUT([Makefile])
Index: README
===================================================================
RCS file: /home/enet/cvsroot/enet/README,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README 2003/07/24 03:34:16 1.2
+++ README 2003/11/03 14:42:47 1.3
@@ -1,8 +1,16 @@
Please visit the ENet homepage at http://enet.cubik.org for installation
and usage instructions.
-ENet is currently in severe need of a decent build system. Any contributions
-to this effect are extremely welcome.
+If you obtained this package from CVS, the quick description on how to build
+is:
+
+# Generate the build system.
+
+aclocal && automake -a --foreign && autoconf
+
+# Compile and install the library.
+
+./configure && make && make install
See pyenet/readme.txt for further information on Ling Lo's Python wrapper for
ENet.
More information about the enet-cvs
mailing list