[Xastir-dev] set #DEFINE with configure?
Curt, WE7U
archer at eskimo.com
Tue Mar 8 12:06:43 EST 2005
On Tue, 8 Mar 2005, Dan Brown wrote:
> Is there a quick way to sent a #DEFINE - one which isn't yet existing
> in the code - using configure?
>
> Like, if I was working on some code that I wanted to wrap in #ifdefs?
>
>
>
> #ifdef USE_PID_FILE_CHECK
>
> ...
>
> #endif
>
>
>
>
> (yes, i may just drop it into one of the .h files)
Not sure about configure, but I often put in temporary ones like
"#ifdef WE7U" right at the top of the .c file I'm working on. If it
applies to a bunch of files, I put it into one or more .h files.
You could always just directly edit config.h and add it there,
skipping running configure at all...
--
Curt, WE7U. APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir-dev
mailing list