[beast: 7/39] BUILD: define BSE_INSTALLPATH_* for installation directories, i.e. pkg*dir



commit 00200c2d22871d731ed5a60febe70a7e463c79a2
Author: Tim Janik <timj gnu org>
Date:   Fri Sep 11 21:26:33 2015 +0200

    BUILD: define BSE_INSTALLPATH_* for installation directories, i.e. pkg*dir

 configure.ac |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d46bfe8..3b23755 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,19 @@ AC_SUBST(pkglibdir)
 AC_SUBST(pkglibexecdir)
 AC_SUBST(pkgdatadir)
 AC_SUBST(pkgdocdir)
+# Provide directories for C++
+bak_prefix="$prefix" ; bak_exec_prefix="$exec_prefix" ; bak_libdir="$libdir" ; 
bak_datarootdir="$datarootdir" ; bak_datadir="$datadir"
+test "x$prefix" = xNONE && prefix="$ac_default_prefix" ; test "x$exec_prefix" = xNONE && 
exec_prefix="$prefix"
+libdir=`eval echo "${libdir}"` ; datarootdir=`eval echo "${datarootdir}"` ; datadir=`eval echo "${datadir}"`
+AC_DEFINE_UNQUOTED(BSE_INSTALLPATH_INCLUDES, ["`eval echo "${includedir}"`"], [Base directory for standard 
include files])
+AC_DEFINE_UNQUOTED(BSE_INSTALLPATH_BINDIR, ["`eval echo "${bindir}"`"], [Directory to install and execute 
programs])
+AC_DEFINE_UNQUOTED(BSE_INSTALLPATH_LOCALEBASE, ["`eval echo ${localedir}`"], [Base directory for locale 
specific message catalogs])
+AC_DEFINE_UNQUOTED(BSE_INSTALLPATH_LADSPA, ["`eval echo ${libdir}/ladspa`"], [Searchpath for LADSPA plugins])
+AC_DEFINE_UNQUOTED(BSE_INSTALLPATH_PKGLIBDIR, ["`eval echo ${pkglibdir}`"], [Directory to install plugins 
and drivers])
+AC_DEFINE_UNQUOTED(BSE_INSTALLPATH_PKGDATADIR, ["`eval echo ${pkgdatadir}`"], [Directory to install samples, 
effects, scripts, etc])
+AC_DEFINE_UNQUOTED(BSE_INSTALLPATH_PKGDOCDIR, ["`eval echo ${pkgdocdir}`"], [Directory to install 
documentation])
+AC_DEFINE_UNQUOTED(BSE_INSTALLPATH_USER_DATA, ["~/beast"], [Searchpath for user owned Beast resources])
+prefix="$bak_prefix" ; exec_prefix="$bak_exec_prefix" ; libdir="$bak_libdir" ; 
datarootdir="$bak_datarootdir" ; datadir="$bak_datadir"
 
 # Build tree checks
 AC_MSG_CHECKING([for git repository])


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