diff options
author | Daiki Ueno <ueno@gnu.org> | 2021-02-15 15:09:14 +0000 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2021-02-15 15:09:14 +0000 |
commit | 8314ad75b4a99e8b1fa5242607e272e31fc83ec2 (patch) | |
tree | 510f97500688fa465696a89ef1f2614081e277d1 | |
parent | 71f7e59fe4952bebcf27eaf4f9fc000c722946fa (diff) | |
parent | 2d0f980438a32eb5ca15d907a5a32d10ab7efa16 (diff) | |
download | gnutls-8314ad75b4a99e8b1fa5242607e272e31fc83ec2.tar.gz |
Merge branch 'wip/dueno/guile-fixes' into 'master'
configure.ac: include <libguile.h> when checking scm_* functions
Closes #1116
See merge request gnutls/gnutls!1360
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index edfbdb81de..820cbf2117 100644 --- a/configure.ac +++ b/configure.ac @@ -1071,7 +1071,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" |