summaryrefslogtreecommitdiffstats
path: root/mak
diff options
context:
space:
mode:
authorkv.le <kv.le>2005-05-10 09:27:57 +0000
committerkv.le <kv.le>2005-05-10 09:27:57 +0000
commit218af1dcdf36f0ef562df29dd2b3741272e4a080 (patch)
treec9277a0553125bc24763b92f35203f8c82fcfc4a /mak
parent227ee590b351a23c92b6fc7ba3e149548653241c (diff)
downloadtog-pegasus-218af1dcdf36f0ef562df29dd2b3741272e4a080.zip
tog-pegasus-218af1dcdf36f0ef562df29dd2b3741272e4a080.tar.gz
tog-pegasus-218af1dcdf36f0ef562df29dd2b3741272e4a080.tar.xz
BUG#: 3519
TITLE: enable PAM compilation for aix DESCRIPTION: Committing in . Modified Files: platform_AIX_RS_IBMCXX.mak
Diffstat (limited to 'mak')
-rw-r--r--mak/platform_AIX_RS_IBMCXX.mak13
1 files changed, 13 insertions, 0 deletions
diff --git a/mak/platform_AIX_RS_IBMCXX.mak b/mak/platform_AIX_RS_IBMCXX.mak
index 18b0ad6..0f9c521 100644
--- a/mak/platform_AIX_RS_IBMCXX.mak
+++ b/mak/platform_AIX_RS_IBMCXX.mak
@@ -62,6 +62,19 @@ PEGASUS_SUPPORTS_DYNLIB = yes
DEFINES += -DPEGASUS_HAS_SIGNALS
+# PAM support
+ifdef PEGASUS_PAM_AUTHENTICATION
+ EXTRA_LIBRARIES += -lpam
+endif
+##
+## The following flags need to be set or unset
+## to compile-in the code required for PAM authentication
+## and compile-out the code that uses the password file.
+##
+ifdef PEGASUS_PAM_AUTHENTICATION
+ DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
+endif
+
# l10n
ifdef PEGASUS_HAS_MESSAGES
DEFINES += -DPEGASUS_HAS_MESSAGES