prefix='/usr/local/freeswitch'
fi
+if test "x${exec_prefix}" = "xNONE" ; then
+ exec_prefix="$prefix"
+fi
+
default_scriptdir="$prefix/scripts"
default_grammardir="$prefix/grammar"
default_soundsdir="$prefix/sounds"
eval datadir=$full_datadir
eval full_localstatedir="${localstatedir}"
eval localstatedir=$full_localstatedir
+ eval libdir=$libdir
default_cachedir="${localstatedir}/cache/freeswitch"
localstatedir="${localstatedir}/lib/freeswitch"
default_scriptdir="${datadir}/scripts"
default_runtimedir="$rundir"
default_logfiledir="$logdir"
+AC_SUBST(libdir)
+
# Where to install the modules
AC_ARG_WITH([modinstdir],
[AS_HELP_STRING([--with-modinstdir=DIR], [Install modules into this location (default: $prefix/mod)])], [modulesdir="$withval"], [modulesdir="${default_modulesdir}"])
+eval modulesdir="${modulesdir}"
AC_SUBST(modulesdir)
AC_DEFINE_UNQUOTED([SWITCH_MOD_DIR],"${modulesdir}",[where to install the modules to])
AC_SUBST(localstatedir)
AC_DEFINE_UNQUOTED([SWITCH_LOCALSTATE_DIR],"${localstatedir}",[directory for local state files])
-AC_SUBST(libdir)
AC_SUBST(bindir)
AC_SUBST(includedir)