The key here is for the user to be aware that the layout is not normal.
I agree - There is a bit of autodetection with --with-package-dir
option. But if one knows include,lib details and want to specify these
details --with-package-include, --with-package-lib are appropriate
options.
And with default layout - one should expect both modes to work.
> What other package ever uses --prefix=.../include? Every one I know ofWell this package is trying to organize itself within 'cuda include'
> would expect you to say --prefix=/opt/local/ and it would place headers in
> /opt/local/include.
package orgainzation. I think this is smilar to the way 'perl' or
'python' modules organize themselves within their respective trees.