summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-11-23 07:49:04 +0100
committerDaiki Ueno <ueno@gnu.org>2020-11-23 07:49:04 +0100
commit2d0f980438a32eb5ca15d907a5a32d10ab7efa16 (patch)
tree2bdc15f90cd069edef9a994ca7101e5c1d9d86d8 /configure.ac
parent5ae98707cc4353f9f3648b5cd87755b7703119b5 (diff)
downloadgnutls-2d0f980438a32eb5ca15d907a5a32d10ab7efa16.tar.gz
configure.ac: include <libguile.h> when checking scm_* functions
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 157178d392..d38054804b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1054,7 +1054,7 @@ if test "$opt_guile_bindings" = "yes"; then
CFLAGS="$CFLAGS $GUILE_CFLAGS"
LIBS="$LIBS $GUILE_LDFLAGS"
AC_MSG_CHECKING([whether GNU Guile is recent enough])
- AC_LINK_IFELSE([AC_LANG_PROGRAM([], [scm_from_locale_string ("")])],
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <libguile.h>], [scm_from_locale_string ("")])],
[], [opt_guile_bindings=no])
CFLAGS="$save_CFLAGS"
LIBS="$save_LIBS"