+if test ${exp_sysconfdir} = "etc"; then
+AC_SUBST([RT_PATH_R], ${exp_prefix})
+AC_SUBST([RT_DOC_PATH_R], ${exp_prefix}/${exp_manualdir})
+AC_SUBST([RT_LOCAL_PATH_R], ${exp_prefix}/${exp_customdir})
+AC_SUBST([RT_LIB_PATH_R], ${exp_prefix}/${exp_libdir})
+AC_SUBST([RT_ETC_PATH_R], ${exp_prefix}/${exp_sysconfdir})
+AC_SUBST([CONFIG_FILE_PATH_R], ${exp_prefix}/${exp_sysconfdir})
+AC_SUBST([RT_BIN_PATH_R], ${exp_prefix}/${exp_bindir})
+AC_SUBST([RT_SBIN_PATH_R], ${exp_prefix}/${exp_sbindir})
+AC_SUBST([RT_VAR_PATH_R], ${exp_prefix}/${exp_localstatedir})
+AC_SUBST([RT_MAN_PATH_R], ${exp_prefix}/${exp_mandir})
+AC_SUBST([RT_FONT_PATH_R], ${exp_prefix}/${exp_fontdir})
+AC_SUBST([RT_PLUGIN_PATH_R], ${exp_prefix}/${exp_plugindir})
+AC_SUBST([MASON_DATA_PATH_R], ${exp_prefix}/${exp_masonstatedir})
+AC_SUBST([MASON_SESSION_PATH_R], ${exp_prefix}/${exp_sessionstatedir})
+AC_SUBST([MASON_HTML_PATH_R], ${exp_prefix}/${exp_htmldir})
+AC_SUBST([LOCAL_ETC_PATH_R], ${exp_prefix}/${exp_custometcdir})
+AC_SUBST([MASON_LOCAL_HTML_PATH_R], ${exp_prefix}/${exp_customhtmldir})
+AC_SUBST([LOCAL_LEXICON_PATH_R], ${exp_prefix}/${exp_customlexdir})
+AC_SUBST([LOCAL_LIB_PATH_R], ${exp_prefix}/${exp_customlibdir})
+AC_SUBST([RT_LOG_PATH_R], ${exp_prefix}/${exp_logfiledir})
+else
+AC_SUBST([RT_PATH_R], ${exp_prefix})
+AC_SUBST([RT_DOC_PATH_R], ${exp_manualdir})
+AC_SUBST([RT_LOCAL_PATH_R], ${exp_customdir})
+AC_SUBST([RT_LIB_PATH_R], ${exp_libdir})
+AC_SUBST([RT_ETC_PATH_R], ${exp_sysconfdir})
+AC_SUBST([RT_PLUGIN_PATH_R], ${exp_plugindir})
+AC_SUBST([CONFIG_FILE_PATH_R], ${exp_sysconfdir})
+AC_SUBST([RT_BIN_PATH_R], ${exp_bindir})
+AC_SUBST([RT_SBIN_PATH_R], ${exp_sbindir})
+AC_SUBST([RT_VAR_PATH_R], ${exp_localstatedir})
+AC_SUBST([RT_MAN_PATH_R], ${exp_mandir})
+AC_SUBST([RT_FONT_PATH_R], ${exp_fontdir})
+AC_SUBST([MASON_DATA_PATH_R], ${exp_masonstatedir})
+AC_SUBST([MASON_SESSION_PATH_R], ${exp_sessionstatedir})
+AC_SUBST([MASON_HTML_PATH_R], ${exp_htmldir})
+AC_SUBST([LOCAL_ETC_PATH_R], ${exp_custometcdir})
+AC_SUBST([MASON_LOCAL_HTML_PATH_R], ${exp_customhtmldir})
+AC_SUBST([LOCAL_LEXICON_PATH_R], ${exp_customlexdir})
+AC_SUBST([LOCAL_LIB_PATH_R], ${exp_customlibdir})
+AC_SUBST([RT_LOG_PATH_R], ${exp_logfiledir})
+
+fi
+