gnulib is used by octave
currently the cygwin build fails with
-------------------------------------------------------------------
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../octave/liboctave -I..
-I../../octave/liboctave/array -I../../octave/liboctave/cruft/misc
-Inumeric -I../../octave/liboctave/numeric -Ioperators
-I../../octave/liboctave/operators -I../../octave/liboctave/system
-I../../octave/liboctave/util -I../libgnu -I../../octave/libgnu
-mieee-fp -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast
-Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
-MT system/system_libsystem_la-lo-sysdep.lo -MD -MP -MF
system/.deps/system_libsystem_la-lo-sysdep.Tpo -c
../../octave/liboctave/system/lo-sysdep.cc -DDLL_EXPORT -DPIC -o
system/.libs/system_libsystem_la-lo-sysdep.o
In file included from ../libgnu/sys/select.h:82:0,
from /usr/include/cygwin/sys_time.h:13,
from /usr/include/sys/time.h:28,
from ../libgnu/sys/time.h:30,
from /usr/include/sys/_default_fcntl.h:186,
from /usr/include/sys/fcntl.h:3,
from /usr/include/fcntl.h:14,
from ../libgnu/fcntl.h:61,
from ../../octave/liboctave/system/lo-sysdep.cc:34:
../libgnu/sys/time.h:411:1: error: '::gettimeofday' has not been declared
Makefile:9582: recipe for target
`system/system_libsystem_la-lo-sysdep.lo' failed
make[4]: *** [system/system_libsystem_la-lo-sysdep.lo] Error 1
----------------------------------------------------------------
reverting the commit:
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=db61fd22822da6974c2ca4caa2975d74229a4c70
sys_time: port to Solaris 2.6
authorPaul Eggert <egg...@cs.ucla.edu>
Thu, 31 Jan 2013 05:26:44 +0000 (21:26 -0800)
committerPaul Eggert <egg...@cs.ucla.edu>
Thu, 31 Jan 2013 05:27:21 +0000 (21:27 -0800)
commitdb61fd22822da6974c2ca4caa2975d74229a4c70
solves the issue.
Regards
Marco