stop using STATIC_PATHS to define system search paths
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 8 May 2012 15:23:55 +0000 (15:23 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 8 May 2012 15:23:55 +0000 (15:23 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12210 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/filesystem_paths.cc

index 11ddc885025d79010c36003eb4aa2883b9580d23..2d144947645604c65d6afb0f020d3972546307cd 100644 (file)
@@ -30,8 +30,6 @@
 
 #include "i18n.h"
 
-#define WITH_STATIC_PATHS 1
-
 using namespace PBD;
 
 namespace ARDOUR {
@@ -109,11 +107,7 @@ ardour_search_path ()
 SearchPath
 system_config_search_path ()
 {
-#ifdef WITH_STATIC_PATHS
-       SearchPath config_path(string(CONFIG_DIR));
-#else
        SearchPath config_path(system_config_directories());
-#endif
 
        config_path.add_subdirectory_to_paths("ardour3");
 
@@ -123,11 +117,7 @@ system_config_search_path ()
 SearchPath
 system_data_search_path ()
 {
-#ifdef WITH_STATIC_PATHS
-       SearchPath data_path(string(DATA_DIR));
-#else
        SearchPath data_path(system_data_directories());
-#endif
 
        data_path.add_subdirectory_to_paths("ardour3");