2006-03-12 22:45:02 -08:00
|
|
|
##############################################################################
|
|
|
|
# MOO_AC_SET_DIRS(base)
|
|
|
|
#
|
|
|
|
AC_DEFUN([MOO_AC_SET_DIRS],[
|
2006-04-05 22:31:00 -07:00
|
|
|
AC_REQUIRE([MOO_AC_RELOC])
|
|
|
|
|
2006-04-05 22:46:23 -07:00
|
|
|
MOO_PACKAGE_NAME=$1
|
|
|
|
AC_SUBST(MOO_PACKAGE_NAME)
|
|
|
|
AC_DEFINE([MOO_PACKAGE_NAME], "$1", [package name])
|
|
|
|
|
2006-03-20 23:49:42 -08:00
|
|
|
MOO_DATA_DIR="${datadir}/$1"
|
2006-03-13 00:13:47 -08:00
|
|
|
AC_SUBST(MOO_DATA_DIR)
|
2006-03-12 22:45:02 -08:00
|
|
|
|
2006-03-20 23:49:42 -08:00
|
|
|
MOO_LIB_DIR="${libdir}/$1"
|
2006-03-13 00:13:47 -08:00
|
|
|
AC_SUBST(MOO_LIB_DIR)
|
|
|
|
|
2006-08-02 23:51:58 -07:00
|
|
|
MOO_LOCALE_DIR="${datadir}/locale"
|
|
|
|
AC_SUBST(MOO_LOCALE_DIR)
|
|
|
|
|
2006-08-26 02:46:29 -07:00
|
|
|
MOO_TEXT_LANG_FILES_DIR="${MOO_DATA_DIR}/language-specs"
|
2006-03-12 22:45:02 -08:00
|
|
|
AC_SUBST(MOO_TEXT_LANG_FILES_DIR)
|
2006-04-06 01:32:16 -07:00
|
|
|
|
|
|
|
moo_includedir=${includedir}/$1
|
|
|
|
AC_SUBST(moo_includedir)
|
2006-03-12 22:45:02 -08:00
|
|
|
])
|