summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/opie-login/config.in4
-rw-r--r--core/opie-login/opie-login.pro6
2 files changed, 7 insertions, 3 deletions
diff --git a/core/opie-login/config.in b/core/opie-login/config.in
index 1f0fdbe..e6b7d69 100644
--- a/core/opie-login/config.in
+++ b/core/opie-login/config.in
@@ -3,2 +3,6 @@
default "y"
depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE
+
+config OPIELOGIN_USEPAM
+ boolean "Compile login manager with PAM support"
+ depends OPIE-LOGIN
diff --git a/core/opie-login/opie-login.pro b/core/opie-login/opie-login.pro
index 175d0b6..feac087 100644
--- a/core/opie-login/opie-login.pro
+++ b/core/opie-login/opie-login.pro
@@ -1,4 +1,4 @@
TEMPLATE = app
-CONFIG = qt warn_on usepam
+CONFIG = qt warn_on
HEADERS = loginwindowimpl.h \
@@ -22,6 +22,6 @@ DEPENDPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate
LIBS += -lqpe -lopiecore2
-usepam:LIBS += -lpam
-usepam:DEFINES += USEPAM
+OPIELOGIN_USEPAM:LIBS += -lpam
+OPIELOGIN_USEPAM:DEFINES += USEPAM
DESTDIR = $(OPIEDIR)/bin