[PATCH] handle configure --with-configdir right

Stefan (metze) Metzmacher metze at metzemix.de
Fri Nov 22 10:41:04 GMT 2002


Hi Jelmer,

here's the part of my previeus patch for 3_0

it fixes the configure --with-configdir


metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>
-------------- next part --------------
diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=.#* 3_0/source/Makefile.in 3_0-fix/source/Makefile.in
--- 3_0/source/Makefile.in	Mon Nov 18 22:30:50 2002
+++ 3_0-fix/source/Makefile.in	Fri Nov 22 10:23:55 2002
@@ -56,8 +56,11 @@ INSTALLPERMS = 0755
 # These can be overridden by command line switches (see smbd(8))
 # or in smb.conf (see smb.conf(5))
 LOGFILEBASE = @logfilebase@
-CONFIGFILE = $(LIBDIR)/smb.conf
-LMHOSTSFILE = $(LIBDIR)/lmhosts
+CONFIGDIR = @configdir@
+CONFIGFILE = $(CONFIGDIR)/smb.conf
+LMHOSTSFILE = $(CONFIGDIR)/lmhosts
+
+# did we need this anymore? it's not in HEAD
 DRIVERFILE = $(LIBDIR)/printers.def
 # This is where smbpasswd et al go
 PRIVATEDIR = @privatedir@


More information about the samba-technical mailing list