Patch for configure.in (tested with syslog ng 1.6.9 source).
---<configure.in.patch>---
341a342
> oscheck=`uname`
349a351,354
> elif echo $oscheck | egrep "AIX" > /dev/null; then
> LD_START_STATIC="-Wl,-bstatic"
> LD_END_STATIC="-Wl,-bdynamic"
> AC_MSG_RESULT(AIX)
---<configure.in.patch>---
patch -i configure.in.patch
configure.in
autoconf configure.in > configure
will do the job.
The -bstatic and '-bdynamic' options of AIX's ld command are supported in AIX 4.3 and higher according to IBM documentation. I've check this on AIX
4.3.3, 5.1 ML8 and 5.3 ML3.
If someone uses the gnu ld on AIX this should be already covered by the check for GNU in $ldversion.
AFAIK there is no other way to determine the ld version in a convenient fashion since IBM introduced the '-V' option lately but prior to AIX
5.3 this option seems not be present nor does it gives any hint for AIX ld options:
$ ld -V
ld: LD 1.64 (08/19/2003)
--
Jochen