[PATCH 2/4] SFI: bse_installpath(): support package installation path for includes



Signed-off-by: Stefan Westerfeld <stefan space twc de>
---
 sfi/glib-extra.cc | 1 +
 sfi/glib-extra.hh | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sfi/glib-extra.cc b/sfi/glib-extra.cc
index 5a4d46e..3d5ee3e 100644
--- a/sfi/glib-extra.cc
+++ b/sfi/glib-extra.cc
@@ -1034,6 +1034,7 @@ bse_installpath (BseInstallpathType installpath_type)
   switch (installpath_type)
     {
     case BSE_INSTALLPATH_INCLUDES:                      return INSTALLPATH_INCLUDES;
+    case BSE_INSTALLPATH_PKGINCLUDEDIR:                 return INSTALLPATH_PKGINCLUDEDIR;
     case BSE_INSTALLPATH_BINDIR:                        return INSTALLPATH_BINDIR;
     case BSE_INSTALLPATH_LOCALEBASE:                    return INSTALLPATH_LOCALEBASE;
     case BSE_INSTALLPATH_LADSPA:                        return INSTALLPATH_LADSPA;
diff --git a/sfi/glib-extra.hh b/sfi/glib-extra.hh
index eac069d..8afd7e5 100644
--- a/sfi/glib-extra.hh
+++ b/sfi/glib-extra.hh
@@ -307,6 +307,7 @@ GScanner*   g_scanner_new64                 (const GScannerConfig *config_templ);
 // See also configure.ac, this function is here because all of sfi, bse and beast include this file.
 enum BseInstallpathType {
   BSE_INSTALLPATH_INCLUDES = 1,
+  BSE_INSTALLPATH_PKGINCLUDEDIR,
   BSE_INSTALLPATH_BINDIR,
   BSE_INSTALLPATH_LOCALEBASE,
   BSE_INSTALLPATH_LADSPA,
-- 
2.1.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]