AC_CHECK_LIB(bz2, BZ2_bzWriteOpen, [:], AC_MSG_ERROR([*** must have bzlib]))
AC_CHECK_LIB(gdbm, gdbm_open, [:], AC_MSG_ERROR([*** must have gdbm]))
-extlibs=
experimental=no
DOLDA_AC_GROUP([Checking optional libraries])
fi
# Guile check (XXX: Shouldn't have to be enabled manually)
-guile_msg=no
+enable_guile=no
if test "$with_guile" = yes; then
GUILE_FLAGS
- extlibs="$extlibs guile"
- guile_msg=yes
+ enable_guile=yes
fi
+AM_CONDITIONAL(ELIB_GUILE, test "$enable_guile" = yes)
# Check whether to install baseconv
AC_ARG_ENABLE(baseconv, [ --enable-baseconv Install the baseconv utility])
fi
AC_DEFINE_UNQUOTED([RELEASEINFO], ["$relinfo"])
-AC_SUBST([extlibs])
AC_OUTPUT([
Makefile
autopackage/Makefile
echo " GTK2 user interface: $enable_gtk2ui"
echo " Dolconf configurator: $enable_dolconf"
echo " GUI shell: $enable_guishell"
-echo " Guile extension library: $guile_msg"
+echo " Guile extension library: $enable_guile"
echo " GNOME transfer applet: $enable_gnomeapplet"
echo " Gaim chat plugin: $gaimplugin_msg"
echo
SUBDIRS=dolcon
+if ELIB_GUILE
dist_bin_SCRIPTS=autodl chatlog hubmgr dcruncmd
-
lib_LTLIBRARIES=libdolcon-guile.la
+endif
libdolcon_guile_la_SOURCES=dolcon-guile.c
libdolcon_guile_la_LDFLAGS=-module -avoid-version