compile-time options have been enabled, and uses it to control
the choices in various panels.
* Added `properties' option for extension scripts.
+* gcc -Wall cleanup
There are 250 people on fetchmail-friends and 294 on fetchmail-announce.
/* Define if your C compiler allows void * as a function result */
#undef HAVE_VOIDPOINTER
+/* Define if your C compiler allows ANSI volatile */
+#undef HAVE_VOLATILE
+
/* Define if `union wait' is the type of the first arg to wait functions. */
#undef HAVE_UNION_WAIT
[AC_DEFINE(HAVE_VOIDPOINTER) AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
+dnl Check for ANSI volatile
+AC_MSG_CHECKING(for ANSI volatile)
+AC_TRY_COMPILE([],
+ [volatile int n;],
+ [AC_DEFINE(HAVE_VOLATILE) AC_MSG_RESULT(yes)],
+ AC_MSG_RESULT(no))
+
dnl Check out the wait reality. We have to assume sys/wait.h is present.
AC_CHECK_FUNCS(waitpid wait3)
AC_MSG_CHECKING(for union wait);
struct query *ctl; /* parsed options with merged-in defaults */
const struct method *proto; /* protocol method table */
{
- int ok, js, sock = -1;
+ int ok, js;
+#ifdef HAVE_VOLATILE
+ volatile int sock = -1; /* pacifies -Wall */
+#else
+ int sock = -1;
+#endif /* HAVE_VOLATILE */
char *msg;
void (*sigsave)();
struct idlist *current=NULL, *tmp=NULL;