Q: How can I make gcc search for #include <...> files in the current source file's directory? When a file contains an include line like this:
#include "name.h"

gcc (and other C compilers) search for the file "name.h" in the directory containing the file being compiled.  This does not by default happen if the line looks like this:
#include <name.h>

Is there an option to gcc to make it behave this way in the latter case too?  As noted in the gcc documentation, "-I. searches the compiler's current working directory for header files. That may or may not be the same as the directory containing the current file."  In the case I am working on (importing external code that used a build environment that automatically added the containing directory to the search path into a system that doesn't have such a build facility), the current directory is unfortunately not the same.  What can I do?  I'd rather not have to specifically modify the files...
