Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -201,7 +201,7 @@ fi
 
 PKG_CHECK_MODULES(
   MSGPACK,
-  msgpack >= 1.1.0,
+  msgpack-c >= 1.1.0,
   [
     CPPFLAGS="$MSGPACK_CFLAGS $CPPFLAGS"
     LIBS="$MSGPACK_LIBS $LIBS"
@@ -210,7 +210,7 @@ PKG_CHECK_MODULES(
   found_msgpack=no
 )
 if test "x$found_msgpack" = xno; then
-  AC_MSG_ERROR("msgpack >= 1.1.0 not found")
+  AC_MSG_ERROR("msgpack-c >= 1.1.0 not found")
 fi
 
 PKG_CHECK_MODULES(
@@ -310,11 +310,11 @@ fi
 AC_SUBST(XOPEN_DEFINES)
 
 # Look for imsg in libutil. compat/imsg.c is linked by Makefile.am if missing.
-AC_SEARCH_LIBS(imsg_init, util, found_imsg_init=yes, found_imsg_init=no)
-if test "x$found_imsg_init" = xyes; then
+AC_SEARCH_LIBS(imsgbuf_init, util, found_imsgbuf_init=yes, found_imsgbuf_init=no)
+if test "x$found_imsgbuf_init" = xyes; then
 	AC_DEFINE(HAVE_IMSG)
 fi
-AM_CONDITIONAL(NO_IMSG, [test "x$found_imsg_init" = xno])
+AM_CONDITIONAL(NO_IMSG, [test "x$found_imsgbuf_init" = xno])
 
 # Look for forkpty in libutil. compat/forkpty-*.c is linked if not found.
 AC_SEARCH_LIBS(forkpty, util, found_forkpty=yes, found_forkpty=no)
