From a5358402b26e08b9f69c5c766e5cb7438c695dbf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 27 Jul 2009 17:12:56 +1000 Subject: fixed getpass m4 This allows the getpass.m4 code to work in standalone talloc builds --- lib/replace/getpass.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/replace/getpass.m4 b/lib/replace/getpass.m4 index b93817f9d3..78a0afe453 100644 --- a/lib/replace/getpass.m4 +++ b/lib/replace/getpass.m4 @@ -3,7 +3,7 @@ AC_CHECK_FUNC(getpassphrase, libreplace_cv_HAVE_GETPASSPHRASE=yes) if test x"$libreplace_cv_HAVE_GETPASS" = x"yes" -a x"$libreplace_cv_HAVE_GETPASSPHRASE" = x"yes"; then AC_DEFINE(REPLACE_GETPASS_BY_GETPASSPHRASE, 1, [getpass returns <9 chars where getpassphrase returns <265 chars]) AC_DEFINE(REPLACE_GETPASS,1,[Whether getpass should be replaced]) - LIBREPLACEOBJ="${LIBREPLACEOBJ} getpass.o" + LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/getpass.o" else AC_CACHE_CHECK([whether getpass should be replaced],libreplace_cv_REPLACE_GETPASS,[ @@ -18,7 +18,7 @@ CPPFLAGS="$SAVE_CPPFLAGS" ]) if test x"$libreplace_cv_REPLACE_GETPASS" = x"yes"; then AC_DEFINE(REPLACE_GETPASS,1,[Whether getpass should be replaced]) - LIBREPLACEOBJ="${LIBREPLACEOBJ} getpass.o" + LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/getpass.o" fi fi -- cgit