author | Florian Forster <octo@noris.net> | |
Tue, 1 Apr 2008 12:11:35 +0000 (14:11 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Tue, 1 Apr 2008 12:11:35 +0000 (14:11 +0200) | ||
commit | 06c09feedb03c7167168a0caacd9afdd5fe4e985 | |
tree | 6b242084e3d0ddcd5da0ae8d995b115edf98ce4f | tree | snapshot |
parent | 5c3efb12ed19f99017b8b13943d4a983de040050 | commit | diff |
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
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 | diff | blob | history |