s3-popt: Fix configure.developer builds on Solairs.
[bbaumbach/samba-autobuild/.git] / lib / replace / getpass.m4
index b93817f9d35d730c470a7d6a9a2a38c9ae102e56..78a0afe4532963edc2bb7acb2956d035915cd721 100644 (file)
@@ -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