X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fpandora_have_protobuf.m4;h=47f4cd4a4f8e363c6ad29efdbf378f34612d2f83;hb=d0a0615a20fae501e944374a7917067f90d5c7e6;hp=3b1652e9d40dddb4e1affe7c87047b1247110060;hpb=25d9c6b0b915f46cc62d3aa72fe81e1274871cf4;p=m6w6%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() ])