Derrick J Brashear <[EMAIL PROTECTED]> writes:

> Suggest how? I can't assume they'll be root. I suppose I could add an
> include path.

You shouldn't make the link, just figure out what directory to include
from. The Arla configure.in does this:

  # XXX find kernel include dir
  nodename=`hostname | sed 's/\..*//' | tr 'a-z' 'A-Z'`
  foo=`ls $SYS/inet.h $SYS/GENERIC/inet.h $SYS/$nodename/inet.h $SYS/*/inet.h 2> 
/dev/null | head -1 | sed -e 's,/inet.h,,'`
  KERNEL_CPPFLAGS="${KERNEL_CPPFLAGS} -I/usr/sys/include -I$foo"

where SYS is the --with-sys provided path.

/Johan
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to