diff options
author | Jan Safranek <jsafrane@redhat.com> | 2009-10-23 14:10:25 +0200 |
---|---|---|
committer | Balbir Singh <balbir@linux.vnet.ibm.com> | 2009-10-27 13:08:28 +0530 |
commit | 4af75e4a9e90f7e4894040dd8121398ddfb2158e (patch) | |
tree | 4cf7248f8f2ba0f1289d3a2afa4ce296db5f66eb /doc | |
parent | 49a4f14b51dfd9608395fdfcc90aa8a40c911925 (diff) | |
download | libcg-4af75e4a9e90f7e4894040dd8121398ddfb2158e.tar.gz libcg-4af75e4a9e90f7e4894040dd8121398ddfb2158e.tar.xz libcg-4af75e4a9e90f7e4894040dd8121398ddfb2158e.zip |
Don't link with -lpam unless necessary II
Oops, I sent older working version, here is correct one. I need to rest :(.
Here is the correct one:
All binaries are compiled with '-lpam' if --enable-pam is specified (and it
is on by default). We want only the PAM module linked with it.
The autoconf manual says about AC_CHECK_LIB:
If action-if-found is not specified, the default action prepends
-llibrary to LIBS
And the action-if-found we used was '[]', i.e. empty -> -lpam was added to
LIBS -> everything links with it. Simple action-if-found overrides this
default.
Changelog:
- use 'dnl' as comments and ':' as the 'noop' action to reflect autoconf
coding style.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions