Mercurial > gub
comparison patches/guile-2.0.0-configure-cross.patch @ 6493:a753f2b56688
guile: bump to 2.0
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Tue, 15 Mar 2011 14:13:15 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6492:5bab80dd593a | 6493:a753f2b56688 |
---|---|
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]) |