On 12/02/2013 02:12 PM, Pádraig Brady wrote:
> To use this from coreutils I configure with --with-openssl

> Note since the new libs are required, then is one of the reasons
> I didn't enable this by default.  A related question though
> is I'd like coreutils to change the default to enable this by default.
> What would be the best way to do that, while still allowing users
> to --with-openssl=no

Seems the handiest way to do this is to do the following
in configure.ac before gl_INIT:

dnl Enable use of libcrypto by default
AC_ARG_WITH([openssl],
  [AS_HELP_STRING([--with-openssl],
    [use libcrypto hash routines if available: default=yes])],
  [],
  [with_openssl=yes])

thanks,
Pádraig.

Reply via email to