From 80a0125f362ce7cab9a55ed8d919aafd3f366dca Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 24 Mar 2016 18:55:30 -0500 Subject: [PATCH] configure: define ENABLE_FHS_PATHS if built with --enable-fhs-paths, this will disable the path relocation code --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2911f973..a3678625 100644 --- a/configure.ac +++ b/configure.ac @@ -121,7 +121,8 @@ AS_IF([test "x$enable_fhs_paths" = "xyes"], pkglibexecdir='${libexecdir}/${PACKAGE_TARNAME}' rundir=${rundir-'${prefix}/run'} pkgrundir='${rundir}/${PACKAGE_TARNAME}' - pkglocalstatedir='${localstatedir}/${PACKAGE_TARNAME}'], + pkglocalstatedir='${localstatedir}/${PACKAGE_TARNAME}' + AC_DEFINE([ENABLE_FHS_PATHS], [1], [Uncomment if FHS pathnames are enabled])], [libexecdir='${bindir}' pkglibexecdir='${libexecdir}' rundir='${sysconfdir}'