Warn as well if no directory name for cachedir provided

cachedir is used to determine where cache files are stored.
the empty directory will ends up to put them under the top of
directory of XDG_CACHE_HOME. that messes it up and must be avoided.

As a note, if you want to read/write something from the top of
XDG_DATA_HOME (dir) and/or XDG_CACHE_HOME (cachedir),
put "." instead of the empty.

fontconfig/fontconfig#180
3 jobs for issue/180 in 4 minutes and 7 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #711312
mingw-build

00:03:51

passed #711310
shared-build

00:04:07

passed #711311
static-build

00:03:37