From b04bbc6ca59d3def86a13faad5a1309354e6d23d Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sun, 2 Mar 2014 23:52:01 +0000 Subject: [PATCH] Fix FHS default modulesdir define The default value of libdir is (unexpanded) '${exec_prefix}/lib'. In the non-FHS path this is fine because it only ends up in a variable where it will be expanded later. By using this to define modulesdir we let it slip into a define where it made no sense. --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index a30fc5bd29..86384ca8d6 100644 --- a/configure.in +++ b/configure.in @@ -61,7 +61,8 @@ default_soundsdir="$prefix/sounds" default_storagedir="$prefix/storage" if test "$enable_fhs" = yes; then - prefix="/usr" + prefix="/usr" exec_prefix="$prefix" + libdir="$(eval echo "$libdir")" sysconfdir="/etc/freeswitch" localstatedir="/var" default_certsdir="/etc/freeswitch/tls"