configure.in: Some improvements for Solaris, expecially the swap plugin.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 3 Dec 2008 21:07:24 +0000 (22:07 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 3 Dec 2008 21:50:28 +0000 (22:50 +0100)
commit1862f170da675eb9bbf53193b93e3e9cbcb97540
tree5eb174953b28c4e6ffd5df5139f2d6be962d1aca
parent3e429a6d86ac6a0afe31f31b3d4417bc43dd979e
configure.in: Some improvements for Solaris, expecially the swap plugin.

If Solaris is detected, "-D_POSIX_PTHREAD_SEMANTICS" will be added to
CPPFLAGS automatically now.

If sys/swap.h is not found, print a message suggesting to build a 64bit
binary. (sys/swap.h cannot be included when a 32bit binary is being built,
but it's most likely present under Solaris.)

Enable the swap plugin only if sys/swap.h has been found (when under
Solaris).
configure.in