Per-library CFLAGS to appear after user-defined CFLAGS

2006-09-15 Thread Daniel Drake
Hi, I'd like to force a compiler flag on a certain library in my Makefile.am and ensure that the user cannot override it's behaviour. I want to do something like: mylib_la_CFLAGS = -O0 to disable optimization. However, automake puts mylib_la_CFLAGS *before* the user-defined CFLAGS so it

Re: nostdinc automake option

2003-10-21 Thread Daniel Drake
Alexandre Duret-Lutz wrote: > Could you execute `automake --version' to be sure ? I believe > you are running automake 1.4, even if you installed 1.7.x. Yes, automake --version was replying with 1.4-p6. I was relying too much on my distro's version numbering for the package. After running these

nostdinc automake option

2003-10-20 Thread Daniel Drake
Hi. When running "make" after running aclocal/autoconf/automake on my small project, the Makefile is telling gcc to use parameters "-I. -I.". I'd like to drop those parameters. According to the manual: http://www.gnu.org/manual/automake-1.5/html_chapter/automake_17.html I should be able to use