git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 3/3] configure: respect --without-openssl

From
Danh Doan <congdanhqx@gmail.com>
Date
Mar 18, 2020, 11:34 UTC
Message-ID
<20200318113439.GA29808@danh.dev>
In-Reply-To
<20200318112213.GB366567@camp.crustytoothpaste.net>
On 2020-03-18 11:22:13+0000, "brian m. carlson" <sandals@crustytoothpaste.net> wrote:
Show 23 quoted lines
> On 2020-03-18 at 07:38:02, Đoàn Trần Công Danh wrote:
> > Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
> > ---
> >  configure.ac | 12 +++++++++---
> >  1 file changed, 9 insertions(+), 3 deletions(-)
> > 
> > diff --git a/configure.ac b/configure.ac
> > index 7468eb6bc8..20a11e1f32 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -544,9 +544,15 @@ GIT_STASH_FLAGS($OPENSSLDIR)
> >  
> >  AC_CHECK_LIB([crypto], [SHA1_Init],
> >  [NEEDS_SSL_WITH_CRYPTO=],
> > -[AC_CHECK_LIB([ssl], [SHA1_Init],
> > - [NEEDS_SSL_WITH_CRYPTO=YesPlease NO_OPENSSL=],
> > - [NEEDS_SSL_WITH_CRYPTO=          NO_OPENSSL=YesPlease])])
> > +[
> > +if "x$NO_OPENSSL" = xYesPlease; then
> > +	AC_MSG_ERROR([Disabled OpenSSL is required for SHA1])
> 
> I don't see this in the original.  Wouldn't we want to fall back to the
> default in this case, which would be SHA1DC?
This block of code will be run into in macOS only.

Really, I wasn't sure what should be done in this case (I mentioned in the cover letter).

Should we set:
	NEEDS_SSL_WITH_CRYPTO=
	NO_OPENSSL=YesPlease
in this case instead?
-- 
Danh
Previous: brian m. carlsonNext: Đoàn Trần Công Danh
Message 8 of 14 in “configure: respect --without-<package> flags”
  1. 0/3 configure: respect --without-<package> flagsĐoàn Trần Công Danh, Mar 18, 2020
  2. 1/3 configure: respect --without-curl flagsĐoàn Trần Công Danh, Mar 18, 2020
  3. Eric SunshineMar 18, 2020
  4. Danh DoanMar 19, 2020
  5. 2/3 configure: respect --without-expatĐoàn Trần Công Danh, Mar 18, 2020
  6. 3/3 configure: respect --without-opensslĐoàn Trần Công Danh, Mar 18, 2020
  7. brian m. carlsonMar 18, 2020
  8. Danh DoanMar 18, 2020
  9. 0/3 configure: respect --without-<package> flagsĐoàn Trần Công Danh, Mar 19, 2020
  10. 1/3 configure: respect --without-curl flagĐoàn Trần Công Danh, Mar 19, 2020
  11. 2/3 configure: respect --without-expat flagĐoàn Trần Công Danh, Mar 19, 2020
  12. 3/3 configure: respect --without-openssl flagĐoàn Trần Công Danh, Mar 19, 2020
  13. Danh DoanMar 26, 2020
  14. Junio C HamanoMar 27, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.