check libimsg too

patch from Anna "CyberTailor"
This commit is contained in:
Omar Polo 2021-07-07 08:41:27 +00:00
parent af15474448
commit 1a572d4221

7
configure vendored
View File

@ -83,13 +83,18 @@ if which pkg-config 2>/dev/null 1>&2; then
case "$(uname)" in case "$(uname)" in
OpenBSD) OpenBSD)
# use libevent in base # use libevent and imsg in base
;; ;;
*) *)
if pkg-config libevent; then if pkg-config libevent; then
add_cflags "$(pkg-config --cflags libevent)" add_cflags "$(pkg-config --cflags libevent)"
add_ldflags "$(pkg-config --libs libevent)" add_ldflags "$(pkg-config --libs libevent)"
fi fi
if pkg-config libimsg; then
add_cflags "$(pkg-config --cflags libimsg)"
add_ldflags "$(pkg-config --libs libimsg)"
fi
;; ;;
esac esac
fi fi