]> 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>
Mon, 3 Mar 2014 01:15:38 +0000 (01:15 +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 5923ba62bb4bf9cd95c885cdce5a1bb1cad9f12d..dab366a33eabfa251a85ae7466ea7af3b3dd595c 100644 (file)
@@ -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"