|
From: Jim K. <je...@kl...> - 2005-01-12 02:59:32
|
Ethan Merritt wrote: > On Tuesday 11 January 2005 11:14 am, Jim Kleckner wrote: > >>cygwin looks like a unix box with X11 and it already appears in >>configure I see. > > > But does it define some symbol I can test on to see if the > current ./configure is being run on cygwin? > > I don't see any mention of cygwin in any of gnuplot's own configuration > files. The closest I can find is the forced definition of __WIN32__ > in the file config/config.cyg but I am not sure how specific that is. I just noted comments in FAQ and INSTALL. gcc has __CYGWIN__ defined for the platform. BTW, the comment in INSTALL seems wrong now as cygwin seems to configure and build for X11 "out of the box". The comment says something about copying a makefile.cyg and using that. Not needed if you are using cygwin for X11 and not trying to build a native windows app with mingw. |