31 lines
808 B
Plaintext
31 lines
808 B
Plaintext
##############################################################################
|
|
# 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.])
|
|
|
|
if test "x$MOO_PACKAGE_NAME" = x; then
|
|
MOO_PACKAGE_NAME=moo
|
|
fi
|
|
|
|
AC_DEFINE_UNQUOTED([MOO_PACKAGE_NAME], "$MOO_PACKAGE_NAME", [package name])
|
|
|
|
MOO_DATA_DIR="${datadir}/$MOO_PACKAGE_NAME"
|
|
AC_SUBST(MOO_DATA_DIR)
|
|
|
|
MOO_LIB_DIR="${libdir}/$MOO_PACKAGE_NAME"
|
|
AC_SUBST(MOO_LIB_DIR)
|
|
|
|
MOO_PLUGINS_DIR="${MOO_LIB_DIR}/plugins"
|
|
AC_SUBST(MOO_PLUGINS_DIR)
|
|
|
|
MOO_TEXT_LANG_FILES_DIR="${MOO_DATA_DIR}/language-specs"
|
|
AC_SUBST(MOO_TEXT_LANG_FILES_DIR)
|
|
|
|
MOO_LOCALE_DIR="${datadir}/locale"
|
|
AC_SUBST(MOO_LOCALE_DIR)
|
|
|
|
MOO_HELP_DIR="${htmldir}/help"
|
|
AC_SUBST(MOO_HELP_DIR)
|
|
])
|