klacke/yaws — pull request #150 by weisslj (2013-06-25 10:09:49+00:00)
Title: Fix configure check for file:sendfile/5

After 98db40b the check outputs:

$ erl -noshell -eval 'code:load_file(file), io:format("~p~n",[[erlang:function_exported(file,sendfile,5)]]), erlang:halt().'
[true]

=ERROR REPORT==== 25-Jun-2013::09:40:51 ===
Can't load module that resides in sticky dir

Solution with code:ensure_loaded/1 suggestion by Tuncer Ayaz .