While trying to compile Pike under MinGW I've encountered the problem that include files in /usr/local/include isn't found. First place of error is in the Gmp module.
configure:1574: checking for gmp.h configure:1584: gcc -E conftest.c >/dev/null 2>conftest.out configure:1580:17: gmp.h: No such file or directory configure: failed program was: #line 1579 "configure" #include "confdefs.h" #include <gmp.h>
If I manually add -I/usr/local/include it works, but what is the correct, general solution?