changeset 726:b50d5337a8ce trunk

[svn] - gnomevfs
author nenolod
date Mon, 27 Feb 2006 06:31:47 -0800
parents 167ba5a8c15a
children c331d6c6880a
files configure.ac libaudacious/Makefile.in mk/rules.mk.in
diffstat 3 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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
 
--- 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) \
--- 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@