comparison configure.in @ 201:3850a3b11745

fixes for parallel readpst
author Carl Byington <carl@five-ten-sg.com>
date Sat, 16 May 2009 10:32:26 -0700
parents d360f96f71f6
children 5d0358f94031
comparison
equal deleted inserted replaced
200:d360f96f71f6 201:3850a3b11745
131 AM_CONDITIONAL(NEED_XGETOPT, [test yes = no]), 131 AM_CONDITIONAL(NEED_XGETOPT, [test yes = no]),
132 AM_CONDITIONAL(NEED_XGETOPT, [test yes = yes]) 132 AM_CONDITIONAL(NEED_XGETOPT, [test yes = yes])
133 ) 133 )
134 AC_HEADER_DIRENT 134 AC_HEADER_DIRENT
135 AC_HEADER_STDC 135 AC_HEADER_STDC
136 AC_CHECK_HEADERS([ctype.h dirent.h errno.h fcntl.h inttypes.h limits.h regex.h semaphore.h signal.h stdarg.h stdint.h stdio.h stdlib.h string.h sys/param.h sys/stat.h sys/types.h time.h unistd.h wchar.h]) 136 AC_CHECK_HEADERS([ctype.h dirent.h errno.h fcntl.h inttypes.h limits.h regex.h semaphore.h signal.h stdarg.h stdint.h stdio.h stdlib.h string.h sys/param.h sys/shm.h sys/stat.h sys/types.h time.h unistd.h wchar.h])
137 AC_SEARCH_LIBS([sem_init],rt) 137 AC_SEARCH_LIBS([sem_init],rt)
138 138
139 139
140 # Checks for typedefs, structures, and compiler characteristics. 140 # Checks for typedefs, structures, and compiler characteristics.
141 AC_HEADER_STDBOOL 141 AC_HEADER_STDBOOL
159 AC_FUNC_MKTIME 159 AC_FUNC_MKTIME
160 AC_FUNC_REALLOC 160 AC_FUNC_REALLOC
161 fi 161 fi
162 AC_FUNC_STRFTIME 162 AC_FUNC_STRFTIME
163 AC_FUNC_VPRINTF 163 AC_FUNC_VPRINTF
164 AC_CHECK_FUNCS([memchr memmove memset regcomp strcasecmp strncasecmp strchr strdup strerror strpbrk strrchr strstr strtol]) 164 AC_CHECK_FUNCS([chdir getcwd memchr memmove memset regcomp strcasecmp strncasecmp strchr strdup strerror strpbrk strrchr strstr strtol])
165 AM_ICONV 165 AM_ICONV
166 if test "$am_cv_func_iconv" != "yes"; then 166 if test "$am_cv_func_iconv" != "yes"; then
167 AC_MSG_ERROR([libpst requires iconv which is missing]) 167 AC_MSG_ERROR([libpst requires iconv which is missing])
168 fi 168 fi
169 169
283 AM_CONDITIONAL(PYTHON_INTERFACE, [test "$enable_python" = "yes"]) 283 AM_CONDITIONAL(PYTHON_INTERFACE, [test "$enable_python" = "yes"])
284 if test "$enable_python" = "yes"; then 284 if test "$enable_python" = "yes"; then
285 enable_shared="yes" 285 enable_shared="yes"
286 # check for boost 286 # check for boost
287 AX_PYTHON 287 AX_PYTHON
288 AX_BOOST_PYTHON
289 if test "$ax_python_bin" = "no"; then 288 if test "$ax_python_bin" = "no"; then
290 AC_MSG_ERROR(python binary not found) 289 AC_MSG_ERROR(python binary not found)
291 fi 290 fi
292 291 AX_BOOST_PYTHON
292 if test "$ac_cv_boost_python" = "no"; then
293 AC_MSG_ERROR(boost python not found)
294 fi
293 AC_SUBST(PYTHON_VERSION, [$ax_python_bin]) 295 AC_SUBST(PYTHON_VERSION, [$ax_python_bin])
294 fi 296 fi
295 297
296 298
297 299