--- config.old/cxx_find_template_repository.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/cxx_find_template_repository.m4 2008-04-29 00:09:33.000000000 +0200 @@ -80,11 +80,11 @@ { i += 2; } int -main(int argc, char *argv[]) +main(int argc, char **argv[]) { foo var1(6); foo< foo > var2(var1); some_other_function(); --- config.old/cxx_have_bool.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/cxx_have_bool.m4 2008-04-29 00:09:33.000000000 +0200 @@ -40,11 +40,11 @@ rm -f conftest.cc conftest.o cat > conftest.cc < #include -int main(int argc, char* argv[]) { +int main(int argc, char** argv[]) { bool foo = (bool) 0; printf("so foo is used and the compiler wont complain: %d", (int) foo); return 0; } EOF --- config.old/cxx_have_nothrow_new.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/cxx_have_nothrow_new.m4 2008-04-29 00:09:33.000000000 +0200 @@ -35,11 +35,11 @@ AC_MSG_CHECKING([whether $CXX has new(std::nothrow)]) rm -f conftest.cc conftest.o cat > conftest.cc < -int main(int argc, char* argv[]) { +int main(int argc, char** argv[]) { int *baz; unsigned int foo = 3; baz = new(std::nothrow) int; baz = new(std::nothrow) int[[foo - 1]]; } --- config.old/cxx_have_true_false.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/cxx_have_true_false.m4 2008-04-29 00:09:33.000000000 +0200 @@ -39,11 +39,11 @@ rm -f conftest.cc conftest.o cat > conftest.cc < #include -int main(int argc, char* argv[]) { +int main(int argc, char** argv[]) { int foo; foo = (int) true; foo = (int) false; printf("so foo is used and the compiler wont complain: %d", (int) foo); return 0; --- config.old/lam_check_bsd43_fd_passing.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/lam_check_bsd43_fd_passing.m4 2008-04-29 00:09:33.000000000 +0200 @@ -74,11 +74,11 @@ * Global so that we can kill the child if the parent barfs */ pid_t child_pid = 0; int -main(int argc, char *argv[]) +main(int argc, char **argv[]) { int fd[2]; int status = 0; if (socketpair(AF_UNIX, SOCK_STREAM, 0, fd)) { --- config.old/lam_check_fd_setsize.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/lam_check_fd_setsize.m4 2008-04-29 00:09:33.000000000 +0200 @@ -84,11 +84,11 @@ #include #include #include #include int -main(int argc, char* argv[]) +main(int argc, char** argv[]) { int fd = 0; struct rlimit rlp; rlp.rlim_cur = rlp.rlim_max = (rlim_t) LAM_FD_SETSIZE; setrlimit(RLIMIT_NOFILE, &rlp); @@ -133,11 +133,11 @@ #include #ifdef HAVE_SYS_SELECT_H #include #endif int -main(int argc, char* argv[]) +main(int argc, char** argv[]) { int ret; fd_set fds; struct timeval t; t.tv_sec = 0; --- config.old/lam_check_prefix_memcpy.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/lam_check_prefix_memcpy.m4 2008-04-29 00:09:33.000000000 +0200 @@ -26,11 +26,11 @@ AC_MSG_CHECKING([for glibc]) AC_TRY_RUN([ #include -int main(int argc, char* argv[]) +int main(int argc, char** argv[]) { FILE *fp = fopen("configtest.out", "w"); #ifdef __GLIBC__ fprintf(fp, "1\n"); #else --- config.old/lam_check_pthread_pids.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/lam_check_pthread_pids.m4 2008-04-29 00:09:33.000000000 +0200 @@ -42,11 +42,11 @@ AC_TRY_RUN([#include #include #include #include void *checkpid(void *arg); -int main(int argc, char* argv[]) { +int main(int argc, char** argv[]) { pthread_t thr; int pid, retval; pid = getpid(); pthread_create(&thr, NULL, checkpid, &pid); pthread_join(thr, (void **) &retval); --- config.old/lam_check_stdc.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/lam_check_stdc.m4 2008-04-29 00:09:33.000000000 +0200 @@ -21,11 +21,11 @@ #include #ifdef __cplusplus extern "C" { void exit(int); #endif -int main(int argc, char* argv[]) +int main(int argc, char** argv[]) { FILE *f=fopen("conftestval", "w"); #ifndef __STDC__ int val = -1; #else --- config.old/lam_get_shmmax.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/lam_get_shmmax.m4 2008-04-29 00:09:33.000000000 +0200 @@ -42,11 +42,11 @@ shmdt(base); shmctl(shmid, IPC_RMID, (struct shmid_ds *) 0); return(1); } int -main(int argc, char* argv[]) +main(int argc, char** argv[]) { int poolsize, maxalloc; FILE *f=fopen("conftestval", "w"); if (!f) return 1; if (LAM_SHMPOOL > 0) { --- config.old/lam_mutex_pshared.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/lam_mutex_pshared.m4 2008-04-29 00:09:33.000000000 +0200 @@ -15,11 +15,11 @@ dnl define(LAM_MUTEX_PSHARED,[ AC_MSG_CHECKING(for process shared pthread mutex) AC_TRY_RUN([#include -int main(int argc, char* argv[]) { +int main(int argc, char** argv[]) { pthread_mutex_t m; pthread_mutexattr_t mattr; if (pthread_mutexattr_init(&mattr)) return(1); if (pthread_mutexattr_setpshared(&mattr, PTHREAD_PROCESS_SHARED)) return(1); if (pthread_mutex_init(&m, &mattr)) return(-1); return(0); --- config.old/lam_wrapper_extra_ldflags.m4 2008-04-28 23:52:00.000000000 +0200 +++ config.old/lam_wrapper_extra_ldflags.m4 2008-04-29 00:09:33.000000000 +0200 @@ -73,11 +73,11 @@ cat > foo.c < conftest.c < /dev/null 2>&1 ../libtool --mode=link $CC foo.lo -o libfoo.la -rpath $my_libdir > /dev/null 2>&1