diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-06 15:43:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-06 15:43:09 +0000 |
commit | 5828f0f1b94e612e0acb980540f0857ceb0f64b2 (patch) | |
tree | b490d9957152cf3482a9f029a04edf49f9425c51 /security/PAM | |
parent | c4b3ae0830edb150c4e7b151632ddbcc4686dde6 (diff) | |
download | pkgsrc-5828f0f1b94e612e0acb980540f0857ceb0f64b2.tar.gz |
Reorder conditions so that if make does short-circuit boolean evalutation,
then we avoid hitting the disk if we don't need to.
Diffstat (limited to 'security/PAM')
-rw-r--r-- | security/PAM/builtin.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/PAM/builtin.mk b/security/PAM/builtin.mk index 2c85e5426e1..d8edc94d848 100644 --- a/security/PAM/builtin.mk +++ b/security/PAM/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.5 2004/08/06 15:41:46 jlam Exp $ +# $NetBSD: builtin.mk,v 1.6 2004/08/06 15:43:09 jlam Exp $ .include "../../mk/bsd.prefs.mk" @@ -6,8 +6,8 @@ _SECURITY_PAM_APPL_H= /usr/include/security/pam_appl.h .if !defined(IS_BUILTIN.pam) IS_BUILTIN.pam= no -. if exists(${_SECURITY_PAM_APPL_H}) && \ - empty(_SECURITY_PAM_APPL_H:M${LOCALBASE}/*) +. if empty(_SECURITY_PAM_APPL_H:M${LOCALBASE}/*) && \ + exists(${_SECURITY_PAM_APPL_H}) IS_BUILTIN.pam= yes . endif .endif # IS_BUILTIN.pam |