On Wed, 20 Dec 2006, Tim Mooney wrote:
Basically, the idea is that if /lib/libc.a exists, we use the old logic of
searching libc.a for getpassphrase and linking to either the old or new
header.  If /lib/libc.a doesn't exist,  we're on a very recent version
of Solaris, and it therefore does have getpassphrase().
Mark, what do you think?

I've decided to adopt your change pretty much as-is, only changing the test to the more modern use of square brackets:

<       sh -c '(strings /lib/libc.a | grep getpassphrase > /dev/null) && $(LN) 
os_soln.h os_sol.h || $(LN) os_solo.h os_sol.h'
---
      sh -c 'if [ -f /lib/libc.a ]; then (strings /lib/libc.a | grep getpassphrase > 
/dev/null) && $(LN) os_soln.h os_sol.h || $(LN) os_solo.h os_sol.h ; else $(LN) 
os_soln.h os_sol.h ; fi'

I intend that the imap-2006 series will be the last release with all this legacy stuff; and that the next major release will focus entirely upon modern environments.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to