AC_CONFIG_HEADERS adding directory to -I

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I use AC_CONFIG_HEADERS to create 2 config.h-files. One is the normal config.h 
in my source directory and the other I have a config.h, which needs to be 
installed with my package. This installed config.h resides in a subdirectory, 
since it is not wise to create a /usr/local/include/config.h. My package name 
is cxxtools and I create a cxxtools/config.h using 
AC_CONFIG_HEADERS([include/cxxtools/config.h]).

The problem here is, that autoconf adds my directory include/cxxtools to the 
list of include files. I don't need that, since I always use 
<cxxtools/config.h> to refer to that installed config.h. The problem is, that 
I would like to add a new file "include/cxxtools/time.h" and include that 
with <cxxtools/time.h>. After adding that file, I have no chance to include 
the standard <time.h>, since the directory include/cxxtools is put into the 
list of compile flags and searched before the standard /usr/include.

Is there any way to prevent including that directory into my list of 
include-directories?

Tommi


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux