# HG changeset patch # User nenolod # Date 1141050707 28800 # Node ID b50d5337a8ce3214b9a42b67015ada580de5b4f9 # Parent 167ba5a8c15ac1cc1606577dee1d0ab6cb92b4d5 [svn] - gnomevfs diff -r 167ba5a8c15a -r b50d5337a8ce configure.ac --- a/configure.ac Mon Feb 27 06:28:11 2006 -0800 +++ b/configure.ac Mon Feb 27 06:31:47 2006 -0800 @@ -212,8 +212,11 @@ ) fi -AM_CONDITIONAL(HAVE_GNOME_VFS, test "$enable_gnomevfs" = "yes") - +if test "$enable_gnomevfs" = "yes"; then + VFS_BACKEND="gnome" +else + VFS_BACKEND="stdio" +fi dnl Check for esound diff -r 167ba5a8c15a -r b50d5337a8ce libaudacious/Makefile.in --- a/libaudacious/Makefile.in Mon Feb 27 06:28:11 2006 -0800 +++ b/libaudacious/Makefile.in Mon Feb 27 06:31:47 2006 -0800 @@ -26,11 +26,7 @@ CONF_SRC = configdb_rcfile.c #endif -#if HAVE_GNOME_VFS -# VFS_SRC = vfs_gnome.c -#else - VFS_SRC = vfs_stdio.c -#endif +VFS_SRC = vfs_$(VFS_BACKEND).c SOURCES = \ $(CONF_SRC) \ diff -r 167ba5a8c15a -r b50d5337a8ce mk/rules.mk.in --- a/mk/rules.mk.in Mon Feb 27 06:28:11 2006 -0800 +++ b/mk/rules.mk.in Mon Feb 27 06:31:47 2006 -0800 @@ -300,6 +300,7 @@ target_os = @target_os@ target_vendor = @target_vendor@ WAV_SNDFILE = @WAV_SNDFILE@ +VFS_BACKEND = @VFS_BACKEND@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@