Files
evolution/macros/linger.m4
Pavel Roskin 66c11c2547 Quote first argument to AC_DEFUN. Likewise. Likewise. Likewise. Likewise.
* macros/curses.m4: Quote first argument to AC_DEFUN.
* macros/gnome-cxx-check.m4: Likewise.
* macros/gnome-gettext.m4: Likewise.
* macros/gnome-libgtop-check.m4: Likewise.
* macros/gnome-print-check.m4: Likewise.
* macros/linger.m4: Likewise.
* macros/need-declaration.m4: Likewise.

svn path=/trunk/; revision=8059
2001-02-07 21:33:01 +00:00

29 lines
422 B
Plaintext

dnl
dnl Check for struct linger
dnl
AC_DEFUN([AC_STRUCT_LINGER], [
av_struct_linger=no
AC_MSG_CHECKING(struct linger is available)
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/socket.h>
struct linger li;
main ()
{
li.l_onoff = 1;
li.l_linger = 120;
exit (0);
}
],[
AC_DEFINE(HAVE_STRUCT_LINGER)
av_struct_linger=yes
],[
av_struct_linger=no
],[
av_struct_linger=no
])
AC_MSG_RESULT($av_struct_linger)
])