With a new cvs extraction and build I get the following:
Making all in gg
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-DBUILDING_LI
BGG -I../include -I../include -I/usr/local/include
-I/usr/local/include -g -
O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -c misc.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG -I../include
-I../include -I/u
sr/local/include -I/usr/local/include -g -O2 -D_REENTRANT
-D_THREAD_SAFE -g -Wal
l -Wp,-MD,.deps/misc.pp -c -DDLL_EXPORT -DPIC misc.c -o misc.lo
misc.c:68: #error You need to implement ggUSleep() for this system
misc.c:72: #error You need to implement ggCurTime() for this system
this comes from these lines in misc.c
#ifndef GG_USLEEP_DEFINED
#error You need to implement ggUSleep() for this system
#endif
#ifndef GG_CURTIME_DEFINED
#error You need to implement ggCurTime() for this system
#endif
GG_USLEEP_DEFINED and GG_CURTIME_DEFINED are in acconfig.h.
/* Define if ggUSleep is a #define in ggi/system.h */
#undef GG_USLEEP_DEFINED
/* Define if ggCurTime is a #define in ggi/system.h */
#undef GG_CURTIME_DEFINED
So both ggUSleep and ggCurTime are "undefined"
However, from ggi/system.h
__BEGIN_DECLS
#define ggUSleep(val) do {struct timeval tv; tv.tv_sec=(val)/1000000;
tv.tv_usec=(val)%1000000; select(0, NULL, NULL, NULL, &tv);} while(0);
__END_DECLS
__BEGIN_DECLS
#define ggCurTime(tv) do{ SYSTEMTIME stim; GetSystemTime(&stim);
(tv)->tv_sec = stim.wSecond; tv)->tv_usec = stim.wMilliseconds*1000;
}while(0)
__END_DECLS
However, even after I #defined these values it didn't work. This is
because I can find no file which includes acconfig.h anywhere.
Any ideas??
John