git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* configure: is NEEDS_SSL_WITH_CRYPTO test correct?
@ 2009-07-21 15:29 Brandon Casey
  2009-07-21 18:49 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Brandon Casey @ 2009-07-21 15:29 UTC (permalink / raw)
  To: Junio C Hamano, Jakub Narebski; +Cc: Git Mailing List


>From configure.ac, but re-nested:

AC_CHECK_LIB([crypto], [SHA1_Init],
   [NEEDS_SSL_WITH_CRYPTO=],
   [AC_CHECK_LIB([ssl], [SHA1_Init],
      [NEEDS_SSL_WITH_CRYPTO=YesPlease NEEDS_SSL_WITH_CRYPTO=],
      [NO_OPENSSL=YesPlease])])

should it rather be:

AC_CHECK_LIB([crypto], [SHA1_Init],
   [NEEDS_SSL_WITH_CRYPTO=],
   [AC_CHECK_LIB([ssl], [SHA1_Init],
      [NEEDS_SSL_WITH_CRYPTO=YesPlease],
      [NEEDS_SSL_WITH_CRYPTO= NO_OPENSSL=YesPlease])])

Notice the pairing of "action" parameters to the inner AC_CHECK_LIB().
The first one seems to set, and then unset NEEDS_SSL_WITH_CRYPTO.  Not
sure what is going on there.  Was the unsetting of NEEDS_SSL_WITH_CRYPTO
supposed to go into the action-if-not-found section?

-brandon

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-22 22:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-21 15:29 configure: is NEEDS_SSL_WITH_CRYPTO test correct? Brandon Casey
2009-07-21 18:49 ` Junio C Hamano
2009-07-22 22:20   ` [PATCH] configure.ac: properly unset NEEDS_SSL_WITH_CRYPTO when sha1 func is missing Brandon Casey
2009-07-22 22:20   ` Brandon Casey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).