[GRASS5] HAVE_LSEEK

Brad Douglas rez at touchofmadness.com
Tue Feb 22 12:47:33 EST 2005


I doing some finishing touches on a module and I have a question about
the Makefile process in CVS current.

I have a front-end module with several sub-modules it calls for various
tasks.  I would like to exclude one of the modules from being compiled
if the system does not have lseek().

Working inside the code is handled easily by #ifdef HAVE_LSEEK...  How
would I go about excluding a module from being compiled in the GRASS
Makefile?

I can't simply do (in Makefile):

SUBDIRS = front.end \
          module.one \
#ifdef HAVE_LSEEK
          module.two \
#endif
          module.three

Suggestions?


-- 
Brad Douglas <rez at touchofmadness.com>




More information about the grass-dev mailing list