Skip to content

Commit

Permalink
ext/imap/config.m4: fix ac_cv_u8t_decompose check
Browse files Browse the repository at this point in the history
Once upon the time, commit c58f63a
changed the check from U8T_CANONICAL to U8T_DECOMPOSE. However,
the autoconf cache id was not renamed.

Sometimes it is desirable to preseed the autoconf variables, e.g. when
cross-compiling to avoid the tests running on the host system. In this
case it's confusing when the cache id does not match the variable to
set, so let's adjust it.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
  • Loading branch information
mhei authored and nikic committed Dec 9, 2017
1 parent 1b29dc0 commit 1b10e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/imap/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ if test "$PHP_IMAP" != "no"; then

old_CFLAGS=$CFLAGS
CFLAGS="-I$IMAP_INC_DIR"
AC_CACHE_CHECK(for U8T_DECOMPOSE, ac_cv_u8t_canonical,
AC_CACHE_CHECK(for U8T_DECOMPOSE, ac_cv_u8t_decompose,
AC_TRY_COMPILE([
#include <c-client.h>
],[
Expand Down

0 comments on commit 1b10e63

Please sign in to comment.