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
files would collide. So I want the content of config.h into my head
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
>
>>> "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
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