From e3bae7764548d1390271d4c61e7d8b2bb9fb155c 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 5923ba62bb..dab366a33e 100644 --- a/configure.in +++ b/configure.in @@ -60,7 +60,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_dbdir="/var/lib/freeswitch/db"