Bruce Shaw wrote:
I'm working on lmsensors.  Configure.in has a section of code that checks to
see if sensors/sensors.h is available before letting you bash about with
lmsensors.  Problem is, I don't need it for Solaris.  I'm doing it
completely differently.

Now I found how to do Solaris-specific things...

case $target_os in
  solaris*) blah blah blah
esac

What's the target_os for linux? Where is this set?

I am not looking at the code right now, but target_os will probably be *-*-linux or something to that affect. It is probably mangled with sed to be linux-gnu or linux-libc6 or something similar so *linux*) or just linux*) will probably work. I think the value used most often is $PARTIALTARGETOS which should be either linux-gnu or most likely just linux.


Andy

This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply,
should be deleted or destroyed.



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders




------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to