port to solaris

svn:r16
This commit is contained in:
Niels Provos 2002-04-09 19:30:22 +00:00
parent db48ac0154
commit dbaa408ea5
2 changed files with 8 additions and 1 deletions

View File

@ -54,11 +54,18 @@ dnl Checks for library functions.
AC_CHECK_FUNCS(gettimeofday) AC_CHECK_FUNCS(gettimeofday)
AC_SUBST(LIBOBJS) AC_SUBST(LIBOBJS)
haveselect=no
AC_CHECK_FUNCS(select, [haveselect=yes], ) AC_CHECK_FUNCS(select, [haveselect=yes], )
if test "x$haveselect" = "xyes" ; then if test "x$haveselect" = "xyes" ; then
LIBOBJS="$LIBOBJS select.o" LIBOBJS="$LIBOBJS select.o"
fi fi
neederr=no
AC_CHECK_FUNCS(warnx, , [neederr=yes])
if test $neederr = yes; then
LIBOBJS="$LIBOBJS err.o"
fi
havekqueue=no havekqueue=no
if test "x$ac_cv_header_sys_event_h" = "xyes"; then if test "x$ac_cv_header_sys_event_h" = "xyes"; then
AC_CHECK_FUNCS(kqueue, [havekqueue=yes], ) AC_CHECK_FUNCS(kqueue, [havekqueue=yes], )

View File

@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = foreign no-dependencies
LDADD = -L.. -levent LDADD = -L.. -levent
CPPFPLAGS = -I.. CPPFPLAGS = -I..
bin_PROGRAMS = event-test time-test noinst_PROGRAMS = event-test time-test
event_test_sources = event-test.c event_test_sources = event-test.c
time_test_sources = time-test.c time_test_sources = time-test.c