From eab969815aa6dd8a64753cecb7a453677b797188 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 21 Feb 2014 15:36:25 -0500 Subject: [PATCH] openbsd does not have librt or libcrypt? --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index c42bf6209c..8150f7c4ec 100644 --- a/configure.in +++ b/configure.in @@ -515,6 +515,11 @@ case "$host" in APR_ADDTO(ESL_LDFLAGS, -lnsl -lsocket) APR_ADDTO([PLATFORM_CORE_LIBS], [-ldl -lcrypt -lrt -lsendfile -lresolv -lsocket -lnsl -luuid]) ;; + *openbsd*) + APR_ADDTO(CFLAGS, -I/usr/local/include) + APR_ADDTO(LDFLAGS, -L/usr/local/lib) + APR_ADDTO(SWITCH_AM_CFLAGS, -I/usr/local/include) + ;; *bsd*) APR_ADDTO(CFLAGS, -I/usr/local/include) APR_ADDTO(LDFLAGS, -L/usr/local/lib)