From: Todd C. Miller Date: Wed, 26 Jun 1996 02:29:17 +0000 (+0000) Subject: no longer add -lPW to *_LIBS since we include alloca.c X-Git-Tag: SUDO_1_5_0~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=380e37c3cd39e5dd3623cdffa0654a3b43b4a20d;p=sudo no longer add -lPW to *_LIBS since we include alloca.c --- diff --git a/configure.in b/configure.in index 7227f342f..e20f57d22 100644 --- a/configure.in +++ b/configure.in @@ -498,14 +498,11 @@ if test -z "$LIB_CRYPT"; then AC_CHECK_FUNC(crypt, ,AC_CHECK_LIB(crypt, crypt, SUDO_LIBS="${SUDO_LIBS} -lcrypt", AC_CHECK_LIB(crypt_d, crypt, SUDO_LIBS="${SUDO_LIBS} -lcrypt_d", AC_CHECK_LIB(crypt, ufc, SUDO_LIBS="${SUDO_LIBS} -lufc")))) fi dnl -dnl Bison and DCE use alloca(3), if not in libc, look in -lPW +dnl Bison and DCE use alloca(3), if not in libc, use the sudo one (from gcc) dnl (gcc includes its own alloca(3) but other compilers may not) dnl if test "$with_DCE" = "yes" -o "$ac_cv_prog_YACC" = "bison -y"; then AC_FUNC_ALLOCA - if test "$ALLOCA" = "alloca.o"; then - AC_CHECK_FUNC(alloca, ,AC_CHECK_LIB(PW, alloca, SUDO_LIBS="${SUDO_LIBS} -lPW"; VISUDO_LIBS="${VISUDO_LIBS} -lPW")) - fi fi dnl dnl library checks