Code

configure.in: Set CPPFLAGS when checking headers.
authorFlorian Forster <octo@noris.net>
Tue, 1 Apr 2008 12:11:35 +0000 (14:11 +0200)
committerFlorian Forster <octo@noris.net>
Tue, 1 Apr 2008 12:11:35 +0000 (14:11 +0200)
commit06c09feedb03c7167168a0caacd9afdd5fe4e985
tree6b242084e3d0ddcd5da0ae8d995b115edf98ce4f
parent5c3efb12ed19f99017b8b13943d4a983de040050
configure.in: Set CPPFLAGS when checking headers.

When checking for <upsclient.h> (and the headers of a few other libraries) the
library specific CFLAGS were added to the global CFLAGS variable. This variable
is used when checking for ``header usability'', but not when checking for
``header presence'' for some reason.

This commit uses the global CPPFLAGS variable instead, which is used in both
checks. Libraries that benefit from this commit are:
- libcurl,
- libmysql(client),
- libnetsnmp,
- libupsclient.

Resolves #6
configure.in