|
a/src/configure.ac |
|
b/src/configure.ac |
|
... |
|
... |
153 |
], rcl_iconv_inbuf_const="1", rcl_iconv_inbuf_const="0")
|
153 |
], rcl_iconv_inbuf_const="1", rcl_iconv_inbuf_const="0")
|
154 |
if test X$rcl_iconv_inbuf_const = X1 ; then
|
154 |
if test X$rcl_iconv_inbuf_const = X1 ; then
|
155 |
AC_DEFINE(RCL_ICONV_INBUF_CONST, 1, [iconv parameter 2 is const char**])
|
155 |
AC_DEFINE(RCL_ICONV_INBUF_CONST, 1, [iconv parameter 2 is const char**])
|
156 |
fi
|
156 |
fi
|
157 |
|
157 |
|
|
|
158 |
|
|
|
159 |
AC_MSG_CHECKING(for type of string parameter to putenv)
|
|
|
160 |
AC_TRY_COMPILE([
|
|
|
161 |
#include <stdlib.h>
|
|
|
162 |
],[
|
|
|
163 |
putenv((const char *)0);
|
|
|
164 |
], rcl_putenv_string_const="1", rcl_putenv_string_const="0")
|
|
|
165 |
if test X$rcl_putenv_string_const = X1 ; then
|
|
|
166 |
AC_DEFINE(PUTENV_ARG_CONST, 1, [putenv parameter is const])
|
|
|
167 |
fi
|
|
|
168 |
|
158 |
#### Look for Xapian
|
169 |
#### Look for Xapian
|
159 |
AC_PATH_PROG(XAPIAN_CONFIG, xapian-config, no)
|
170 |
AC_PATH_PROG(XAPIAN_CONFIG, xapian-config, no)
|
160 |
if test "$XAPIAN_CONFIG" = "no" ; then
|
171 |
if test "$XAPIAN_CONFIG" = "no" ; then
|
161 |
AC_MSG_ERROR([Cannot find xapian-config command in $PATH. Is
|
172 |
AC_MSG_ERROR([Cannot find xapian-config command in $PATH. Is
|
162 |
xapian-core installed ?])
|
173 |
xapian-core installed ?])
|