I knew it :-( [Fwd: Where to put compiler options?]

W. Tasin tasin at e-technik.fh-muenchen.de
Fri Mar 17 19:50:20 UTC 2000


Arrgghh.... due to copy and paste and not reading well what I´m
writing.... 
I had to add some facts:

"W. Tasin" wrote:
> 
......
> Another method to define it, is directly inside the configure.in - like
> Jacek posted:
> Here is a similiar method:
> Insert the following in configure.in (I think a good position would be
> after AC_CHECK_COMPILERS... take care of it, because another position
> may change the results):
> 
> CXXFLAGS="$CXXFLAGS -D_REENTRANT"

!!!!!!!!!!!!

for defines use CPPFLAGS!!!
CPPFLAGS="$CPPFLAGS -D_REENTRANT"


for compiler switches use CXXFLAGS
e.g.
CXXFLAGS="$CXXFLAGS -fthread-jumps"

!!!!!!!!!!!!

> ....
> insert the following in the Makefile.am of the project-subdir (e.g.
> myprj/myprj/Makefile.am):
> AM_CXXFLAGS=-D_REENTRANT

!!!!!!!!!!!!

the same here:
AM_CPPFLAGS=-D_REENTRANT

and
e.g.
AM_CXXFLAGS=-fthread-jumps
(this is only an example... maybe it would make no sense to do this only
in a section of your project)

!!!!!!!!!!!!

> 
> .....
>

Hope now all is correct!

Bye

Walter
-- 
The KDevelop project: tasin at kdevelop.de [www.kdevelop.org]
--
oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi.........
(Zucchero)
:-------W. Tasin, FB
04,FHM-------------------PGP-KeyID:0x7961A645----------:
<Key-Fingerprint: 1610 835F 0080 32F4 6140  6CF7 A7D0 44CD 7961A645>




More information about the KDevelop mailing list