medit/m4/moo-dirs.m4

31 lines
808 B
Plaintext
Raw Normal View History

##############################################################################
2007-05-08 09:01:44 -05:00
# MOO_AC_SET_DIRS
#
AC_DEFUN_ONCE([MOO_AC_SET_DIRS],[
AC_ARG_VAR([MOO_PACKAGE_NAME], [data files go into $datadir/$MOO_PACKAGE_NAME, etc.])
2007-05-08 09:01:44 -05:00
if test "x$MOO_PACKAGE_NAME" = x; then
MOO_PACKAGE_NAME=moo
fi
2007-05-08 09:01:44 -05:00
AC_DEFINE_UNQUOTED([MOO_PACKAGE_NAME], "$MOO_PACKAGE_NAME", [package name])
2007-05-08 09:01:44 -05:00
MOO_DATA_DIR="${datadir}/$MOO_PACKAGE_NAME"
AC_SUBST(MOO_DATA_DIR)
2006-03-13 02:13:47 -06:00
2007-05-08 09:01:44 -05:00
MOO_LIB_DIR="${libdir}/$MOO_PACKAGE_NAME"
AC_SUBST(MOO_LIB_DIR)
2007-05-08 09:01:44 -05:00
MOO_PLUGINS_DIR="${MOO_LIB_DIR}/plugins"
AC_SUBST(MOO_PLUGINS_DIR)
2007-05-08 09:01:44 -05:00
MOO_TEXT_LANG_FILES_DIR="${MOO_DATA_DIR}/language-specs"
AC_SUBST(MOO_TEXT_LANG_FILES_DIR)
2008-05-11 01:36:25 -05:00
MOO_LOCALE_DIR="${datadir}/locale"
AC_SUBST(MOO_LOCALE_DIR)
MOO_HELP_DIR="${htmldir}/help"
AC_SUBST(MOO_HELP_DIR)
])