mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-02 05:29:20 -06:00
859a6da3af
* src/engine/gnc-commodity.c (gnc_commodity_table_remove_non_iso): new func * src/test/test-xml-commodity.c: remove duplicate string_to_integer * src/gnome/dialog-userpass.c: add missing #include * src/register/gnome/Makefile.am: add gnome & glib flags * src/engine/Makefile.am: add glib libs * src/engine/sql/Makefile.am: add glib flags * configure.in: fix includes used to check for sizes * acinclude.m4: fix guppi macro * macros/: update m4 files git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3776 57a11ea4-9604-0410-9ed3-97b8803252fd
29 lines
422 B
Plaintext
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)
|
|
])
|