openbsd-ports/net/arpd/patches/patch-configure_in
2022-03-11 19:45:43 +00:00

21 lines
530 B
Plaintext

--- configure.in.orig Sun Feb 9 19:30:33 2003
+++ configure.in Sat Apr 30 14:57:01 2005
@@ -81,6 +81,8 @@ AC_ARG_WITH(libevent,
then
EVENTINC="-I${prefix}/include"
EVENTLIB="-L${prefix}/lib -levent"
+ elif test -f /usr/include/event.h; then
+ EVENTLIB="-levent"
else
AC_MSG_RESULT(no)
AC_ERROR(libevent not found)
@@ -158,7 +160,7 @@ dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_REPLACE_FUNCS(daemon)
-CFLAGS=$DNETINC
+CFLAGS="$CFLAGS $DNETINC"
LIBS=$DNETLIB
dnl see if dnet works