Le 23 avr. 06 à 21:05, Yen-Ju Chen a écrit :

On 4/23/06, Chris Vetter <[EMAIL PROTECTED]> wrote:
On 2006-04-23 07:51:59 +0200 Yen-Ju Chen <[EMAIL PROTECTED]> wrote:

Bug reports are welcome.

... after two modifications:

The toplevel GNUmakefile should have

        # Xwindow
        ADDITIONAL_CPPFLAGS += -DHAVE_LIBX11=1
        ADDITIONAL_INCLUDE_DIRS += -I/usr/X11R6/include
        ADDITIONAL_LIB_DIRS += -lX11 -lXft

and GNUmakefile in render/ accordingly an additional

        ADDITIONAL_INCLUDE_DIRS += -I/usr/X11R6/include

to have it compile cleanly on FreeBSD (at least).

Thanx for the report.
I add the X11 headers directory into ADDITIONAL_INCLUDE_DIRS.
But I don't quite understand why we need ADDITIONAL_CPPFLAGS ?
So I keep the '-DHAVE_LIBX11=1' in ADDITONAL_INCLUDE_DIRS.
Or should I use ADDITIONAL_CFLAGS ?

Well, you should just use ADDITIONAL_CPPFLAGS, because that's the correct variable to rely on for C preprocessor flags.
In fact, iirc CPP is an abbreviation for C PreProcessor.

Quentin.

--
Quentin Mathé
[EMAIL PROTECTED]


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à