READELF needs to be defined for unix such as SOLARIS

Change-Id: I749fa8a19e00957a3f83f41e029687b435a3a903
Signed-off-by: Michael Stahl <mstahl@redhat.com>
cleanup improper SOLARIS linker libs and options

and, most importantly, forget MOTIF!

Change-Id: I0230932618b396ec4d5bf7638a13e5a80a4fada0
Signed-off-by: Michael Stahl <mstahl@redhat.com>
SOLARIS can use/should use posix_madvise under certain conditions.

Change-Id: Idc40752b4beee932b5912e6df9fe6acb15571201
Signed-off-by: Michael Stahl <mstahl@redhat.com>
improve SOLARIS guard

Change-Id: Ic5edb7c0977b6c589329cd80616aa320d6cc929b
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Do as for Linux, borrowed from Gabriele Bulfon <gabriele.bulfon at sonicle.com>

Change-Id: Id15c4b355591678023ae97b1183f8f3a01823084
Signed-off-by: Michael Stahl <mstahl@redhat.com>
update solaris directories being referenced
also borrowed from  Gabriele Bulfon <gabriele.bulfon at sonicle.com>

Change-Id: I17787fbbf12f1bc8b3e78b8dd2e8b33679bab5b1
Signed-off-by: Michael Stahl <mstahl@redhat.com>
O_RDWR and O_CREAT are defined in fcntl.h

Change-Id: I568ee2c3f103777720f6c39340a5915b10aeebb4
Signed-off-by: Michael Stahl <mstahl@redhat.com>