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:
parent
03a5e62300
commit
2aa2767ed5
@ -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"
|
||||
|
@ -828,7 +828,9 @@ struct functable {
|
||||
struct printjob;
|
||||
|
||||
/***** automatically generated prototypes *****/
|
||||
#ifndef NO_PROTO_H
|
||||
#include "proto.h"
|
||||
#endif
|
||||
|
||||
/* String routines */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user