]> granicus.if.org Git - sudo/commitdiff
replace strdup & realpath & getcwd if missing
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 4 Jun 1994 18:48:19 +0000 (18:48 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 4 Jun 1994 18:48:19 +0000 (18:48 +0000)
configure.in

index 836fff428ba417ef118526ccfaec687fe3d8055d..99181d42d45f8840e6d875d048fa2f223baeabfc 100644 (file)
@@ -118,6 +118,7 @@ AC_PROG_YACC
 AC_PROG_LEX
 SUDO_PROG_INSTALL
 SUDO_PROG_SENDMAIL
+SUDO_PROG_PWD
 SUDO_PROG_VI
 dnl
 dnl Header file checks
@@ -140,7 +141,11 @@ esac
 dnl
 dnl Function checks
 dnl
-AC_HAVE_FUNCS(getcwd strdup strchr strrchr sysconf)
+AC_HAVE_FUNCS(getcwd getwd strchr strrchr sysconf)
+dnl
+dnl Function checks w/ replacements
+dnl
+AC_REPLACES_FUNCS(strdup realpath getcwd)
 dnl
 dnl library checks
 dnl