1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
dnl initialize autoconf
dnl when going to/from release please remove/add the nano (fourth number)
dnl releases only do Wall, cvs and prerelease does Werror too
AC_INIT(moap, 0.2.6,
http://thomas.apestaart.org/moap/trac/newticket,
moap)
dnl initialize automake
AM_INIT_AUTOMAKE
dnl define PACKAGE_VERSION_* variables
AS_VERSION
AS_NANO
dnl authors
AC_SUBST_FILE(AUTHORS)
AUTHORS=$srcdir/AUTHORS
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
AM_MAINTAINER_MODE
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
dnl check for python
AS_PATH_PYTHON(2.3)
dnl check for where to install our python stuff
dnl PYTHONLIBDIR=`$PYTHON -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`
PYVER=[`$PYTHON -c "import sys ; print sys.version[:3]"`]
PYTHONLIBDIR=\${libdir}/python$PYVER/site-packages
AC_MSG_NOTICE(Installing python code in $PYTHONLIBDIR)
AC_SUBST(PYTHONLIBDIR)
dnl check for RDF
AS_PYTHON_IMPORT([RDF], HAVE_RDF="yes", HAVE_RDF="no")
dnl check for epydoc
AC_CHECK_PROG(EPYDOC, epydoc, yes, no)
AM_CONDITIONAL(HAVE_EPYDOC, test "x$EPYDOC" = "xyes")
dnl check for pychecker
AC_CHECK_PROG(PYCHECKER, pychecker, yes, no)
AM_CONDITIONAL(HAVE_PYCHECKER, test "x$PYCHECKER" = "xyes")
dnl output stuff
AC_OUTPUT(
Makefile
bin/Makefile
etc/Makefile
etc/bash_completion.d/Makefile
m4/Makefile
moap/Makefile
moap/bug/Makefile
moap/command/Makefile
moap/configure/Makefile
moap/configure/uninstalled.py
moap/configure/installed.py
moap/doap/Makefile
moap/extern/Makefile
moap/publish/Makefile
moap/util/Makefile
moap/vcs/Makefile
moap/test/Makefile
doc/Makefile
misc/Makefile
moap.spec
)
if test "x$HAVE_RDF" = "xno"
then
echo
echo "Could not import RDF."
echo "doap-related functionality will not work until you install it."
fi
|