From 840b5688d4893ab8022c26b22ae29ad398ccb638 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 29 Jun 1994 21:04:22 +0000 Subject: [PATCH] things were testing -n "$GCC" instead of -z "$GCC" --- configure.in | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/configure.in b/configure.in index 1cec28c08..95ed0782e 100644 --- a/configure.in +++ b/configure.in @@ -50,8 +50,8 @@ SUDO_OSTYPE() OS=`echo $OS | $TRPROG '[[A-Z]]' '[[a-z]]'` case "$OS" in "sunos") echo "Looks like SunOS 4.x" - if test -n "$GCC"; then - STATIC_FLAGS="-static" + if test -z "$GCC"; then + STATIC_FLAGS="-Bstatic" fi ;; "solaris") echo "Looks like Solaris" @@ -59,17 +59,17 @@ case "$OS" in ;; "aix") echo "Looks like AIX" AC_DEFINE(_ALL_SOURCE) - if test -n "$GCC"; then + if test -z "$GCC"; then STATIC_FLAGS="-bnso -bI:/lib/syscalls.exp -bI:./aixcrypt.exp -liconv -bnodelcsect" fi ;; "hp-ux") echo "Looks like HP-UX" - if test -n "$GCC"; then + if test -z "$GCC"; then STATIC_FLAGS="-Wl,-a,archive" fi ;; "osf1") echo "Looks like OSF/1" - if test -n "$GCC"; then + if test -z "$GCC"; then STATIC_FLAGS="-non_shared" fi ;; @@ -79,9 +79,6 @@ case "$OS" in AC_DEFINE(STDC_HEADERS) ;; "linux") echo "Looks like linux" - if test -n "$GCC"; then - STATIC_FLAGS="-static" - fi ;; "convex") echo "Looks like ConvexOs" AC_DEFINE(_CONVEX_SOURCE) -- 2.40.0