kravietz / pam_tacplus

TACACS+ protocol client library and PAM module in C. This PAM module support authentication, authorization (account management) and accounting (session management)performed using TACACS+ protocol designed by Cisco.
GNU Lesser General Public License v3.0
132 stars 100 forks source link

Use of AC_CHECK_FILE prevents cross compilation. #185

Closed sbrahul closed 2 years ago

sbrahul commented 2 years ago

The use of AC_CHECK_FILE causes the following error when cross compiling:

configure: error: cannot check for file existence when cross compiling

The solution is to check for the file directly instead of using a macro.

Signed-off-by: Rahul Sreeram rahul.sreeram@gmail.com