perform gmp/unistring compile checks with AC_LIB_HAVE_LINKFLAGS
authorAndy Wingo <wingo@pobox.com>
Tue, 4 Aug 2009 19:16:32 +0000 (21:16 +0200)
committerAndy Wingo <wingo@pobox.com>
Tue, 4 Aug 2009 19:16:32 +0000 (21:16 +0200)
commitf4863880f5ef539cb545999c19b6b5c0eec9382d
tree974ac34e4cb7f0eb05ee0e609340e245441e273e
parent45cc8a38777c9f971b6aae4895311fcc9e15ce3e
perform gmp/unistring compile checks with AC_LIB_HAVE_LINKFLAGS

* configure.ac: Rework gmp and unistring checks to use
  AC_LIB_HAVE_LINKFLAGS, so that the compilation checks run with the
  right -L/-l flags.

* libguile/Makefile.am (libguile_la_LIBADD): Adapt to need to add
  $(LIBGMP) and $(LIBUNISTRING) here.

Hopefully this solves
http://article.gmane.org/gmane.lisp.guile.bugs/4288.
configure.ac
libguile/Makefile.am