summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-07-27 17:12:56 +1000
committerAndrew Tridgell <tridge@samba.org>2009-08-24 16:30:00 +1000
commita5358402b26e08b9f69c5c766e5cb7438c695dbf (patch)
treec83e41aadfce8397b1b4d09a8a76e97066e831a1 /lib/replace
parente8782de8fe51310e89eb480f0a67f1d392698896 (diff)
downloadsamba-a5358402b26e08b9f69c5c766e5cb7438c695dbf.tar.gz
samba-a5358402b26e08b9f69c5c766e5cb7438c695dbf.tar.bz2
samba-a5358402b26e08b9f69c5c766e5cb7438c695dbf.zip
fixed getpass m4
This allows the getpass.m4 code to work in standalone talloc builds
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/getpass.m44
1 files changed, 2 insertions, 2 deletions
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