On 2006-05-26 05:07:37 -0400 Chris Vetter <[EMAIL PROTECTED]> wrote:

I'm not sure how/why it works on Linux, but on FreeBSD, you will need to modify the top-level GNUmakefile, eg:

  ifeq ($(x11), yes)
        ADDITIONAL_GUI_LIBS = -lXWindowServerKit
        ADDITIONAL_CPPFLAGS += -DXWindowServerKit
    ifeq ($(findstring freebsd, $(GNUSTEP_TARGET_OS)), freebsd)
        ADDITIONAL_OBJCFLAGS += -I/usr/X11R6/include
    endif
  endif

The second ifeq can/should be removed, since most likely other systems will have to include X11 as well.

I don't think it's a Linux/FreeBSD issue. I think it depends on which version of X you have installed. X11 R6 has the include files in /usr/X11R6/include, while X11 R7 has them in /usr/include, IIRC. But it should probably be safe to add /usr/X11R6/include to the include path unconditionally (unless there's some more intelligent way to determine whether or not to add it).

--
Hubert Chan - email & Jabber: [EMAIL PROTECTED] - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA   (Key available at wwwkeys.pgp.net)
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA

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

Reply via email to