diff --git a/desmume/configure.ac b/desmume/configure.ac index e317a460b..820daad6b 100644 --- a/desmume/configure.ac +++ b/desmume/configure.ac @@ -47,10 +47,10 @@ AC_CHECK_LIB(zzip, zzip_open, [ LIBS="-lzzip $LIBS" AC_DEFINE([HAVE_LIBZZIP]) AC_MSG_CHECKING([[whether zzip use void * as second parameter]]) - AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[#include ]], [[ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ void * v; - zzip_read(NULL, v, 0);]]), - AC_MSG_RESULT(yes), + zzip_read(NULL, v, 0);]])], + AC_MSG_RESULT(yes), AC_DEFINE([ZZIP_OLD_READ]) AC_MSG_RESULT(no)) ])