From e031e12d06c77e0a05ad0c30c21f3afea94764af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 17 May 2021 18:10:38 +0200 Subject: Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in special cases. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kdesktop/lock/lockdlg.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdesktop/lock/lockdlg.cpp') diff --git a/kdesktop/lock/lockdlg.cpp b/kdesktop/lock/lockdlg.cpp index 961442506..890aa7c53 100644 --- a/kdesktop/lock/lockdlg.cpp +++ b/kdesktop/lock/lockdlg.cpp @@ -44,7 +44,7 @@ #include #include #include -#ifdef __TDE_HAVE_TDEHWLIB +#ifdef WITH_TDEHWLIB #include #include #endif @@ -481,7 +481,7 @@ void PasswordDlg::reapVerify() switch (WEXITSTATUS(status)) { case AuthOk: { -#ifdef __TDE_HAVE_TDEHWLIB +#ifdef WITH_TDEHWLIB KUser userinfo; TQString fileName = userinfo.homeDir() + "/.tde_card_login_state"; TQFile flagFile(fileName); @@ -559,7 +559,7 @@ void PasswordDlg::handleVerify() setFixedSize( sizeHint().width(), sizeHint().height() + 1 ); setFixedSize( sizeHint() ); -#ifdef __TDE_HAVE_TDEHWLIB +#ifdef WITH_TDEHWLIB // Check if cryptographic card login is being used if (mCardLoginInProgress) { // Attempt authentication if configured @@ -980,7 +980,7 @@ void PasswordDlg::capsLocked() } void PasswordDlg::attemptCardLogin() { -#ifdef __TDE_HAVE_TDEHWLIB +#ifdef WITH_TDEHWLIB #ifndef HAVE_KRB5 // Don't enable card-based logins if Kerberos integration was disabled return; @@ -1020,7 +1020,7 @@ void PasswordDlg::attemptCardLogin() { } void PasswordDlg::resetCardLogin() { -#ifdef __TDE_HAVE_TDEHWLIB +#ifdef WITH_TDEHWLIB validUserCardInserted = false; greet->abort(); greet->clear(); -- cgit v1.2.1