diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2024-01-22 21:17:35 +0100 |
---|---|---|
committer | Tobias Stoeckmann <tobias@stoeckmann.org> | 2024-01-24 18:19:29 +0100 |
commit | 54a0aee65b3d8129a55ece62ab8540f1cac3e929 (patch) | |
tree | 63e926ebaed3cb371d0cfdc6c9f742e54a05f7bf /configure.ac | |
parent | 8f9d8239344354c5c80d85a326b1a6c6661ea9b6 (diff) | |
download | pam-54a0aee65b3d8129a55ece62ab8540f1cac3e929.tar.gz pam-54a0aee65b3d8129a55ece62ab8540f1cac3e929.tar.bz2 pam-54a0aee65b3d8129a55ece62ab8540f1cac3e929.zip |
libpam_internal: supply debug functionality
Move function bodies from headers into dedicated object files stored in
libpam_internal. This library won't be installed.
Keep the debug function body in header, even though disabled when
building Linux-PAM, to stay API compatible with previous versions.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 4967688b..41fc5c6b 100644 --- a/configure.ac +++ b/configure.ac @@ -249,6 +249,7 @@ if test x"$enable_debug" = x"yes" ; then AC_DEFINE([PAM_DEBUG],, [lots of stuff gets written to /var/run/pam-debug.log]) fi +AC_DEFINE([PAM_NO_HEADER_FUNCTIONS],1,[disable function bodies in headers]) AC_ARG_ENABLE(docbook_rng, AS_HELP_STRING([--enable-docbook-rng=FILE],[RNG file for checking XML files @<:@default=http://docbook.org/xml/5.0/rng/docbookxi.rng@:>@]), @@ -777,8 +778,8 @@ AM_CONDITIONAL([COND_BUILD_PAM_USERDB], [test -n "$LIBDB"]) dnl Files to be created from when we run configure AC_CONFIG_FILES([Makefile libpam/Makefile libpamc/Makefile libpamc/test/Makefile \ - libpam_misc/Makefile conf/Makefile conf/pam_conv1/Makefile \ - libpam/pam.pc libpam_misc/pam_misc.pc libpamc/pamc.pc \ + libpam_internal/Makefile libpam_misc/Makefile conf/Makefile \ + conf/pam_conv1/Makefile libpam/pam.pc libpam_misc/pam_misc.pc libpamc/pamc.pc \ po/Makefile.in \ Make.xml.rules \ modules/Makefile \ |