From 8c53e14e6c243ffb42504bc41d790a4e11ecc7af Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 8 May 2012 15:23:55 +0000 Subject: stop using STATIC_PATHS to define system search paths git-svn-id: svn://localhost/ardour2/branches/3.0@12210 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/filesystem_paths.cc | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libs/ardour/filesystem_paths.cc') diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc index 11ddc88502..2d14494764 100644 --- a/libs/ardour/filesystem_paths.cc +++ b/libs/ardour/filesystem_paths.cc @@ -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"); -- cgit v1.2.3