diff options
author | A. Walton <awalton@svn.gnome.org> | 2008-03-25 02:36:21 +0000 |
---|---|---|
committer | Andrew Walton <awalton@src.gnome.org> | 2008-03-25 02:36:21 +0000 |
commit | fd4c4a1c1e3a7010b63e18c3674546369f528293 (patch) | |
tree | b78aae047895028c90e83fcd0e27cb5c4eab3213 /configure.ac | |
parent | bba15fe6576d5f9abd3e37501afe3453aa05d6fc (diff) | |
download | gvfs-fd4c4a1c1e3a7010b63e18c3674546369f528293.tar.gz |
The CDDA backend requires HAL to build. Closes bug #524062.
2008-03-24 A. Walton <awalton@svn.gnome.org>
* configure.ac:
The CDDA backend requires HAL to build.
Closes bug #524062.
svn path=/trunk/; revision=1676
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac index 4c9d1b76..695ab35c 100644 --- a/configure.ac +++ b/configure.ac @@ -148,28 +148,6 @@ if test "x$enable_avahi" != "xno"; then AC_SUBST(AVAHI_LIBS) fi -dnl ************************************************** -dnl *** Check if we should build with CDDA backend *** -dnl ************************************************** -AC_ARG_ENABLE(cdda, [ --disable-cdda build without CDDA backend]) -msg_cdda=no -CDDA_LIBS= -CDDA_CFLAGS= - -if test "x$enable_cdda" != "xno"; then - PKG_CHECK_EXISTS(libcdio_paranoia >= 0.78.2, msg_cdda=yes) - - if test "x$msg_cdda" == "xyes"; then - PKG_CHECK_MODULES(CDDA, libcdio_paranoia) - AC_DEFINE(HAVE_CDDA, 1, [Define to 1 if CDDA is going to be built]) - fi -fi - -AC_SUBST(CDDA_LIBS) -AC_SUBST(CDDA_CFLAGS) - -AM_CONDITIONAL(USE_CDDA, [test "$msg_cdda" = "yes"]) - dnl ********************** dnl *** Check for FUSE *** dnl ********************** @@ -242,6 +220,28 @@ AC_SUBST(HAL_CFLAGS) AM_CONDITIONAL(USE_HAL, [test "$msg_hal" = "yes"]) +dnl ************************************************** +dnl *** Check if we should build with CDDA backend *** +dnl ************************************************** +AC_ARG_ENABLE(cdda, [ --disable-cdda build without CDDA backend]) +msg_cdda=no +CDDA_LIBS= +CDDA_CFLAGS= + +if test "x$enable_cdda" != "xno"; then + PKG_CHECK_EXISTS(libcdio_paranoia >= 0.78.2 hal >= $HAL_REQUIRED, msg_cdda=yes) + + if test "x$msg_cdda" == "xyes"; then + PKG_CHECK_MODULES(CDDA, libcdio_paranoia hal >= $HAL_REQUIRED) + AC_DEFINE(HAVE_CDDA, 1, [Define to 1 if CDDA is going to be built]) + fi +fi + +AC_SUBST(CDDA_LIBS) +AC_SUBST(CDDA_CFLAGS) + +AM_CONDITIONAL(USE_CDDA, [test "$msg_cdda" = "yes"]) + dnl ***************************************************** dnl *** Check if we should build with obexftp backend *** dnl ***************************************************** |