On Fri, Oct 9, 2009 at 09:34, 张亚霏 wrote:
> hi all:
>
> I write these lines in configure.in:
>
> AC_CHECK_LIB([pcre], [pcre_compile],
> [build_pcre=true],
> [build_pcre=false])
> AM_CONDITIONAL([BUILD_PCRE],[test "$build_pcre" = "true"])
>
> AC_MSG_CHECKING(pcrecpp)
> AC_COMPILE_IFELSE([
> #includ
В Fri, 09 Oct 2009 16:34:38 +0800, 张亚霏 написа:
> AM_CONDITIONAL([BUILD_PCRECPP],[test "$build_pcrecpp"="true"])
Put spaces around `=' (also for the BUILD_LIBICONV conditional).
The test for pcrecpp has to be performed with a C++ compiler, otherwise
the conditional will always be false. (You ca
Russell Shaw <[EMAIL PROTECTED]> writes:
> Hi,
> In configure.in, i have:
>
> AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
>
> and it gets turned into:
>
> if test x$enable_gtk_doc = xyes; then
> ENABLE_GTK_DOC_TRUE=
> ENABLE_GTK_DOC_FALSE='#'
> else
> ENABLE_GTK_DOC_TRUE='
Hi Russell,
* Russell Shaw wrote on Sun, Aug 14, 2005 at 07:21:43PM CEST:
> In configure.in, i have:
>
> AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
>
> and it gets turned into:
>
> if test x$enable_gtk_doc = xyes; then
> ENABLE_GTK_DOC_TRUE=
> ENABLE_GTK_DOC_FALSE='#'
*s