]> granicus.if.org Git - libevent/commitdiff
port to solaris
authorNiels Provos <provos@gmail.com>
Tue, 9 Apr 2002 19:30:22 +0000 (19:30 +0000)
committerNiels Provos <provos@gmail.com>
Tue, 9 Apr 2002 19:30:22 +0000 (19:30 +0000)
svn:r16

configure.in
sample/Makefile.am

index 2268a3277edb222c1fe4dd66bbeb25cddcf7734f..3f43b1b17f4caee72e41835eea98fbc05e86899c 100644 (file)
@@ -54,11 +54,18 @@ dnl Checks for library functions.
 AC_CHECK_FUNCS(gettimeofday)
 
 AC_SUBST(LIBOBJS)
+haveselect=no
 AC_CHECK_FUNCS(select, [haveselect=yes], )
 if test "x$haveselect" = "xyes" ; then
        LIBOBJS="$LIBOBJS select.o"
 fi
 
+neederr=no
+AC_CHECK_FUNCS(warnx, , [neederr=yes])
+if test $neederr = yes; then
+   LIBOBJS="$LIBOBJS err.o"
+fi
+
 havekqueue=no
 if test "x$ac_cv_header_sys_event_h" = "xyes"; then
        AC_CHECK_FUNCS(kqueue, [havekqueue=yes], )
index f66bda38a23dc7595d1efb7dd3aef94fa3ef4c81..c195d032b18c2b89272a88328e7b477f9f59a9e3 100644 (file)
@@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = foreign no-dependencies
 LDADD = -L.. -levent
 CPPFPLAGS = -I..
 
-bin_PROGRAMS = event-test time-test
+noinst_PROGRAMS = event-test time-test
 
 event_test_sources = event-test.c
 time_test_sources = time-test.c