]> granicus.if.org Git - sudo/commitdiff
no longer add -lPW to *_LIBS since we include alloca.c
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 26 Jun 1996 02:29:17 +0000 (02:29 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 26 Jun 1996 02:29:17 +0000 (02:29 +0000)
configure.in

index 7227f342f8005a890e6dfbe2fbdca4ca2a027294..e20f57d223d5d9753b29bd48091c1ddfe0ba345d 100644 (file)
@@ -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