Summary

allegro hardcodes include path for allegro to allegro5

Metadata

Description

Some systems (like Debian) install allegro under /usr/include. The allegro egg should try some common include directory possibilities (like Debian's).

 csc -feature compiling-extension -setup-mode    -s -d1 allegro.scm -j allegro -lallegro -lallegro_color -lallegro_image -lallegro_physfs -lallegro_acodec -lallegro_dialog -lallegro_main -allegro_primitives -lallegro_audio -lallegro_font -lallegro_memfile -lallegro_ttf -dumb -lFLAC -lfreetype -logg -lvorbis -lvorbisfile -lz -L/usr/X11R6/lib -L/usr/X11/lib -lGL -LX11 -O3 -C -O3 -D improved-64-bit-support
 allegro.c:14:30: fatal error: allegro5/allegro.h: No such file or directory
 compilation terminated.

On Debian (testing)

 $ head -n 30 /usr/include/allegro.h | tail -n 10
 
 #ifndef ALLEGRO_H
 #define ALLEGRO_H
 
 #include "allegro/base.h"
 
 #include "allegro/system.h"
 #include "allegro/debug.h"
 
 #include "allegro/unicode.h"

Changes and comments

[2013-03-04 17:38:47 UTC] mario changed status from new to assigned

[2013-03-04 17:38:47 UTC] mario set owner to dleslie

[2015-07-29 06:06:15 UTC] dleslie changed status from assigned to closed

[2015-07-29 06:06:15 UTC] dleslie set resolution to fixed