diff options
Diffstat (limited to 'source3/lib/replace/getpass.m4')
-rw-r--r-- | source3/lib/replace/getpass.m4 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/lib/replace/getpass.m4 b/source3/lib/replace/getpass.m4 index 20d04a63f6..17dfdf7bf5 100644 --- a/source3/lib/replace/getpass.m4 +++ b/source3/lib/replace/getpass.m4 @@ -3,11 +3,8 @@ SAVE_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -I$libreplacedir/" AC_TRY_COMPILE([ #include "confdefs.h" -#define _LIBREPLACE_REPLACE_H -#define REPLACE_GETPASS 1 -#define main dont_declare_main +#define NO_CONFIG_H #include "$libreplacedir/getpass.c" -#undef main ],[],samba_cv_REPLACE_GETPASS=yes,samba_cv_REPLACE_GETPASS=no) CPPFLAGS="$SAVE_CPPFLAGS" ]) |