Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNI5r-00045O-7D for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Mar 2021 16:35:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lNI5p-0007mO-59 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Mar 2021 16:35:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNI5o-0007mH-QE for pgsql-hackers@lists.postgresql.org; Fri, 19 Mar 2021 16:35:20 +0000 Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lNI5i-0006DR-Sz for pgsql-hackers@lists.postgresql.org; Fri, 19 Mar 2021 16:35:19 +0000 Received: by mail-il1-x12c.google.com with SMTP id h1so8594665ilr.1 for ; Fri, 19 Mar 2021 09:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=EXGfSORCN38UxuX/yjAdE6eJ7m1LxezHNLGC4PGlDdo=; b=uO8w2IGtCsf6R59qYO2OXkE1JMs5PvQXP/D62gdAF8+39+GwyUyb3brMIPGp9TbyX8 7xyhm9TWctACDH8GYPL+/tXCyD0f+y9rLo7hO8HDFWWREd6BKf8cl9wHBlO/0SNK3seF 6fvJciMEz6NLOWlGVg75BTfVzf/GRHelSA9B5mcGyWx8ARDCDjZA8GWk4QwsBmDmHR/j w8gxa1K822dnXxDPsEUoMvsZI12zR88zP265MO8MI/+FzollSqvUrSfdXvRjrFNp36QC AT4rzWH0h/803cgzwUpBh2CZrc+QNSlpchF0uCgRbGwx2T8VPUHi3W3CEaZeqTrlrl/E dyFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=EXGfSORCN38UxuX/yjAdE6eJ7m1LxezHNLGC4PGlDdo=; b=L5fzHOcv2DKJxMJfwRiVrUQ2sYT1f4SL5T5HC2N+4ZgHav0X3qWZD/lQCbn04RzCIM 12Xu3EKkGv4bBhxeaZG0JoBry3tqycCmfY2fTiA8znu7WpUs4KaoBiT8EnWeGFikzpQi OyF5Btnff/4v9bMI02itk90J2ODZswSKfHHo2QaIUOrqJv37a9iixdg5IoOPm1tTNZeL BxI/p64YFb2HGsy8hwgEXd8cz2DEZBhwADclqMLl5fpVJlsWddc36emn5QNkF+/Ps6Wl T6OSgE85SN48WCzPUnkGqkSvAeSKo6/F1NCs0C3hTjKTqf199R9GkcvU8sK/C4vKVDZM ZtVw== X-Gm-Message-State: AOAM531OdGxYuyBuEk1Dpjz/dCeQcXbgAKOK0NOI0+/cZeFvWvRRJBie 2yH5L8w/UmNMvBDbBmVZPgP2fQ== X-Google-Smtp-Source: ABdhPJxuzPH7kOL4QHXO7rRTwabdHLrjowGRYZIcoWkEcHhrqso223FSZiFxxqNlEMffM2y6/wYoAw== X-Received: by 2002:a05:6e02:1384:: with SMTP id d4mr3426448ilo.307.1616171713392; Fri, 19 Mar 2021 09:35:13 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id y18sm2842818ili.16.2021.03.19.09.35.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Mar 2021 09:35:12 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 923B8800929; Fri, 19 Mar 2021 11:35:11 -0500 (CDT) Date: Fri, 19 Mar 2021 11:35:11 -0500 From: Justin Pryzby To: Dilip Kumar Cc: Robert Haas , Andres Freund , Tomas Vondra , Alexander Korotkov , David Steele , Ildus Kurbangaliev , Dmitry Dolgov <9erthalion6@gmail.com>, PostgreSQL Hackers Subject: Re: [HACKERS] Custom compression methods Message-ID: <20210319163511.GL11765@telsasoft.com> References: <20210312103650.GR8796@telsasoft.com> <20210315225835.2toe2ceanp7gi6fw@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I sent offlist a couple of times but notice that the latest patch is missing this bit around AC_CHECK_HEADERS, which apparently can sometimes cause warnings on mac. ac_save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$LZ4_CFLAGS $CPPFLAGS" AC_CHECK_HEADERS(lz4/lz4.h, [], [AC_CHECK_HEADERS(lz4.h, [], [AC_MSG_ERROR([lz4.h header file is required for LZ4])])]) CPPFLAGS=$ac_save_CPPFLAGS > diff --git a/configure.ac b/configure.ac > index 2f1585a..54efbb2 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1410,6 +1425,11 @@ failure. It is possible the compiler isn't looking in the proper directory. > Use --without-zlib to disable zlib support.])]) > fi > > +if test "$with_lz4" = yes; then > + AC_CHECK_HEADERS(lz4/lz4.h, [], > + [AC_CHECK_HEADERS(lz4.h, [], [AC_MSG_ERROR([lz4.h header file is required for LZ4])])]) > +fi > + > if test "$with_gssapi" = yes ; then > AC_CHECK_HEADERS(gssapi/gssapi.h, [], > [AC_CHECK_HEADERS(gssapi.h, [], [AC_MSG_ERROR([gssapi.h header file is required for GSSAPI])])])