howto generate an common.h file from config.h

Oliver oliver.kowalke at t-online.de
Sat Jan 6 19:04:50 GMT 2001


Hello,

I've build a little shared library. configure checks for some system headers and
my library depends on the generated config.h file. How can I copy the contents
form config.h into common.h and ditribute common.h with my library headers?
I tried AC_OUTPUT_COMMANDS in configure.in:

AC_CHECK_HEADERS(signal.h)

AC_OUTPUT_COMMANDS(
if test x$ac_CV_header_signal_h = xyes; then
	echo '#include <signal.h>' >>  libtest/common.h
fi)

But htis doesn't generate the common.h file.

with regards,
Oliver

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list