Re: how to prefix definitions in config.h

2002-02-19 Thread Guido Draheim
hello clinton, may I ask what you are *really* trying to achieve? Personally, I would like to depracate to prefix a config.h file in place, even more if you would really install it along with your library - I've seen to many include-order conflicts for this case, so please don't do that. Second

Re: how to prefix definitions in config.h

2002-02-19 Thread Clinton Roy
Guido Draheim <[EMAIL PROTECTED]> writes: > may I ask what you are *really* trying to achieve? Personally, I > would like to depracate to prefix a config.h file in place, even > more if you would really install it along with your library - I've > seen to many include-order conflicts for this cas

Re: how to prefix definitions in config.h

2002-02-19 Thread Guido Draheim
Es schrieb Clinton Roy: > > Guido Draheim <[EMAIL PROTECTED]> writes: > > > may I ask what you are *really* trying to achieve? Personally, I > > would like to depracate to prefix a config.h file in place, even > > more if you would really install it along with your library - I've > > seen to ma

Re: how to prefix definitions in config.h

2002-02-19 Thread Guido Draheim
I forgot to mention, that I would like to keep the ac-macro backward compatible, atleast for some time, sine most linux distros still ship with autconf 2.13 as the default. Anyway, the macro has come to be one of the most used by library makers, so you're right, one might want to consider to add

Re: how to prefix definitions in config.h

2002-02-19 Thread Russ Allbery
Guido Draheim <[EMAIL PROTECTED]> writes: > I'm doing the same thing, and in fact, all libraries should put their > headers with a subdir prefix, sadly not all of them do it, and > automake's support for such a style is limited. Anyway, two ways. > a) I'm using package/_config.h - this even hint

Re: how to prefix definitions in config.h

2002-02-19 Thread Guido Draheim
ac_create_prefix_config_h does not only prefix the names, they get also converted into ifdefs. That was also necessary, since I had some problems as this prefixed-header might be included multiple times, as there is not ifdef-once header/footer for the file itself. That's my solution to the probl

Re: how to prefix definitions in config.h

2002-02-19 Thread Russ Allbery
Guido Draheim <[EMAIL PROTECTED]> writes: > ac_create_prefix_config_h does not only prefix the names, they get also > converted into ifdefs. That was also necessary, since I had some > problems as this prefixed-header might be included multiple times, as > there is not ifdef-once header/footer fo

Re: how to prefix definitions in config.h

2002-02-19 Thread Clinton Roy
Guido Draheim <[EMAIL PROTECTED]> writes: > ... the other problem is that the prefixing is not done during > reconfig, and in fact, the items in my ac-macro should be appended > to the config.status file, which I didn't bother to do so far, > and I didn't have enough time to figure it out. I thi

Re: how to prefix definitions in config.h

2002-02-19 Thread Russ Allbery
Clinton Roy <[EMAIL PROTECTED]> writes: > Guido Draheim <[EMAIL PROTECTED]> writes: >> ... the other problem is that the prefixing is not done during >> reconfig, and in fact, the items in my ac-macro should be appended to >> the config.status file, which I didn't bother to do so far, and I >> di

Re: how to prefix definitions in config.h

2002-02-19 Thread Guido Draheim
Es schrieb Russ Allbery: > > Clinton Roy <[EMAIL PROTECTED]> writes: > > Guido Draheim <[EMAIL PROTECTED]> writes: > > >> ... the other problem is that the prefixing is not done during > >> reconfig, and in fact, the items in my ac-macro should be appended to > >> the config.status file, which I