27 lines
667 B
Plaintext
27 lines
667 B
Plaintext
##############################################################################
|
|
# MOO_AC_SET_DIRS(base)
|
|
#
|
|
AC_DEFUN_ONCE([MOO_AC_SET_DIRS],[
|
|
MOO_PACKAGE_NAME=$1
|
|
AC_SUBST(MOO_PACKAGE_NAME)
|
|
AC_DEFINE([MOO_PACKAGE_NAME], "$1", [package name])
|
|
|
|
MOO_DATA_DIR="${datadir}/$1"
|
|
AC_SUBST(MOO_DATA_DIR)
|
|
|
|
MOO_LIB_DIR="${libdir}/$1"
|
|
AC_SUBST(MOO_LIB_DIR)
|
|
|
|
mimedir="${datadir}/mime"
|
|
AC_SUBST(mimedir)
|
|
|
|
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_includedir=${includedir}/$1
|
|
AC_SUBST(moo_includedir)
|
|
])
|