summaryrefslogtreecommitdiff
path: root/libs/ardour/filesystem_paths.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-05-08 15:23:55 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-05-08 15:23:55 +0000
commit8c53e14e6c243ffb42504bc41d790a4e11ecc7af (patch)
tree2708db018a3496c9d89a65e932601ba697161765 /libs/ardour/filesystem_paths.cc
parent9228b1cbf6f41224f434c34e322049f3b2437dc3 (diff)
stop using STATIC_PATHS to define system search paths
git-svn-id: svn://localhost/ardour2/branches/3.0@12210 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/filesystem_paths.cc')
-rw-r--r--libs/ardour/filesystem_paths.cc10
1 files changed, 0 insertions, 10 deletions
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");