Discontinued. Please go to https://github.com/RMerl/asuswrt-merlin . Custom firmware for Asus RT-N66U based on asus sources. Started by Eric/RMerlin @ www.lostrealm.ca . There are 3 branches. master -> Asus stock, merlin -> RMerlin/Eric's builds, shantz -> Shantanu Goel's builds.
This commit fixes the wol compilation.
There are three issues fixed:
The variable in makefile to suppress the usage of rpl_malloc is jm_cv_func_working_malloc, not ac_cv_func_working_malloc. The latter is used when the autotools macro for rpl_malloc test is used. But wol has its own test based on former variable. (Can check this in aclocal.m4)
In the rule to run configure for wol, we need to cd to the wol directory first and then set the variable and run configure otherwise the variable value that is set by us doesn't stick.
The config.h.in macros in configure.ac corresponding to the ether_addr struct should be kept before its corresponding tests, otherwise the config.h.in has the default values after the tests and override them even if the tests are successful, leading to wol trying to use its own inbuild ether_addr definition and failing with a redefinition error.
This commit fixes the wol compilation. There are three issues fixed: