2006-03-13 00:45:02 -06:00
|
|
|
##############################################################################
|
2007-05-08 09:01:44 -05:00
|
|
|
# MOO_AC_SET_DIRS
|
2006-03-13 00:45:02 -06:00
|
|
|
#
|
2007-01-02 05:07:30 -06:00
|
|
|
AC_DEFUN_ONCE([MOO_AC_SET_DIRS],[
|
2007-05-08 09:01:44 -05:00
|
|
|
if test "x$MOO_PACKAGE_NAME" = x; then
|
|
|
|
MOO_PACKAGE_NAME=moo
|
|
|
|
fi
|
2006-04-06 00:46:23 -05:00
|
|
|
|
2007-05-08 09:01:44 -05:00
|
|
|
AC_SUBST(MOO_PACKAGE_NAME)
|
|
|
|
AC_DEFINE_UNQUOTED([MOO_PACKAGE_NAME], "$MOO_PACKAGE_NAME", [package name])
|
2006-03-13 00:45:02 -06:00
|
|
|
|
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-01-05 18:10:54 -06:00
|
|
|
|
2007-05-08 09:01:44 -05:00
|
|
|
mimedir="${datadir}/mime"
|
|
|
|
AC_SUBST(mimedir)
|
2006-12-12 22:54:49 -06:00
|
|
|
|
2007-05-08 09:01:44 -05:00
|
|
|
MOO_PLUGINS_DIR="${MOO_LIB_DIR}/plugins"
|
|
|
|
AC_SUBST(MOO_PLUGINS_DIR)
|
2006-04-06 03:32:16 -05:00
|
|
|
|
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)
|
|
|
|
|
|
|
|
moo_includedir=${includedir}/$MOO_PACKAGE_NAME
|
|
|
|
AC_SUBST(moo_includedir)
|
2006-03-13 00:45:02 -06:00
|
|
|
])
|