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)