Re: HOWTO get content of config.h into a userdefined header (for distribution)

2001-01-11 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> Of course. No Autoconf/Automake-based package support building Lars> with the Borland C++ compiler yet AFAIK. I knew what you were to respond :) We'll see when trouble arise for real.

Re: HOWTO get content of config.h into a userdefined header (for distribution)

2001-01-11 Thread Lars J. Aas
On Thu, Jan 11, 2001 at 04:24:54PM +0100, Akim Demaille wrote: : Lars> Isn't that only the case for "boolean" defines (either 0 or 1, : Lars> not defined or not defined)? I think the Borland compiler has : Lars> problems with "#if " if isn't defined to : Lars> something... I'll have to check ag

Re: HOWTO get content of config.h into a userdefined header (for distribution)

2001-01-11 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> On Thu, Jan 11, 2001 at 03:27:20PM +0100, Akim Demaille wrote: Lars> : Lars> : | #ifdef HAVE_SIGNAL_H : | # include : | #endif Lars> : Lars> : We promote #if over #ifdef. Lars> Why? Mostly elegance, and since the introduction of AC

Re: HOWTO get content of config.h into a userdefined header (for distribution)

2001-01-11 Thread Lars J. Aas
On Thu, Jan 11, 2001 at 03:27:20PM +0100, Akim Demaille wrote: : : | #ifdef HAVE_SIGNAL_H : | # include : | #endif : : We promote #if over #ifdef. Why? Isn't that only the case for "boolean" defines (either 0 or 1, not defined or not defined)? I think the Borland compiler has problems with "

Re: HOWTO get content of config.h into a userdefined header (for distribution)

2001-01-11 Thread Akim Demaille
| #ifdef HAVE_SIGNAL_H | # include | #endif We promote #if over #ifdef.

Re: HOWTO get content of config.h into a userdefined header (for distribution)

2001-01-07 Thread Guido Draheim
I develop libraries quite a lot, and the installed headers do often have dependencies on other system headers that may or may not be installed there. It would be a nuisiance to write a series of common.h.in headers if the library starts to get a little bigger. Therefore I created the AC_PREFIX_CO

Re: HOWTO get content of config.h into a userdefined header (for distribution)

2001-01-07 Thread Alexandre Duret-Lutz
>>> "Oliver" == Oliver <[EMAIL PROTECTED]> writes: [...] Oliver> AC_CHECK_HEADERS(signal.h) Oliver> AC_OUTPUT_COMMANDS( Oliver> if test x$ac_cv_header_signal_h = xyes; then Oliver> echo '#include ' >> libdir/comon.h Oliver> fi) The code you put in AC_OUTPUT_COMMANDS is run by config.stat

Re: HOWTO get content of config.h into a userdefined header (for distribution)

2001-01-07 Thread Uwe Hermann
On Sun, Jan 07, 2001 at 11:55:36AM +0100, Oliver wrote: > Hi, > > I've made a litle library-project with GNU-autoconf/make/libtool. My library > depends on the content of config.h which tests for some header files. If some > other project (which uses autoconf) would use my library ithe config.h >