Pádraig Brady wrote: > 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])
Unfortunately with Emacs this causes "configure --help" to output two disagreeing lines for --with-openssl; one incorrect one, put out by the AC_ARG_WITH in m4/gl-openssl.m4, and one correct one, put out by the above call. Come to think of it, the GNU coding standards say that --with-openssl should configure the system to use the OpenSSL library (and fail if it's not available, presumably; that's what gl_GC and gl_LIBSELINUX do), but the recently-added code doesn't do that; it issues a warning and disables the library instead. Maybe we should be more consistent with the rest of Gnulib here?