flags for Solaris. The test itself is straight from libtool.
anyway, the rest being due to them not being kept in sync. Add configure test for lorder and use it (on Solaris) when found.