Re: [Plib-users] config.h
Brought to you by:
sjbaker
From: Wolfram K. <w_...@rz...> - 2001-01-22 12:58:58
|
Norman wrote: >We could go through the code and change all WIN32 to _WIN32 >[...] >Any comments anyone on my just doing this ??? Sounds good. >>> What do folks think of having the make install command >>> create a <plib/config.h> that contains the -Defines used when plib = was >>> compiled >>> <plib/config.h> would then be include by our other headers >> >>Sure - that's something that autoconf is able to do...I forget how >>exactly... > >I think it is fairly easy todo but I have never done it. >Have we got amy autoconfig gurus on the list ? But I would guess that running make calls the compiler with include path and other options set. You can only have defines and not compiler options in the config.h. So, if I see things correctly, when someone does a new project under Cygwin or Linux, he would still have to think about doing autoconf stuff / a manual makefile or batch file containing the correct settings for his system.=20 >Cheers > >Norman Vine=20 Bye bye, Wolfram. |