Skip to content

Commit

Permalink
change: config.m4
Browse files Browse the repository at this point in the history
  • Loading branch information
kjdev committed Dec 18, 2023
1 parent d9a1443 commit ab8b2b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if test "$PHP_SNAPPY" != "no"; then
SNAPPY_PATCHLEVEL="7"

AC_PROG_CXX
AC_LANG([C++])
AC_LANG_PUSH([C++])
AC_C_BIGENDIAN([AC_DEFINE([SNAPPY_IS_BIG_ENDIAN], [1], [snappy is big endian])])
AC_CHECK_HEADERS([stdint.h stddef.h sys/mman.h sys/resource.h windows.h byteswap.h sys/byteswap.h sys/endian.h sys/time.h])

Expand Down Expand Up @@ -101,6 +101,7 @@ if test "$PHP_SNAPPY" != "no"; then
if test x$snappy_have_builtin_ctz = xyes ; then
AC_DEFINE([HAVE_BUILTIN_CTZ], [1], [Define to 1 if the compiler supports __builtin_ctz and friends.])
fi
AC_LANG_POP([C++])

if test "$ac_cv_header_stdint_h" = "yes"; then
AC_SUBST([ac_cv_have_stdint_h], [1])
Expand Down

0 comments on commit ab8b2b7

Please sign in to comment.