You should probably also add --disable-shared. The linker will use the
shared library if one is available even if you tell him to use a
static library.
./configure --enable-static --disable-shared
I didn't try with xar but it works with some other projects. Also,
make sure that there is no other libxar.dylib already installed on
your system, else the linker will use it.