From: Todd C. Miller Date: Tue, 20 Sep 1994 23:37:13 +0000 (+0000) Subject: now use -no_library_replacement for osf X-Git-Tag: SUDO_1_4_0~697 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92b4dea2d2346023d806ddc9e5ebbd8a1d4be487;p=sudo now use -no_library_replacement for osf don't make a static binary for hpux >= 9.0 --- diff --git a/configure.in b/configure.in index a523ffd4b..ab1c0b43a 100644 --- a/configure.in +++ b/configure.in @@ -81,18 +81,19 @@ case "$OS" in AC_DEFINE(_ALL_SOURCE) ;; "hp-ux") echo "Looks like HP-UX" - if test -n "$GCC"; then - STATIC_FLAGS="-static" - else - STATIC_FLAGS="-Wl,-a,archive" + if test "$OSREV" -lt 9 ; then + if test -n "$GCC"; then + STATIC_FLAGS="-static" + else + STATIC_FLAGS="-Wl,-a,archive" + fi + fi + if test -n "$AFS" ; then + LIBS="-lBSD ${LIBS}" fi ;; "osf1") echo "Looks like OSF/1" - if test -n "$GCC"; then - STATIC_FLAGS="-static" - else - STATIC_FLAGS="-non_shared" - fi + STATIC_FLAGS="-Wl,-no_library_replacement" # C2 security stuff if test -n "$C2"; then LIBS="${LIBS} -lsecurity -laud"