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.
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"