Rename lashd_jackdbus_mgr_check_patches() to lashd_jackdbus_mgr_del_old_patch(),
[ladish.git] / lash-configure-template
blob0aad05c5a6bf685f7fc701d40120422ccd552330
1 # This is template code you can put in your configure.ac to check
2 # for LASH support
4 ############
5 ### LASH ###
6 ############
7 build_lash="yes"
8 AC_ARG_ENABLE(lash,
9         [AS_HELP_STRING(--enable-lash, [Enable LASH session management support (true)])],
10         [ if test x$enable_lash = xno ; then build_lash=no ; fi ])
11 if test "$build_lash" = "yes"; then
12         PKG_CHECK_MODULES(LASH, lash-1.0 >= 0.5.0, build_lash="yes", build_lash="no")
14 if test "$build_lash" = "yes"; then
15         AC_DEFINE(HAVE_LASH, 1, [Has lash.h])
16         AC_SUBST(LASH_CFLAGS)
17         AC_SUBST(LASH_LIBS)
18 else
19         AC_MSG_WARN([LASH not found, session support will not be built.])
21 AM_CONDITIONAL(HAVE_LASH, [test "$build_lash" = "yes"])