]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix FHS default modulesdir define
authorTravis Cross <tc@traviscross.com>
Sun, 2 Mar 2014 23:52:01 +0000 (23:52 +0000)
committerTravis Cross <tc@traviscross.com>
Sun, 2 Mar 2014 23:55:06 +0000 (23:55 +0000)
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

index a30fc5bd29b4f8c0e5a51ed79707d0d68141a0c1..86384ca8d6645a62a0d6a3ee7c26a3484d524c06 100644 (file)
@@ -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"