Perl5 uses setlocale function. Recent jp-perl5 linked this order:
libm libmalloc libc libcrypt libxpg4.
the function of setlocale in libc has some problems for some locales
(for example, ja_JP.EUC).
It is needed to link libxpg4 before libc. I change to correct order
in configure file of perl5.
Submitted by: sampei@yy.cs.keio.ac.jp