Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -165,7 +165,7 @@ if test a"$clamav" = "ayes"; then
     AC_COMPILE_IFELSE([AC_LANG_SOURCE(
     [
     #include <clamav.h>
-    int main(int argc, char *argv[])
+    int main(int argc, char **argv)
     {
       struct cl_engine node; node.refcount=1;
      }
@@ -181,7 +181,7 @@ if test a"$clamav" = "ayes"; then
     AC_COMPILE_IFELSE([AC_LANG_SOURCE(
     [
     #include <clamav.h>
-    int main(int argc, cgar *argv[])
+    int main(int argc, char **argv)
     {
       struct cl_limits limits;
       limits.maxratio=200;
@@ -201,7 +201,7 @@ if test a"$clamav" = "ayes"; then
     AC_COMPILE_IFELSE([AC_LANG_SOURCE(
     [
     #include <clamav.h>
-    int main(int argc, char *argv[])
+    int main(int argc, char **argv)
     {
        struct cl_limits limits;
     }
@@ -221,7 +221,7 @@ if test a"$clamav" = "ayes"; then
     AC_COMPILE_IFELSE([AC_LANG_SOURCE(
     [
     #include <clamav.h>
-    int main(int argc, char *argv[])
+    int main(int argc, char **argv)
     {
        struct cl_scan_options CLAMSCAN_OPTIONS = { 0, 0, 0, 0, 0 };
     }
