--- libcompizconfig-0.8.2/configure +++ libcompizconfig-0.8.2/configure.new @@ -19882,7 +19882,7 @@ $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lprotobuf $LIBS" +LIBS="-lprotobuf -lpthread $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF --- libcompizconfig-0.8.2/configure.ac +++ libcompizconfig-0.8.2/configure.ac.new @@ -105,7 +105,7 @@ echo -e $protobuf_error_msg; use_protobuf=no else AC_CHECK_LIB(protobuf, _ZN6google8protobuf7MessageD2Ev, [], [ - echo -e $protobuf_error_msg; use_protobuf=no ]) + echo -e $protobuf_error_msg; use_protobuf=no ], -lpthread) if test "x$use_protobuf" = "xyes"; then AC_LANG([C++]) AC_CHECK_HEADER([google/protobuf/message.h],,[