Ticket #11 (closed bugs: None)

Opened 6 years ago

Last modified 39 years ago

efltk should check for endian.h

Reported by: jmmv Owned by: nobody
Priority: 5 Milestone:
Component: None Version: None
Keywords: Cc:

Description

The file eftlk/Fl_Renderer.h includes the header 
<endian.h>. This header file is not always located in the 
top dir of the inclusion directory. For example, in NetBSD 
it is called <sys/endian.h>, so the build fails of files 
which include Fl_Renderer.h fail. I guess this will also 
fail in OpenBSD (and maybe in FreeBSD too).

The configure script needs to check for sys/endian.h and 
endian.h, and Fl_Renderer.h needs to choose one of 
them later, during the build. The attached patch does this.

Regards

Change History

Changed 6 years ago by laza2000

  • status changed from assigned to closed
Logged In: YES 
user_id=11956

This is fixed already in CVS, couple of days ago
Note: See TracTickets for help on using tickets.