comparison configure.in @ 195:320cfcba8058

add python module interface to the shared library for easy scripting. the shared library must never write to stdout or stderr. fix pst_attach_to_mem so the caller does not need to initialize the buffer pointer.
author Carl Byington <carl@five-ten-sg.com>
date Mon, 20 Apr 2009 19:39:26 -0700
parents 4b498fd68464
children ffd1503a7530
comparison
equal deleted inserted replaced
194:885b47107036 195:320cfcba8058
1 AC_PREREQ(2.59) 1 AC_PREREQ(2.59)
2 AC_INIT(libpst,0.6.37,carl@five-ten-sg.com) 2 AC_INIT(libpst,0.6.38,carl@five-ten-sg.com)
3 AC_CONFIG_SRCDIR([src/libpst.c]) 3 AC_CONFIG_SRCDIR([src/libpst.c])
4 AC_CONFIG_HEADER([config.h]) 4 AC_CONFIG_HEADER([config.h])
5 AM_INIT_AUTOMAKE 5 AM_INIT_AUTOMAKE
6 AC_CANONICAL_HOST 6 AC_CANONICAL_HOST
7 7
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
27 # libpst 32 # libpst
28 # version soname so library name 33 # version soname so library name python python library name
29 # 0.6.35 libpst.so.2 libpst.so.2.0.0 34 # 0.6.35 libpst.so.2 libpst.so.2.0.0
30 # 0.6.37 libpst.so.2 libpst.so.2.1.0 35 # 0.6.37 libpst.so.2 libpst.so.2.1.0
31 36 # 0.6.38 libpst.so.2 libpst.so.2.1.0 _libpst.so.1 _libpst.so.1.0.0
37
38
39 # check for boost
40 AX_PYTHON
41 AX_BOOST_PYTHON
32 42
33 43
34 # Check for win32 44 # Check for win32
35 AC_MSG_CHECKING([for Win32]) 45 AC_MSG_CHECKING([for Win32])
36 case "$host" in 46 case "$host" in
259 libpst.pc \ 269 libpst.pc \
260 libpst.spec \ 270 libpst.spec \
261 man/Makefile \ 271 man/Makefile \
262 src/Makefile \ 272 src/Makefile \
263 src/pst2dii.cpp \ 273 src/pst2dii.cpp \
274 python/Makefile \
264 xml/Makefile \ 275 xml/Makefile \
265 xml/libpst \ 276 xml/libpst \
266 ) 277 )