diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-06-03 15:51:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:05 -0500 |
commit | 82e4680b2dcb51dd2e78da4fbcdeedf96dd5d94a (patch) | |
tree | cd8fe17ecd0561bad644badc3818a170bf7a66c3 /source3 | |
parent | 37569f60f3af50cce034e00e0dc5af026427dbd5 (diff) | |
download | samba-82e4680b2dcb51dd2e78da4fbcdeedf96dd5d94a.tar.gz samba-82e4680b2dcb51dd2e78da4fbcdeedf96dd5d94a.tar.bz2 samba-82e4680b2dcb51dd2e78da4fbcdeedf96dd5d94a.zip |
r23314: For some systems it's needed to inject replace.h into
the iniparser source code, I do it in a way we can still have
a unmodified copy of iniparser in source/iniparser/
and have the wrapper stuff in source/iniparser_build/.
If the build-farm is happy with this I'll merge it to 3_0_26
tomorrow...
metze
(This used to be commit 43d390d1863e7d8c1cb7c47f2272ee78661c352a)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/Makefile.in | 4 | ||||
-rw-r--r-- | source3/iniparser_build/dictionary.c | 7 | ||||
-rw-r--r-- | source3/iniparser_build/iniparser.c | 7 | ||||
-rw-r--r-- | source3/iniparser_build/strlib.c | 7 |
4 files changed, 23 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index 0479b85e1a..db62d436eb 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -902,8 +902,8 @@ SMB_KRB5_LOCATOR_OBJ = $(SMB_KRB5_LOCATOR_OBJ1) $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) POPT_OBJ=popt/findme.o popt/popt.o popt/poptconfig.o \ popt/popthelp.o popt/poptparse.o -INIPARSER_OBJ = iniparser/src/iniparser.o iniparser/src/dictionary.o \ - iniparser/src/strlib.o +INIPARSER_OBJ = iniparser_build/iniparser.o iniparser_build/dictionary.o \ + iniparser_build/strlib.o TDBBACKUP_OBJ = lib/tdb/tools/tdbbackup.o $(LIBREPLACE_OBJ) \ $(TDBBASE_OBJ) $(SOCKET_WRAPPER_OBJ) diff --git a/source3/iniparser_build/dictionary.c b/source3/iniparser_build/dictionary.c new file mode 100644 index 0000000000..de98a4523f --- /dev/null +++ b/source3/iniparser_build/dictionary.c @@ -0,0 +1,7 @@ +/* + for someplatforms it's needed to inject replace.h into + the iniparser source code + --metze +*/ +#include "lib/replace/replace.h" +#include "iniparser/src/dictionary.c" diff --git a/source3/iniparser_build/iniparser.c b/source3/iniparser_build/iniparser.c new file mode 100644 index 0000000000..4974f373ee --- /dev/null +++ b/source3/iniparser_build/iniparser.c @@ -0,0 +1,7 @@ +/* + for someplatforms it's needed to inject replace.h into + the iniparser source code + --metze +*/ +#include "lib/replace/replace.h" +#include "iniparser/src/iniparser.c" diff --git a/source3/iniparser_build/strlib.c b/source3/iniparser_build/strlib.c new file mode 100644 index 0000000000..685ec8e04d --- /dev/null +++ b/source3/iniparser_build/strlib.c @@ -0,0 +1,7 @@ +/* + for someplatforms it's needed to inject replace.h into + the iniparser source code + --metze +*/ +#include "lib/replace/replace.h" +#include "iniparser/src/strlib.c" |