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],[
|
2008-06-02 14:47:16 -05:00
|
|
|
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
|
2006-04-06 00:46:23 -05:00
|
|
|
|
2007-05-08 09:01:44 -05:00
|
|
|
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
|
|
|
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)
|
|
|
|
|
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)
|
2006-03-13 00:45:02 -06:00
|
|
|
])
|