Provide easier configure options for GMP and readline
authorNeil Jerram <neil@ossau.uklinux.net>
Sun, 14 Jun 2009 16:58:15 +0000 (17:58 +0100)
committerNeil Jerram <neil@ossau.uklinux.net>
Sun, 14 Jun 2009 16:58:15 +0000 (17:58 +0100)
commit39b94fee4304d56babf5bd62e10c5786a79f4389
tree1d5f04c3e89090afba890610c593ff53e6047e56
parentf856c2b6d77633366f154cb38cd4edb384b4892d
Provide easier configure options for GMP and readline

This patch uses the AC_LIB_LINKFLAGS macro, provided by Gnulib's
havelib module, to provide --with-gmp-prefix and
--with-readline-prefix configure options.  Many thanks to Bruno Haible
for suggesting and explaining this to me.

* configure.in (top level): Add AC_LIB_LINKFLAGS(gmp).

* guile-readline/configure.in (AC_CONFIG_AUX_DIR): Change to
  ../build-aux, to share the main build-aux directory and so avoid
  having to distribute multiple copies of config.rpath.
  (top level): Add AC_LIB_LINKFLAGS(readline).

* lib/Makefile.am, m4/gnulib-cache.m4: Regenerated by gnulib-tool for
  new import of the `havelib' module.
configure.in
guile-readline/configure.in
lib/Makefile.am
m4/gnulib-cache.m4