[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AM_CONDITIONAL seems failure, help
From: |
Yavor Doganov |
Subject: |
Re: AM_CONDITIONAL seems failure, help |
Date: |
Fri, 9 Oct 2009 13:18:52 +0000 (UTC) |
User-agent: |
Pan/0.132 (Waxed in Black) |
В 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 can enclose it in
AC_LANG_PUSH/AC_LANG_POP, for example.)