add check for dragonfly

This commit is contained in:
Michael Jerris 2014-02-24 14:47:48 -05:00
parent 7c100cc8d3
commit 4f2e0f19bc
1 changed files with 5 additions and 0 deletions

View File

@ -523,6 +523,11 @@ case "$host" in
APR_ADDTO(ESL_LDFLAGS, -lnsl -lsocket) APR_ADDTO(ESL_LDFLAGS, -lnsl -lsocket)
APR_ADDTO([PLATFORM_CORE_LIBS], [-ldl -lcrypt -lrt -lsendfile -lresolv -lsocket -lnsl -luuid]) APR_ADDTO([PLATFORM_CORE_LIBS], [-ldl -lcrypt -lrt -lsendfile -lresolv -lsocket -lnsl -luuid])
;; ;;
*dragonfly*)
APR_ADDTO(CFLAGS, -I/usr/local/include)
APR_ADDTO(LDFLAGS, -L/usr/local/lib)
APR_ADDTO(SWITCH_AM_CFLAGS, -I/usr/local/include)
;;
*openbsd*) *openbsd*)
APR_ADDTO(CFLAGS, -I/usr/local/include) APR_ADDTO(CFLAGS, -I/usr/local/include)
APR_ADDTO(LDFLAGS, -L/usr/local/lib) APR_ADDTO(LDFLAGS, -L/usr/local/lib)