2006-03-13 00:45:02 -06:00
|
|
|
##############################################################################
|
|
|
|
# MOO_AC_SET_DIRS(base)
|
|
|
|
#
|
2007-01-02 05:07:30 -06:00
|
|
|
AC_DEFUN_ONCE([MOO_AC_SET_DIRS],[
|
2006-04-06 00:46:23 -05:00
|
|
|
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-13 00:45:02 -06:00
|
|
|
|
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)
|
|
|
|
|
2006-12-12 22:54:49 -06:00
|
|
|
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"
|
2006-03-13 00:45:02 -06:00
|
|
|
AC_SUBST(MOO_TEXT_LANG_FILES_DIR)
|
2006-04-06 03:32:16 -05:00
|
|
|
|
|
|
|
moo_includedir=${includedir}/$1
|
|
|
|
AC_SUBST(moo_includedir)
|
2006-03-13 00:45:02 -06:00
|
|
|
])
|