aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2017-07-14 13:57:51 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2017-07-14 13:57:51 +0200
commitb6755fe23d258a4dc971d8fabc3fae1873e31271 (patch)
tree669698febb6b5c6e0eff01054752c2a6fe374ddc /configure.ac
parent8cb2e0da6845a2edad4be52a2c785715a91f4658 (diff)
-change to gabe bswabe fork
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bbae6edff0..bfde625d28 100644
--- a/configure.ac
+++ b/configure.ac
@@ -440,17 +440,26 @@ AC_CHECK_LIB(ogg, ogg_stream_flush_fill,
AM_CONDITIONAL(HAVE_OGG, false)
ogg=0)
-PKG_CHECK_MODULES([ABE], [glib-2.0])
+
+PKG_CHECK_MODULES([GLIB], [glib-2.0])
# check for pbc library
pbc=0
AC_CHECK_HEADER([pbc/pbc.h],pbc=1)
+AC_CHECK_HEADER([gabe.h],abe=1)
AM_CONDITIONAL(HAVE_PBC, [test "$pbc" = 1])
+AM_CONDITIONAL(HAVE_ABE, [test "$abe" = 1])
if test "x$pbc" = x1
then
AC_DEFINE([HAVE_PBC],[1],[Have pbc library])
else
AC_DEFINE([HAVE_PBC],[0],[Lacking pbc library])
fi
+if test "x$abe" = x1
+then
+ AC_DEFINE([HAVE_ABE],[1],[Have ABE library])
+else
+ AC_DEFINE([HAVE_ABE],[0],[Lacking ABE library])
+fi