medit/m4/moo-dirs.m4

28 lines
733 B
Plaintext
Raw Normal View History

##############################################################################
# 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])
2006-03-21 01:49:42 -06:00
MOO_DATA_DIR="${datadir}/$1"
2006-03-13 02:13:47 -06:00
AC_SUBST(MOO_DATA_DIR)
2006-03-21 01:49:42 -06:00
MOO_LIB_DIR="${libdir}/$1"
2006-03-13 02:13:47 -06:00
AC_SUBST(MOO_LIB_DIR)
MOO_PLUGINS_DIR="${MOO_LIB_DIR}/plugins"
AC_SUBST(MOO_PLUGINS_DIR)
# copied from po/Makefile.in.in
MOO_LOCALE_DIR="${prefix}/${DATADIRNAME}/locale"
2006-08-03 01:51:58 -05:00
AC_SUBST(MOO_LOCALE_DIR)
2006-08-26 04:46:29 -05:00
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)
])