[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH for-4.11] tools: set DEBUG_DIR from configure
Allow the path to be set from a configure command line option. Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> --- Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Cc: Wei Liu <wei.liu2@xxxxxxxxxx> Cc: Olaf Hering <olaf@xxxxxxxxx> Cc: Jan Beulich <jbeulich@xxxxxxxx> --- config/Paths.mk.in | 1 + m4/paths.m4 | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/config/Paths.mk.in b/config/Paths.mk.in index a603295146..8a518d5a5d 100644 --- a/config/Paths.mk.in +++ b/config/Paths.mk.in @@ -51,6 +51,7 @@ BASH_COMPLETION_DIR := $(CONFIG_DIR)/bash_completion.d XEN_LOCK_DIR := @XEN_LOCK_DIR@ XEN_PAGING_DIR := @XEN_PAGING_DIR@ XEN_DUMP_DIR := @XEN_DUMP_DIR@ +DEBUG_DIR := @DEBUG_DIR@ XENFIRMWAREDIR := @XENFIRMWAREDIR@ diff --git a/m4/paths.m4 b/m4/paths.m4 index f208b7e39f..7c5a775c88 100644 --- a/m4/paths.m4 +++ b/m4/paths.m4 @@ -82,6 +82,12 @@ AC_ARG_WITH([rundir], [rundir_path=$withval], [rundir_path=$localstatedir/run]) +AC_ARG_WITH([debugdir], + AS_HELP_STRING([--with-debugdir=DIR], + [Path to directory for debug symbols. [PREFIX/usr/lib/debug]]), + [debugdir_path=$withval], + [debugdir_path=$prefix/usr/lib/debug]) + if test "$libexecdir" = '${exec_prefix}/libexec' ; then case "$host_os" in *netbsd*) ;; @@ -146,6 +152,9 @@ AC_SUBST(XEN_PAGING_DIR) XEN_DUMP_DIR=$xen_dumpdir_path AC_SUBST(XEN_DUMP_DIR) + +DEBUG_DIR=$debugdir_path +AC_SUBST(DEBUG_DIR) ]) case "$host_os" in -- 2.16.3 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |