diff options
author | James Henstridge <jamesh@src.gnome.org> | 2001-12-04 13:43:50 +0800 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2001-12-04 13:43:50 +0800 |
commit | ec65c861a6b515529474629a3b04a8a2099e51e4 (patch) | |
tree | cc454fbf703b919d633a10a0a928b1d11fd407ef /macros/linger.m4 | |
parent | edd7c48be63e486f0c8c424fdc556c57503c4374 (diff) | |
download | gsoc2013-evolution-ec65c861a6b515529474629a3b04a8a2099e51e4.tar gsoc2013-evolution-ec65c861a6b515529474629a3b04a8a2099e51e4.tar.gz gsoc2013-evolution-ec65c861a6b515529474629a3b04a8a2099e51e4.tar.bz2 gsoc2013-evolution-ec65c861a6b515529474629a3b04a8a2099e51e4.tar.lz gsoc2013-evolution-ec65c861a6b515529474629a3b04a8a2099e51e4.tar.xz gsoc2013-evolution-ec65c861a6b515529474629a3b04a8a2099e51e4.tar.zst gsoc2013-evolution-ec65c861a6b515529474629a3b04a8a2099e51e4.zip |
fix up gfarris's mistaken commit to gnome-common (revert to yesterday's versions)
svn path=/trunk/; revision=14858
Diffstat (limited to 'macros/linger.m4')
-rw-r--r-- | macros/linger.m4 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/macros/linger.m4 b/macros/linger.m4 new file mode 100644 index 0000000000..f1c7060398 --- /dev/null +++ b/macros/linger.m4 @@ -0,0 +1,28 @@ +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; + +int main () +{ + li.l_onoff = 1; + li.l_linger = 120; + return 0; +} +],[ +AC_DEFINE(HAVE_STRUCT_LINGER) +av_struct_linger=yes +],[ +av_struct_linger=no +],[ +av_struct_linger=no +]) +AC_MSG_RESULT($av_struct_linger) +]) |