mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
Added _POSIX_SOURCE in autoconf so that compiling libtcp-portmon.c works
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1201 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
003785e754
commit
aeb059a727
@ -321,6 +321,7 @@ if test x"$want_portmon" = xyes; then
|
|||||||
AC_MSG_ERROR([missing a needed network header for port monitoring])
|
AC_MSG_ERROR([missing a needed network header for port monitoring])
|
||||||
fi
|
fi
|
||||||
WANT_GLIB=yes
|
WANT_GLIB=yes
|
||||||
|
WANT_POSIX_SOURCE=yes
|
||||||
AC_DEFINE(TCP_PORT_MONITOR, 1, [Define if you want tcp port monitoring support])
|
AC_DEFINE(TCP_PORT_MONITOR, 1, [Define if you want tcp port monitoring support])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -454,6 +455,14 @@ if test x$WANT_GLIB = xyes; then
|
|||||||
LIBS="$LIBS $GLib2_LIBS"
|
LIBS="$LIBS $GLib2_LIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl _POSIX_SOURCE
|
||||||
|
dnl
|
||||||
|
|
||||||
|
if test x$WANT_POSIX_SOURCE = xyes; then
|
||||||
|
CFLAGS="$CFLAGS -D _POSIX_SOURCE"
|
||||||
|
fi
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl KVM
|
dnl KVM
|
||||||
dnl
|
dnl
|
||||||
|
Loading…
Reference in New Issue
Block a user