Output Variable and AM_CPPFLAGS

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

 



Hi,
I want to pass an additional cpp flag (-I) to the compilation process.
Here is what I am doing:
My configure.ac determines the additional include directory and
does a `AC_SUBST([MYINCL], [$myincl])' on it.
Then Makefile.am does a `AM_CPPFLAGS = -I@MYINCL@'.

Is this the proper way to do it?
Especially I am concerned about clobbering any previous meaning
of AM_CPPFLAGS. A `AM_CPPFLAGS = -I@MYINCL@  $AM_CPPFLAGS'
seams not to work.

/FAU







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

  Powered by Linux