comparison configure.ac @ 394:3cbda103e0ef

changes to build on centos 6
author Carl Byington <carl@five-ten-sg.com>
date Sun, 12 Jan 2020 11:33:45 -0800
parents ffbb5e3f2551
children c1b1bbd42696
comparison
equal deleted inserted replaced
393:ffbb5e3f2551 394:3cbda103e0ef
1 AC_PREREQ(2.60) 1 AC_PREREQ(2.60)
2 AC_INIT(libpst,0.6.73,carl@five-ten-sg.com) 2 AC_INIT(libpst,0.6.74,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 AC_CONFIG_MACRO_DIR([m4]) 5 AC_CONFIG_MACRO_DIR([m4])
6 AM_INIT_AUTOMAKE 6 AM_INIT_AUTOMAKE
7 AC_CANONICAL_HOST 7 AC_CANONICAL_HOST
19 # 5. If any interfaces have been removed or changed since the last public 19 # 5. If any interfaces have been removed or changed since the last public
20 # release, then set age to 0, since we are not backward compatible. 20 # release, then set age to 0, since we are not backward compatible.
21 # 6. libtool will build libpst.so.x.y.z where the SONAME is libpst.so.x 21 # 6. libtool will build libpst.so.x.y.z where the SONAME is libpst.so.x
22 # and x=current-age, y=age, z=revision 22 # and x=current-age, y=age, z=revision
23 23
24 libpst_version_info='5:15:1' 24 libpst_version_info='5:16:1'
25 AC_SUBST(LIBPST_VERSION_INFO, [$libpst_version_info]) 25 AC_SUBST(LIBPST_VERSION_INFO, [$libpst_version_info])
26 libpst_so_major='4' 26 libpst_so_major='4'
27 AC_SUBST(LIBPST_SO_MAJOR, [$libpst_so_major]) 27 AC_SUBST(LIBPST_SO_MAJOR, [$libpst_so_major])
28 28
29 # libpst 29 # libpst
53 # 0.6.66 libpst.so.4 libpst.so.4.1.11 53 # 0.6.66 libpst.so.4 libpst.so.4.1.11
54 # 0.6.67 libpst.so.4 libpst.so.4.1.12 54 # 0.6.67 libpst.so.4 libpst.so.4.1.12
55 # 0.6.68 libpst.so.4 libpst.so.4.1.13 55 # 0.6.68 libpst.so.4 libpst.so.4.1.13
56 # 0.6.69 libpst.so.4 libpst.so.4.1.14 56 # 0.6.69 libpst.so.4 libpst.so.4.1.14
57 # 0.6.73 libpst.so.4 libpst.so.4.1.15 57 # 0.6.73 libpst.so.4 libpst.so.4.1.15
58 # 0.6.74 libpst.so.4 libpst.so.4.1.16
58 59
59 60
60 61
61 # Check for solaris 62 # Check for solaris
62 AC_MSG_CHECKING([for Solaris]) 63 AC_MSG_CHECKING([for Solaris])
203 fi 204 fi
204 AC_FUNC_STRFTIME 205 AC_FUNC_STRFTIME
205 AC_FUNC_VPRINTF 206 AC_FUNC_VPRINTF
206 AC_CHECK_FUNCS([chdir getcwd memchr memmove memset regcomp strcasecmp strncasecmp strchr strdup strerror strpbrk strrchr strstr strtol get_current_dir_name]) 207 AC_CHECK_FUNCS([chdir getcwd memchr memmove memset regcomp strcasecmp strncasecmp strchr strdup strerror strpbrk strrchr strstr strtol get_current_dir_name])
207 AM_GNU_GETTEXT 208 AM_GNU_GETTEXT
208 AM_GNU_GETTEXT_VERSION([0.19.1]) 209 AM_GNU_GETTEXT_VERSION([0.17])
209 AM_ICONV 210 AM_ICONV
210 if test "$am_cv_func_iconv" != "yes"; then 211 if test "$am_cv_func_iconv" != "yes"; then
211 AC_MSG_ERROR([libpst requires iconv which is missing]) 212 AC_MSG_ERROR([libpst requires iconv which is missing])
212 fi 213 fi
213 214
333 AC_MSG_ERROR(python binary not found) 334 AC_MSG_ERROR(python binary not found)
334 fi 335 fi
335 PYTHON_VERSION=`echo $ax_python_bin | cut -c7-` 336 PYTHON_VERSION=`echo $ax_python_bin | cut -c7-`
336 337
337 # find the flags for that version 338 # find the flags for that version
338 AX_PYTHON_DEVEL([>= '$PYTHON_VERSION']) 339 AX_PYTHON_DEVEL([$PYTHON_VERSION])
339 340
340 # do we have Boost Python? 341 # do we have Boost Python?
341 AX_BOOST_PYTHON 342 AX_BOOST_PYTHON
342 if test "$ac_cv_boost_python" = "no"; then 343 if test "$ac_cv_boost_python" = "no"; then
343 AC_MSG_ERROR(Boost Python not found) 344 AC_MSG_ERROR(Boost Python not found)