6493
|
1 --- guile-1.9.14/configure.ac~ 2011-01-27 18:33:17.300003072 +0100 |
|
2 +++ guile-1.9.14/configure.ac 2011-01-27 19:29:42.191669551 +0100 |
|
3 @@ -76,11 +76,7 @@ AC_LIBTOOL_DLOPEN |
|
4 AC_PROG_LIBTOOL |
|
5 |
|
6 dnl Check for libltdl. |
|
7 -AC_LIB_HAVE_LINKFLAGS([ltdl], [], [#include <ltdl.h>], |
|
8 - [lt_dlopenext ("foo");]) |
|
9 -if test "x$HAVE_LIBLTDL" != "xyes"; then |
|
10 - AC_MSG_ERROR([GNU libltdl (Libtool) not found, see README.]) |
|
11 -fi |
|
12 +AC_CHECK_LIB(ltdl, lt_dlopenext, [HAVE_LIBLTDL=yes AC_SUBST(HAVE_LIBLTDL) LTLIBLTDL="-lltdl" AC_SUBST(LTLIBLTDL)]) |
|
13 |
|
14 AC_CHECK_PROG(have_makeinfo, makeinfo, yes, no) |
|
15 AM_CONDITIONAL(HAVE_MAKEINFO, test "$have_makeinfo" = yes) |
|
16 @@ -854,10 +850,7 @@ fi |
|
17 |
|
18 |
|
19 dnl GMP tests |
|
20 -AC_LIB_HAVE_LINKFLAGS([gmp], |
|
21 - [], |
|
22 - [#include <gmp.h>], |
|
23 - [mpz_import (0, 0, 0, 0, 0, 0, 0);]) |
|
24 +AC_CHECK_LIB(gmp, main, [HAVE_LIBGMP=yes AC_SUBST(HAVE_LIBGMP) LTLIBGMP="-lgmp" AC_SUBST(LTLIBGMP)]) |
|
25 |
|
26 if test "x$HAVE_LIBGMP" != "xyes"; then |
|
27 AC_MSG_ERROR([GNU MP 4.1 or greater not found, see README]) |