X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=m4%2Fpandora_have_protobuf.m4;h=47f4cd4a4f8e363c6ad29efdbf378f34612d2f83;hb=04b8554c3724eae57fbd75dc6b3e69dca8b58187;hp=3b1652e9d40dddb4e1affe7c87047b1247110060;hpb=e31617422d9af99123008f2b312d399d308491cc;p=awesomized%2Flibmemcached diff --git a/m4/pandora_have_protobuf.m4 b/m4/pandora_have_protobuf.m4 index 3b1652e9..47f4cd4a 100644 --- a/m4/pandora_have_protobuf.m4 +++ b/m4/pandora_have_protobuf.m4 @@ -3,7 +3,7 @@ dnl vim:expandtab:shiftwidth=2:tabstop=2:smarttab: dnl dnl pandora-build: A pedantic build system dnl Copyright (C) 2009 Sun Microsystems, Inc. -dnl This file is free software; the Free Software Foundation +dnl This file is free software; Sun Microsystems dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl @@ -23,7 +23,9 @@ AC_DEFUN([_PANDORA_SEARCH_LIBPROTOBUF],[ [#include ], [google::protobuf::FileDescriptor* file;], [system]) - CXXFLAGS="${save_CXXFLAGS}" + CXXFLAGS="${PTHREAD_CFLAGS} ${save_CXXFLAGS}" + LIBPROTOBUF="${LIBPROTOBUF} ${PTHREAD_LIBS}" + LTLIBPROTOBUF="${LTLIBPROTOBUF} ${PTHREAD_LIBS}" AC_LANG_POP() ])