medit/m4/moo-dirs.m4

26 lines
634 B
Plaintext
Raw Normal View History

##############################################################################
# MOO_AC_SET_DIRS(base)
#
AC_DEFUN([MOO_AC_SET_DIRS],[
2006-04-05 22:31:00 -07:00
AC_REQUIRE([MOO_AC_RELOC])
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-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"
AC_SUBST(MOO_TEXT_LANG_FILES_DIR)
moo_includedir=${includedir}/$1
AC_SUBST(moo_includedir)
])