comparison configure.in @ 196:ffd1503a7530

build proper python rpm subpackage
author Carl Byington <carl@five-ten-sg.com>
date Wed, 22 Apr 2009 13:52:18 -0700
parents 320cfcba8058
children 7c60d6d1c681
comparison
equal deleted inserted replaced
195:320cfcba8058 196:ffd1503a7530
22 libpst_version_info='3:0:1' 22 libpst_version_info='3:0:1'
23 AC_SUBST(LIBPST_VERSION_INFO, [$libpst_version_info]) 23 AC_SUBST(LIBPST_VERSION_INFO, [$libpst_version_info])
24 libpst_so_major='2' 24 libpst_so_major='2'
25 AC_SUBST(LIBPST_SO_MAJOR, [$libpst_so_major]) 25 AC_SUBST(LIBPST_SO_MAJOR, [$libpst_so_major])
26 26
27 python_libpst_version_info='1:0:0'
28 AC_SUBST(PYTHON_LIBPST_VERSION_INFO, [$python_libpst_version_info])
29 python_libpst_so_major='2'
30 AC_SUBST(PYTHON_LIBPST_SO_MAJOR, [$python_libpst_so_major])
31
32 # libpst 27 # libpst
33 # version soname so library name python python library name 28 # version soname so library name
34 # 0.6.35 libpst.so.2 libpst.so.2.0.0 29 # 0.6.35 libpst.so.2 libpst.so.2.0.0
35 # 0.6.37 libpst.so.2 libpst.so.2.1.0 30 # 0.6.37 libpst.so.2 libpst.so.2.1.0
36 # 0.6.38 libpst.so.2 libpst.so.2.1.0 _libpst.so.1 _libpst.so.1.0.0 31 # 0.6.38 libpst.so.2 libpst.so.2.1.0
37 32
38 33
39 # check for boost 34 # check for boost
40 AX_PYTHON 35 AX_PYTHON
41 AX_BOOST_PYTHON 36 AX_BOOST_PYTHON
37 if test "$ax_python_bin" = "no"; then
38 AC_MSG_ERROR(python binary not found)
39 fi
40
41 AC_SUBST(PYTHON_VERSION, [$ax_python_bin])
42 42
43 43
44 # Check for win32 44 # Check for win32
45 AC_MSG_CHECKING([for Win32]) 45 AC_MSG_CHECKING([for Win32])
46 case "$host" in 46 case "$host" in