Autoconf-ing mklifboot

Zach Lowry <[email protected]>
Newsgroups gmane.os.netbsd.ports.hp700
Message-ID <[email protected]>
Next on my todo list is trying to make mklifboot/mkboot more portable. 
It seems that mklifboot references headers in sys/sys, when then in turn 
reference header files from machine/, such as machine/endian.h. This 
file is not located there on Linux, however. Is autoconf the best tool 
for determining the locations of these files, as suggested by Jochen? 
Or, should I put #ifdefs in the files in sys/sys? Or is there an even 
better solution?

Thanks!

-- 
---------------------------------------------------------------------------------
Zach Lowry                                                  http://www.netbsd.org
MTSU, Murfreesboro, TN                              Owner of 20 NetBSD  Platforms

-----BEGIN GEEK CODE BLOCK-----
 Version: 3.1
 GCS/IT/MU d-> s>+:->-- a-- C++$>+++ UBLUAHIOSX++++$ P++$>+++ L++++ !E  W++ N++ !o !K-- w--$>--- !O M++ !V PS++>+++ PE+++ Y PGP !t !5 !X R tv>+  b+>++ DI+>++ D++ G e++>+++ h++ r+++ y++++**
 ------END GEEK CODE BLOCK------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.