Made MOO_BUILD_MEDIT and MOO_PACKAGE_NAME precious variables
parent
d1a3171ed9
commit
0a4ad19e65
|
@ -2,11 +2,12 @@
|
||||||
# MOO_AC_SET_DIRS
|
# MOO_AC_SET_DIRS
|
||||||
#
|
#
|
||||||
AC_DEFUN_ONCE([MOO_AC_SET_DIRS],[
|
AC_DEFUN_ONCE([MOO_AC_SET_DIRS],[
|
||||||
|
AC_ARG_VAR([MOO_PACKAGE_NAME], [data files go into $datadir/$MOO_PACKAGE_NAME, etc.])
|
||||||
|
|
||||||
if test "x$MOO_PACKAGE_NAME" = x; then
|
if test "x$MOO_PACKAGE_NAME" = x; then
|
||||||
MOO_PACKAGE_NAME=moo
|
MOO_PACKAGE_NAME=moo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(MOO_PACKAGE_NAME)
|
|
||||||
AC_DEFINE_UNQUOTED([MOO_PACKAGE_NAME], "$MOO_PACKAGE_NAME", [package name])
|
AC_DEFINE_UNQUOTED([MOO_PACKAGE_NAME], "$MOO_PACKAGE_NAME", [package name])
|
||||||
|
|
||||||
MOO_DATA_DIR="${datadir}/$MOO_PACKAGE_NAME"
|
MOO_DATA_DIR="${datadir}/$MOO_PACKAGE_NAME"
|
||||||
|
|
|
@ -22,6 +22,7 @@ AC_DEFUN_ONCE([MOO_AC_LIB],[
|
||||||
MOO_PYTHON_BUILTIN=false
|
MOO_PYTHON_BUILTIN=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_ARG_VAR([MOO_BUILD_MEDIT], [build medit])
|
||||||
if test "x$MOO_BUILD_MEDIT" != "xfalse"; then
|
if test "x$MOO_BUILD_MEDIT" != "xfalse"; then
|
||||||
MOO_BUILD_MEDIT=true
|
MOO_BUILD_MEDIT=true
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue