saved_LDFLAGS="$LDFLAGS"
LDFLAGS="-lpthread"
- AC_RUN_IFELSE(AC_LANG_PROGRAM(
+ AC_RUN_IFELSE([AC_LANG_PROGRAM(
[
#include <pthread.h>
#include <sys/resource.h>
void * func(void *arg)
{
- char buf[[[BUFSIZE]]];
+ char buf[[BUFSIZE]];
}
],
[
pthread_attr_setguardsize(&attr, PAGESIZE);
pthread_create(&tid, &attr, func, NULL);
pthread_join(tid, NULL);
- ]),
+ ])],
[
AC_MSG_RESULT([no])
],