From 7747b481ddcda8b6e1944b2d2dbe1ad145b600f3 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 17 Jan 2012 13:07:35 -0500 Subject: [PATCH] Fix sh warning; use "test" instead of "[" --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index b926d0a39..139cecc62 100755 --- a/configure +++ b/configure @@ -22245,7 +22245,7 @@ fi if test "$with_pam" = "yes"; then case $host in *-*-hpux*) - if -f /usr/lib/security/libpam_hpsec.so.1 ; then + if test -f /usr/lib/security/libpam_hpsec.so.1; then { $as_echo "$as_me:${as_lineno-$LINENO}: You may wish to add the following line to /etc/pam.conf" >&5 $as_echo "$as_me: You may wish to add the following line to /etc/pam.conf" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: sudo session required libpam_hpsec.so.1 bypass_umask bypass_last_login" >&5 diff --git a/configure.in b/configure.in index 3a2f056d8..d2b457e9d 100644 --- a/configure.in +++ b/configure.in @@ -3114,7 +3114,7 @@ dnl if test "$with_pam" = "yes"; then case $host in *-*-hpux*) - if [ -f /usr/lib/security/libpam_hpsec.so.1 ]; then + if test -f /usr/lib/security/libpam_hpsec.so.1; then AC_MSG_NOTICE([You may wish to add the following line to /etc/pam.conf]) AC_MSG_NOTICE([sudo session required libpam_hpsec.so.1 bypass_umask bypass_last_login]) fi -- 2.50.1