id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2419	configure script for mc-4.7.4 fails to set samba configdir	jimklimov	andrew_b	"I am building mc-4.7.4 and mc-4.7.0.9 on Solaris (Sol 10 x86/SPARC).

I found that mc-4.7.4 (*unlike* mc-4.7.0.9) config script fails to replace ""@configdir@"" with the default path (/etc) or one explicitly provided with options 
  --with-smb-configdir=/etc --with-configdir=/etc 
regardless - whether used alone or both at once.

As a result, the value hardcoded in the ""mc"" binary is
""@configdir@/smb.conf"".

My current workaround is to manually fix lib/vfs/mc-vfs/Makefile around line 396 after running ""./configure"" before running ""make"":
-SAMBA_CFLAGS = -DCONFIGDIR=\""""@configdir@""\""
+SAMBA_CFLAGS = -DCONFIGDIR=\""""/etc""\""

"	defect	closed	major	4.7.5	mc-vfs	4.7.4	fixed	mc-vfs samba configdir					committed-master
