[Varnish] #821: add netbsd to configure
Varnish
varnish-bugs at varnish-cache.org
Mon Nov 29 19:30:48 CET 2010
#821: add netbsd to configure
------------------------+---------------------------------------------------
Reporter: msporleder | Type: enhancement
Status: new | Priority: normal
Milestone: | Component: build
Version: trunk | Severity: normal
Keywords: netbsd |
------------------------+---------------------------------------------------
From pkgsrc (dragonfly would probably also work but I'm not sure what the
uname value is there):
{{{
--- configure.ac.orig 2009-04-01 13:35:15.000000000 +0000
+++ configure.ac
@@ -55,6 +55,7 @@ AM_CONDITIONAL([HAVE_CURSES], [test x$ha
save_LIBS="${LIBS}"
LIBS=""
AC_SEARCH_LIBS(pthread_create, [thr pthread c_r])
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
PTHREAD_LIBS="${LIBS}"
LIBS="${save_LIBS}"
AC_SUBST(PTHREAD_LIBS)
@@ -195,7 +196,7 @@ AC_ARG_ENABLE(kqueue,
if test "$enable_kqueue" = yes; then
case $target in
- *-*-freebsd* | *-*-darwin9* )
+ *-*-freebsd* | *-*-darwin9* | *-*-netbsd* )
AC_CHECK_FUNCS([kqueue])
;;
*-*-bsd*)
}}}
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/821>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list