summaryrefslogtreecommitdiff
path: root/configure.in.in
diff options
context:
space:
mode:
authorGuido Berhoerster <gber@opensuse.org>2011-02-12 17:40:27 +0100
committerNick Schermer <nick@xfce.org>2011-02-12 17:40:27 +0100
commit5e33fa8a36e9646208dfcb911e6b9419dc10019f (patch)
treec6f5afbbe8a14a7cbef1c86942ca10356f96854c /configure.in.in
parent2b3cbf5aef1d758e73f0285e9637a106333603f8 (diff)
downloadxfce4-session-5e33fa8a36e9646208dfcb911e6b9419dc10019f.tar.gz
Allow installation of the helpers in a custom location.
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
index b2c87262..480ec552 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -32,6 +32,14 @@ AM_CONFIG_HEADER([config.h])
AM_MAINTAINER_MODE()
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+dnl Set helper path prefix
+AC_ARG_WITH([helper-path-prefix],
+ [AC_HELP_STRING([--with-helper-path-prefix=PATH],
+ [Path prefix under which helper executables will be installed (default: $libdir)])],
+ [HELPER_PATH_PREFIX="$withval"],
+ [HELPER_PATH_PREFIX="$libdir"])
+AC_SUBST([HELPER_PATH_PREFIX])
+
dnl check for UNIX variants
AC_USE_SYSTEM_EXTENSIONS
AM_CONDITIONAL([HAVE_OS_CYGWIN], [test x"`uname | grep \"CYGWIN\"`" != x""])