chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
81410ab
)
configure.ac: Link `-lgc' when searching for `GC_mumble' functions.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 17 Nov 2017 22:14:02 +0000
(22:14 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 26 Nov 2017 14:08:35 +0000
(14:08 +0000)
Otherwise we can't find them and fall back to using deprecated things.
This is a shame.
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index 79778fddd4d45a6c367b546e2b5569619f046bae..0778fc98958c6770a4f92465f8374fa0eac08b68 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-475,7
+475,10
@@
LIBS=$mdw_SAVE_LIBS
# and report them all at once.
AC_CHECK_LIB(gc, GC_malloc, [AC_SUBST(LIBGC,[-lgc])],
[missing_libraries="$missing_libraries libgc"])
+mdw_SAVE_LIBS=$LIBS
+LIBS="$LIBS $LIBGC"
AC_CHECK_FUNCS(GC_get_all_interior_pointers)
+LIBS=$mdw_SAVE_LIBS
AC_CHECK_LIB(gcrypt, gcry_md_open,
[AC_SUBST(LIBGCRYPT,[-lgcrypt])],
[missing_libraries="$missing_libraries libgcrypt"])