25 lines
634 B
Plaintext
25 lines
634 B
Plaintext
##############################################################################
|
|
# MOO_AC_SET_DIRS(base)
|
|
#
|
|
AC_DEFUN([MOO_AC_SET_DIRS],[
|
|
AC_REQUIRE([MOO_AC_RELOC])
|
|
|
|
MOO_PACKAGE_NAME=$1
|
|
AC_SUBST(MOO_PACKAGE_NAME)
|
|
AC_DEFINE([MOO_PACKAGE_NAME], "$1", [package name])
|
|
|
|
MOO_DATA_DIR="${datadir}/$1"
|
|
AC_SUBST(MOO_DATA_DIR)
|
|
|
|
MOO_LIB_DIR="${libdir}/$1"
|
|
AC_SUBST(MOO_LIB_DIR)
|
|
|
|
MOO_TEXT_LANG_FILES_DIR="${MOO_DATA_DIR}/syntax"
|
|
AC_SUBST(MOO_TEXT_LANG_FILES_DIR)
|
|
|
|
moo_libincludedir=${MOO_LIB_DIR}/include
|
|
moo_includedir=${includedir}/$1
|
|
AC_SUBST(moo_libincludedir)
|
|
AC_SUBST(moo_includedir)
|
|
])
|