diff options
author | jlam <jlam> | 2004-08-06 15:43:09 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-08-06 15:43:09 +0000 |
commit | 5b036221fd4d20330ba90b9d5d0061510d095eac (patch) | |
tree | b490d9957152cf3482a9f029a04edf49f9425c51 /security | |
parent | 8d7ffd341895e2b1cf25674f16e1d763d620ef8d (diff) | |
download | pkgsrc-5b036221fd4d20330ba90b9d5d0061510d095eac.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')
-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 |