1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbpass replacement test

This commit is contained in:
Gerald Carter 0001-01-01 00:00:00 +00:00
parent 03a5e62300
commit 2aa2767ed5
2 changed files with 3 additions and 0 deletions

View File

@ -1765,6 +1765,7 @@ SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I${srcdir-.}/ -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt -I${srcdir-.}/smbwrapper"
AC_TRY_COMPILE([
#define REPLACE_GETPASS 1
#define NO_PROTO_H 1
#define NO_CONFIG_H 1
#define main dont_declare_main
#include "${srcdir-.}/lib/getsmbpass.c"

View File

@ -828,7 +828,9 @@ struct functable {
struct printjob;
/***** automatically generated prototypes *****/
#ifndef NO_PROTO_H
#include "proto.h"
#endif
/* String routines */