diff options
author | eihrul <eihrul> | 2006-07-06 21:22:41 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2006-07-06 21:22:41 +0000 |
commit | 1d6253cc3d63801cc4077ff4621e31cf53cc75f9 (patch) | |
tree | 7ec5c09bcc3f39afa21c72ca1a9efc3d8caaa656 /configure.in | |
parent | 1e2c45adf961f878b29b5df111153ee9a084c9d3 (diff) | |
download | enet-1d6253cc3d63801cc4077ff4621e31cf53cc75f9.tar.gz enet-1d6253cc3d63801cc4077ff4621e31cf53cc75f9.zip |
*** empty log message ***
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/configure.in b/configure.in index bd626c8..eb6a374 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ -AC_INIT(libenet, 1.0) -AM_INIT_AUTOMAKE(libenet.a, 1.0) +AC_INIT(libenet, 7-6-2006) +AM_INIT_AUTOMAKE(libenet.a, 7-6-2006) AC_PROG_CC AC_PROG_RANLIB @@ -21,4 +21,16 @@ AC_CHECK_TYPE(socklen_t, [AC_DEFINE(HAS_SOCKLEN_T)], , 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_MSG_CHECKING(whether to use CRC32) +AC_ARG_ENABLE(crc32, + [ --enable-crc32 enable CRC32 packet verification ], + [if test "$enableval" = yes; then + AC_MSG_RESULT(yes) + AC_DEFINE(USE_CRC32) + else + AC_MSG_RESULT(no) + fi], + [AC_MSG_RESULT(no)]) + AC_OUTPUT([Makefile include/Makefile include/enet/Makefile]) + |