From c6a17c85e10c2824dd3877e0df13a8e997b76b85 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 15 Oct 2007 11:02:24 +0200 Subject: fix the compilation of getpass.c and it's configure test metze (This used to be commit f4c0961a16a84dcdfe6e2faafb75c76983e6d466) --- source3/lib/replace/getpass.m4 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/lib/replace/getpass.m4') 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" ]) -- cgit