summaryrefslogtreecommitdiffstats
path: root/kig/configure.in.bot
blob: a1e0bbdec67cc66cb1cdf66cd95c5db1e3b1aa1b (plain)
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
if test x$kig_warn_about_disabling_python = xyes; then
  cat << EOF

Kig Python scripting support has been disabled, because you 
are missing the necessary headers and/or libraries.
In order to use Kig Python scripting, you need to have 
Python installed, along with its development package ( e.g. 
libpython-dev ), and also the Boost.Python library, along with 
its development package ( e.g. libboost-python-dev ).

Kig will continue to function without Python scripting support, 
but you will not be able to created Python scripted objects, or 
load Kig files that use them.

Installing the libraries:
The python development libraries themselves are almost certainly 
packaged by your favourite distribution.  Look for a package name 
like libpython-dev, with possibly a version number inserted 
somewhere in the name..  For the Boost.Python libs, check this 
documentation: "http://boost.org/more/download.html" and 
"http://boost.org/more/download.html#Installation"  or look for 
a package like libboost-python-dev or libboost-dev.. 
EOF
fi

if test "x$kig_enable_python_scripting" = "xyes"; then
    # tell users about the Boost.Python 1.30 + GCC 3.2+ problem and patch. 
    cat << EOF

Kig WARNING
===========
There is a problem using unpatched Boost.Python 1.30 in combination
with GCC 3.2 and above.  In some distributions, like Debian sarge, 
this problem has been fixed, but in other distributions, the problem 
may still be there.  If you encounter problems while compiling Kig, 
then you should try to re-run configure with the option 
"--disable-kig-python-scripting".  This may fix the compilation, but 
you will not be able to use the Kig Python Scripting.
EOF
fi