author | wimpie <wimpie> | 2004-08-25 22:27:41 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2004-08-25 22:27:41 (UTC) |
commit | e00962edd9d4be58c6184e5b6c5f6ef07f449689 (patch) (side-by-side diff) | |
tree | c4c717187977c583f7bd7dcc37c2f203be4c0896 | |
parent | 9c679b7a9cff346175b012cb1634dc2161b95889 (diff) | |
download | opie-e00962edd9d4be58c6184e5b6c5f6ef07f449689.zip opie-e00962edd9d4be58c6184e5b6c5f6ef07f449689.tar.gz opie-e00962edd9d4be58c6184e5b6c5f6ef07f449689.tar.bz2 |
Add menuconfig variable to set if opie-login has to be compiled
agains PAM
Changed pro to use that variable
-rw-r--r-- | core/opie-login/config.in | 4 | ||||
-rw-r--r-- | core/opie-login/opie-login.pro | 6 |
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 @@ -2,3 +2,7 @@ boolean "opie-login (Initial Login app, ala xdm/kdm/gdm)" 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,5 +1,5 @@ TEMPLATE = app -CONFIG = qt warn_on usepam +CONFIG = qt warn_on HEADERS = loginwindowimpl.h \ loginapplication.h \ @@ -21,8 +21,8 @@ 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 TARGET = opie-login |