Hi,

Matt Kraai <[EMAIL PROTECTED]> writes:

> I don't have access to that box at the moment, so I can't give a
> complete list, but from memory, openssh requires openssl and was able
> to find it even though it was in /usr/local.

Often, `configure' scripts provide a `--with-PACKAGE-prefix' option (or
`--with-PACKAGE-includes', or `--with-PACKAGE-libs') so that one can
specify where to look fo a particular package.  For instance,
`libgcrypt.m4' contains the following snippet:

  AC_ARG_WITH(libgcrypt-prefix,
            AC_HELP_STRING([--with-libgcrypt-prefix=PFX],
                           [prefix where LIBGCRYPT is installed (optional)]),
     libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="")
  if test x$libgcrypt_config_prefix != x ; then
     if test x${LIBGCRYPT_CONFIG+set} != xset ; then
        LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
     fi
  fi

Consequently, users of the documented libgcrypt M4 macros automatically
get this new `--with' option.

Guile's `configure' already has a number of `--with' options that come
from various `.m4' files depended on.  Perhaps we could add one option
for GMP, or, better, ask the GMP maintainers to provide a set of M4
macros that does this?  :-)

Thanks,
Ludovic.


_______________________________________________
Bug-guile mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to