1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

s4-config: add dyn_SBINDIR

This commit is contained in:
Andrew Tridgell 2010-02-17 21:12:17 +11:00 committed by Stefan Metzmacher
parent 13e2f5f971
commit 95ee01bb30
3 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,7 @@ pkgconfigdir = $(libdir)/pkgconfig
LMHOSTSFILE4 = $(sysconfdir)/lmhosts
$(dynconfigsrcdir)/dynconfig.o: CFLAGS+=-DCONFIGFILE=\"$(CONFIG4FILE)\" -DBINDIR=\"$(bindir)\" \
-DSBINDIR=\"$(sbindir)\" \
-DLMHOSTSFILE=\"$(LMHOSTSFILE4)\" \
-DLOCKDIR=\"$(lockdir)\" -DPIDDIR=\"$(piddir)\" -DDATADIR=\"$(datadir)\" \
-DLOGFILEBASE=\"$(logfilebase)\" \

View File

@ -43,6 +43,9 @@
/** Directory with generic binaries */
_PUBLIC_ const char *dyn_BINDIR = BINDIR;
/** Directory with root use binaries */
_PUBLIC_ const char *dyn_SBINDIR = SBINDIR;
/**< Location of smb.conf file. **/
_PUBLIC_ const char *dyn_CONFIGFILE = CONFIGFILE;

View File

@ -25,6 +25,7 @@
**/
extern const char *dyn_BINDIR;
extern const char *dyn_SBINDIR;
extern const char *dyn_CONFIGFILE;
extern const char *dyn_NCALRPCDIR;
extern const char *dyn_LOGFILEBASE;