should work a little bit better with solaris compiler

svn:r111
This commit is contained in:
Niels Provos 2004-07-19 06:18:10 +00:00
parent 44d88ea606
commit 6db3da27e2
3 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,5 @@
AUTOMAKE_OPTIONS = foreign no-dependencies
CFLAGS = -Wall @CFLAGS@
SUBDIRS = . sample test
EXTRA_DIST = acconfig.h err.c event.h evsignal.h event.3 kqueue.c \

View File

@ -174,7 +174,7 @@ evbuffer_remove(struct evbuffer *buf, void *data, size_t datlen)
/* Adds data to an event buffer */
static __inline void
static inline void
evbuffer_align(struct evbuffer *buf)
{
memmove(buf->orig_buffer, buf->buffer, buf->off);

View File

@ -17,6 +17,12 @@ AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_GCC_TRADITIONAL
if test "$GCC" = yes ; then
CFLAGS="$CFLAGS -Wall"
fi
dnl Check for optional stuff
AC_ARG_WITH(rtsig,
[ --with-rtsig compile with support for real time signals (experimental)],
@ -58,6 +64,8 @@ if test "x$ac_cv_header_sys_time_h" = "xyes"; then
fi
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_HEADER_TIME
dnl Checks for library functions.