Ionutz Borcoman <[EMAIL PROTECTED]> writes: |> Why all to docs about autotools suggest to guard the include of config.h |> like this ? |> |> #ifdef HAVE_CONFIG_H |> #include "config.h" |> #endif |> |> Is it possible to don't have it, if I've explicitly requested it to be |> generated by AM_CONFIG_HEADERS ? |> |> Why can't I just say ? |> |> #include "config.h"
Perhaps so that you can share the file between projects using A[CM]_CONFIG_HEADER and others that do not (and pass the defines on the command line). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N�rnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
