IRIX compilation and openbsd-compat/basename.h

Ben Lindstrom mouring at etoh.eviladmin.org
Thu Apr 10 04:41:18 EST 2003


[..]
> > This is not right... Nor has any other solution I've seen is right.
> >
> > basename needs to be checked in multiple places.  We need to check libc
> > and gen at this point.
> >
> > Otherwise it will break for other platforms.
>
> AC_SEARCH_LIBS checks first with no libraries, then iterates over the
> list of libraries contained in the 2nd argument.
>
> The above patch compiles fine on Solaris 2.5.1-9/SPARC, IRIX 6.5,
> HP-UX 10.20-11i, Tru64 UNIX 4.0D, 5.1, AIX 4.3.2, AIX 5.1, and Redhat
> Linux 7.1.
>

However, if it exists in -lgen and we don't ensure that libgen is included
(we are luckly right now because other stuff drags libgen in) or it is
a hardcoded requirement.

I'm saying the solution above is wrong because it is incomplete.  It does
not ensure we have libgen in the LIB=.

=) Just because things work.  Don't make them totally correct.

- Ben




More information about the openssh-unix-dev mailing list