]> granicus.if.org Git - sudo/commitdiff
Fix syntax error
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 11 Oct 2010 15:51:20 +0000 (11:51 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 11 Oct 2010 15:51:20 +0000 (11:51 -0400)
--HG--
branch : 1.7

configure
configure.in

index 4a9b593a368b01ec89fc2c45b5c297da69a0a3ee..834c1bdfb64c67a215e8bc853bec3571ef9252b1 100755 (executable)
--- a/configure
+++ b/configure
@@ -12889,9 +12889,7 @@ done
 
                if test -z "$GCC"; then
                    # HP-UX bundled compiler can't generate shared objects
-                   if -z "$pic_flag"; then
-                       with_noexec=no
-                   fi
+                   test -z "$pic_flag" && with_noexec=no
 
                    # Use the +DAportable flag on hppa if it is supported
                    case "$host_cpu" in
index 2588b74a8496f454de4e1ed00f6b5d20b41add91..7c022c75f7c57b07ce823550960d48f7fc8ce7cf 100644 (file)
@@ -1480,9 +1480,7 @@ case "$host" in
 
                if test -z "$GCC"; then
                    # HP-UX bundled compiler can't generate shared objects
-                   if -z "$pic_flag"; then
-                       with_noexec=no
-                   fi
+                   test -z "$pic_flag" && with_noexec=no
 
                    # Use the +DAportable flag on hppa if it is supported
                    case "$host_cpu" in