From: <nga...@us...> - 2008-06-30 22:52:22
|
Revision: 1201 http://conky.svn.sourceforge.net/conky/?rev=1201&view=rev Author: ngarofil Date: 2008-06-30 15:52:19 -0700 (Mon, 30 Jun 2008) Log Message: ----------- Added _POSIX_SOURCE in autoconf so that compiling libtcp-portmon.c works Modified Paths: -------------- trunk/conky1/configure.ac.in Modified: trunk/conky1/configure.ac.in =================================================================== --- trunk/conky1/configure.ac.in 2008-06-30 00:56:01 UTC (rev 1200) +++ trunk/conky1/configure.ac.in 2008-06-30 22:52:19 UTC (rev 1201) @@ -321,6 +321,7 @@ AC_MSG_ERROR([missing a needed network header for port monitoring]) fi WANT_GLIB=yes + WANT_POSIX_SOURCE=yes AC_DEFINE(TCP_PORT_MONITOR, 1, [Define if you want tcp port monitoring support]) fi fi @@ -455,6 +456,14 @@ fi dnl +dnl _POSIX_SOURCE +dnl + +if test x$WANT_POSIX_SOURCE = xyes; then + CFLAGS="$CFLAGS -D _POSIX_SOURCE" +fi + +dnl dnl KVM dnl This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |