Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: third_party/talloc/libreplace/getpass.m4

Issue 2282793002: Remove unused third_party/talloc (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/talloc/libreplace/getpass.c ('k') | third_party/talloc/libreplace/inet_aton.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 AC_CHECK_FUNC(getpass, libreplace_cv_HAVE_GETPASS=yes)
2 AC_CHECK_FUNC(getpassphrase, libreplace_cv_HAVE_GETPASSPHRASE=yes)
3 if test x"$libreplace_cv_HAVE_GETPASS" = x"yes" -a x"$libreplace_cv_HAVE_GETPASS PHRASE" = x"yes"; then
4 AC_DEFINE(REPLACE_GETPASS_BY_GETPASSPHRASE, 1, [getpass returns <9 chars where getpassphrase returns <265 chars])
5 AC_DEFINE(REPLACE_GETPASS,1,[Whether getpass should be replaced])
6 LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/getpass.o"
7 else
8
9 AC_CACHE_CHECK([whether getpass should be replaced],libreplace_cv_REPLACE_GETPAS S,[
10 SAVE_CPPFLAGS="$CPPFLAGS"
11 CPPFLAGS="$CPPFLAGS -I$libreplacedir/"
12 AC_TRY_COMPILE([
13 #include "confdefs.h"
14 #define NO_CONFIG_H
15 #include "$libreplacedir/getpass.c"
16 ],[],libreplace_cv_REPLACE_GETPASS=yes,libreplace_cv_REPLACE_GETPASS=no)
17 CPPFLAGS="$SAVE_CPPFLAGS"
18 ])
19 if test x"$libreplace_cv_REPLACE_GETPASS" = x"yes"; then
20 AC_DEFINE(REPLACE_GETPASS,1,[Whether getpass should be replaced])
21 LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/getpass.o"
22 fi
23
24 fi
OLDNEW
« no previous file with comments | « third_party/talloc/libreplace/getpass.c ('k') | third_party/talloc/libreplace/inet_aton.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698