diff options
author | Sumit Bose <sbose@redhat.com> | 2010-02-16 21:19:09 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-16 16:06:54 -0500 |
commit | 26785017abee76e0eff95214f0c52fcdb04741e0 (patch) | |
tree | 51b743cc2c3118d670f3e76d377b8c4fc0c022c1 /replace/getpass.m4 | |
parent | 8f206092adc07f5f09e14d5dac53759bee33bcc6 (diff) | |
download | sssd-26785017abee76e0eff95214f0c52fcdb04741e0.tar.gz sssd-26785017abee76e0eff95214f0c52fcdb04741e0.tar.xz sssd-26785017abee76e0eff95214f0c52fcdb04741e0.zip |
Remove replace
Diffstat (limited to 'replace/getpass.m4')
-rw-r--r-- | replace/getpass.m4 | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/replace/getpass.m4 b/replace/getpass.m4 deleted file mode 100644 index b93817f9d..000000000 --- a/replace/getpass.m4 +++ /dev/null @@ -1,24 +0,0 @@ -AC_CHECK_FUNC(getpass, libreplace_cv_HAVE_GETPASS=yes) -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" -else - -AC_CACHE_CHECK([whether getpass should be replaced],libreplace_cv_REPLACE_GETPASS,[ -SAVE_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS -I$libreplacedir/" -AC_TRY_COMPILE([ -#include "confdefs.h" -#define NO_CONFIG_H -#include "$libreplacedir/getpass.c" -],[],libreplace_cv_REPLACE_GETPASS=yes,libreplace_cv_REPLACE_GETPASS=no) -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" -fi - -fi |