The --prefix is within my home directory, and a small smb.conf file does appear to get written:
[bradh@marginata etc]$ cat /home/bradh/test/samba4/etc/smb.conf
[globals]
netbios name = marginata
workgroup = TESTDOMAIN
realm = CUNEATA.NET
server role = pdc