source: trunk/configure.ac @ 355

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